NSLU2-Linux
view · edit · print · history

HowTo.BuildSnapgearSources History

Hide minor edits - Show changes to markup

August 01, 2005, at 02:35 AM by Martin J Hsu -- added description of what needs to be selected to build non-default applications
Changed lines 13-14 from:
  1. During make xconfig, select that you want to customize the vendor/user settings. After you save and exit, another pop-up window will let you select which user apps (including games) that you want to build. I selected ftpd (which was off by default).
to:
  1. During make xconfig, select that you want to customize the vendor/user settings. Under 'Application Configuration', you also need to select 'Y' for 'Customize Vendor/User Settings'. After you save and exit, another pop-up window will let you select which user apps (including games) that you want to build. I selected ftpd (which was off by default).
November 04, 2004, at 12:44 AM by tman --
Changed line 1 from:

If you want any of the utilities (e.g. ftpd, strace, awk, bash, etc.) that aren't on the NSLU2's f/w, but are included in the snapgear's source provided on the CD, simply do the following (on a Linux box):

to:

If you want any of the utilities (e.g. ftpd, strace, awk, bash, etc.) that aren't on the NSLU2's f/w, but are included in the Snapgear's source provided on the CD, simply do the following (on a Linux box):

Changed line 3 from:

1) Copy the source over from the install CD that came with your NSLU2 (the directory is "Original Source"). You might need to rename it to get rid of the space ("Original_Source").

to:
  1. Copy the source over from the install CD that came with your NSLU2 (the directory is "Original Source"). You might need to rename it to get rid of the space ("Original_Source").
Changed lines 5-9 from:

2) Find a copy of ARM linux toolchain for snapgear. Look for this file on www.snapgear.org or elsewhere on the net.

to:
  1. Find a copy of ARM Linux toolchain for Snapgear. Look for this file on www.snapgear.org or elsewhere on the net.

    arm-linux-tools-20030927.tar.gz

    Note: Some have reported that the more recent version of the toolchain does not work with the older Snapgear sources. See the Yahoo groups archives.
Changed line 11 from:

arm-linux-tools-20030927.tar.gz

to:
  1. Follow the simple insructions in the file INTEL-IXDP425-HOWTO located in the Documentation directory of the Snapgear sources.
Changed line 13 from:

Note: Some have reported that the more recent version of the toolchain does not work with the older snapgear sources. See the yahoo groups archives.

to:
  1. During make xconfig, select that you want to customize the vendor/user settings. After you save and exit, another pop-up window will let you select which user apps (including games) that you want to build. I selected ftpd (which was off by default).
Changed line 15 from:

3) Follow the simple insructions in the file INTEL-IXDP425-HOWTO located in the Documentation directory of the snapgear sources.

to:
  1. Do make dep, then make per instructions. This may take a little while.
Changed line 17 from:

4) during make xconfig, select that you want to customize the vendor/user settings. After you save and exit, another pop-up window will let you select which user apps (including games) that you want to build. I selected ftpd (which was off by default).

to:
  1. Change into the romfs/ directory and you will find all of the target binaries and files (in my case, I wanted bin/ftpd and /etc/inetd.conf).
Changed lines 19-23 from:

5) do make dep, then make per instructions. This may take a little while.

6) cd into the romfs/ directory and you will find all of the target binaries and files (in my case, I wanted bin/ftpd and /etc/inetd.conf).

7) Copy the files over to your NSLU2 and test. Worked for me.

to:
  1. Copy the files over to your NSLU2 and test. Worked for me.
Changed lines 29-30 from:

If you want a copy of the build that I did, go to the yahoo groups download section
( http://groups.yahoo.com/group/nslu2-linux/files/ ) and get romfs.tar.gz.

to:

If you want a copy of the build that I did, go to the Yahoo groups download section ( http://groups.yahoo.com/group/nslu2-linux/files/ ) and get romfs.tar.gz.

September 19, 2004, at 04:50 AM by ka6sox --
Changed lines 29-30 from:

If you want a copy of the build that I did, go to the yahoo groups download section ( http://groups.yahoo.com/group/nslu2-linux/files/ ) and get romfs.tar.gz.

to:

If you want a copy of the build that I did, go to the yahoo groups download section
( http://groups.yahoo.com/group/nslu2-linux/files/ ) and get romfs.tar.gz.

September 17, 2004, at 06:22 PM by ka6sox --
Changed line 11 from:

3) Follow the simple insructions in the file INTEL-IXDP425?-HOWTO located in the Documentation directory of the snapgear sources.

to:

3) Follow the simple insructions in the file INTEL-IXDP425-HOWTO located in the Documentation directory of the snapgear sources.

September 17, 2004, at 06:52 AM by mrthreeplates --
Changed line 27 from:

Not all user utilities will build. For example, I got compile errors trying to build perl and python.

to:

Not all user utilities/libraries are selected to be built in the default configuration. Also, not all utilities will build. For example, I got compile errors trying to build perl and python.

Changed line 29 from:

If you want a copy of the build that I did, go to the yahoo groups download section (romfs.tar.gz).

to:

If you want a copy of the build that I did, go to the yahoo groups download section ( http://groups.yahoo.com/group/nslu2-linux/files/ ) and get romfs.tar.gz.

September 16, 2004, at 07:30 AM by mrthreeplates --
Changed lines 1-29 from:

Describe BuildingSnapgearSources? here.

to:

If you want any of the utilities (e.g. ftpd, strace, awk, bash, etc.) that aren't on the NSLU2's f/w, but are included in the snapgear's source provided on the CD, simply do the following (on a Linux box):

1) Copy the source over from the install CD that came with your NSLU2 (the directory is "Original Source"). You might need to rename it to get rid of the space ("Original_Source").

2) Find a copy of ARM linux toolchain for snapgear. Look for this file on www.snapgear.org or elsewhere on the net.

arm-linux-tools-20030927.tar.gz

Note: Some have reported that the more recent version of the toolchain does not work with the older snapgear sources. See the yahoo groups archives.

3) Follow the simple insructions in the file INTEL-IXDP425?-HOWTO located in the Documentation directory of the snapgear sources.

4) during make xconfig, select that you want to customize the vendor/user settings. After you save and exit, another pop-up window will let you select which user apps (including games) that you want to build. I selected ftpd (which was off by default).

5) do make dep, then make per instructions. This may take a little while.

6) cd into the romfs/ directory and you will find all of the target binaries and files (in my case, I wanted bin/ftpd and /etc/inetd.conf).

7) Copy the files over to your NSLU2 and test. Worked for me.

Notes:

Check out the compile lines for some of the utilities. You will see how, in a cross build environment, the makefiles use -nostdinc and multiple include (-I) file locations. You may want to make a note of all of the options in case you want to use the environment to port your own s/w.

I chose to use the original sources (3.0.0 v.s. 3.1.1) just in case there were incompatibilities with the existing libs on the NSLU2.

Not all user utilities will build. For example, I got compile errors trying to build perl and python.

If you want a copy of the build that I did, go to the yahoo groups download section (romfs.tar.gz).

view · edit · print · history · Last edited by Martin J Hsu.
Based on work by tman, ka6sox, and mrthreeplates.
Originally by mrthreeplates.
Page last modified on August 01, 2005, at 02:35 AM