NSLU2-Linux
view · edit · print · history

HowTo.NativeDevelopmentSetup History

Hide minor edits - Show changes to markup

October 29, 2011, at 02:44 AM by SRS -- success on 10/28/2011
Added lines 3-7:

a success on 10/28/2011 http://www.nslu2-linux.org/wiki/HowTo/TransmissionCompileBuild

January 19, 2005, at 02:48 PM by rwhitby --
Added lines 1-2:

Note that you can now use the instructions at NativelyCompileUnslungPackages to natively packages directly from the Unslung CVS repository.

January 16, 2005, at 07:09 AM by tjyang --
Changed line 47 from:
to:
  1. "ipkg -force-overwrite install bash" install bash.
January 16, 2005, at 06:03 AM by tjyang --
Changed line 37 from:
  1. chmod go+w /dev/null and /tmp to fix a wrong mode from Unslung firmware (both 3.16 and 3.17 beta)
to:
  1. "chmod go+w /dev/null;chmod go+rw /tmp" to fix a wrong mode from Unslung firmware (both 3.16 and 3.17 beta)
January 16, 2005, at 06:00 AM by tjyang --
Changed line 3 from:

This page will retire and merge with other page. when time is right.

to:

This page will retire and merge with other page when time is right.

January 08, 2005, at 08:31 PM by tjyang --
Changed line 6 from:

This is a hack not a real solution. \\

to:

This is a hack not a real solution.

January 08, 2005, at 07:38 PM by tjyang --
Changed line 4 from:

There are many steps in this page could be scripted into ipk package.

to:
January 08, 2005, at 07:31 PM by tjyang --
Changed line 6 from:

@@This is a hack not a real solution. \\

to:

This is a hack not a real solution. \\

Changed line 8 from:

The real solution is to modify unslung/Makefile to support both platform better without following hacks.@@

to:

The real solution is to modify unslung/Makefile to support both platform better without following hacks.

Changed line 12 from:
  1. A NSLU2 box with Unslung 3.16 firmware.
to:
  1. A NSLU2 box with Unslung 3.16 or 3.17 beta firmware.
January 08, 2005, at 07:11 PM by tjyang --
Changed line 45 from:
  1. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.
to:
  1. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.
January 08, 2005, at 07:10 PM by tjyang --
Changed lines 37-38 from:
  1. chmod go+w /dev/null to fix a wrong mode from Unslung firmware (both 3.16 and 3.17 beta)
to:
  1. chmod go+w /dev/null and /tmp to fix a wrong mode from Unslung firmware (both 3.16 and 3.17 beta)
Changed lines 45-46 from:
  1. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.
to:
  1. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.
Deleted line 47:
  1. make sure /dev/null and tmp are world writable so you can compile the package as regular user.
January 08, 2005, at 07:06 PM by tjyang --
Added line 4:

There are many steps in this page could be scripted into ipk package.

Added line 7:
January 08, 2005, at 07:02 PM by tjyang --
Changed line 3 from:

This page will retire and merge with other page the time is right.

to:

This page will retire and merge with other page. when time is right.

January 08, 2005, at 07:02 PM by tjyang --
Changed lines 1-2 from:

@@This page is my (TJ Yang) learning note about compiling packages natively on nslu2.@@

to:

This page is my (TJ Yang) learning note about compiling packages natively on nslu2.

January 08, 2005, at 07:01 PM by tjyang --
Changed lines 1-2 from:

This page is my learning note about compiling packages natively on nslu2.

to:

@@This page is my (TJ Yang) learning note about compiling packages natively on nslu2.@@

January 08, 2005, at 06:18 PM by tjyang --
Changed line 44 from:
  1. make /dev/null and tmp are world writable so you can compile the package as regular user.
to:
  1. make sure /dev/null and tmp are world writable so you can compile the package as regular user.
January 08, 2005, at 06:17 PM by tjyang --
Changed line 44 from:
to:
  1. make /dev/null and tmp are world writable so you can compile the package as regular user.
January 05, 2005, at 05:15 PM by tman --
Changed line 3 from:

This page will retire and merge with other page whe time is right.

to:

This page will retire and merge with other page the time is right.

Changed line 6 from:

The real solution is to modifiy unslung/Makefile to support both platform better without following hacks.@@

to:

The real solution is to modify unslung/Makefile to support both platform better without following hacks.@@

Changed lines 8-14 from:

Bill of materials and procedures :

1. A nslu2 box with firmware replaced with unslung 3.16 firmware.
2. A good netwok connection to Internet.
3. Check out the package sources from nslu2 cvs server.
4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain
5. Modify unslung/Makefile for nslu2 environment.\\

to:

Bill of materials and procedures:

  1. A NSLU2 box with Unslung 3.16 firmware.
  2. A good network connection to the Internet.
  3. Check out the package sources from NSLU2 CVS server.
Changed lines 16-18 from:
   5.1 Disable the crosstool build triggered by making other package.
Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool.\\
to:
  1. Install the native gcc compiler for NSLU2. See NativeFloatingPointToolchain.
Changed lines 18-19 from:
   touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built\\
to:
  1. Modify unslung/Makefile for NSLU2 environment.
Changed lines 20-25 from:
   5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\
to:
  1. Disable the crosstool build triggered by making other package.

    Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool.

    touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
    touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built
Changed lines 27-28 from:
   Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you 
downloaded and installed.\\
to:
  1. Adjust the CROSS_TARGET variable to gcc installed at 4.

    Example:Modify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.

    TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-
Changed line 33 from:
   TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\
to:
  1. All the scripts in make/*.mk assumes that the shell is bash. This is ok when it run on a Linux workstation but Unslung's "sh" is "ash". for now, I cheated by linking sh to /opt/bin/bash.
Changed lines 35-36 from:
   5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but 
unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\
to:
  1. chmod go+w /dev/null to fix a wrong mode from Unslung firmware (both 3.16 and 3.17 beta)
Changed lines 37-39 from:
   5.4 chmod go+w /dev/null to fix a wrong mode from unslung firmware(both 3.16 and 3.17 beata)
5.5 make sure ar and strip is exists, they are missing from gcc-3.4.2-glibc-2.3.2 version of rene's gcc.
to:
  1. make sure ar and strip exists, they are missing from gcc-3.4.2-glibc-2.3.2 version of rene's gcc.

    cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/strip /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-strip
    cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/ar /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-ar
Changed lines 42-45 from:
    cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/strip /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-strip
    cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/ar /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-ar

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\

to:
  1. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.
Deleted line 46:
January 05, 2005, at 01:20 PM by tjyang --
Added lines 33-39:
   5.4 chmod go+w /dev/null to fix a wrong mode from unslung firmware(both 3.16 and 3.17 beata)
5.5 make sure ar and strip is exists, they are missing from gcc-3.4.2-glibc-2.3.2 version of rene's gcc. cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/strip /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-strip cp /share/hdd/data/tools/gcc/armv5b-softfloat-linux/bin/ar /share/hdd/data/tools/gcc/bin/armv5b-softfloat-linux-ar
January 05, 2005, at 11:45 AM by tjyang --
Changed lines 5-6 from:

@@This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks.@@

to:

This is a hack not a real solution.
The real solution is to modifiy unslung/Makefile to support both platform better without following hacks.

Changed lines 16-18 from:
    5.1 Disable the crosstool build triggered by making other package.\\
to:
   5.1 Disable the crosstool build triggered by making other package.
Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool.\\
Changed lines 20-21 from:

Example: you need do adjust the real absolute path to your own setting before running
following two commands.These two command will let make skip the making of crosstool. \\

to:
   touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built\\
Changed lines 23-24 from:

touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built\\

to:
   5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\
Added lines 25-26:
   Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you 
downloaded and installed.\\
Changed line 28 from:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\

to:
   TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\
Changed lines 30-36 from:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you
downloaded and installed.
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-

    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but 
unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\
to:
   5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but 
unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\
January 05, 2005, at 11:41 AM by tjyang --
Changed line 3 from:

This page will retire and merge with other page whe time is right.

to:

This page will retire and merge with other page whe time is right.

Changed line 6 from:

to support both platform better without following hacks. @@

to:

to support both platform better without following hacks.@@

Changed lines 8-16 from:

@@Bill of materials and procedures : = 1. A nslu2 box with firmware replaced with unslung 3.16 firmware. 2. A good netwok connection to Internet. 3. Check out the package sources from nslu2 cvs server. 4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain 5. Modify unslung/Makefile for nslu2 environment. =

    5.1 Disable the crosstool build triggered by making other package.
to:

Bill of materials and procedures :

1. A nslu2 box with firmware replaced with unslung 3.16 firmware.
2. A good netwok connection to Internet.
3. Check out the package sources from nslu2 cvs server.
4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain
5. Modify unslung/Makefile for nslu2 environment.\\

Changed lines 16-17 from:

Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool.

to:
    5.1 Disable the crosstool build triggered by making other package.\\
Changed lines 18-19 from:

touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built

to:

Example: you need do adjust the real absolute path to your own setting before running
following two commands.These two command will let make skip the making of crosstool. \\

Added lines 21-22:

touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built\\

Deleted line 23:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4.

Changed line 25 from:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.

to:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\

Changed lines 27-28 from:

TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-

to:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you
downloaded and installed.\\

Changed line 30 from:
    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but  unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. 
to:

TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\

Changed lines 32-35 from:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.@@

to:
    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but 
unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\

January 05, 2005, at 11:39 AM by tjyang --
Changed line 9 from:
to:

=

Changed line 15 from:
to:

=

January 05, 2005, at 11:38 AM by tjyang --
Changed line 8 from:

=Bill of materials and procedures :

to:

@@Bill of materials and procedures :

Changed line 33 from:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.=

to:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.@@

January 05, 2005, at 11:37 AM by tjyang --
Changed lines 8-9 from:

= Bill of materials and procedures :

to:

=Bill of materials and procedures :

Changed lines 33-34 from:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.

to:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.=

Deleted line 35:

==

January 05, 2005, at 11:36 AM by tjyang --
Changed lines 8-9 from:

== Bill of materials and procedures : \\

to:

= Bill of materials and procedures :

Changed lines 11-23 from:

1. A nslu2 box with firmware replaced with unslung 3.16 firmware.
2. A good netwok connection to Internet.
3. Check out the package sources from nslu2 cvs server.
4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain
5. Modify unslung/Makefile for nslu2 environment.

5.1 Disable the crosstool build triggered by making other package.

Example: you need do adjust the real absolute path to your own setting before running
following two commands.These two command will let make skip the making of crosstool.

touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built\\

to:

1. A nslu2 box with firmware replaced with unslung 3.16 firmware. 2. A good netwok connection to Internet. 3. Check out the package sources from nslu2 cvs server. 4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain 5. Modify unslung/Makefile for nslu2 environment.

Added line 17:
    5.1 Disable the crosstool build triggered by making other package.
Changed lines 19-20 from:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\

to:

Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool.

Changed lines 22-23 from:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.\\

to:

touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built

Deleted line 24:

TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-\\

Changed line 26 from:
    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but  unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\
to:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4.

Changed lines 28-34 from:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\

to:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.

TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-

    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but  unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. 

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.

January 05, 2005, at 11:34 AM by tjyang --
Added line 8:

==

Added line 36:

==

January 05, 2005, at 11:34 AM by tjyang --
Changed line 1 from:

This page is my learning note about compiling packages natively on nslu2.\\

to:

This page is my learning note about compiling packages natively on nslu2.

Changed lines 3-7 from:

This page will retire and merge with other page whe time is right. \\

This is a hack not a real solution. The real solution is to modifiy unslung/Makefile
to support both platform better without following hacks. \\
\\

to:

This page will retire and merge with other page whe time is right.

Added lines 5-6:

@@This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. @@

January 05, 2005, at 11:32 AM by tjyang --
Changed lines 1-2 from:

This page is a learning note about compiling packages natively on nslu2.
This page will retire and merge with other page whe time is right. \\

to:

This page is my learning note about compiling packages natively on nslu2.\\

Changed lines 3-4 from:

This is a hack not a real solution. The real solution is to modifiy unslung/Makefile
to support both platform better without following hacks. \\

to:

This page will retire and merge with other page whe time is right. \\

This is a hack not a real solution. The real solution is to modifiy unslung/Makefile
to support both platform better without following hacks. \\

January 05, 2005, at 11:31 AM by tjyang --
Changed line 1 from:

This page is a learning note about compile packages natively on nslu2.\\

to:

This page is a learning note about compiling packages natively on nslu2.\\

January 05, 2005, at 11:29 AM by tjyang --
Changed lines 1-2 from:

This is an in consturtion page to document my note on getting nslu2 to
compile packages source mainly for Linux cross-compile. \\

to:

This page is a learning note about compile packages natively on nslu2.
This page will retire and merge with other page whe time is right.

Changed lines 6-12 from:

It will be good if we can do "make zlib" sucessfuully on either
Intel Linux, nslu2 or Mac OS X nslu2's develepment platforms with just
oone zlib.mk.
In this section we will try to describe the steps to setup your nslu2
for ipk packages creation.

to:

\\

Changed lines 34-35 from:

6. Do a test make by "make zlib" and you should not see crosstool compilation.

to:

6. Do a test make by "make zlib" and you should see zlib compilation and should not see crosstool compilation.\\

Added line 37:

T.J. Yang (tj_yang@hotmail.com)

January 04, 2005, at 04:19 AM by tjyang --
Changed line 19 from:

4. Install the native gcc compiler for nslu2.\\

to:

4. Install the native gcc compiler for nslu2. see NativeFloatingPointToolchain \\

January 04, 2005, at 01:39 AM by tjyang --
Changed line 31 from:
    5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\
to:

5.2 Adjust the CROSS_TARGET variable to gcc installed at 4. \\

January 04, 2005, at 01:38 AM by tjyang --
Changed lines 1-4 from:

This is an in consturtion page to document my note on getting nslu2 to compile packages source mainly for Linux cross-compile. This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. It will be good if we can do "make zlib" on either Intel Linux, nslu2 or Mac OS X and it all works on these development platform.

to:

This is an in consturtion page to document my note on getting nslu2 to
compile packages source mainly for Linux cross-compile.
This is a hack not a real solution. The real solution is to modifiy unslung/Makefile
to support both platform better without following hacks. \\

Changed lines 6-11 from:

In this section we will try to describe the steps to setup your nslu2 to do development work .

to:

It will be good if we can do "make zlib" sucessfuully on either
Intel Linux, nslu2 or Mac OS X nslu2's develepment platforms with just
oone zlib.mk.
In this section we will try to describe the steps to setup your nslu2
for ipk packages creation.

Added line 15:
January 04, 2005, at 01:34 AM by tjyang --
Changed lines 15-16 from:

Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool. \\

to:

Example: you need do adjust the real absolute path to your own setting before running
following two commands.These two command will let make skip the making of crosstool. \\

January 03, 2005, at 04:19 PM by tjyang --
Changed line 27 from:
    5.3 "sh" in make/*.mk assuming "sh=bash". for now I ln sh to bash. \\
to:
    5.3 "sh" in make/*.mk assuming "sh=bash". This is ok when it run on Linux but  unslung's "sh" is "ash". for now, I cheated by link sh to /opt/bin/bash. \\
January 03, 2005, at 04:16 PM by tjyang --
Added lines 27-28:
    5.3 "sh" in make/*.mk assuming "sh=bash". for now I ln sh to bash. 
January 03, 2005, at 02:27 PM by tjyang --
Changed line 10 from:

4. Install the gcc compiler for nslu2.\\

to:

4. Install the native gcc compiler for nslu2.\\

January 03, 2005, at 02:27 PM by tjyang --
Added line 12:

\\

Deleted line 13:
Changed line 27 from:

6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.\\

to:

6. Do a test make by "make zlib" and you should not see crosstool compilation.\\

January 03, 2005, at 02:24 PM by tjyang --
Changed lines 13-15 from:

you need do adjust the real absolute path to your own setting. \\

to:


Example: you need do adjust the real absolute path to your own setting before running following two commands.These two command will let make skip the making of crosstool. \\

Deleted line 16:

Example: \\

Changed lines 23-24 from:

Example:\\

to:

Example:Moify TARGET_CROSS variable to point to the arm5b native compiler you downloaded and installed.

January 03, 2005, at 02:17 PM by tjyang --
Changed line 6 from:

@@Bill of materials and procedures : \\

to:

Bill of materials and procedures : \\

Added line 21:
Changed line 25 from:

6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.@@

to:

6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.\\

January 03, 2005, at 02:17 PM by tjyang --
Changed line 6 from:

@@ Bill of materials and procedures : \\

to:

@@Bill of materials and procedures : \\

January 03, 2005, at 02:15 PM by tjyang --
Added lines 1-2:

This is an in consturtion page to document my note on getting nslu2 to compile packages source mainly for Linux cross-compile. This is a hack not a real solution. The real solution is to modifiy unslung/Makefile to support both platform better without following hacks. It will be good if we can do "make zlib" on either Intel Linux, nslu2 or Mac OS X and it all works on these development platform.

Changed line 8 from:

2. A netwok connection to Internet. \\

to:

2. A good netwok connection to Internet. \\

Added lines 13-19:

you need do adjust the real absolute path to your own setting.

Example:
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.configure
touch /share/hdd/data/public/nslu2/tjyang/unslung/toolchain/crosstool/.built

Changed lines 21-25 from:

6. Do a test make by "make zlib". @@

to:

Example:
TARGET_CROSS=/share/hdd/data/tools/gcc/bin/$(GNU_TARGET_NAME)-
6. Do a test make by "make zlib" and you should not see crosstool will be invoded to do its compilation.@@

January 03, 2005, at 12:07 PM by tjyang --
Changed lines 1-15 from:

In this section we will try to describe the steps to setup your nslu2 to do development work .

to:

In this section we will try to describe the steps to setup your nslu2 to do development work .

Bill of materials and procedures :
1. A nslu2 box with firmware replaced with unslung 3.16 firmware.
2. A netwok connection to Internet.
3. Check out the package sources from nslu2 cvs server.
4. Install the gcc compiler for nslu2.
5. Modify unslung/Makefile for nslu2 environment.
5.1 Disable the crosstool build triggered by making other package.
5.2 Adjust the CROSS_TARGET variable to gcc installed at 4.
6. Do a test make by "make zlib".

January 03, 2005, at 11:58 AM by tjyang --
Changed line 1 from:

Describe NativeDevelopmentSetup here.

to:

In this section we will try to describe the steps to setup your nslu2 to do development work .

view · edit · print · history · Last edited by SRS.
Based on work by rwhitby, tjyang, and tman.
Originally by tjyang.
Page last modified on October 29, 2011, at 02:44 AM