Changes between Version 49 and Version 50 of Internal/OpenFlow/HostSetup


Ignore:
Timestamp:
Sep 27, 2011, 7:04:56 PM (13 years ago)
Author:
akoshibe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/OpenFlow/HostSetup

    v49 v50  
    55This 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].
    66=== 1.1 Download sources/dependencies ===
     7In 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
    79`cd` to /opt/ and fetch the following:
    810
     
    1517  REF: http://netfpga.org/foswiki/bin/view/NetFPGA/OneGig/OpenFlowNetFPGA100
    1618
    17  * dependencies
     19 * install dependencies
    1820{{{
    1921apt-get update
     
    2931}}}
    3032
    31  * /opt/netfpga/lib/C/kernel/nf2util.h : add in the main #ifdef block:
     33 * /opt/netfpga/lib/C/kernel/nf2util.h : add after the first #ifndef/#define block:
    3234{{{
    3335// Replace SA_SHIRQ with IRQF_SHARED on newer kernels
     
    6163 * from /opt/netfpga: `make`; `make install`
    6264
    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:
     65After compilation, load the kernel module:
     66{{{
     67modprobe nf2
     68}}}
     69If 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:
    6470{{{
    6571# cpci_reprogram.pl --all
     
    139145----
    140146----
    141 ''' The following are outdated, follow with caution '''
     147''' The following are outdated, use with caution '''
    142148
    143149= Setting up NetFPGA hosts: Ubuntu 10.04 = #old