NSLU2-Linux
view · edit · print · history

OpenWrt.BuildInstructions History

Hide minor edits - Show changes to markup

May 08, 2008, at 04:48 AM by stefan keller-tuberg -- Additional note on getting kernel modules to build correctly
Changed lines 34-35 from:

In order to modify the default kernel configuration, run 'make kernel_menuconfig'.

to:

In order to modify the default kernel configuration, run 'make kernel_menuconfig'. Kernel modules tagged for inclusion under 'make menuconfig' seem also to need to be flagged to be built under 'make kernel_menuconfig' - or they will not be compiled and included in your image.

May 08, 2008, at 12:16 AM by stefan keller-tuberg -- Added notes to clarify meaning of make menuconfig selection options
Added lines 27-34:

If you want to change any of the default build configurations under 'make menuconfig', be aware that the naming convention for selected items works a little differently for the OpenWrt tree.

<*> means include package in firmware image
<M> means compile package, but exclude from firmware image
< > means do not compile package

In order to modify the default kernel configuration, run 'make kernel_menuconfig'.

December 02, 2007, at 01:41 AM by maciek --
Changed lines 63-64 from:
    root /                                                                                            
    ram /tmp                                                                                          
to:
    dest root /                                                                                            
    dest ram /tmp                                                                                          
November 22, 2007, at 02:01 PM by Daniel Albuquerque - danielimpabr -- There is more then one microcode version .
Changed lines 7-8 from:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do.
to:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) version 2.4, file IPL_ixp400NpeLibrary-2_4.zip, from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do.
November 22, 2007, at 01:59 PM by Daniel Albuquerque - danielimpabr -- Intel download page has changed
Changed lines 7-8 from:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do.
to:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do.
October 17, 2007, at 07:41 PM by fcarolo -- formatting
Changed lines 67-69 from:
  • Install X-wrt webif with ipkg install webif . This will also add
    src      X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages
at the end of /etc/ipkg.conf
to:
  • Install X-wrt webif with ipkg install webif . This will also add a new source at the end of /etc/ipkg.conf:
    src      X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages
October 17, 2007, at 07:40 PM by fcarolo -- formatting
Changed lines 68-69 from:

[@

    src      X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages
to:

[@ src X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages

October 17, 2007, at 07:39 PM by fcarolo -- formatting
Changed lines 68-69 from:

[@ src X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages

to:

[@

    src      X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages
October 17, 2007, at 07:38 PM by fcarolo -- formatting
Changed lines 1-2 from:

Building OpenWRT? firmware for NSLU2 from source

to:

Building OpenWrt firmware for NSLU2 from source

Changed lines 7-9 from:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from

http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do

to:
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do.
Changed lines 24-26 from:

You will find in bin directory file openwrt-nslu2-2.6-squashfs.bin that can be uploaded to nslu2 using upslug2 tool like

 $ sudo upslug -i bin/openwrt-nslu2-2.6-squashfs.bin
to:

You will find in bin directory file openwrt-nslu2-2.6-squashfs.bin that can be uploaded to nslu2 using UpSlug2 tool like

 $ sudo upslug2 -i bin/openwrt-nslu2-2.6-squashfs.bin
Changed line 28 from:

Latest (unstable) release of Openwrt can be built with checking out from subversion repository

to:

Latest (unstable) release of OpenWrt can be built with checking out from subversion repository

Changed lines 53-54 from:

With default OpenWRT? selection there is no X-Wrt included and thus no webif interface on http://192.168.1.77/

to:

With default OpenWrt selection there is no X-Wrt included and thus no webif interface on http://192.168.1.77/

October 17, 2007, at 07:29 PM by oleo --
Changed lines 60-63 from:
    release http://downloads.openwrt.org/kamikaze/7.09/ixp4xx-2.6/packages                             
    packages http://downloads.openwrt.org/kamikaze/packages/armeb                                      
    nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09                                      
    optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable                    
to:
    src release http://downloads.openwrt.org/kamikaze/7.09/ixp4xx-2.6/packages                             
    src packages http://downloads.openwrt.org/kamikaze/packages/armeb                                      
    src nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09                                      
    src optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable                    
October 17, 2007, at 07:27 PM by oleo -- Building snapshot release
Changed line 28 from:

Building latest release from trunk

to:

Building snapshot release from trunk

Added lines 44-52:

Correct /etc/ipkg.conf for snapshot releases is

src snapshots http://downloads.openwrt.org/snapshots/ixp4xx-2.6/packages
src packages http://downloads.openwrt.org/kamikaze/packages/armeb
src nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09
src optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable
dest root /
dest ram /tmp
October 17, 2007, at 07:18 PM by oleo --
Changed lines 42-43 from:

@] to /etc/config/network

to:

@] to /etc/config/network

October 17, 2007, at 07:18 PM by oleo --
Changed lines 39-40 from:

default gateway nor nameserver set.

to:

default gateway nor nameserver set. This could be changed by adding

        option dns      192.168.1.1                                                                
        option gateway  192.168.1.1       
to /etc/config/network
October 17, 2007, at 06:28 PM by oleo -- subversion
Added lines 28-40:

Building latest release from trunk

Latest (unstable) release of Openwrt can be built with checking out from subversion repository

$ svn checkout https://svn.openwrt.org/openwrt/trunk kamikaze
$ cd kamikaze
$ make menuconfig
$ mkdir dl
$ cp /tmp/dl/IPL_ixp400NpeLibrary-2_4.zip dl
$ make

Note that latest version of build firmware defaults network to 192.168.1.1 and that there is no default gateway nor nameserver set.

October 17, 2007, at 04:40 PM by oleo --
Added line 30:
Changed lines 32-33 from:
  1. telnet to 192.168.1.77 There should be no password requested.
  2. Edit with vi /etc/ipkg.conf and add the nslu2 and optware repositories to package list. /etc/ipkg.conf should look like:
to:
  • telnet to 192.168.1.77 There should be no password requested.
  • Edit with vi /etc/ipkg.conf and add the nslu2 and optware repositories to package list. /etc/ipkg.conf should look like:
Changed lines 42-43 from:
  1. Update package list with ipkg update
  2. Install X-wrt webif with ipkg install webif . This will also add
to:
  • Update package list with ipkg update
  • Install X-wrt webif with ipkg install webif . This will also add
October 17, 2007, at 04:39 PM by oleo --
Changed lines 31-32 from:
  • telnet to 192.168.1.77 There should be no password requested.
  • Edit with vi /etc/ipkg.conf and add the nslu2 and optware repositories to package list. /etc/ipkg.conf should look like:
to:
  1. telnet to 192.168.1.77 There should be no password requested.
  2. Edit with vi /etc/ipkg.conf and add the nslu2 and optware repositories to package list. /etc/ipkg.conf should look like:
Changed lines 41-42 from:
  • Issue ipkg update
  • Install X-wrt webif with ipkg install webif . This will also add
to:
  1. Update package list with ipkg update
  2. Install X-wrt webif with ipkg install webif . This will also add
October 17, 2007, at 04:38 PM by oleo -- xwrt
Changed lines 34-39 from:

release http://downloads.openwrt.org/kamikaze/7.09/ixp4xx-2.6/packages packages http://downloads.openwrt.org/kamikaze/packages/armeb nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09 optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable

 root /                                                                                            
 ram /tmp                                                                                          
to:
    release http://downloads.openwrt.org/kamikaze/7.09/ixp4xx-2.6/packages                             
    packages http://downloads.openwrt.org/kamikaze/packages/armeb                                      
    nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09                                      
    optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable                    
    root /                                                                                            
    ram /tmp                                                                                          
Changed lines 42-44 from:
  • Install X-wrt webif with ipkg install webif
to:
  • Install X-wrt webif with ipkg install webif . This will also add
 src      X-Wrt http://downloads.x-wrt.org/xwrt/kamikaze/snapshots/ixp4xx-2.6/packages
at the end of /etc/ipkg.conf
October 17, 2007, at 04:34 PM by oleo -- webif
Added line 4:
  • Preconfigured (original) firmware NSLU2 with static IP 192.168.1.77 and correct DNS and gateway
Changed lines 25-42 from:

You will find in bin directory file openwrt-nslu2-2.6-squashfs.bin that can be uploaded to nslu2 using upslug2 tool.

to:

You will find in bin directory file openwrt-nslu2-2.6-squashfs.bin that can be uploaded to nslu2 using upslug2 tool like

 $ sudo upslug -i bin/openwrt-nslu2-2.6-squashfs.bin

X-wrt webif

With default OpenWRT? selection there is no X-Wrt included and thus no webif interface on http://192.168.1.77/ For that one must manually install webif with the following instructions:

  • telnet to 192.168.1.77 There should be no password requested.
  • Edit with vi /etc/ipkg.conf and add the nslu2 and optware repositories to package list. /etc/ipkg.conf should look like:
release http://downloads.openwrt.org/kamikaze/7.09/ixp4xx-2.6/packages                             
packages http://downloads.openwrt.org/kamikaze/packages/armeb                                      
nslu2 http://ipkg.nslu2-linux.org/feeds/openwrt/kamikaze-7.09                                      
optware http://ipkg.nslu2-linux.org/feeds/optware/openwrt-ixp4xx/cross/unstable                    
 root /                                                                                            
 ram /tmp                                                                                          
  • Issue ipkg update
  • Install X-wrt webif with ipkg install webif
October 17, 2007, at 01:44 PM by oleo --
Changed line 10 from:

[@@

to:

[@

Changed line 23 from:

@@]

to:

@]

October 17, 2007, at 01:43 PM by oleo -- building openwrt for nslu2
Added lines 1-24:

Building OpenWRT? firmware for NSLU2 from source

Prerequisites:

  • Linux system with developer tools
  • Download (latest) source kamikaze_7.09.tar.bz2 from http://downloads.openwrt.org/kamikaze/7.09/kamikaze_7.09.tar.bz2
  • You must manually download Intel IXP400 software - NPE microcode (non-crypto) file IPL_ixp400NpeLibrary-2_4.zip from

http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm and put it in the dl/ directory of the build system. You will need to agree to the Intel Public License to do so - please do

Command line example for kamikaze 7.09

@
$ mkdir openwrt
$ cd openwrt
$ wget http://downloads.openwrt.org/kamikaze/7.09/kamikaze_7.09.tar.bz2  
$ tar xvjf kamikaze_7.09.tar.bz2
$ cd kamikaze_7.09
$ mkdir dl
$ mv /tmp/IPL_ixp400NpeLibrary-2_4.zip dl
   [moved downloaded file from /tmp to dl dir]
$ make menuconfig
  [select Target System (Intel XScale IXP4xx [2.6]) and Target Profile (Linksys NSLU2)]
$ make
  ...
@

You will find in bin directory file openwrt-nslu2-2.6-squashfs.bin that can be uploaded to nslu2 using upslug2 tool.

view · edit · print · history · Last edited by stefan keller-tuberg.
Based on work by stefan keller-tuberg, maciek, Daniel Albuquerque - danielimpabr, fcarolo, and oleo.
Originally by oleo.
Page last modified on May 08, 2008, at 04:48 AM