The latest supported Linux Kernel is 2.4.17. It can be downloaded at http://www.kernel.org. Put the tarball in /usr/src/linuxbios/kernel.
Before unpacking the tarball, make sure /usr/src/linuxbios does not exist. If
it does, rename it to something else. Then unpack the tarball:
$ tar zxf kernel/linux-2.4.17.tar.gz
$ mv linux linux-2.4.17-linuxbios_1
$ ln -sf linux-2.4.17-linuxbios_1 linux
Edit /usr/src/linuxbios/linux/Makefile, then look for
EXTRAVERSION.
Change the value to -linuxbios_1.
New patches can be found at http://www.cwlinux.com/downloads. Put patches in
/usr/src/linuxbios/kernel-patches. To install patches:
$ patch -p1 -d /usr/src/linuxbios/linux < /usr/src/linuxbios/kernel-patches/patchXX
For gzip format,
$ gzip -dc /usr/src/linuxbios/kernel-patches/patchXX.gz | patch -p1 -d /usr/src/linuxbios/linux
For bzip format,
$ bzip2 -dc /usr/src/linuxbios/kernel-patches/patchXX.bz2 | patch -p1 -d /usr/src/linuxbios/linux
There are 3 common ways to configure kernel.
"make config" | Configure kernel through command line interface |
"make menuconfig" | Configure kernel through console UI |
"make config" | Configure kernel through X GUI |
To compile the kernel,
$ make INSTALL_MOD_PATH=/usr/src/linuxbios/buildroot/root dep vmlinux modules modules_install
It will create a kernel image
/usr/src/linuxbios/linux/vmlinux and all modules will be
installed at /usr/src/linuxbios/buildroot/root/lib/modules/2.4.17-linuxbios_1.