site  contact  subhomenews

How to recompile the kernel

October 08, 2008 — BarryK
If you want to recompile the 2.6.25.16 kernel with some goodies like tickless and SMP support, I recommend that you do a full hard drive install of Puppy 4.1 (not frugal).

You will need to install the 'devx_410.sfs' file also (C/C++ compiler support), as explained here:
http://puppylinux.com/hard-puppy.htm

Then download the patched kernel source from here:
http://puptrix.org/sources/kernel-2.6.25.16/
and expand it at /usr/src/linux-2.6.25.16.
...also download everything else.
Then follow the instructions given in the .txt files.

After compiling your new kernel, you can test it in the full installation.

To build a new Puppy with your kernel, you need Puppy Unleashed:
http://distro.ibiblio.org/pub/linux/distributions/puppylinux/puppy-unleashed-core-4.1.tar.gz

Instructions are at:
http://puppylinux.com/development/puppy-unleashed.htm

In puppy-unleashed/kernels directory you will find '2.6.21.7' and '2.6.25.16' directories. In the latter, substitute your new 'vmlinuz' and kernel modules.

If you are moving up to the 2.6.26.x kernel, make a copy of the '2.6.25.16' with the appropriate new version number, and make appropriate substitutions inside (kernel, modules, and replace DOTconfig-K2.6.25.16, and rename firmware.dep.2.6.25.16).

For compiling the 2.6.26 kernel, kirk, MU and others have posted some instructions:
http://www.murga-linux.com/puppy/viewtopic.php?t=33461

Tags: puppy