Changes between Version 49 and Version 50 of Internal/OpenFlow/HostSetup
- Timestamp:
- Sep 27, 2011, 7:04:56 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Internal/OpenFlow/HostSetup
v49 v50 5 5 This section describes the steps required to build v.2.2.0 of the NetFPGA kernel module on Ubuntu. The same steps can be used to build more recent versions. Steps to build the older version of the drivers can be found [#old here]. 6 6 === 1.1 Download sources/dependencies === 7 In order to download tarballs, you need a Foswiki account. Get one [http://netfpga.org/foswiki/bin/view/NetFPGA/UserRegistration here] if you don't have one. 8 7 9 `cd` to /opt/ and fetch the following: 8 10 … … 15 17 REF: http://netfpga.org/foswiki/bin/view/NetFPGA/OneGig/OpenFlowNetFPGA100 16 18 17 * dependencies19 * install dependencies 18 20 {{{ 19 21 apt-get update … … 29 31 }}} 30 32 31 * /opt/netfpga/lib/C/kernel/nf2util.h : add in the main #ifdefblock:33 * /opt/netfpga/lib/C/kernel/nf2util.h : add after the first #ifndef/#define block: 32 34 {{{ 33 35 // Replace SA_SHIRQ with IRQF_SHARED on newer kernels … … 61 63 * from /opt/netfpga: `make`; `make install` 62 64 63 After compilation, load kernel module with `modprobe nf2`. If all goes well, you should see the an entry if you check with `lsmod | grep nf2`. At this point, you can load bitfiles and such by first running `cpci_reprogram` and then using nf_download. You should see something like this: 65 After compilation, load the kernel module: 66 {{{ 67 modprobe nf2 68 }}} 69 If all goes well, you should see the an entry if you check with `lsmod | grep nf2`. At this point, you can load bitfiles and such by first running `cpci_reprogram` and then using nf_download to program the NetFPGA with the correct bitfile. Your session should go something like this: 64 70 {{{ 65 71 # cpci_reprogram.pl --all … … 139 145 ---- 140 146 ---- 141 ''' The following are outdated, followwith caution '''147 ''' The following are outdated, use with caution ''' 142 148 143 149 = Setting up NetFPGA hosts: Ubuntu 10.04 = #old