The LEAF Bering-uClibc is build from a patched kernel source and compressed afterwards to reduce space.
The list of patches and the order in which you should apply them are
described in kernel.txt
. This file is provided as
well as the kernel .config
here.
The needed patches can be found in the patches
cvs repository .
Now it's time to download a clean 2.4.24 kernel source from ftp://ftp.kernel.org/pub/linux/kernel/v2.4/.
Add the kernel .config
downloaded above, apply
the patches as described in kernel.txt
and follow the
process explained there.
Build the kernel as usual:
make oldconfig; make dep; make bzImage; make modules
Finally, download upx-1.90 from: http://upx.sourceforge.net/#unstable and compress the kernel:
upx --best -f -o linux.upx arch/i386/boot/bzImage