Comments (12)
RHEL/centos is not currently supported. This is in large part because the RHEL kernel version is a total lie due to all of their patching and back-porting. Most likely corundum will not support RHEL unless someone decides to sponsor the maintenance of the driver.
from corundum.
from corundum.
Ubuntu, debian, arch, etc. Basically any distribution other than redhat/centos should work fine.
from corundum.
from corundum.
I guess I don't have a getting started guide on the wiki yet; I should put something together. At any rate, here are the basics. You should be able to use pretty much any QSFP or QSFP28 solution with the design (DAC, AOC, optical transceivers of various types), though if you want to use a QSFP28 AOC or optical module at 10G on the U50 or U280 you may run in to problems as you can't adjust the transceiver configuration via I2C on those boards due to lack of support in the BMC firmware. You can also use SFP+ and SFP28 DACs, AOCs, and optical modules with the appropriate adapter.
To load the design onto a fresh card, you'll likely need to use JTAG. There are a few different ways to do this. One is to write to the flash directly from Vivado. This is a very slow process, I don't recommend it if you have to flash a bunch of cards. The faster way is to load the design into the FPGA directly, then do a warm reboot so you can talk to the card from linux, and use mqnic-fw to flash the design over PCIe. It may even be possible to do this without rebooting. Once the design is loaded into flash, you can use mqnic-fw to update it over PCIe. The mqnic-fw utility does not require the kernel module; it can either interface with the card via the kernel module or via sysfs if the kernel module is not loaded.
Once the card is installed and the driver is loaded, the driver will attempt attempt to read persistent MAC addresses from the card. See https://github.com/corundum/corundum/wiki/Persistent-MAC-Addresses for more information about this. For the U50, it should automatically read the MAC addresses out of the BMC.
After that, it should behave like a normal network card in linux, so you can use iproute2 (ip link, ip addr, etc.) or ifconfig to configure the IP addresses and what not. For simple testing, you can use ping, iperf, netperf, etc.
from corundum.
I just added: https://github.com/corundum/corundum/wiki/Getting-Started
from corundum.
from corundum.
@alexforencich Hi, if it is required then I can add support for RHEL/CentOS in the driver.
from corundum.
The issue is not so much simply "adding support," but continuous maintenance and testing going forward. RHEL lies about the kernel version number and back-ports all sorts of stuff from the mainline kernel, so there would need to be a complete set of RHEL-specific kernel version ifdefs that's parallel to the existing ones for the mainline Linux kernel. If you're interested in helping to implement and maintain all of the RHEL kernel release specific ifdefs in the driver going forward, then we can certainly discuss that.
from corundum.
Yes, I am interested in adding support for RHEL/CentOS in the driver. We can discuss.
from corundum.
Got it. Please make sure you're on the Corundum zulip (https://corundum.zulipchat.com/). I know the folks from MLE are also potentially looking in to doing some stuff with CentOS as well, so there is probably going to be some opportunity for cooperation along those lines.
from corundum.
I have joined Corundum zulip.
from corundum.
Related Issues (20)
- Line rate tests on AU50 HOT 5
- How to debug host freeze HOT 14
- Tools for AXI Lite register reads/writes and AXI streaming read/writes HOT 21
- An erro during generating project at file "./config.tcl" line 240: ERROR: [Ipptcl 7-29] Invalid param '03f'. HOT 4
- kernel driver license stated ambigiously HOT 3
- Why is distributed RAM used to store packages on the chip, and why is it divided into segment?
- Missing prerequisite in makefile HOT 1
- Document needs to be updated
- Custom App Ports HOT 2
- Cocotb with icarus verilog gets frozen stuck at some point during simulation: How to debug? HOT 2
- port to zc706 HOT 1
- insmod mqnic.ko error HOT 2
- Does corundum support two devices in a server? HOT 3
- Accelerating PPPOE
- petalinux compile error for mqnic module HOT 8
- nic
- Error "Device needs to be reset" when insmod mqnic.ko HOT 1
- AU50 working with DAC but not Optical HOT 3
- issues in doc HOT 1
- Porting PCIe example to zu7cg HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corundum.