NSLU2-Linux
view · edit · print · history

Optware.SlugosbeDevel History

Hide minor edits - Show changes to markup

March 22, 2008, at 08:36 AM by hillct -- Removed Wiki substituion on preformatted text
Changed lines 26-29 from:
 sed -i -e 's/^MACHINE:space:?*=:space:?*\".*\"/MACHINE = \"nslu2be\"/' conf/auto.conf
 echo "TOPDIR='`pwd`'" >conf/topdir.conf. conf/topdir.conf && test "`pwd`" = "$TOPDIR" || echo "TOPDIR='`pwd`'" > conf/topdir.conf
to:
sed -i -e 's/^MACHINE[[:space:]]*=[[:space:]]*\".*\"/MACHINE = \"nslu2be\"/' conf/auto.conf
echo "TOPDIR='`pwd`'" >conf/topdir.conf. conf/topdir.conf && test "`pwd`" = "$TOPDIR" || \
echo "TOPDIR='`pwd`'" > conf/topdir.conf
March 20, 2008, at 10:20 PM by BrianZhou -- shell closing workaround
Changed lines 22-23 from:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB. You'll be able to safely remove the directories 'work' (~1.7GB) and 'deploy' (~14MB) from within '~/slug/slugosbe/tmp/' after the toolchain build if you need the space. These directories will be re-created and populated as needed by subsequent package builds. You may find the command '. ./setup-env' causes your shell to close. This is due to a dependency satisfied in the beginning of the make process for the slugosbe-image target. The specific dependency appears to be a file 'tempdir.conf' but this has not been confirmed. It has been demonstrated that to satisfy this dependency, you can 'make slugosbe-image' then Ctrl-C out of it as soon as the bitbake files start being processed.

to:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB. You'll be able to safely remove the directories 'work' (~1.7GB) and 'deploy' (~14MB) from within '~/slug/slugosbe/tmp/' after the toolchain build if you need the space. These directories will be re-created and populated as needed by subsequent package builds.

You may find the command '. ./setup-env' causes your shell to close. This is due to a dependency satisfied in the beginning of the make process for the slugosbe-image target. The specific dependency appears to be a file 'tempdir.conf' but this has not been confirmed. It has been demonstrated that to satisfy this dependency, you can 'make slugosbe-image' then Ctrl-C out of it as soon as the bitbake files start being processed. Use the following two commands to work around the shell-closing problem.

 sed -i -e 's/^MACHINE:space:?*=:space:?*\".*\"/MACHINE = \"nslu2be\"/' conf/auto.conf
 echo "TOPDIR='`pwd`'" >conf/topdir.conf. conf/topdir.conf && test "`pwd`" = "$TOPDIR" || echo "TOPDIR='`pwd`'" > conf/topdir.conf
February 18, 2008, at 01:19 PM by drif --
Changed line 8 from:
 make make setup-slugos-4.8-beta
to:
 make setup-slugos-4.8-beta
January 27, 2008, at 02:55 AM by Quantum- --
Changed lines 26-27 from:

You may also want to be able to get a toolchain suitable for building packages compatible with a specific release such as 'slugos-3.10-beta'. This can be accomplished using the MasterMakefile target 'setup-slugos-3.10-beta' in place of 'setup-slugosbe' used at the top of this file, so, in order to create a toolchain suitable bor building release 3.10 compatible packages, you would do the following:

to:

You may also want to be able to get a toolchain suitable for building packages compatible with a specific release such as 'slugos-4.8-beta'. This can be accomplished using the MasterMakefile target 'setup-slugos-4.8-beta' in place of 'setup-slugosbe' used at the top of this file, so, in order to create a toolchain suitable bor building release 3.10 compatible packages, you would do the following:

January 27, 2008, at 02:51 AM by Quantum- --
Changed lines 29-30 from:
 make setup-slugos-3.10-beta
 cd ~slug/releases/slugos-3.10-beta
to:
 make setup-slugos-4.8-beta
 cd ~slug/releases/slugos-4.8-beta
January 27, 2008, at 02:49 AM by Quantum- --
Changed line 8 from:
 make setup-slugosbe
to:
 make make setup-slugos-4.8-beta
February 18, 2007, at 06:40 PM by BrianZhou --
Changed lines 1-2 from:

Cross build environment

to:

Cross build environment

Changed lines 36-37 from:

Now optware slugosbe specific setup

to:

Now optware slugosbe specific setup

Changed lines 48-49 from:

Native build environment

to:

Native build environment

February 18, 2007, at 06:20 PM by hillct -- command typo and temp directory explanation.
Changed lines 22-23 from:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB. You'll be able to safely remove the directories 'work' (~1.7GB) and 'deploy' (~14MB) after the toolchain build if you need the space. These directories will be re-created and populated as needed by subsequent package builds. You may find the command '. ./setup-env' causes your shell to close. This is due to a dependency satisfied in the beginning of the make process for the slugosbe-image target. The specific dependency appears to be a file 'tempdir.conf' but this has not been confirmed. It has been demonstrated that to satisfy this dependency, you can 'make slugosbe-image' then Ctrl-C out of it as soon as the bitbake files start being processed.

to:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB. You'll be able to safely remove the directories 'work' (~1.7GB) and 'deploy' (~14MB) from within '~/slug/slugosbe/tmp/' after the toolchain build if you need the space. These directories will be re-created and populated as needed by subsequent package builds. You may find the command '. ./setup-env' causes your shell to close. This is due to a dependency satisfied in the beginning of the make process for the slugosbe-image target. The specific dependency appears to be a file 'tempdir.conf' but this has not been confirmed. It has been demonstrated that to satisfy this dependency, you can 'make slugosbe-image' then Ctrl-C out of it as soon as the bitbake files start being processed.

Changed line 29 from:
 make slugos-3.10-beta
to:
 make setup-slugos-3.10-beta
Changed lines 34-35 from:

This procedure should also be effective for any OE based slugos release for which you know the setup target in the MasterMakefile.

to:

This procedure should also be effective for any OE based slugos release for which you know the setup target in the MasterMakefile. In the case of slugos 3.10-beta, the created temp directory is 'openslug-nslu2.tmp'. The same guidelines as above apply for deleting the 'work' and 'deploy' directories in order to save space after the toolchain build.

February 18, 2007, at 06:14 PM by hillct -- section title formatting fix
Changed lines 16-17 from:
 __Building the minimum required toolchain__
to:

Building the minimum required toolchain

Changed lines 24-25 from:
 ___Building release-specific minimum required toolchains___
to:

Building release-specific minimum required toolchains

February 18, 2007, at 06:12 PM by hillct -- command listing format fix
February 18, 2007, at 06:10 PM by hillct --
Changed lines 16-17 from:

__Building the minimum required toolchain__

to:
 __Building the minimum required toolchain__
Changed lines 24-25 from:

___Building release-specific minimum required toolchains___

to:
 ___Building release-specific minimum required toolchains___
Deleted lines 27-36:

cd ~/slug make slugos-3.10-beta cd ~slug/releases/slugos-3.10-beta . ./setup-env bb virtual/armeb-linux-gcc virtual/libc

This procedure should also be effective for any OE based slugos release for which you know the setup target in the MasterMakefile.

Now optware slugosbe specific setup

Added lines 29-38:
 make slugos-3.10-beta
 cd ~slug/releases/slugos-3.10-beta
 . ./setup-env
 bb virtual/armeb-linux-gcc virtual/libc

This procedure should also be effective for any OE based slugos release for which you know the setup target in the MasterMakefile.

Now optware slugosbe specific setup

 cd ~/slug
February 18, 2007, at 06:07 PM by hillct -- Updated Setup Procedure for Minimum Required Toolchains
Changed lines 15-16 from:

Or, do the following to just build the minimum required toolchain

to:

Or, do the following for __Building the minimum required toolchain__

Changed lines 22-23 from:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB.

to:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB. You'll be able to safely remove the directories 'work' (~1.7GB) and 'deploy' (~14MB) after the toolchain build if you need the space. These directories will be re-created and populated as needed by subsequent package builds. You may find the command '. ./setup-env' causes your shell to close. This is due to a dependency satisfied in the beginning of the make process for the slugosbe-image target. The specific dependency appears to be a file 'tempdir.conf' but this has not been confirmed. It has been demonstrated that to satisfy this dependency, you can 'make slugosbe-image' then Ctrl-C out of it as soon as the bitbake files start being processed.

___Building release-specific minimum required toolchains___

You may also want to be able to get a toolchain suitable for building packages compatible with a specific release such as 'slugos-3.10-beta'. This can be accomplished using the MasterMakefile target 'setup-slugos-3.10-beta' in place of 'setup-slugosbe' used at the top of this file, so, in order to create a toolchain suitable bor building release 3.10 compatible packages, you would do the following:

cd ~/slug make slugos-3.10-beta cd ~slug/releases/slugos-3.10-beta . ./setup-env bb virtual/armeb-linux-gcc virtual/libc

This procedure should also be effective for any OE based slugos release for which you know the setup target in the MasterMakefile.

February 13, 2007, at 03:26 AM by BrianZhou -- s/openslug/slugosbe/g
Changed line 8 from:
 make setup-openslug
to:
 make setup-slugosbe
Changed lines 11-14 from:

Build the openslug toolchain, easiest to do (might be overkill)

 make openslug-image
to:

Build the slugosbe toolchain, easiest to do (might be overkill)

 make slugosbe-image
Changed line 17 from:
 cd ~/slug/openslug
to:
 cd ~/slug/slugosbe
Changed lines 21-22 from:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/openslug/tmp. The resulting toolchain is under ~/slug/openslug/tmp/cross and takes less than 100MB.

to:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/slugosbe/tmp. The resulting toolchain is under ~/slug/slugosbe/tmp/cross and takes less than 100MB.

Changed lines 37-38 from:

Precondition: openslug installed; slugosbe bootstrapped

to:

Precondition: slugosbe installed; slugosbe bootstrapped

Changed lines 40-41 from:

(Need to specify what openslug packages and what optware packages are needed)

to:

(Need to specify what slugosbe packages and what optware packages are needed)

January 29, 2007, at 08:35 PM by BrianZhou --
Changed lines 21-22 from:

The above step will take quite a while to finish, also allow at least 2.5G disk space for ~/slug/openslug/tmp. The resulting toolchain is under ~/slug/openslug/tmp/cross.

to:

The above step will take quite a while to finish, also allow at least 2.2GB disk space for ~/slug/openslug/tmp. The resulting toolchain is under ~/slug/openslug/tmp/cross and takes less than 100MB.

January 29, 2007, at 07:35 PM by BrianZhou -- added steps for openslug setup, time and space for building toolchain
Changed lines 8-10 from:
to:
 make setup-openslug
 make update-openembedded
Added lines 21-22:

The above step will take quite a while to finish, also allow at least 2.5G disk space for ~/slug/openslug/tmp. The resulting toolchain is under ~/slug/openslug/tmp/cross.

January 29, 2007, at 07:23 PM by BrianZhou -- confirmed minimum toolchain build
Added line 10:
Changed lines 12-14 from:

Or, do the following (to be confirmed as a working minimum)

to:

Or, do the following to just build the minimum required toolchain

Added line 20:
January 29, 2007, at 07:13 PM by BrianZhou --
Changed lines 25-26 from:
 make which-dirclean unrar-check
to:
 make unrar-dirclean unrar-check
Changed line 45 from:
 make which-dirclean unrar-check
to:
 make unrar-dirclean unrar-check
January 29, 2007, at 06:30 PM by BrianZhou --
Changed lines 14-16 from:
 bb virtual/armeb-linux-gcc
 bb virtual/libc
to:
 bb virtual/armeb-linux-gcc virtual/libc
Added line 17:
 cd ~/slug
January 29, 2007, at 06:07 PM by BrianZhou -- added minimal toolchain setup (not confirmed yet)
Changed lines 3-4 from:
 get MasterMakefile by following MasterMakefile
to:

Get MasterMakefile by following MasterMakefile

Changed lines 8-17 from:
 make openslug (this is probably overkill, we just need the toolchain)
to:

Build the openslug toolchain, easiest to do (might be overkill)

 make openslug-image

Or, do the following (to be confirmed as a working minimum)

 cd ~/slug/openslug
 . ./setup-env
 bb virtual/armeb-linux-gcc
 bb virtual/libc

Now optware slugosbe specific setup

Changed lines 22-26 from:

Now you're ready to make some package.

 make which-check
 make unrar-check
to:

Now you're ready to make some package, e.g.

 make which-dirclean which-check
 make which-dirclean unrar-check
Changed lines 44-46 from:
 make which-check
 make unrar-check
to:
 make which-dirclean which-check
 make which-dirclean unrar-check
January 23, 2007, at 11:03 PM by BrianZhou -- added more content
Added lines 5-6:
 make setup-optware  (or make setup-optware-developer)
 make update-optware
Changed line 9 from:
 cd optware/slugosbe
to:
 cd ~/slug/optware/slugosbe
Changed lines 19-36 from:

To be written...

to:

Precondition: openslug installed; slugosbe bootstrapped

To be refined... (Need to specify what openslug packages and what optware packages are needed)

 mkdir -p ~/slug/downloads
 cd ~/slug
 svn co http://svn.nslu2-linux.org/svnroot/optware/trunk optware
 make -C optware slugosbe-target
 cd optware; ln -s ../downloads .
 cd ~/slug/optware/slugosbe
 make directories ipkg-utils

Now you're ready to make some package (optionally setup Distcc to speed up compilation).

 make which-check
 make unrar-check
January 23, 2007, at 10:34 PM by BrianZhou --
Changed lines 3-4 from:
 get MasterMakefile
 cd slug
to:
 get MasterMakefile by following MasterMakefile
 cd ~/slug
January 23, 2007, at 10:33 PM by BrianZhou --
Changed lines 1-8 from:

=== setup cross build environment

 * get MasterMakefile?
 * cd slug
 * make openslug (this is probably overkill, we just need the toolchain)
 * make optware/slugosbe/.configured
 * cd optware/slugosbe
 * make directories ipkg-utils
to:

Cross build environment

 get MasterMakefile
 cd slug
 make openslug (this is probably overkill, we just need the toolchain)
 make optware/slugosbe/.configured
 cd optware/slugosbe
 make directories ipkg-utils

Now you're ready to make some package.

 make which-check
 make unrar-check

Native build environment

To be written...

January 23, 2007, at 10:25 PM by BrianZhou -- initial page
Added lines 1-8:

=== setup cross build environment

 * get MasterMakefile?
 * cd slug
 * make openslug (this is probably overkill, we just need the toolchain)
 * make optware/slugosbe/.configured
 * cd optware/slugosbe
 * make directories ipkg-utils
view · edit · print · history · Last edited by hillct.
Based on work by BrianZhou, drif, Quantum-, and hillct.
Originally by BrianZhou.
Page last modified on March 22, 2008, at 08:36 AM