![]() |
NSLU2-Linux DevelopmentNSLU2-Linux development revolves around the MasterMakefile. See the For Unslung firmware (including kernel modules), use For OpenSlug firmware, use For Unslung packages (which are now called Optware/NSLU2 packages), use For Asus WL500g packages, use The Master Makefile will download and build everything that is required except the Intel code for the built in ethernet engines - you must download this yourself (see DownloadingTheIntelSourceCode). If there are sources missing from upstream sites, it *should* download them from the sources.nslu2-linux.org server - if not, then you can download them manually from there. All commits, whether in Monotone (OE) or Subversion (optware) need to use the commit guidelines. CaveatsThere are some things to be aware of when starting to rebuild (especially when rebuilding from the head). If things stop working when they were working before, removing the whole When upgrading your kernel sources and rebuilding it is a good habit to remove tmp/{work,stamps}/{ixp,openslug*} (or unslung* if you are on unslung). When upgrading your image with reflash -i some settings (e.g. /linuxrc) are maintained. This is nice as you do not have to do a turnup. However, if you upgrade from one release of the kernel to another (e.g. from 2.6.12 to 2.6.14 or from 2.6.14-rc2 to 2.6.14-rc3) your boot will fail as there will normally not be a /lib/modules/`uname -r` directory on your hard disk. Solution is to unplug the disk, reboot, then connect the hard disk and either do a turnup -i, install the modules or be lazy and cp -R /lib/modules from the flash to your hard disk (of course after mounting it). |