NSLU2-Linux
view · edit · print · history

Development.MasterMakefile History

Hide minor edits - Show changes to markup

November 01, 2010, at 12:02 PM by sdm485 --
Changed line 200 from:

Development with Ubuntu 10.10 Maverick MeerKat?

to:

Development with Ubuntu 10.10 Maverick MeerKat

November 01, 2010, at 11:59 AM by sdm485 --
Changed lines 207-208 from:

Toward the beginning of the file, change BITBAKE_BRANCH 1.10 and BITBAKE_VERSION to 1.10.1

to:

Toward the beginning of the file, change BITBAKE_BRANCH to 1.10 and BITBAKE_VERSION to 1.10.1

November 01, 2010, at 11:58 AM by sdm485 --
Changed line 200 from:

Development with Ubuntu 10.10 MaverickMeerKat?

to:

Development with Ubuntu 10.10 Maverick MeerKat?

Changed lines 205-206 from:

At this point, some edits to the Makefile need to be made to get it to work. Locate the text beginning with

to:

At this point, some edits to the Makefile need to be made to get it to work:

Added line 209:
 Locate the text beginning with \\
November 01, 2010, at 11:56 AM by sdm485 --
Changed line 14 from:
to:
November 01, 2010, at 11:56 AM by sdm485 -- added Ubuntu 10.10
Added line 14:
Changed lines 199-227 from:
to:

Development with Ubuntu 10.10 MaverickMeerKat?

Make a directory for your build and change to it ('mkdir slug' and then 'cd slug' perhaps).
Run: wget http://www.nslu2-linux.org/Makefile to download the MasterMakefile.
Run: make setup-host-debian to set up the environment. You need to be root.

At this point, some edits to the Makefile need to be made to get it to work. Locate the text beginning with
Toward the beginning of the file, change BITBAKE_BRANCH 1.10 and BITBAKE_VERSION to 1.10.1

.PHONY: setup-bitbake.
Place a '#' in front of lines 4-6 to comment them out:

# [ -d bitbake/.svn ] && \
# mv bitbake bitbake_svn_obsolete
# [ -e bitbake/.git/config ] || \

This will get setup-bitbake to run. Not sure why those lines fail. Now you can run make setup and make slugosbe-image etc.

To get openwrt to setup, you need to change the url in line 6 of .PHONY: setup-openwrt to:

( svn co svn://svn.openwrt.org/openwrt/trunk openwrt )
Then make setup-openwrt will work.

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10. Then make openwrt will work. Alternatively, you can install jikes from the debian download site by hand.

Run: make update to make sure the database is current.
Run: make slugosbe-image to build the tools and build the images.

May 01, 2010, at 06:02 PM by sdm485 -- A note about installing jikes
Changed lines 193-194 from:

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10. Then make openwrt will work.

to:

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10. Then make openwrt will work. Alternatively, you can install jikes from the debian download site by hand.

February 14, 2010, at 11:15 AM by sdm485 -- Added Ubuntu 9.10
February 14, 2010, at 11:13 AM by sdm485 --
Changed lines 177-178 from:

Run: make setup-host-debian to set up the environment. You need to be root.
At this point, some edits to the Makefile need to be made to get it to work. Locate the text beginning with .PHONY: setup-bitbake. Place a '#' in front of lines 4-6 to comment them out:

to:

Run: make setup-host-debian to set up the environment. You need to be root.

At this point, some edits to the Makefile need to be made to get it to work. Locate the text beginning with
.PHONY: setup-bitbake.
Place a '#' in front of lines 4-6 to comment them out:

February 14, 2010, at 11:12 AM by sdm485 --
Changed line 177 from:

Run: make setup-host-debian to set up the environment.\\

to:

Run: make setup-host-debian to set up the environment. You need to be root.\\

February 14, 2010, at 11:11 AM by sdm485 --
Changed lines 186-190 from:

To get openwrt to setup, you need to change the url line 6 of .PHONY: setup-openwrt to:

( svn co svn://svn.openwrt.org/openwrt/trunk openwrt )

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10

to:

To get openwrt to setup, you need to change the url in line 6 of .PHONY: setup-openwrt to:

( svn co svn://svn.openwrt.org/openwrt/trunk openwrt )
Then make setup-openwrt will work.

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10. Then make openwrt will work.

February 14, 2010, at 11:08 AM by sdm485 --
Added line 182:
Added line 185:
Added line 188:
Deleted lines 190-191:
February 14, 2010, at 11:06 AM by sdm485 --
Changed lines 180-181 from:
# mv bitbake bitbake_svn_obsolete
-># [ -e bitbake/.git/config ] || \ \\
to:
  1. mv bitbake bitbake_svn_obsolete
    # [ -e bitbake/.git/config ] || \ \\
February 14, 2010, at 11:06 AM by sdm485 --
Changed lines 179-181 from:
# [ -d bitbake/.svn ] && -># mv bitbake bitbake_svn_obsolete
# [ -e bitbake/.git/config ] || \
to:
# [ -d bitbake/.svn ] && \
-># mv bitbake bitbake_svn_obsolete
-># [ -e bitbake/.git/config ] || \ \\
February 14, 2010, at 11:03 AM by sdm485 -- added Ubuntu 9.10
Added line 13:
Changed lines 173-193 from:
to:

Development with Ubuntu 9.10 Karmic

Make a directory for your build and change to it ('mkdir slug' and then 'cd slug' perhaps).
Run: wget http://www.nslu2-linux.org/Makefile to download the MasterMakefile.
Run: make setup-host-debian to set up the environment.
At this point, some edits to the Makefile need to be made to get it to work. Locate the text beginning with .PHONY: setup-bitbake. Place a '#' in front of lines 4-6 to comment them out:

# [ -d bitbake/.svn ] && -># mv bitbake bitbake_svn_obsolete
# [ -e bitbake/.git/config ] || This will get setup-bitbake to run. Not sure why those lines fail.

Now you can run make setup and make slugosbe-image etc. To get openwrt to setup, you need to change the url line 6 of .PHONY: setup-openwrt to:

( svn co svn://svn.openwrt.org/openwrt/trunk openwrt )

To get openwrt to build, you need to remove sablevm-sdk from the feeds/packages/lang directory. It requires jikes to build and apparently jikes is not available on 9.10

Run: make update to make sure the database is current.
Run: make slugosbe-image to build the tools and build the images.

October 28, 2009, at 10:42 PM by Reedy -- those debian are ancient
Deleted lines 11-12:
Changed lines 162-163 from:

Development with Ubuntu 5.04

to:

Development with Ubuntu 7.04 Feisty Fawn

Make a directory for your build and change to it ('mkdir slug' and then 'cd slug' perhaps).
Run: wget http://www.nslu2-linux.org/Makefile to download the MasterMakefile.
Run: make setup-host-ubuntu to set up the environment.
Run: make update to make sure the database is current.
Run: make slugosbe-image to build the tools and build the images.

There are many different things you can build, I have worked with Openslug in the past and it was changed to slugosbe. To build Unslung, the command would be make unslung-image. To build the packages that can be installed, the command would be make slugosle-packages for example. This will take a while...:)

Development with Gentoo

Deleted lines 175-176:

Install Ubuntu 5.04 "The Hoary Hedgehog"
Ensure that you have the universe repositories enabled (edit /etc/apt/sources.list)\\

Changed lines 177-178 from:

make setup-host-ubuntu

to:

make setup-host-gentoo
This will unmask boost-1.32.0

Deleted lines 179-204:

Development with Ubuntu 5.10 Breezy Badger and 6.06 Dapper Drake

Proceed as described with Ubuntu 5.04 Note: Ubuntu 5.10 now (at least as of March 29. 2006) has Monotone 0.25 in its repo.
NB: on Dapper you must "sudo aptitude install diffstat python-psyco" in addition to setup-host-ubuntu

Development with Ubuntu 7.04 Feisty Fawn

Make a directory for your build and change to it ('mkdir slug' and then 'cd slug' perhaps).
Run: wget http://www.nslu2-linux.org/Makefile to download the MasterMakefile.
Run: make setup-host-ubuntu to set up the environment.
Run: make update to make sure the database is current.
Run: make slugosbe-image to build the tools and build the images.

There are many different things you can build, I have worked with Openslug in the past and it was changed to slugosbe. To build Unslung, the command would be make unslung-image. To build the packages that can be installed, the command would be make slugosle-packages for example. This will take a while...:)

Development with Gentoo

It is recommended, but not essential, to make a new user, to build using the Master Makefile.
Download the makefile as above and run:
make setup-host-gentoo
This will unmask boost-1.32.0 NB: Root access required\\

March 08, 2009, at 06:26 PM by RudolfReuter --
March 08, 2009, at 06:25 PM by RudolfReuter --
Changed lines 112-113 from:

OpenEmbedded contains much more packages than SlugOS, so you can add a package to openembedded/packages/meta/slugos-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a

to:

OpenEmbedded contains much more packages than SlugOS, so you can add a package to openembedded/packages/meta/slugos-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-slugos and this time your package will be included in the feed. Alternatively you can do a

Changed lines 310-311 from:

% bb <package-name>

to:

% bitbake <package-name>

March 08, 2009, at 06:22 PM by RudolfReuter -- change openslug to slugos and bb to bitbake
Changed line 19 from:
to:
Changed lines 38-39 from:

Example targets include slugosle-image, openslug-image, unslung-image, optware-nslu2, optware-wl500g.

to:

Example targets include slugosle-image, slugos-image, unslung-image, optware-nslu2, optware-wl500g.

Changed lines 65-66 from:

If you have already done a majority of the MasterMakefile build, saw the error about the missing Intel drivers and did the fix above; you don't need to restart the build! Just go to the 'openslug/tmp/stamps' directory and remove the 'ixp4xx*' files. Then all you need to do is go back to the top level and restart your 'make'. It will continue where it left off.

to:

If you have already done a majority of the MasterMakefile build, saw the error about the missing Intel drivers and did the fix above; you don't need to restart the build! Just go to the 'slugos/tmp/stamps' directory and remove the 'ixp4xx*' files. Then all you need to do is go back to the top level and restart your 'make'. It will continue where it left off.

Changed lines 75-83 from:

make openslug-image

It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

The Makefile builds the latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

If you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-openslug, too. That will do the development environment and firmware (as above), too. After that it will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/slugos-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-debianslug setup-openslug)

to:

make slugos-image

It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the slugos firmware, crosscompile them and combine them into a firmware package.

The Makefile builds the latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or slugos-4.8-beta.

If you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-slugos, too. That will do the development environment and firmware (as above), too. After that it will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/slugos-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-debianslug setup-slugos)

Changed lines 97-105 from:
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug local conf
openslug/tmp/here happens everything, action at its best :-)
openslug/tmp/cross/complete cross compile toolchain
openslug/tmp/deploy/place where the freshly baken packages and images go to
openslug/tmp/rootfs/it's the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
openslug/tmp/stamps/empty files, the pure existance indicates the status of process
openslug/tmp/work/here are the packages compiled, one directory for each package
to:
slugos/this directory is for building all the stuff
slugos/conf/local.confslugos local conf
slugos/tmp/here happens everything, action at its best :-)
slugos/tmp/cross/complete cross compile toolchain
slugos/tmp/deploy/place where the freshly baken packages and images go to
slugos/tmp/rootfs/it's the to be compressed root filesystem
slugos/tmp/staging/everything else needed for compiling
slugos/tmp/stamps/empty files, the pure existance indicates the status of process
slugos/tmp/work/here are the packages compiled, one directory for each package
Changed lines 114-115 from:

$ cd openslug; source setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

$ cd slugos; source setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

Changed lines 118-121 from:

$ cd openslug; . ./setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

If you get kicked out of your shell when running one of the above commands, you should run make in the openslug directory, which will set up a file in the openslug directory. This file is parsed by setup-env and contains the right configuration that prevents you from being kicked out of your shell.

to:

$ cd slugos; . ./setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

If you get kicked out of your shell when running one of the above commands, you should run make in the slugos directory, which will set up a file in the slugos directory. This file is parsed by setup-env and contains the right configuration that prevents you from being kicked out of your shell.

Changed line 218 from:

make openslug \\

to:

make slugos \\

Changed lines 220-222 from:

make openslug-packages
just for the openslug packages

to:

make slugos-packages
just for the slugos packages

Changed lines 253-255 from:

Development with Openslug

to:

Development with slugos

Changed lines 294-295 from:

1. Download the package file to ~/slug/openslug/downloads/PACKAGENAME.tar.gz

to:

1. Download the package file to ~/slug/slugos/downloads/PACKAGENAME.tar.gz

Changed lines 297-299 from:
 md5sum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | \ 
sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5
to:
 md5sum ~/slug/slugos/downloads/PACKAGENAME.tar.gz | \ 
sed s/\ .*$// > ~/slug/slugos/downloads/PACKAGENAME.tar.gz.md5
Changed lines 301-303 from:
 make build-openslug
to:
 make build-slugos
Changed line 308 from:

% cd [openslug|unslung]\\

to:

% cd [slugos|unslung]\\

Changed lines 314-315 from:

% bb -b my_file_0.00.bb

to:

% bitbake -b my_file_0.00.bb

Changed lines 318-321 from:

If you want to rebuild after making changes then use the bitbake command bb -c clean <package-name>.

The openembedded file format for .bb files is not well documented, I found useful this set of lecture notes http://www.vanille.de/tools/FOSDEM2005.pdf.

to:

If you want to rebuild after making changes then use the bitbake command bitbake -c clean <package-name>.

The openembedded file format for .bb files is not well documented, I found useful this set of lecture notes http://www.vanille.de/tools/FOSDEM2005.pdf and http://docs.openembedded.org/usermanual/usermanual.html.

October 15, 2008, at 01:09 PM by rwhitby -- Removed all trace of monotone
Deleted lines 0-1:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monotone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone). If you have monotone 0.32 and above, you must run mtn db migrate.

Deleted lines 34-46:

NB 2: Downloading and building with the Master Makefile requires monotone 0.25. If you have an older version, then you will get a monotone error message like:

database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9,
got bd86f9a90b5d552f0be1fa9aee847ea0f317778b

Note that as of right now (Jan 2006), the unslung package feed only has monotone 0.24, and building monotone on the nslu2 requires a build of boost, so you might as well give up now.

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn && mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time ! ( rough time for mine was 4hours ( vmware machine )

Note: Debian unstable at time of writing has monotone 0.35 and the command to migrate the database is now regenerate_caches NOT regenerate_rosters as above.

Note: I tried to build it with my x86_64 (SUSE Linux 9.3 x86_64), build in 64bit mode failed because the image was to big in the end, when I forced 32bit mode (with linux32 make openslug-image) it failed with an internal gcc error.

Changed lines 79-85 from:

Note that the Makefile will build the entire distro rather than just the flash image. To fix this, edit the makefile and change "-k distro" to "-k image". I use sed like this:
mv Makefile Makefile.ORIG
sed -e s/-distro/-image/ Makefile.ORIG > Makefile
Then you can build the kernel, ramdisk, and a complete flash image without loads of other stuff including even X11!

Also the Makefile builds the latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

to:

The Makefile builds the latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

Changed line 83 from:

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-debianslug setup-openslug setup-ucslugc)

to:

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-debianslug setup-openslug)

Deleted line 91:
monotone/the nslu2 database file
Changed lines 109-111 from:

If you encounter any problems while building this, please check, if there is already a bug filed at Trac or email your bug report to the nslu2-linux mailiing list. You might also check the OpenEmbedded Eventcounter to see, if any of your problem have been fixed since your last monotone checkout.
#openslug at irc.freenode.org is where your chances to get some first aid are the best. :)

to:

If you encounter any problems while building this, please check, if there is already a bug filed at Trac or email your bug report to the nslu2-linux mailiing list. You might also check the OpenEmbedded Eventcounter to see, if any of your problem have been fixed since your last update.
#nslu2-linux at irc.freenode.org is where your chances to get some first aid are the best. :)

Deleted lines 121-122:

If you want a slim firmware, which leaves as much space on the flash as possible, you should build the ucslugc target rather than openslug. See the UcSlugC home page

Deleted line 125:

monotone - http://venge.net/monotone/ (Depends on boost)\\

Deleted lines 133-134:
Changed lines 140-145 from:

There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

ben says: If you get mtn: command not found after installing monotone, try ln -s monotone mtn.
If you get error: failure extracting schema..., your montone version may be too old.
If you get misuse: layout of database..., your monotone version may be too new.\\

to:
Deleted line 150:
  • "make setup-host-debian" now also installs a current version of "monotone" (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath. There is no need to install an older version of "monotone".
Deleted lines 152-163:

"make setup" propably terminates after some time showing the following error-messages:

mtn: misuse: layout of database /home/nslu2/slug/monotone/nslu2-linux.mtn doesn't match this version of monotone
mtn: misuse: try "mtn db migrate" to upgrade

In this case enter the following commands to migrade the database:
mtn --db monotone/nslu2-linux.mtn db migrate
mtn --db monotone/nslu2-linux.mtn db regenerate_rosters

After the database has been converted, call "make setup" again.

Changed lines 161-167 from:

You have to install monotone separately from: http://venge.net/monotone/

Monotone 0.24 .deb packages available:
http://venge.net/monotone/downloads/monotone_0.24-0sarge1_i386.deb for Sarge
http://venge.net/monotone/downloads/monotone_0.24-0.1_i386.deb for Stable
to:
Deleted lines 163-169:

NB: If you're using Debian Etch (testing) you can use the distros monotone and need not to download/install it seperately as described above.

NB: If you're using Debian Sid (unstable) you must use the older version monotone-0.25 still in the pool of the distro. Sid apparently switched to monotone-0.26 in May-2006. Monotone-0.26 uses an incompatible database format.
Get the monotone_0.25-0.1 Deb package from your favourite Mirror and Arch (here: i386)
Installing the package with dpkg -i monotone_0.25-0.1*
Set it on hold to prevent automatic upgrading: echo "monotone hold" | dpkg --set-selections

Changed line 171 from:

You have to install monotone separately from: http://venge.net/monotone/\\

to:
Changed lines 179-194 from:

NB: With Ubuntu 5.10, I had the error :
make: [MT/.configured] Erreur 1 (ignorée) ( monotone -d monotone/nslu2-linux.db pull monotone.nslu2-linux.org org.{nslu2-linux.*,openembedded.dev} ) monotone: misuse: database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9, got bd86f9a90b5d552f0be1fa9aee847ea0f317778b. try migrating database make: *** [MT/.configured] Erreur 1

Monotone version 0.23 was inadequate so you need to install 0.28. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.28-dapper0.1_i386.deb
Install this by sudo dpkg -i monotone_0.28-dapper0.1_i386.deb


''monotone 0.24 which is comming with Ubuntu 6.06 and 6.10 (Edgy) is out of date for the current monotone repository (01.10.2006). You should install monotone 0.28 from here: http://monotone.ca/downloads/0.28/monotone_0.28-dapper0.1_i386.deb


NB: on Dapper you must "sudo aptitude install monotone diffstat python-psyco" in addition to setup-host-ubuntu

to:

NB: on Dapper you must "sudo aptitude install diffstat python-psyco" in addition to setup-host-ubuntu

Deleted line 182:

Install monotone 'apt-get install monotone'. The current Makefile determines the monotone version and downloads the appropriate database version.\\

Changed line 197 from:

This will unmask montone-0.24 and boost-1.32.0

to:

This will unmask boost-1.32.0

Changed lines 209-210 from:

emerge boost bitbake PyQt? sip monotone bitbake

to:

emerge boost bitbake PyQt? sip

Deleted lines 215-218:

When doing so, you will get an error message saying that the monotone database needs to be converted. You need to do the following:
mtn --db monotone/nslu2-linux.mtn db migrate
mtn --db monotone/nslu2-linux.mtn db regenerate_caches

Changed lines 230-231 from:

At time of writing: download version 0.28 of mtn: http://venge.net/monotone/downloads/mtn-0.28-osx-univ.bz2

to:
Deleted lines 283-288:
  • Download the monotone source from http://www.venge.net/monotone wget http://www.venge.net/monotone/downloads/monotone-0.25.tar.gz
  • Untar/gzip it tar xzvf monotone-0.25.tar.gz
  • cd monotone-0.25
  • dpkg-buildpackage -rfakeroot -uc -b # takes about 10-20 minutes
  • cd ..
  • sudo dpkg -i monotone_0.25-0.1_i386.deb
May 23, 2008, at 03:27 PM by sdm485 --
Changed line 254 from:

Install monotone 'apt-get install monotone' The current Makefile determines the monotone version and downloads the appropriate database version.\\

to:

Install monotone 'apt-get install monotone'. The current Makefile determines the monotone version and downloads the appropriate database version.\\

May 23, 2008, at 03:26 PM by sdm485 -- updated ubuntu 7.04 for monotone version
Changed line 254 from:

Install monotone 0.28 (download it from http://venge.net/monotone ). The one offered by Ubuntu for 7.04 is too recent and upgrading the database takes a very long time.\\

to:

Install monotone 'apt-get install monotone' The current Makefile determines the monotone version and downloads the appropriate database version.\\

March 20, 2008, at 09:17 PM by mwester -- Added note about firmware versions
Changed lines 56-58 from:

Before building you will need to download the two zip files from Intel:

to:

Before building you may need to download the two zip files from Intel. Check carefully to see what versions your environment will need; the versions are not interchangeable, nor are they upwards compatible. See the partial list below to see which ones you'll need.

Changed lines 70-71 from:

If you're building Openslug 4.8 then you need the 2.4 versions of the Intel libs from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm

to:

If you're building Openslug 4.8 and newer, then you need the 2.4 versions of the Intel libs from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm

''DO NOT download the 3.0 versions -- this version is not used by any current firmware, and will not build.

January 13, 2008, at 03:37 PM by ahagge -- fix line break
Added line 67:
January 13, 2008, at 03:36 PM by ahagge -- add openslug 4.8 ixp download info
Changed lines 67-68 from:
to:

If you're building Openslug 4.8 then you need the 2.4 versions of the Intel libs from http://www.intel.com/design/network/products/npfamily/download_ixp400.htm

October 19, 2007, at 06:53 PM by sdm485 -- minor edit to Ubuntu 7.04 to reflect revised Makefile
Deleted line 248:

Install help2man because the 'make setup-host-ubuntu' build command below does not include it at the moment.\\

October 17, 2007, at 12:10 PM by oleo -- IXP400 Software link changed at intel.com
Changed line 61 from:
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm
to:
  1. Go to http://www.intel.com/design/network/products/npfamily/download_ixp400.htm
Changed line 63 from:
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_current.htm
to:
  1. Go to http://www.intel.com/design/network/products/npfamily/download_ixp400.htm
October 03, 2007, at 03:00 AM by sdm485 --
Changed line 249 from:

Install help2man because the 'make setup-host-ubuntu' build command below does not include it.\\

to:

Install help2man because the 'make setup-host-ubuntu' build command below does not include it at the moment.\\

October 03, 2007, at 02:59 AM by sdm485 --
Changed line 256 from:

There are many different things you can build, I have worked with Openslug in the past and it was changed to slugosbe. To build Unslung, the command would be make unslung-image. To build the packages that can be installed, the command would be make slugosle-packages for example. This will take a while.

to:

There are many different things you can build, I have worked with Openslug in the past and it was changed to slugosbe. To build Unslung, the command would be make unslung-image. To build the packages that can be installed, the command would be make slugosle-packages for example. This will take a while...:)

October 03, 2007, at 02:57 AM by sdm485 --
Changed line 250 from:

Make a directory for your build and change to it ('mkdir slug' perhaps).\\

to:

Make a directory for your build and change to it ('mkdir slug' and then 'cd slug' perhaps).\\

October 03, 2007, at 02:56 AM by sdm485 -- A few tweeks
Changed lines 249-250 from:

Install help2man because the make build command below does not have it.
Make a directory for your build and change to it.\\

to:

Install help2man because the 'make setup-host-ubuntu' build command below does not include it.
Make a directory for your build and change to it ('mkdir slug' perhaps).\\

Changed line 256 from:

There are many different packages you can build, I just used one choice.

to:

There are many different things you can build, I have worked with Openslug in the past and it was changed to slugosbe. To build Unslung, the command would be make unslung-image. To build the packages that can be installed, the command would be make slugosle-packages for example. This will take a while.

October 03, 2007, at 12:02 AM by sdm485 --
Deleted line 248:

Install subversion if it is not there.\\

Deleted line 249:

Install make if it is not there.\\

October 02, 2007, at 11:59 PM by sdm485 -- added ubuntu 7.04 text
Added lines 246-260:

Development with Ubuntu 7.04 Feisty Fawn

Install monotone 0.28 (download it from http://venge.net/monotone ). The one offered by Ubuntu for 7.04 is too recent and upgrading the database takes a very long time.
Install subversion if it is not there.
Install help2man because the make build command below does not have it.
Install make if it is not there.
Make a directory for your build and change to it.
Run: wget http://www.nslu2-linux.org/Makefile to download the MasterMakefile.
Run: make setup-host-ubuntu to set up the environment.
Run: make update to make sure the database is current.
Run: make slugosbe-image to build the tools and build the images.

There are many different packages you can build, I just used one choice.

October 02, 2007, at 11:45 PM by sdm485 -- added ubuntu 7.04
Added line 16:
September 29, 2007, at 09:27 AM by bwalle -- Added CCACHE_PATH hint
Added lines 75-76:

If you use ccache, then it's important that CCACHE_PATH is not set because then the cross-compiler cannot be found.

August 13, 2007, at 06:46 PM by Lars Bager --
Changed lines 75-76 from:

A quick start is to run make setup followed by make openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

to:

A quick start is to run

make setup

followed by

make openslug-image

It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

August 12, 2007, at 09:24 AM by Lars Bager --
Changed line 173 from:

In this case enter the following commands to upgrade the database:\\

to:

In this case enter the following commands to migrade the database:\\

August 11, 2007, at 07:23 AM by Lars Bager --
Changed line 165 from:
  • "make setup-host-debian" now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
to:
  • "make setup-host-debian" now also installs a current version of "monotone" (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath. There is no need to install an older version of "monotone".
August 11, 2007, at 07:21 AM by Lars Bager --
Changed lines 155-156 from:

Your best bet (worked for me) is:\\

to:

Your best bet (worked for me) is:

Changed lines 173-174 from:

In this case enter the following commands to upgrade the database: mtn --db monotone/nslu2-linux.mtn db migrate

to:

In this case enter the following commands to upgrade the database:
mtn --db monotone/nslu2-linux.mtn db migrate\\

Changed lines 177-179 from:

After the database has been converted, call make setup again.

to:

After the database has been converted, call "make setup" again.

August 11, 2007, at 07:19 AM by Lars Bager --
Changed lines 167-169 from:

make setup propably terminates after some time showing the following error-messages:

mtn: misuse: layout of database /home/nslu2/slug/monotone/nslu2-linux.mtn doesn't match this version of monotone

to:

"make setup" propably terminates after some time showing the following error-messages:

mtn: misuse: layout of database /home/nslu2/slug/monotone/nslu2-linux.mtn doesn't match this version of monotone\\

August 11, 2007, at 07:18 AM by Lars Bager --
Changed line 164 from:
  • make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
to:
  • "make setup-host-debian" now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
Changed lines 170-171 from:

mtn: misuse: try mtn db migrate to upgrade

to:

mtn: misuse: try "mtn db migrate" to upgrade

August 11, 2007, at 07:16 AM by Lars Bager --
Changed line 164 from:
  • make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
to:
  • make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
Changed lines 170-171 from:

mtn: misuse: try mtn db migrate to upgrade

to:

mtn: misuse: try mtn db migrate to upgrade

August 11, 2007, at 07:15 AM by Lars Bager --
Changed lines 164-165 from:
  • @wget http://monotone.ca/downloads/0.28/monotone_0.28-sarge0.1_i386.deb@

make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but requires to convert the database as described beneath:

to:
  • make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but propably requires converting the database as described beneath.
Changed lines 166-168 from:
  • make setup propably terminates after some time showing the following error-messages:
to:

make setup propably terminates after some time showing the following error-messages:

Changed lines 170-171 from:

mtn: misuse: try 'mtn db migrate' to upgrade

to:

mtn: misuse: try mtn db migrate to upgrade

Changed lines 176-178 from:
to:

After the database has been converted, call make setup again.

August 11, 2007, at 07:10 AM by Lars Bager --
Changed lines 164-165 from:
  • wget http://monotone.ca/downloads/0.28/monotone_0.28-sarge0.1_i386.deb
to:
  • @wget http://monotone.ca/downloads/0.28/monotone_0.28-sarge0.1_i386.deb@

make setup-host-debian now installs a current version of monotone (at the time of this writing v0.31-6). This works, but requires to convert the database as described beneath:

Changed lines 167-168 from:
to:
  • make setup propably terminates after some time showing the following error-messages:

mtn: misuse: layout of database /home/nslu2/slug/monotone/nslu2-linux.mtn doesn't match this version of monotone mtn: misuse: try 'mtn db migrate' to upgrade In this case enter the following commands to upgrade the database: mtn --db monotone/nslu2-linux.mtn db migrate mtn --db monotone/nslu2-linux.mtn db regenerate_rosters

August 09, 2007, at 07:59 PM by Lars Bager -- Corrected wget-link to download monotone_0.28-sarge0.1_i386.deb
Changed line 164 from:
  • wget venge.net/monotone/downloads/monotone_0.28-sarge0.1_i386.deb
to:
  • wget http://monotone.ca/downloads/0.28/monotone_0.28-sarge0.1_i386.deb
August 07, 2007, at 01:23 PM by RobinC -- typo
Changed lines 82-83 from:

Also the Makefile builds th latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

to:

Also the Makefile builds the latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

August 07, 2007, at 01:22 PM by RobinC -- Add additional note on db migrate for monotone 0.35
Added lines 45-46:

Note: Debian unstable at time of writing has monotone 0.35 and the command to migrate the database is now regenerate_caches NOT regenerate_rosters as above.

June 22, 2007, at 08:22 AM by oleo -- makeup
Changed lines 43-44 from:

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn and mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time ! ( rough time for mine was 4hours ( vmware machine )

to:

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn && mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time ! ( rough time for mine was 4hours ( vmware machine )

May 14, 2007, at 07:45 PM by mathieu_xwave -- corrected monotone download links
Changed line 216 from:

http://venge.net/monotone/downloads/monotone_0.28-dapper0.1_i386.deb

to:

http://monotone.ca/downloads/0.28/monotone_0.28-dapper0.1_i386.deb

March 01, 2007, at 12:56 PM by Blastur -- Updated required NpeLibrary from 2.1 to 2.3 and added links where to get the new file.
Changed lines 55-56 from:
  • IPL_ixp400NpeLibrary-2_1.zip
to:
  • IPL_ixp400NpeLibrary-2_3.zip
Changed lines 60-61 from:
  1. Agree to the license and download "2.1 Download" of NPE Microcode (this gives you IPL_ixp400NpeLibrary-2_1.zip)
to:
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_current.htm
  2. Agree to the license and download "2.3 Download" of NPE Microcode (this gives you IPL_ixp400NpeLibrary-2_3.zip)
Changed lines 69-70 from:

md5sum -b IPL_ixp400NpeLibrary-2_1.zip | awk '{print $1}' > IPL_ixp400NpeLibrary-2_1.zip.md5

to:

md5sum -b IPL_ixp400NpeLibrary-2_3.zip | awk '{print $1}' > IPL_ixp400NpeLibrary-2_3.zip.md5

February 27, 2007, at 05:23 PM by piti --
Changed line 142 from:

You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides.\\

to:

You can build the Master Makefile on a Windows system using 'coLinux' (http://www.colinux.org). Their wiki has various quick start guides.\\

February 11, 2007, at 02:45 PM by Sinclair -- changed debianslug-image to slugosle-image
Changed lines 50-51 from:

Example targets include debianslug-image, openslug-image, unslung-image, optware-nslu2, optware-wl500g.

to:

Example targets include slugosle-image, openslug-image, unslung-image, optware-nslu2, optware-wl500g.

January 22, 2007, at 08:13 PM by wklam -- More formatting
Changed lines 229-254 from:

Alternatively, you can emerge required packages in Gentoo with (As of 2006.1, Jan-2007): At /etc/portage/package.keywords: dev-embedded/bitbake ~amd64 dev-libs/boost ~amd64 dev-embedded/bitbake ~amd64 dev-python/PyQt? ~amd64 dev-python/sip ~amd64

emerge boost bitbake PyQt? sip monotone bitbake

In addition, it needs another two packages: emerge app-misc/git dev-util/diffstat Then: make update

When doing so, you will get an error message saying that the monotone database needs to be converted. You need to do the following: mtn --db monotone/nslu2-linux.mtn db migrate mtn --db monotone/nslu2-linux.mtn db regenerate_caches

Now you are ready to build the packages

make openslug or make openslug-packages

to:

Alternatively, you can emerge required packages in Gentoo with (As of 2006.1, Jan-2007):
At /etc/portage/package.keywords:
dev-embedded/bitbake ~amd64
dev-libs/boost ~amd64
dev-embedded/bitbake ~amd64
dev-python/PyQt? ~amd64
dev-python/sip ~amd64
emerge boost bitbake PyQt? sip monotone bitbake
In addition, it needs another two packages:
emerge app-misc/git dev-util/diffstat
Then:
make update
When doing so, you will get an error message saying that the monotone database needs to be converted. You need to do the following:
mtn --db monotone/nslu2-linux.mtn db migrate
mtn --db monotone/nslu2-linux.mtn db regenerate_caches
Now you are ready to build the packages.
make openslug
for the whole nine yards or
make openslug-packages
just for the openslug packages

January 22, 2007, at 08:11 PM by wklam -- Formatting commands
Changed lines 230-238 from:

/etc/portage/package.keywords dev-embedded/bitbake ~amd64 dev-libs/boost ~amd64 dev-embedded/bitbake ~amd64 dev-python/PyQt? ~amd64 dev-python/sip ~amd64

emerge boost bitbake PyQt? sip monotone bitbake

to:

At /etc/portage/package.keywords: dev-embedded/bitbake ~amd64 dev-libs/boost ~amd64 dev-embedded/bitbake ~amd64 dev-python/PyQt? ~amd64 dev-python/sip ~amd64

emerge boost bitbake PyQt? sip monotone bitbake

Changed lines 240-243 from:

emerge app-misc/git dev-util/diffstat

make update

to:

emerge app-misc/git dev-util/diffstat Then: make update

Changed lines 245-247 from:

mtn --db monotone/nslu2-linux.mtn db migrate mtn --db monotone/nslu2-linux.mtn db regenerate_caches

to:

mtn --db monotone/nslu2-linux.mtn db migrate mtn --db monotone/nslu2-linux.mtn db regenerate_caches

Changed lines 250-253 from:

make openslug or make openslug-packages

to:

make openslug or make openslug-packages

January 22, 2007, at 08:07 PM by wklam -- Updating Gentoo MaskterMakefile page.
Added line 225:

This will unmask montone-0.24 and boost-1.32.0

Changed lines 229-253 from:
to:

Alternatively, you can emerge required packages in Gentoo with (As of 2006.1, Jan-2007): /etc/portage/package.keywords dev-embedded/bitbake ~amd64 dev-libs/boost ~amd64 dev-embedded/bitbake ~amd64 dev-python/PyQt? ~amd64 dev-python/sip ~amd64

emerge boost bitbake PyQt? sip monotone bitbake

In addition, it needs another two packages: emerge app-misc/git dev-util/diffstat

make update

When doing so, you will get an error message saying that the monotone database needs to be converted. You need to do the following: mtn --db monotone/nslu2-linux.mtn db migrate mtn --db monotone/nslu2-linux.mtn db regenerate_caches

Now you are ready to build the packages

make openslug or make openslug-packages

January 14, 2007, at 09:27 PM by Peter Taylor -- added timescale for migrating monotone DB
Changed lines 43-44 from:

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn and mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time !

to:

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn and mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time ! ( rough time for mine was 4hours ( vmware machine )

January 08, 2007, at 09:55 PM by Peter Taylor -- type in monotone url
Changed line 161 from:
  • wget venge.net/monotone/download/monotone_0.28-sarge0.1_i386.deb
to:
  • wget venge.net/monotone/downloads/monotone_0.28-sarge0.1_i386.deb
January 05, 2007, at 10:16 PM by bwalle -- Hint to mtn db migrate
Changed lines 1-2 from:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monotone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone)

to:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monotone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone). If you have monotone 0.32 and above, you must run mtn db migrate.

Changed line 346 from:
   Force the date and the build continues.
to:
   Force the date and the build continues.
December 27, 2006, at 10:39 PM by attila -- what to do if monotone newer than 0.28
Added lines 43-44:

Note: If you have a monotone newer than 0.28 (Debian Etch has 0.31 at the time of this writing), you will get the database schema error, however this can be remedied with mtn db migrate -d monotone/nslu2-linux.mtn and mtn -d monotone/nslu2-linux.mtn db regenerate_rosters, but beware, this takes a LONG time !

December 17, 2006, at 10:08 AM by mathieu_xwave -- Change monotone version fur ubuntu
Changed lines 208-210 from:

Monotone version 0.23 was inadequate so you need to install 0.25. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.25.2-0.1_i386.deb
Install this by sudo dpkg -i monotone_0.25.2-0.1_i386.deb

to:

Monotone version 0.23 was inadequate so you need to install 0.28. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.28-dapper0.1_i386.deb
Install this by sudo dpkg -i monotone_0.28-dapper0.1_i386.deb

Changed line 212 from:

''monotone 0.24 which is comming with Ubuntu 6.06 is out of date for the current monotone repository (01.10.2006). You should install monotone 0.28 from here:

to:

''monotone 0.24 which is comming with Ubuntu 6.06 and 6.10 (Edgy) is out of date for the current monotone repository (01.10.2006). You should install monotone 0.28 from here:

December 09, 2006, at 10:14 PM by jstein -- change mispell on
Changed line 159 from:
  • wget venge.net/monotone/download/smonotone_0.28-sarge0.1_i386.deb
to:
  • wget venge.net/monotone/download/monotone_0.28-sarge0.1_i386.deb
December 06, 2006, at 04:06 AM by rwhitby --
Added lines 5-7:

For SlugOS development, you should read some OpenEmbedded bitbake recipe documentation.

December 01, 2006, at 06:02 PM by BC van 't Hul -- Added info/status regarding OS X
Added line 15:
Added lines 229-246:

Development with MAC OS X (Intel)

At time of writing: download version 0.28 of mtn: http://venge.net/monotone/downloads/mtn-0.28-osx-univ.bz2

It might be that during provessing of the file errors occuring about missing tools (like git and gawk). Use port (can be downloaded form http://www.macports.org) to install these additional tools)

Completing the Makefile failed with the following messages:

NOTE: package quilt-native-0.45-r0: task do_configure: started ERROR: Information not available for target 'i386-darwin' NOTE: exceptions.TypeError?:iterable argument required while evaluating: ${@siteinfo_get_endianess(d)} ERROR: Information not available for target 'i386-darwin'

Don't know how to proceed

November 16, 2006, at 01:52 AM by fcarolo -- reorganizing information about Optware packages
Changed line 4 from:

These instructions do not apply if all you want to do is build packages. Here are instructions for building packages

to:

These instructions do not apply if all you want to do is build packages. Here are instructions for building Optware packages

October 18, 2006, at 08:08 AM by Steve G -- Say where to get Intel V2.3 libs from
Changed lines 56-57 from:

If you're building Openslug 3.10 then you need the 2.3 versions of the Intel libs'

to:

If you're building Openslug 3.10 then you need the 2.3 versions of the Intel libs from http://www.intel.com/design/network/products/npfamily/ixp400_current.htm

October 18, 2006, at 02:24 AM by mrkzander --
Added lines 56-57:

If you're building Openslug 3.10 then you need the 2.3 versions of the Intel libs'

October 18, 2006, at 02:03 AM by mrkzander --
Deleted lines 55-56:

Note regarding file name change: A first test (mistakenly) indicated that renaming the file did not work, but that was caused by the renamed file not being present when starting the build. By making a clean start (make distclean or just clearing out the slug directory completely is the brute force way of doing it although it is probably overkill - but you're sure to have a clean start! In the latter case don't forget to download the master Makefile again). make openslug and make unslung both worked fine .

Changed lines 62-63 from:
to:

If you have already done a majority of the MasterMakefile build, saw the error about the missing Intel drivers and did the fix above; you don't need to restart the build! Just go to the 'openslug/tmp/stamps' directory and remove the 'ixp4xx*' files. Then all you need to do is go back to the top level and restart your 'make'. It will continue where it left off.

October 17, 2006, at 03:48 PM by mrkzander --
Added lines 254-256:
  • The above 'sources.list' entries did not work for me. I replaced the 'sources.list' file with the alternative on at <<http://www.psychocats.net/ubuntu/sources>>
October 16, 2006, at 07:48 PM by ingeba -- Removed old monotone info for Ubuntu
Deleted lines 206-207:

monotone 0.24 is already in Ubuntu 6.06 - no need to install it seperately.
For Ubuntu 5.04 and 5.10 I recommend (temporarily) enabling the 6.06 repositories and then getting monotone 0.24 via synaptic – rather than using the Debian package suggested above. There are many other packages that monotone 0.24 depends on that will need to be upgraded which synaptic will handle automatically.
- Andrew

October 16, 2006, at 05:52 PM by Steve G -- More about intel
Changed line 51 from:
Alt version instructions for getting the 2 required intel libs
to:
Alternative version instructions for getting the 2 required intel libs
Changed lines 58-59 from:

Place these files along with their md5s in the downloads directroy. You can download these files from http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

to:

Place these files along with their md5s in the downloads directroy. You can download these files from http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in and supplying a lot of personal information, or you can use the Alternative method suggested above.

October 16, 2006, at 05:47 PM by Steve G --
Changed lines 69-72 from:

sed -e s/-distro/-image/ Makefile.ORIG > Makefile

Also the Makefile builds th latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

to:

sed -e s/-distro/-image/ Makefile.ORIG > Makefile
Then you can build the kernel, ramdisk, and a complete flash image without loads of other stuff including even X11!

Also the Makefile builds th latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

October 16, 2006, at 05:15 PM by Steve G -- Instructions for building 3.10, and for just the flash image.
Added line 46:

Added lines 67-72:

Note that the Makefile will build the entire distro rather than just the flash image. To fix this, edit the makefile and change "-k distro" to "-k image". I use sed like this:
mv Makefile Makefile.ORIG
sed -e s/-distro/-image/ Makefile.ORIG > Makefile

Also the Makefile builds th latest HEAD: if you want the stable version, make a target like debianslug-3.10-beta or openslug-3.10-beta.

October 05, 2006, at 08:25 AM by ben -- added suggestions for coLinux
Added lines 133-149:

ben says: If you get mtn: command not found after installing monotone, try ln -s monotone mtn.
If you get error: failure extracting schema..., your montone version may be too old.
If you get misuse: layout of database..., your monotone version may be too new.
Your best bet (worked for me) is:
* get coLinux

  • get the debian fs
  • log in as root and adduser nslu2
  • configure networking ("bridged" is easy)
  • log in as nslu2
  • mkdir slug; cd slug
  • wget http://www.nslu2-linux.org/Makefile
  • make setup-host-debian
  • wget venge.net/monotone/download/smonotone_0.28-sarge0.1_i386.deb
  • make setup
October 01, 2006, at 04:38 PM by mathieu_xwave -- updated monotone info for ubuntu 6.06
Added lines 184-185:

''monotone 0.24 which is comming with Ubuntu 6.06 is out of date for the current monotone repository (01.10.2006). You should install monotone 0.28 from here: http://venge.net/monotone/downloads/monotone_0.28-dapper0.1_i386.deb

September 24, 2006, at 05:11 PM by Steve G -- Updated Intel link
Changed lines 51-52 from:
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_current.htm

- The 2.1 version is now at: http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm

to:
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm
September 24, 2006, at 04:57 PM by Steve G -- Corrected location of Intel IXP400 libs
Added line 52:

- The 2.1 version is now at: http://www.intel.com/design/network/products/npfamily/ixp400_archives.htm

September 18, 2006, at 06:07 PM by Tobbe -- Added package note at the top
Added line 4:

These instructions do not apply if all you want to do is build packages. Here are instructions for building packages

August 24, 2006, at 03:12 AM by Gordon -- Minor formatting
Changed lines 32-33 from:
     database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9,
       got bd86f9a90b5d552f0be1fa9aee847ea0f317778b
to:
database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9,
got bd86f9a90b5d552f0be1fa9aee847ea0f317778b
July 30, 2006, at 05:26 PM by PatrickSchneider -- fixed typo (monontone -> monotone
Changed lines 1-2 from:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monontone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone)

to:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monotone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone)

July 30, 2006, at 07:19 AM by eFfeM -- added outdated text
Added lines 1-2:

Note that parts of this are outdated. Currently we are on monotone 0.28, and a version of monontone >= 0.26 is needed. The global steps are still correct. If you are coming from a monotone <= 0.25 please remove the build dir (e.g. ~/slug) and start from scratch (after installing the latest monotone)

July 10, 2006, at 11:56 AM by eFfeM --
Changed lines 207-211 from:

When building native on the OpenSlug platform, you will need to make sure you have the slugos-native package installed. Use ipkg to do so. You might also want to take a look at the OpenSlugNativeCompileEnvironment page.

  1. ipkg install slugos-native
to:
July 07, 2006, at 05:42 PM by eFfeM -- openslug-native -> slugos-native
Changed lines 207-211 from:

When building native on the OpenSlug platform, you will need to make sure you have the openslug-native package installed. Use ipkg to do so. You might also want to take a look at the OpenSlugNativeCompileEnvironment page.

  1. ipkg install openslug-native
to:

When building native on the OpenSlug platform, you will need to make sure you have the slugos-native package installed. Use ipkg to do so. You might also want to take a look at the OpenSlugNativeCompileEnvironment page.

  1. ipkg install slugos-native
July 03, 2006, at 09:15 PM by asgaut -- diffstat and texi2html are required in ubuntu 5.10 (vmware)
Changed lines 233-234 from:

libboost-regex-dev libboost-test-dev libboost-dev libz-dev@@

to:

libboost-regex-dev libboost-test-dev libboost-dev libz-dev \
diffstat texi2html @@

June 16, 2006, at 11:07 PM by rwhitby --
Changed lines 39-40 from:

Example targets include openslug-image, unslung-image, optware-nslu2, optware-wl500g.

to:

Example targets include debianslug-image, openslug-image, unslung-image, optware-nslu2, optware-wl500g.

Changed lines 61-63 from:

If you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-openslug, too. That will do the development environment and firmware (as above), too. After that it will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/openslug-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-openslug setup-ucslugc)

to:

If you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-openslug, too. That will do the development environment and firmware (as above), too. After that it will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/slugos-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-debianslug setup-openslug setup-ucslugc)

Changed lines 74-75 from:
openembedded/conf/distro/openslug-packages.confa list of packages that are avaible to openslug
openembedded/conf/distro/openslug.confwhat belongs to openslug itself
to:
openembedded/conf/distro/slugos.confwhat belongs to SlugOS itself
Changed lines 76-77 from:
openembedded/packages/meta/openslug-image.bbthis is a meta package for building the image
openembedded/packages/meta/openslug-packages.bbwhich packages are actually build for openslug
to:
openembedded/packages/meta/slugos-image.bbthis is a meta package for building the image
openembedded/packages/meta/slugos-packages.bbwhich packages are actually build for slugos
Changed line 90 from:

If you encounter any problems while building this, please check, if there is already a bug filed at SlugBug or add a new ticket. You might also check the OpenEmbedded Eventcounter to see, if any of your problem have been fixed since your last monotone checkout.\\

to:

If you encounter any problems while building this, please check, if there is already a bug filed at Trac or email your bug report to the nslu2-linux mailiing list. You might also check the OpenEmbedded Eventcounter to see, if any of your problem have been fixed since your last monotone checkout.\\

Changed lines 93-96 from:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb (or now slugos-packages.bb), if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a
$ cd openslug; source setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

OpenEmbedded contains much more packages than SlugOS, so you can add a package to openembedded/packages/meta/slugos-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a
$ cd openslug; source setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

Changed lines 101-102 from:

If you get kicked out of your shell when running one of the above commands, you should run make in the openslug directory, which will set up a file in the openslug directory. This file is parsed by setup-env and contains the right configuration that prevents you from beeing kicked out of your shell.

to:

If you get kicked out of your shell when running one of the above commands, you should run make in the openslug directory, which will set up a file in the openslug directory. This file is parsed by setup-env and contains the right configuration that prevents you from being kicked out of your shell.

Changed lines 195-196 from:

is possible to build the needed cross compiler (tested for optware and unsling image)

to:

is possible to build the needed cross compiler (tested for optware and unslung image)

Deleted lines 259-263:

If a package can't be downloaded from cvs.sf.net

you can download a Nightly tarballs at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2 then untar and use this local copy to create the optware directory

Changed lines 272-273 from:

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

to:

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/packages/meta/slugos-packages.bb.

June 15, 2006, at 02:32 AM by Rob Lockhart --
Changed line 54 from:

To generate the md5sums, you need can use the md5sum utility like this:\\

to:

To generate the md5sums, you can use the md5sum utility like this:\\

Deleted line 58:
June 15, 2006, at 02:22 AM by Rob Lockhart --
Changed lines 54-55 from:

To generate the md5sums, you need can use the md5sum utility like this: md5sum -b IPL_ixp400AccessLibrary-2_1.zip | awk '{print $1}' > IPL_ixp400AccessLibrary-2_1.zip.md5

to:

To generate the md5sums, you need can use the md5sum utility like this:
md5sum -b IPL_ixp400AccessLibrary-2_1.zip | awk '{print $1}' > IPL_ixp400AccessLibrary-2_1.zip.md5\\

June 15, 2006, at 02:14 AM by Rob Lockhart --
Changed lines 34-35 from:

Note: I tryed to build it with my x86_64 (SUSE Linux 9.3 x86_64), build in 64bit mode failed because the image was to big in the end, when I forced 32bit mode (with linux32 make openslug-image) it failed with an internal gcc error.

to:

Note: I tried to build it with my x86_64 (SUSE Linux 9.3 x86_64), build in 64bit mode failed because the image was to big in the end, when I forced 32bit mode (with linux32 make openslug-image) it failed with an internal gcc error.

June 15, 2006, at 02:13 AM by Rob Lockhart --
Changed lines 52-53 from:

Place these files along with their md5s in the downloads directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

to:

Place these files along with their md5s in the downloads directroy. You can download these files from http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

May 25, 2006, at 01:21 PM by ironstorm -- diffstat required for dapper
Added lines 183-184:

NB: on Dapper you must "sudo aptitude install monotone diffstat python-psyco" in addition to setup-host-ubuntu

May 25, 2006, at 03:59 AM by ironstorm -- alt downloading instructions for intel stuff
Added lines 45-49:
Alt version instructions for getting the 2 required intel libs
  1. Go to http://www.intel.com/design/network/products/npfamily/ixp400_current.htm
  2. Agree to the license and download "2.1 Download" of Intel Hardware Access Software (this gives you BSD_ixp400AccessLibrary-2_1.zip which must be renamed to IPL_ixp400AccessLibrary-2_1)
  3. Agree to the license and download "2.1 Download" of NPE Microcode (this gives you IPL_ixp400NpeLibrary-2_1.zip)
Added lines 58-59:
May 16, 2006, at 12:53 AM by Joe S -- Build Notes
Changed lines 274-287 from:

The openembedded file format for .bb files is not well documented, I found useful this set of lecture notes http://www.vanille.de/tools/FOSDEM2005.pdf.

to:

The openembedded file format for .bb files is not well documented, I found useful this set of lecture notes http://www.vanille.de/tools/FOSDEM2005.pdf.

Build notes

I have just attempted the build from the source and encountered two issues.

1. Sleepycat does not have the db-4.3.27.tar.gz for download.

   I searched the net and found a copy. Dumped into download dir.
   Then created a checksum with md5sum.

2. There is an issue with your cvs download of irssi from your cvs.

   Edit the file openembedded/packages/irssi/irssi_cvs.bb 
   Add a line near the top
    CVSDATE = "20050930"
   Force the date and the build continues.
May 15, 2006, at 02:42 PM by PP --
Changed lines 107-108 from:

python, bison, bzip2, unzip, texinfo. diffstat

to:

python, bison, bzip2, unzip, texinfo, diffstat

May 15, 2006, at 02:41 PM by PP -- added diffstat in requirements
Changed lines 107-108 from:

python, bison, bzip2, unzip, texinfo

to:

python, bison, bzip2, unzip, texinfo. diffstat

May 14, 2006, at 12:57 PM by beonas -- No space in path allowed
Changed lines 36-37 from:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail (see also OpenSlugBuildFailsDueToSymlinks). Also make sure the volume on which you are working is mounted with the exec attribute (pmount, by default mounts volumes with noexec).

to:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail (see also OpenSlugBuildFailsDueToSymlinks). Also make sure the volume on which you are working is mounted with the exec attribute (pmount, by default mounts volumes with noexec). Also make sure your path contains no spaces in any part of the path.

May 14, 2006, at 12:30 PM by beonas -- Notify of incompatible monotone-0.26 in Debian Sid
Added lines 142-146:

NB: If you're using Debian Sid (unstable) you must use the older version monotone-0.25 still in the pool of the distro. Sid apparently switched to monotone-0.26 in May-2006. Monotone-0.26 uses an incompatible database format.
Get the monotone_0.25-0.1 Deb package from your favourite Mirror and Arch (here: i386)
Installing the package with dpkg -i monotone_0.25-0.1*
Set it on hold to prevent automatic upgrading: echo "monotone hold" | dpkg --set-selections

May 01, 2006, at 12:33 PM by Liviu Ionescu -- link to FAQ/OpenSlugBuildFailsDueToSymlinks
Changed lines 36-37 from:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail. Also make sure the volume on which you are working is mounted with the exec attribute (pmount, by default mounts volumes with noexec).

to:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail (see also OpenSlugBuildFailsDueToSymlinks). Also make sure the volume on which you are working is mounted with the exec attribute (pmount, by default mounts volumes with noexec).

April 30, 2006, at 06:37 AM by Didge --
Added lines 34-35:

Note: I tryed to build it with my x86_64 (SUSE Linux 9.3 x86_64), build in 64bit mode failed because the image was to big in the end, when I forced 32bit mode (with linux32 make openslug-image) it failed with an internal gcc error.

April 29, 2006, at 11:10 PM by Didge --
Changed line 40 from:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, however, renaming the file works fine; they also released 2.1.1)
to:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, however, renaming the file works fine; they also released 2.1.1, but that's just a patch against 2.1 and not yet compatible with this environment, so stay with 2.1 for now)
April 22, 2006, at 02:59 PM by Peter Enzerink -- update dapper version number to 6.06
Changed line 9 from:
to:
Changed line 151 from:

Development with Ubuntu 5.10 and 6.04

to:

Development with Ubuntu 5.10 Breezy Badger and 6.06 Dapper Drake

Changed lines 165-166 from:

monotone 0.24 is already in Ubuntu 6.04 - no need to install it seperately.
For Ubuntu 5.04 and 5.10 I recommend (temporarily) enabling the 6.04 repositories and then getting monotone 0.24 via synaptic – rather than using the Debian package suggested above. There are many other packages that monotone 0.24 depends on that will need to be upgraded which synaptic will handle automatically.
- Andrew

to:

monotone 0.24 is already in Ubuntu 6.06 - no need to install it seperately.
For Ubuntu 5.04 and 5.10 I recommend (temporarily) enabling the 6.06 repositories and then getting monotone 0.24 via synaptic – rather than using the Debian package suggested above. There are many other packages that monotone 0.24 depends on that will need to be upgraded which synaptic will handle automatically.
- Andrew

April 18, 2006, at 04:28 PM by emm_is --
Changed lines 253-259 from:

To build a package for openslug or unslung, simply execute the following commands from the MasterMakefile directory (after checking out the repository):

  1. cd [openslug|unslung]
  2. ./setup-env
  3. bb <package-name>

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

to:

To build a package for openslug or unslung, simply execute the following commands (in a bash shell) from the MasterMakefile directory (after checking out the repository):

% cd [openslug|unslung]
% source ./setup-env
% bb <package-name>

or if you are working on your own bitbake file

% bb -b my_file_0.00.bb

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

If you want to rebuild after making changes then use the bitbake command bb -c clean <package-name>.

The openembedded file format for .bb files is not well documented, I found useful this set of lecture notes http://www.vanille.de/tools/FOSDEM2005.pdf.

April 03, 2006, at 10:10 PM by Fred Wenzel -- md5sum and awk to generate md5sum files
Added lines 47-50:

To generate the md5sums, you need can use the md5sum utility like this: md5sum -b IPL_ixp400AccessLibrary-2_1.zip | awk '{print $1}' > IPL_ixp400AccessLibrary-2_1.zip.md5 md5sum -b IPL_ixp400NpeLibrary-2_1.zip | awk '{print $1}' > IPL_ixp400NpeLibrary-2_1.zip.md5

April 03, 2006, at 06:57 AM by Peter Enzerink -- oops! remove extra s
Changed line 142 from:

make setup-hosst-ubuntu\\

to:

make setup-host-ubuntu\\

April 03, 2006, at 06:54 AM by Peter Enzerink -- fix make command for ubuntu and improve grammar for monotone version issue
Changed line 142 from:

make setup-host-ubuntu\\

to:

make setup-hosst-ubuntu\\

Changed line 157 from:

The monotone was the 0.23, not enough, you need 0.25. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.25.2-0.1_i386.deb\\

to:

Monotone version 0.23 was inadequate so you need to install 0.25. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.25.2-0.1_i386.deb\\

March 29, 2006, at 09:30 PM by ingeba -- Added info on Ubuntu and Monotone
Added lines 149-150:

Note: Ubuntu 5.10 now (at least as of March 29. 2006) has Monotone 0.25 in its repo.

March 29, 2006, at 09:59 AM by infoball -- Added corrected info about renamed Intel file
Changed line 40 from:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, and a first test shows that just renaming the file is not enough, make openslug-image at least fails; they also released 2.1.1)
to:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, however, renaming the file works fine; they also released 2.1.1)
Changed lines 43-44 from:

Place these files along with their md5s in the downloads directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in. Instructions for creating the md5s are at the bottom of the page.

to:

Note regarding file name change: A first test (mistakenly) indicated that renaming the file did not work, but that was caused by the renamed file not being present when starting the build. By making a clean start (make distclean or just clearing out the slug directory completely is the brute force way of doing it although it is probably overkill - but you're sure to have a clean start! In the latter case don't forget to download the master Makefile again). make openslug and make unslung both worked fine .

Place these files along with their md5s in the downloads directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

March 27, 2006, at 05:31 PM by infoball -- Noted that new file name for one of the Intel files screws up the build
Changed line 40 from:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, it is not known if renaming it works; they also released 2.1.1)
to:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, and a first test shows that just renaming the file is not enough, make openslug-image at least fails; they also released 2.1.1)
March 27, 2006, at 11:15 AM by andrew -- Recommendations for Ubuntu
Added lines 156-160:

monotone 0.24 is already in Ubuntu 6.04 - no need to install it seperately.
For Ubuntu 5.04 and 5.10 I recommend (temporarily) enabling the 6.04 repositories and then getting monotone 0.24 via synaptic – rather than using the Debian package suggested above. There are many other packages that monotone 0.24 depends on that will need to be upgraded which synaptic will handle automatically.
- Andrew


March 26, 2006, at 10:45 PM by Fred Wenzel --
Changed line 9 from:
to:
March 25, 2006, at 05:57 PM by eddyp -- IPL was changed into BSD for the AccessLibray from Intel
Changed line 40 from:
  • IPL_ixp400AccessLibrary-2_1.zip
to:
  • IPL_ixp400AccessLibrary-2_1.zip (25.03.2006: Intel has changed the name of the file into BSD_ixp400AccessLibrary-2_1.zip, it is not known if renaming it works; they also released 2.1.1)
March 25, 2006, at 04:41 PM by eddyp -- warning about working volume to be mounted with exec attribute
Changed lines 34-35 from:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail.

to:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail. Also make sure the volume on which you are working is mounted with the exec attribute (pmount, by default mounts volumes with noexec).

March 15, 2006, at 11:48 AM by ai2097 -- Forgot to reorder the TOC
Added line 15:
Changed lines 17-18 from:
to:
March 15, 2006, at 11:47 AM by ai2097 -- Moved the \\\"build a package\\\" stuff out from between \\\"package can\\
Added lines 233-237:

If a package can't be downloaded from cvs.sf.net

you can download a Nightly tarballs at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2 then untar and use this local copy to create the optware directory

Changed lines 246-251 from:

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

If a package can't be downloaded from cvs.sf.net

you can download a Nightly tarballs at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2 then untar and use this local copy to create the optware directory

to:

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

March 15, 2006, at 11:33 AM by ai2097 -- Added info on how to build a single package
Added line 15:
Added lines 233-243:

Build a package (plus dependencies)

To build a package for openslug or unslung, simply execute the following commands from the MasterMakefile directory (after checking out the repository):

  1. cd [openslug|unslung]
  2. ./setup-env
  3. bb <package-name>

This will build the package represented by "<package-name>", if the package exists as a part of the distribution. If the package you want to build is not a part of the given distribution, you can try adding it by editing openembedded/conf/distro/slugos-packages.conf (for openslug) or openembedded/conf/distro/unslung-packages.conf (for unslung).

March 13, 2006, at 06:12 PM by RobHam -- small Typo fixed
Changed line 111 from:

gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. \\

to:

gcc-3.3, cvs, flex, bison, make, pkg-config, rsync, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. \\

March 12, 2006, at 10:30 PM by Patrick Schneider --
Changed line 143 from:
to:

March 12, 2006, at 03:44 PM by eFfeM -- updated for ubuntu 6.04, also use the .deb from monotone instead of building yourself
Changed line 9 from:
to:
Changed lines 143-144 from:

Development with Ubuntu 5.10

to:

#ubuntu5.10 and 6.04

Development with Ubuntu 5.10 and 6.04

Changed lines 152-159 from:

The monotone was the 0.23, not enough, download the 0.25 sourge from official website and do a classic
1) tar -zxvf monotone-0.25.tar.gz
2) cd monotone-0.25
3) dpkg-buildpackage -rfakeroot -uc -b
4) cd ..
5) sudo dpkg -i monotone_0.25-0.1_i386.deb

to:

The monotone was the 0.23, not enough, you need 0.25. This can be downloaded from http://venge.net/monotone/downloads/monotone_0.25.2-0.1_i386.deb
Install this by sudo dpkg -i monotone_0.25.2-0.1_i386.deb

March 04, 2006, at 04:45 PM by bwalle -- Removed hint
Deleted lines 32-33:

NB 3: It's important that the directory in which you build the environment (here ~/slug) or any subdirectorys is not a symbolic link. In short: pwd -P must be the same as pwd.

March 04, 2006, at 04:45 PM by bwalle -- Added hint about symbolic links
Added lines 33-34:

NB 3: It's important that the directory in which you build the environment (here ~/slug) or any subdirectorys is not a symbolic link. In short: pwd -P must be the same as pwd.

February 19, 2006, at 09:59 AM by pmeerw -- corrected make target (build-openslug-image doesn\'t exist)
Changed lines 44-45 from:

A quick start is to run make setup followed by make build-openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

to:

A quick start is to run make setup followed by make openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

February 14, 2006, at 08:46 PM by gfk -- The directory name is downloads
Changed lines 42-43 from:

Place these files along with their md5s in the download directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in. Instructions for creating the md5s are at the bottom of the page.

to:

Place these files along with their md5s in the downloads directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in. Instructions for creating the md5s are at the bottom of the page.

February 11, 2006, at 12:05 AM by Eiffel -- added dpkg-buildpackage time under windows vmware ubuntu
Changed line 214 from:
  • dpkg-buildpackage -rfakeroot -uc -b
to:
  • dpkg-buildpackage -rfakeroot -uc -b # takes about 10-20 minutes
February 02, 2006, at 02:39 PM by Patrick Schneider -- Removed wrong bb build instruction; added note about getting kicked out from shell.. Hint from rwhitby
Changed lines 81-82 from:

$ source openslug/setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

$ cd openslug; source setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

Changed lines 85-87 from:

$ cd openslug; source setup-env; cd -; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

$ cd openslug; . ./setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

If you get kicked out of your shell when running one of the above commands, you should run make in the openslug directory, which will set up a file in the openslug directory. This file is parsed by setup-env and contains the right configuration that prevents you from beeing kicked out of your shell.

January 22, 2006, at 03:03 PM by rwhitby --
Changed lines 36-37 from:

Example targets include build-openslug, build-unslung, build-optware-nslu2, build-optware-wl500g.

to:

Example targets include openslug-image, unslung-image, optware-nslu2, optware-wl500g.

January 21, 2006, at 10:33 AM by endecotp -- Break long lines to avoid horizontal scrollbar
Changed lines 29-30 from:
     database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9, got bd86f9a90b5d552f0be1fa9aee847ea0f317778b
to:
     database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9,
       got bd86f9a90b5d552f0be1fa9aee847ea0f317778b
Changed lines 204-207 from:
  • Run sudo apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ \
    gawk gcj gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 \
    python2.4-dev sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper \
    libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev
to:
  • Run sudo apt-get install autoconf automake automake1.9 bison \
    ccache cvs docbook flex gcc g++ gawk gcj gettext libc6-dev libglib2.0-dev \
    libtool m4 make patch pkg-config python python-dev python2.4 \
    python2.4-dev sed texinfo unzip subversion bzip2 python2.4-psyco \
    fakeroot dpkg-dev cdbs debhelper libboost-date-time-dev libboost-filesystem-dev \
    libboost-regex-dev libboost-test-dev libboost-dev libz-dev
January 20, 2006, at 04:40 PM by mda --
Changed lines 28-29 from:

NB 2: Downloading and building with the Master Makefile requires monotone 0.24. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

to:

NB 2: Downloading and building with the Master Makefile requires monotone 0.25. If you have an older version, then you will get a monotone error message like:

     database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9, got bd86f9a90b5d552f0be1fa9aee847ea0f317778b

Note that as of right now (Jan 2006), the unslung package feed only has monotone 0.24, and building monotone on the nslu2 requires a build of boost, so you might as well give up now.

January 20, 2006, at 04:35 PM by mda --
Added line 12:
Changed lines 170-177 from:
to:

Development with Unslung

See NativelyCompileUnslungPackages

  1. ipkg install unslung-devel

(But will this really work to recompile the kernel?)

January 19, 2006, at 10:49 AM by Heiko Lippmann -- Debian Etch note
Added lines 126-127:

NB: If you're using Debian Etch (testing) you can use the distros monotone and need not to download/install it seperately as described above.

January 16, 2006, at 05:10 AM by Patrick Schneider -- corrected typo
Changed line 197 from:
  • @@cd monotone-0.25@
to:
  • cd monotone-0.25
January 15, 2006, at 01:14 AM by Patrick Schneider -- messing around with linebreaks
Changed lines 191-193 from:
  • Run sudo apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj \
    gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 python2.4-dev \
    sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper \ \\ libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev
to:
  • Run sudo apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ \
    gawk gcj gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 \
    python2.4-dev sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper \
    libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev
January 15, 2006, at 01:09 AM by Patrick Schneider --
Changed line 193 from:

sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev@@

to:

sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper \ \\ libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev@@

January 15, 2006, at 01:07 AM by Patrick Schneider --
Added line 5:
Changed line 179 from:
  • Note: You'll need at least 4 GB disk space on the partition you're going to use it. My VMWare Virtual Machine takes apr. 6 GB, so if you're still using FAT32, it's propably a good idea to convert it to NTFS, as FAT32 can't handle files > 4 GB.
to:
  • Note: You'll need at least 4 GB disk space on the partition you're going to use it. My VMWare Virtual Machine takes approximately 6.1 GB, so if you're still using FAT32, it's propably a good idea to convert it to NTFS, because FAT32 can't handle files > 4 GB. \\
Changed lines 182-183 from:
  • Open a shell
  • Edit /etc/apt/sources.list sudo gedit /etc/apt/sources.list
to:
  • Open a Terminal
  • Edit /etc/apt/sources.list sudo gedit /etc/apt/sources.list (password: ubuntu)
  • Put a # in front of the line that starts with deb cdrom:)
Changed lines 189-191 from:
  • Run apt-get update
  • Run apt-get upgrade
  • Run @@apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj \ \\
to:
  • Run sudo apt-get update
  • Run sudo apt-get upgrade
  • Run @@sudo apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj \ \\
Changed line 193 from:

sed texinfo unzip subversion bzip2 python2.4-psyco@@

to:

sed texinfo unzip subversion bzip2 python2.4-psyco fakeroot dpkg-dev cdbs debhelper libboost-date-time-dev libboost-filesystem-dev libboost-regex-dev libboost-test-dev libboost-dev libz-dev@@

Changed line 221 from:

you can download a Nightly tarballs can be downloaded at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2

to:

you can download a Nightly tarballs at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2

January 15, 2006, at 12:02 AM by Patrick Schneider --
Changed lines 198-200 from:
  • Continue as described on the top of this page
to:
  • Continue as described on the top of this page
January 15, 2006, at 12:01 AM by Patrick Schneider --
Changed lines 189-191 from:
  • Run apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 python2.4-dev sed texinfo unzip subversion bzip2 python2.4-psyco
to:
  • Run apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj \
    gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 python2.4-dev \
    sed texinfo unzip subversion bzip2 python2.4-psyco
January 14, 2006, at 11:58 PM by Patrick Schneider --
Deleted line 2:

Changed line 5 from:
to:
Changed lines 17-18 from:

This is very simple if you have the required software dependencies (if unsure see below):

to:

This is very simple if you have the required software dependencies (if unsure see below):

Changed line 86 from:
to:

Changed line 101 from:

Development with Windows (CoLinux method)

to:

Development with Windows (CoLinux)

January 14, 2006, at 11:54 PM by Patrick Schneider --
Changed line 1 from:

The Master Makefile is for developing and building the latest and greatest HEAD!

to:

The Master Makefile is for developing and building the latest and greatest HEAD!

January 14, 2006, at 11:54 PM by Patrick Schneider -- Formatting and adding VMWare and Ubuntu Section
Changed lines 1-2 from:

The Master Makefile is for developing and building the latest and greatest HEAD!

to:
Deleted lines 30-33:

Windows Users: You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides. A working solution would be to choose the Debian root fs image, increase the filesystem image size using 'toporesize.zip' to 5Gb at a minimum. Once coLinux is up and running and you have used 'adduser' to add a non-root build account then apt-get install <package> the following packages: gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

Changed line 45 from:
to:

Changed lines 99-110 from:

On Debian:\\

to:

Development with Windows (CoLinux method)

You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides.
A working solution would be to choose the Debian root fs image, increase the filesystem image size using 'toporesize.zip' to 5Gb at a minimum.
Once coLinux is up and running and you have used 'adduser' to add a non-root build account then apt-get install <package> the following packages:
gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs.
There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

Development with Debian

Changed lines 113-114 from:

Ensure you are using a testing repository (edit /etc/apt/sources.list or follow paragraph 5.2 on http://www.debian.org/doc/manuals/reference/ch-woody.en.html#s-testing-transition)
Download the makefile as above and run:\\

to:

Ensure you are using a testing repository (edit /etc/apt/sources.list or follow paragraph 5.2 on
http://www.debian.org/doc/manuals/reference/ch-woody.en.html#s-testing-transition)
Download the makefile as above and run:\\

Changed lines 126-127 from:

On Ubuntu:\\

to:

Development with Ubuntu 5.04

Added lines 135-138:

Development with Ubuntu 5.10

Proceed as described with Ubuntu 5.04

Changed lines 152-154 from:

On Gentoo:\\

to:

Development with Gentoo

Changed lines 161-163 from:

On Fedora Core 4:\\

to:

Development with Fedora Core 4

Changed lines 167-169 from:

On OpenSlug:\\

to:

Development with Openslug

Changed lines 175-176 from:

If a package can't be downloaded

to:

Development with Windows (VMWare Player and Ubuntu 5.10)

  • Download and install VMWare Playerhttp://www.vmware.com/download/player/
  • Download and unzip Ubuntu Virtual Machine: http://www.vmware.com/vmtn/vm/ubuntu.html
  • Note: You'll need at least 4 GB disk space on the partition you're going to use it. My VMWare Virtual Machine takes apr. 6 GB, so if you're still using FAT32, it's propably a good idea to convert it to NTFS, as FAT32 can't handle files > 4 GB.

(e.g. convert drive D to NTFS: Start -> Run -> convert d: /FS:NTFS)

  • Load the Ubuntu Virtual Machine into the VMWare Player
  • Open a shell
  • Edit /etc/apt/sources.list sudo gedit /etc/apt/sources.list
  • Add deb http://us.archive.ubuntu.com/ubuntu breezy universe main restricted multiverse
    deb http://security.ubuntu.com/ubuntu breezy-security universe main restricted multiverse
    deb http://us.archive.ubuntu.com/ubuntu breezy-updates main restricted universe multiverse
    and save the file
  • Run apt-get update
  • Run apt-get upgrade
  • Run apt-get install autoconf automake automake1.9 bison ccache cvs docbook flex gcc g++ gawk gcj gettext libc6-dev libglib2.0-dev libtool m4 make patch pkg-config python python-dev python2.4 python2.4-dev sed texinfo unzip subversion bzip2 python2.4-psyco
  • Download the monotone source from http://www.venge.net/monotone wget http://www.venge.net/monotone/downloads/monotone-0.25.tar.gz
  • Untar/gzip it tar xzvf monotone-0.25.tar.gz
  • @@cd monotone-0.25@
  • dpkg-buildpackage -rfakeroot -uc -b
  • cd ..
  • sudo dpkg -i monotone_0.25-0.1_i386.deb
  • Continue as described on the top of this page

If a package can't be downloaded

Changed lines 219-220 from:

then untar and use this local copy to create the optware directory

to:

then untar and use this local copy to create the optware directory

January 13, 2006, at 02:01 AM by emm_is --
Changed lines 16-19 from:

Windows Users You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides. A working solution would be to choose the Debian root fs image, increase the filesystem image size using 'toporesize.zip' to 5Gb at a minimum. Once colinux is up and running and you have used 'adduser' a non-root build account apt-get install <package> the following packages: gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

to:

Windows Users: You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides. A working solution would be to choose the Debian root fs image, increase the filesystem image size using 'toporesize.zip' to 5Gb at a minimum. Once coLinux is up and running and you have used 'adduser' to add a non-root build account then apt-get install <package> the following packages: gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

January 13, 2006, at 01:58 AM by emm_is -- added note for windows users on how to setup colinux
Added lines 16-19:

Windows Users You can build the Master Makefile on a Windows system using 'coLinux' (www.colinux.org). Their wiki has various quick start guides. A working solution would be to choose the Debian root fs image, increase the filesystem image size using 'toporesize.zip' to 5Gb at a minimum. Once colinux is up and running and you have used 'adduser' a non-root build account apt-get install <package> the following packages: gcc-3.3, cvs, flex, bison, make, pkg-config, rysnc, gettext, libglib2.0-dev, autoconf, libtool, automake1.9, sudo and while your at it, your favourite editor e.g. emacs. There are other dependancies listed below and I found using the Debian 'dselect' install program helped when installing monotone 2.4.

January 11, 2006, at 09:44 PM by Patrick Schneider -- Added link to OpenSlugNativeCompileEnvironment HowTo
Changed lines 132-133 from:

When building native on the OpenSlug platform, you will need to make sure you have the openslug-native package installed. Use ipkg to do so.

to:

When building native on the OpenSlug platform, you will need to make sure you have the openslug-native package installed. Use ipkg to do so. You might also want to take a look at the OpenSlugNativeCompileEnvironment page.

January 06, 2006, at 11:22 PM by mwester -- Added a paragraph reminding developers about the commit guidelines
Added lines 71-72:

If you're making changes to the code, config files, or other items, please be aware that when you commit your changes, your work is indelibly preserved for the community. Please follow the guidelines on the CommitGuidelines page; doing so is very helpful to others who might need to understand the nature of the changes you've made.

January 06, 2006, at 10:33 PM by ByronT -- monotone info for Debian updated
Changed lines 12-13 from:

NB 2: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! Note also that the Makefile will soon require monotone 0.22, so upgrade to that if you can.

to:

NB 2: Downloading and building with the Master Makefile requires monotone 0.24. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

Changed lines 88-94 from:

You have to install monotone separately from: http://venge.net/monotone/\\

to:

You have to install monotone separately from: http://venge.net/monotone/

Monotone 0.24 .deb packages available:
http://venge.net/monotone/downloads/monotone_0.24-0sarge1_i386.deb for Sarge
http://venge.net/monotone/downloads/monotone_0.24-0.1_i386.deb for Stable
January 03, 2006, at 04:43 PM by CervAnteZ -- added warning about symlinks in build path
Added lines 14-15:

Warning:When choosing a path to contain the build enviroment make sure to choose a path that contains NO SYMLINKS, otherwise building will fail.

January 01, 2006, at 09:49 AM by whaly -- when cvs.sf.net is down
Added lines 141-146:

If a package can't be downloaded from cvs.sf.net

you can download a Nightly tarballs can be downloaded at http://cvs.sourceforge.net/cvstarballs/nslu-cvsroot.tar.bz2 then untar and use this local copy to create the optware directory

January 01, 2006, at 09:12 AM by marceln -- Changed status of fc4. I use it to build unslung image and optware packages.
Changed lines 118-119 from:

Currently the OpenEmbedded build system does not support Fedora Core 4. It is recommended that you use an apt-get based distribution or Gentoo to build using the Master Makefile.

to:

Install the needed packages through yum. The native compiler of FC 4 is gcc 4.0.2 but with that compiler it is possible to build the needed cross compiler (tested for optware and unsling image)

January 01, 2006, at 07:15 AM by whaly --
Changed lines 96-97 from:

NB: Root access required NB: With Ubuntu 5.10, I had the error :

to:

NB: Root access required
NB: With Ubuntu 5.10, I had the error :\\

Changed lines 103-109 from:

The monotone was the 0.23, not enough, download the 0.25 sourge from official website and do a classic 1) tar -zxvf monotone-0.25.tar.gz 2) cd monotone-0.25 3) dpkg-buildpackage -rfakeroot -uc -b 4) cd .. 5) sudo dpkg -i monotone_0.25-0.1_i386.deb

to:

The monotone was the 0.23, not enough, download the 0.25 sourge from official website and do a classic
1) tar -zxvf monotone-0.25.tar.gz
2) cd monotone-0.25
3) dpkg-buildpackage -rfakeroot -uc -b
4) cd ..
5) sudo dpkg -i monotone_0.25-0.1_i386.deb

January 01, 2006, at 07:13 AM by whaly -- add ubunutu 5.10 information
Changed lines 97-109 from:
to:

NB: With Ubuntu 5.10, I had the error : make: [MT/.configured] Erreur 1 (ignorée) ( monotone -d monotone/nslu2-linux.db pull monotone.nslu2-linux.org org.{nslu2-linux.*,openembedded.dev} ) monotone: misuse: database schemas do not match: wanted 1509fd75019aebef5ac3da3a5edf1312393b70e9, got bd86f9a90b5d552f0be1fa9aee847ea0f317778b. try migrating database make: *** [MT/.configured] Erreur 1

The monotone was the 0.23, not enough, download the 0.25 sourge from official website and do a classic 1) tar -zxvf monotone-0.25.tar.gz 2) cd monotone-0.25 3) dpkg-buildpackage -rfakeroot -uc -b 4) cd .. 5) sudo dpkg -i monotone_0.25-0.1_i386.deb

December 31, 2005, at 06:30 AM by vortex -- slugos-packages.bb has replaced openslug-packages.bb
Changed lines 58-59 from:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a

to:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb (or now slugos-packages.bb), if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a

December 31, 2005, at 03:56 AM by vortex -- script fails
Changed lines 59-60 from:

$ source openslug/setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

$ source openslug/setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb
or
$ cd openslug; source setup-env; cd -; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

December 30, 2005, at 10:03 PM by BrandonPhilips --
Changed lines 21-22 from:

Place these files along with their md5s in the download directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

to:

Place these files along with their md5s in the download directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in. Instructions for creating the md5s are at the bottom of the page.

December 30, 2005, at 10:02 PM by BrandonPhilips --
Added lines 17-22:

Before building you will need to download the two zip files from Intel:

  • IPL_ixp400AccessLibrary-2_1.zip
  • IPL_ixp400NpeLibrary-2_1.zip

Place these files along with their md5s in the download directroy. You can download these files form http://www.intel.com/design/network/products/npfamily/ixp425swr1.htm after logging in.

November 27, 2005, at 03:40 AM by eFfeM -- make setup is needed before doing make build-openslug-image
Changed lines 17-18 from:

A quick start is to run a make build-openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

to:

A quick start is to run make setup followed by make build-openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

September 08, 2005, at 02:22 PM by ByronT -- Alternate package location specified...
Added lines 106-107:
You may also use http://sources.nslu2-linux.org/sources/ as an alternate location of package files. (Example: wget http://sources.nslu2-linux.org/sources/foo.tar.gz)
Changed line 110 from:

2. Run:

to:

2. Run:

Changed lines 112-113 from:
  sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5
to:
 sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5
September 07, 2005, at 07:39 AM by kaste -- quickstart = image only, moved building all packages a bit down.
Changed lines 17-18 from:

A quick start is to run a make build-openslug, it will download all the files necessary for building a complete cross development environment. After that, it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package. It will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/openslug-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

to:

A quick start is to run a make build-openslug-image. It will download all the files necessary for building a complete cross development environment. After that it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package.

If you have lots of time (out for the night?) and disk space (as of September 2005: 7GB), you can easily kick off make build-openslug, too. That will do the development environment and firmware (as above), too. After that it will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/openslug-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

September 04, 2005, at 02:48 PM by kaste -- fixed typo in command
Changed line 107 from:
 m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | \ \\
to:
 md5sum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | \ \\
September 03, 2005, at 04:48 PM by kaste -- link for debian testing repository
Changed line 69 from:

Ensure you are using a testing repository (edit /etc/apt/sources.list)\\

to:

Ensure you are using a testing repository (edit /etc/apt/sources.list or follow paragraph 5.2 on http://www.debian.org/doc/manuals/reference/ch-woody.en.html#s-testing-transition)\\

September 01, 2005, at 10:37 AM by emm_is --
Changed lines 17-18 from:

A quick start is to run a make build-openslug, it will download all the files necessary for building a complete cross development environment. After that, it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package. It should work quite automagically.

to:

A quick start is to run a make build-openslug, it will download all the files necessary for building a complete cross development environment. After that, it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package. It will then download and compile every application package that can be installed. It should work quite automagically. (If you would rather not build all the application packages, there are a lot, then you can edit the file openembedded/packages/meta/openslug-packages.bb to build only the ones you want. This file is fetched in the build process so you will have to break the build in order to edit it -- maybe running 'make update' first will fetch the file. You can build individual packages using bitbake as described below.)

August 31, 2005, at 04:28 PM by emm_is --
Changed lines 60-61 from:

python, bison, bzip2, unzip

to:

python, bison, bzip2, unzip, texinfo

August 28, 2005, at 03:44 PM by grahame_falvey -- Note for building native under OpenSlug
Added lines 94-99:

On OpenSlug:
When building native on the OpenSlug platform, you will need to make sure you have the openslug-native package installed. Use ipkg to do so.

  1. ipkg install openslug-native
August 27, 2005, at 04:01 PM by tman --
Changed line 101 from:
 m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | \
to:
 m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | \ \\
August 27, 2005, at 04:01 PM by tman --
Changed lines 94-95 from:

If a package can't be downloaded
If a package can not be found (for example, at the moment the homepage of xinetd, http://www.xinetd.org is down so the build tools can't download xinetd-2.3.13.tar.gz from there) but you have a copy of the package file (for example, xinetd-2.3.13.tar.gz can be downloaded from ftp://gd.tuwien.ac.at/infosys/servers/xinetd/xinetd-2.3.13.tar.gz):\\

to:

If a package can't be downloaded

If a package can not be found (for example, at the moment the homepage of xinetd, http://www.xinetd.org is down so the build tools can't download xinetd-2.3.13.tar.gz from there) but you have a copy of the package file (for example, xinetd-2.3.13.tar.gz can be downloaded from ftp://gd.tuwien.ac.at/infosys/servers/xinetd/xinetd-2.3.13.tar.gz):

Changed lines 99-100 from:

2. Run m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5
3. Try a make build-openslug

to:

2. Run:

 m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz |   sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5

3. Try running:

 make build-openslug
August 27, 2005, at 12:58 PM by engie -- Add notes on how to use package files downloaded manually
Changed lines 92-98 from:

Currently the OpenEmbedded build system does not support Fedora Core 4. It is recommended that you use an apt-get based distribution or Gentoo to build using the Master Makefile.

to:

Currently the OpenEmbedded build system does not support Fedora Core 4. It is recommended that you use an apt-get based distribution or Gentoo to build using the Master Makefile.

If a package can't be downloaded
If a package can not be found (for example, at the moment the homepage of xinetd, http://www.xinetd.org is down so the build tools can't download xinetd-2.3.13.tar.gz from there) but you have a copy of the package file (for example, xinetd-2.3.13.tar.gz can be downloaded from ftp://gd.tuwien.ac.at/infosys/servers/xinetd/xinetd-2.3.13.tar.gz):
1. Download the package file to ~/slug/openslug/downloads/PACKAGENAME.tar.gz
2. Run m5dsum ~/slug/openslug/downloads/PACKAGENAME.tar.gz | sed s/\ .*$// > ~/slug/openslug/downloads/PACKAGENAME.tar.gz.md5
3. Try a make build-openslug

August 17, 2005, at 10:34 AM by blaster8 -- Added note about problems with FC4
Added lines 90-92:

On Fedora Core 4:
Currently the OpenEmbedded build system does not support Fedora Core 4. It is recommended that you use an apt-get based distribution or Gentoo to build using the Master Makefile.

August 17, 2005, at 09:50 AM by blaster8 -- typofix
Deleted line 76:

<<<<<<<

Deleted lines 78-81:

======= Install Ubuntu 5.04 "The Hoary Hedgehog" Ensure that you have the universe repositories enabled (edit /etc/apt/sources.list)
>>>>>>>

August 17, 2005, at 09:49 AM by blaster8 -- fussing over the ubuntu doco
Changed lines 77-78 from:

Install Ubuntu 5.04 "The Hoary Hedgehog"

to:

<<<<<<< Install Ubuntu 5.04 "The Hoary Hedgehog"\\

Added lines 80-83:

======= Install Ubuntu 5.04 "The Hoary Hedgehog" Ensure that you have the universe repositories enabled (edit /etc/apt/sources.list)
>>>>>>>

August 17, 2005, at 09:49 AM by blaster8 -- fussing over the ubuntu doco
Changed lines 77-78 from:

Ensure that you have universe enabled (edit /etc/apt/sources.list)\\

to:

Install Ubuntu 5.04 "The Hoary Hedgehog" Ensure that you have the universe repositories enabled (edit /etc/apt/sources.list)\\

August 17, 2005, at 09:20 AM by ka6sox --
Changed line 77 from:

FIXME

to:

Ensure that you have universe enabled (edit /etc/apt/sources.list)\\

August 17, 2005, at 09:18 AM by blaster8 -- Added FIXME
Changed line 67 from:

It is recommended, but not essential, to make a new user to build using the Master Makefile.\\

to:

It is recommended, but not essential, to make a new user, to build using the Master Makefile.\\

Changed lines 75-76 from:

On Gentoo:
It is recommended, but not essential, to make a new user to build using the Master Makefile.\\

to:

On Ubuntu:
It is recommended, but not essential, to make a new user, to build using the Master Makefile.
FIXME

Added lines 79-85:

make setup-host-ubuntu
You have to install monotone separately from: http://venge.net/monotone/
NB: Root access required

On Gentoo:
It is recommended, but not essential, to make a new user, to build using the Master Makefile.
Download the makefile as above and run:\\

August 15, 2005, at 02:47 PM by blaster8 -- Removing obsolete hint
Changed line 80 from:

Note: After a 2005.1 installation, the permissions of my root drive turned out to be wrong (340?). The correct permissions are 755 - if you do not check and correct this, the perl and boost builds will fail.

to:

Note: After a 2005.1 installation, the permissions of my root drive turned out to be wrong (340?). The correct permissions are 755 - if you do not check and correct this, the perl and boost builds will fail.

August 15, 2005, at 02:46 PM by rwhitby --
Changed lines 12-15 from:

NB 2: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known.. This process should not be required for Openslug or UcSlugC builds.

to:

NB 2: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! Note also that the Makefile will soon require monotone 0.22, so upgrade to that if you can.

August 15, 2005, at 07:38 AM by blaster8 -- Really should use preview
Changed lines 14-15 from:

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known.. This process should not be required for Openslug or UcSlugC builds.

to:

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known.. This process should not be required for Openslug or UcSlugC builds.

August 15, 2005, at 07:36 AM by blaster8 -- Usual small updates
Changed lines 5-6 from:
  1. mkdir -p /home/slug
  2. cd /home/slug
to:
  1. mkdir -p ~/slug
  2. cd ~/slug
Changed lines 10-11 from:

NB 1: Don't even think about doing make as root. Chances are it will screw up your system libraries and executables.

to:

NB 1: Don't even think about doing make as root. Chances are it will screw up your system libraries and executables. Best practise is to set up a new normal user and build using that.

Changed lines 14-15 from:

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known..

to:

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known.. This process should not be required for Openslug or UcSlugC builds.

Changed line 69 from:

It is recommended, but not essential, to make a new user to use the Master Makefile.\\

to:

It is recommended, but not essential, to make a new user to build using the Master Makefile.\\

Changed line 78 from:

It is recommended, but not essential, to make a new user to use the Master Makefile.\\

to:

It is recommended, but not essential, to make a new user to build using the Master Makefile.\\

August 14, 2005, at 07:58 PM by repvik -- Added note about not doing stuff as root.
Changed lines 10-13 from:

NB 1: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

NB 2: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known..

to:

NB 1: Don't even think about doing make as root. Chances are it will screw up your system libraries and executables.

NB 2: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

NB 3: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known..

August 14, 2005, at 05:53 PM by blaster8 -- Pointing out the logic in creating a new user for the firmware build
Added line 67:

It is recommended, but not essential, to make a new user to use the Master Makefile.\\

Added line 76:

It is recommended, but not essential, to make a new user to use the Master Makefile.\\

August 14, 2005, at 05:51 PM by blaster8 -- Added note about grabbing the NSLU2 2.3R63 firmware
Changed lines 10-11 from:

Important: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

to:

NB 1: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

NB 2: As of 14/8/2005, Unslung has incorporated some parts of the latest Linksys firmware 2.3R63 (including highly experimental NTFS read/write support). Unfortunately, it is not possible to directly download the 2.3R63 firmware archive with wget, and so you will need to visit the Linksys website to download it, then place it in the downloads directory and generate an MD5 sum for it (md5sum then echo just the hash value to NSLU2_V23R63.zip.md5). If you do not do this you will see the (slightly comical) error Resolving www.you-need-to-get-this-one-yourself.com... failed: Name or service not known..

August 14, 2005, at 11:08 AM by blaster8 -- Adding note about incorrect Gentoo 2005.1 / Permissions
Changed lines 75-76 from:

NB: Root access required

to:

NB: Root access required
Note: After a 2005.1 installation, the permissions of my root drive turned out to be wrong (340?). The correct permissions are 755 - if you do not check and correct this, the perl and boost builds will fail.

August 09, 2005, at 01:15 PM by blaster8 -- Update setup-host-debian details
Changed lines 10-11 from:

Important: Downloading and building with the Master Makefile requires monotone 0.20 (or preferably 0.21). However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! --- blaster8

to:

Important: Downloading and building with the Master Makefile requires monotone 0.21. However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade!

Changed lines 65-68 from:

Install Debian Etch (Testing branch)
apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)

On Gentoo:\\

to:

Install Debian Sarge (Stable) or Etch (Testing)
Ensure you are using a testing repository (edit /etc/apt/sources.list)\\

Added lines 68-73:

make setup-host-debian
You have to install monotone separately from: http://venge.net/monotone/
NB: Root access required

On Gentoo:
Download the makefile as above and run:\\

Changed line 75 from:

NB: Root access required

to:

NB: Root access required

August 07, 2005, at 02:17 PM by blaster8 -- Changed wget no-cache pragma as it didn't work for me
Changed line 7 from:
  1. wget --no-cache http://www.nslu2-linux.org/Makefile
to:
  1. wget --cache=off http://www.nslu2-linux.org/Makefile
August 06, 2005, at 07:46 PM by blaster8 -- Clean up
Changed lines 3-4 from:

This is very simple if you have the required software dependencies (if not see below):

to:

This is very simple if you have the required software dependencies (if unsure see below):

Changed lines 58-59 from:

python, bison, bzip2, unzip
Recommended:\\

to:

python, bison, bzip2, unzip

Recommended:\\

Changed lines 62-67 from:

psyco - http://psyco.sourceforge.net/
For Debian: Install Debian Etch (Testing)
apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)or\\

to:

psyco - http://psyco.sourceforge.net/

On Debian:
Install Debian Etch (Testing branch)
apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)

Changed lines 69-71 from:

Download the makefile as above and run: make setup-host-gentoo NB: Root access required

to:

Download the makefile as above and run:
make setup-host-gentoo
NB: Root access required

August 06, 2005, at 07:42 PM by blaster8 -- Changing method of getting dependencies
Changed lines 3-4 from:

This is very simple:

to:

This is very simple if you have the required software dependencies (if not see below):

Added lines 58-65:

python, bison, bzip2, unzip
Recommended:
ccache - http://ccache.samba.org/
psyco - http://psyco.sourceforge.net/
For Debian: Install Debian Etch (Testing)
apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)\

Deleted lines 66-68:

Install Debian Etch
apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)or\\

Changed lines 68-70 from:

emerge monotone cvs subversion unzip bzip2

For psyco and ccache:
emerge psyco ccache
to:

Download the makefile as above and run: make setup-host-gentoo NB: Root access required

August 06, 2005, at 06:00 PM by blaster8 -- Interim message while I try and fix setup-host in the Makefile
Changed lines 10-11 from:

Important: Downloading and building with the Master Makefile requires monotone 0.20 (or preferably 0.21). However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! --- blaster8

to:

Important: Downloading and building with the Master Makefile requires monotone 0.20 (or preferably 0.21). However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! --- blaster8

Changed line 48 from:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternativly you can do a \\

to:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternatively you can do a \\

Changed line 57 from:

subversion - http://www.gnu.org/software/cvs/\\

to:

subversion - http://subversion.tigris.org/\\

Changed line 60 from:

apt-get install monotone cvs\\

to:

apt-get install monotone cvs (unfortunately it is not as simple as this yet - more to follow)\

August 06, 2005, at 05:48 PM by blaster8 -- Added a warning about using Monotone 0.19 or lower
Added lines 10-11:

Important: Downloading and building with the Master Makefile requires monotone 0.20 (or preferably 0.21). However, this version of monotone is not currently considered 'stable' by most distributions, so has to be installed from the testing (or in Debian's case, the unstable) branch. To summarise - the Makefile will not work with monotone 0.19, so upgrade! --- blaster8

Added line 57:

subversion - http://www.gnu.org/software/cvs/\\

Changed line 63 from:

emerge monotone cvs subversion unzip

to:

emerge monotone cvs subversion unzip bzip2

August 06, 2005, at 12:48 AM by malfi --
Changed lines 47-48 from:

$ source openslug/setup-env; bb openembedded/packages/mynewpackage/mynewpackage_0.1.bb

to:

$ source openslug/setup-env; bb -b openembedded/packages/mynewpackage/mynewpackage_0.1.bb

August 06, 2005, at 12:47 AM by malfi --
Added lines 46-48:

OpenEmbedded contains much more packages than OpenSlug, so you can add a package to openembedded/conf/distro/openslug-packages.conf and openembedded/packages/meta/openslug-packages.bb, if there is already a bitbake file for it. After that, you can rerun make build-openslug and this time your package will be included in the feed. Alternativly you can do a
$ source openslug/setup-env; bb openembedded/packages/mynewpackage/mynewpackage_0.1.bb

August 05, 2005, at 08:44 AM by Michael-Luke Jones -- Adding a rather minor dependency
Changed line 57 from:

emerge monotone cvs subversion

to:

emerge monotone cvs subversion unzip

August 04, 2005, at 12:15 PM by Matt Bostock -- Fixed Psyco typos
Changed lines 58-59 from:
For psycho and ccache:
emerge psycho ccache
to:
For psyco and ccache:
emerge psyco ccache
August 02, 2005, at 09:47 AM by peteru -- No cache for wget of Makefile to ensure up to date copy.
Changed line 7 from:
  1. wget http://www.nslu2-linux.org/Makefile
to:
  1. wget --no-cache http://www.nslu2-linux.org/Makefile
August 01, 2005, at 01:13 PM by Malfi --
Changed lines 15-16 from:

Another handy target is: make update (it could require a prior make setup)

to:

Another handy target is: make update (it could require a prior make setup or make setup-unslung setup-openslug setup-ucslugc)

July 31, 2005, at 07:02 PM by jbowler -- Updated for UcSlugC
Changed lines 46-51 from:

If you want a slim firmware, which leaves as much space on the flash as possible, you might do:
set TARGET_OS_local="linux-uclibc" and OPENSLUG_EXTRA_RDEPENDS = ""
Then go in take a look at OPENSLUG_EXTRA_FILESYSTEMS in ./openembedded/conf/distro/openslug.conf - you can strip all the modules you don't need.
Note that the uClibc build (which we call UcSlugC) will be an officially supported distro soon and will have it's own ucslugc directory at the top level.

to:

If you want a slim firmware, which leaves as much space on the flash as possible, you should build the ucslugc target rather than openslug. See the UcSlugC home page

July 31, 2005, at 01:24 AM by Malfi -- make setup before make update
Changed lines 15-16 from:

Another handy target is: make update

to:

Another handy target is: make update (it could require a prior make setup)

July 31, 2005, at 12:57 AM by rwhitby --
Changed lines 20-43 from:
Makefilethis is the master makefile
bitbake/bitbake is the tool for building OE packages, they have the extension .bb
downloads/in this dir go all the downloaded sources
downloads/*.md5these md5sums are generated once a source code is downloaded. A bitbake file might check that sum somewhere in the future (with SRC_URI="protocoll://blabla/...tar.gz;md5=11112345678abdef1234567")
monotone/the nslu2 database file
openembedded/this is the openembedded distribution
openembedded/conf/distro/openslug-packages.confa list of packages that are avaible to openslug
openembedded/conf/distro/openslug.confwhat belongs to openslug itself
openembedded/packages/here are all packages known to openembedded
openembedded/packages/meta/openslug-image.bbthis is a meta package for building the image
openembedded/packages/meta/openslug-packages.bbwhich packages are actually build for openslug
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug local conf
openslug/tmp/here happens everything, action at its best :-)
openslug/tmp/cross/complete cross compile toolchain
openslug/tmp/deploy/place where the freshly baken packages and images go to
openslug/tmp/rootfs/it's the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
openslug/tmp/stamps/empty files, the pure existance indicates the status of process
openslug/tmp/work/here are the packages compiled, one directory for each package
scripts/here is only one script
unslung/--explanation to be done--
to:
Makefilethis is the master makefile
bitbake/bitbake is the tool for building OE packages, they have the extension .bb
downloads/in this dir go all the downloaded sources
downloads/*.md5these md5sums are generated once a source code is downloaded. A bitbake file might check that sum somewhere in the future (with SRC_URI="protocoll://blabla/...tar.gz;md5=11112345678abdef1234567")
monotone/the nslu2 database file
openembedded/this is the openembedded distribution
openembedded/conf/distro/openslug-packages.confa list of packages that are avaible to openslug
openembedded/conf/distro/openslug.confwhat belongs to openslug itself
openembedded/packages/here are all packages known to openembedded
openembedded/packages/meta/openslug-image.bbthis is a meta package for building the image
openembedded/packages/meta/openslug-packages.bbwhich packages are actually build for openslug
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug local conf
openslug/tmp/here happens everything, action at its best :-)
openslug/tmp/cross/complete cross compile toolchain
openslug/tmp/deploy/place where the freshly baken packages and images go to
openslug/tmp/rootfs/it's the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
openslug/tmp/stamps/empty files, the pure existance indicates the status of process
openslug/tmp/work/here are the packages compiled, one directory for each package
scripts/here is only one script
unslung/--explanation to be done--
July 31, 2005, at 12:45 AM by rwhitby --
Changed lines 51-52 from:

Note that the uClibc build (which we will probably call uCSlugc or something similar) is not officially supported (yet?), but at least one of the core developers makes sure that it usually is able to be built. If it does become supported, it will be called uCSlugc and will have it's own ucslugc directory at the top level.

to:

Note that the uClibc build (which we call UcSlugC) will be an officially supported distro soon and will have it's own ucslugc directory at the top level.

July 31, 2005, at 12:13 AM by rwhitby --
Changed lines 50-54 from:

./openembedded/conf/distro/openslug.conf - you can strip all the modules you don't need.

to:

./openembedded/conf/distro/openslug.conf - you can strip all the modules you don't need.
Note that the uClibc build (which we will probably call uCSlugc or something similar) is not officially supported (yet?), but at least one of the core developers makes sure that it usually is able to be built. If it does become supported, it will be called uCSlugc and will have it's own ucslugc directory at the top level.

July 30, 2005, at 09:56 PM by Malfi -- fix some typos, a note about the md5sums, and tidy up this table
Changed lines 15-16 from:

You will get a directory structure, that looks like this, I will point out some interessent files

to:

Another handy target is: make update

You will get a directory structure, that looks like this:

Added line 23:
downloads/*.md5these md5sums are generated once a source code is downloaded. A bitbake file might check that sum somewhere in the future (with SRC_URI="protocoll://blabla/...tar.gz;md5=11112345678abdef1234567")
Changed lines 25-26 from:
openembedded/this the openembedded distribution
openembedded/conf/distro/openslug-packages.confa list of packages are avaible to openslug
to:
openembedded/this is the openembedded distribution
openembedded/conf/distro/openslug-packages.confa list of packages that are avaible to openslug
Changed lines 31-32 from:
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug conf
to:
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug local conf
Changed lines 36-37 from:
openslug/tmp/rootfs/is the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
to:
openslug/tmp/rootfs/it's the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
Changed line 39 from:
openslug/tmp/work/here are the packages compiled, one directory for each package
to:
openslug/tmp/work/here are the packages compiled, one directory for each package
Changed lines 47-53 from:

If you want a slim firmware, which leaves as much space on the flash as possible, you might do set TARGET_OS_local="linux-uclibc" and OPENSLUG_EXTRA_RDEPENDS = "" Then go in take a look at OPENSLUG_EXTRA_FILESYSTEMS in conf/distro/openslug.conf - you can strip all the modules you don't need.

to:

If you want a slim firmware, which leaves as much space on the flash as possible, you might do:
set TARGET_OS_local="linux-uclibc" and OPENSLUG_EXTRA_RDEPENDS = ""
Then go in take a look at OPENSLUG_EXTRA_FILESYSTEMS in ./openembedded/conf/distro/openslug.conf - you can strip all the modules you don't need.

July 30, 2005, at 06:44 PM by Malfi -- some hints if problems occur
Added lines 40-43:

If you encounter any problems while building this, please check, if there is already a bug filed at SlugBug or add a new ticket. You might also check the OpenEmbedded Eventcounter to see, if any of your problem have been fixed since your last monotone checkout.
#openslug at irc.freenode.org is where your chances to get some first aid are the best. :)

Added line 50:
July 30, 2005, at 06:23 PM by Malfi -- gather some informations on the directory structure
Added lines 13-45:

A quick start is to run a make build-openslug, it will download all the files necessary for building a complete cross development environment. After that, it will download all packages and the kernel needed for the openslug firmware, crosscompile them and combine them into a firmware package. It should work quite automagically.

You will get a directory structure, that looks like this, I will point out some interessent files

Makefilethis is the master makefile
bitbake/bitbake is the tool for building OE packages, they have the extension .bb
downloads/in this dir go all the downloaded sources
monotone/the nslu2 database file
openembedded/this the openembedded distribution
openembedded/conf/distro/openslug-packages.confa list of packages are avaible to openslug
openembedded/conf/distro/openslug.confwhat belongs to openslug itself
openembedded/packages/here are all packages known to openembedded
openembedded/packages/meta/openslug-image.bbthis is a meta package for building the image
openembedded/packages/meta/openslug-packages.bbwhich packages are actually build for openslug
openslug/this directory is for building all the stuff
openslug/conf/local.confopenslug conf
openslug/tmp/here happens everything, action at its best :-)
openslug/tmp/cross/complete cross compile toolchain
openslug/tmp/deploy/place where the freshly baken packages and images go to
openslug/tmp/rootfs/is the to be compressed root filesystem
openslug/tmp/staging/everything else needed for compiling
openslug/tmp/stamps/empty files, the pure existance indicates the status of process
openslug/tmp/work/here are the packages compiled, one directory for each package
scripts/here is only one script
unslung/--explanation to be done--

If you want a slim firmware, which leaves as much space on the flash as possible, you might do set TARGET_OS_local="linux-uclibc" and OPENSLUG_EXTRA_RDEPENDS = "" Then go in take a look at OPENSLUG_EXTRA_FILESYSTEMS in conf/distro/openslug.conf - you can strip all the modules you don't need.

July 28, 2005, at 11:32 PM by malfi -- small warning, that HEAD is built
Added lines 1-2:

The Master Makefile is for developing and building the latest and greatest HEAD!

July 28, 2005, at 04:22 PM by rwhitby --
Changed lines 3-4 from:
  1. mkdir nslu2
  2. cd nslu2
to:
  1. mkdir -p /home/slug
  2. cd /home/slug
Changed lines 9-10 from:

Example targets include openslug-build, unslung-build, optware-build.

to:

Example targets include build-openslug, build-unslung, build-optware-nslu2, build-optware-wl500g.

Deleted line 14:

subversion - http://subversion.tigris.org/project_packages.html\\

Deleted lines 22-30:

Caveats:
During the initial pull, you will be asked for passord to <your username>@cvs.sf.net. Ignore this, and it will fall back to anon cvs.

TBDs:
Need to split Optware into two (or three) parts: Optware/Unslung, Optware/Wiley, (and possibly OpenSlug?).

June 27, 2005, at 04:45 PM by sdm485 -- Gentoo instructions edit
Added line 15:

subversion - http://subversion.tigris.org/project_packages.html\\

Changed lines 21-25 from:

emerge monotone cvs

Subversion is also needed on Gentoo:
emerge subversion

to:

emerge monotone cvs subversion

For psycho and ccache:
emerge psycho ccache
June 27, 2005, at 03:06 PM by sdm485 -- added subversion to Gentoo requirement
Added lines 22-24:

Subversion is also needed on Gentoo:
emerge subversion

June 25, 2005, at 06:52 AM by repvik -- Added gentoo as well
Changed lines 17-18 from:

apt-get install monotone cvs

to:

apt-get install monotone cvs
or
On Gentoo:
emerge monotone cvs

June 25, 2005, at 02:55 AM by rwhitby --
Changed lines 14-15 from:

cvs - http://www.gnu.org/software/cvs/

to:

cvs - http://www.gnu.org/software/cvs/
or
Install Debian Etch
apt-get install monotone cvs

June 25, 2005, at 02:51 AM by rwhitby --
Changed line 19 from:

TBDs?:\\

to:

TBDs:\\

June 25, 2005, at 02:50 AM by rwhitby --
Added lines 19-22:

TBDs?:
Need to split Optware into two (or three) parts: Optware/Unslung, Optware/Wiley, (and possibly OpenSlug?).

June 24, 2005, at 11:19 PM by repvik -- Initial page
Added lines 1-18:

This is very simple:

  1. mkdir nslu2
  2. cd nslu2
  3. wget http://www.nslu2-linux.org/Makefile
  4. make <optional target>

There's a bucketload of valid targets. For a complete list, peruse the Makefile. It should be quite easy to figure out what target you want to build.
Example targets include openslug-build, unslung-build, optware-build.

Requirements:
boost - http://www.boost.org/
monotone - http://venge.net/monotone/ (Depends on boost)
cvs - http://www.gnu.org/software/cvs/

Caveats:
During the initial pull, you will be asked for passord to <your username>@cvs.sf.net. Ignore this, and it will fall back to anon cvs.