![]() |
N2100 Building a new KernelDownload the latest kernel from http://www.kernel.org, or patch a kernel tree with the latest patches. You can use 'ketchup' which downloads and applies the patches automatically. For the kernel kernel sourcetree:
For the initramfs
Be patient! Unless your kernel is stripped down to the absolute minimum you should expect a clean build to take four hours. You can also use an installkernel script, to automate the kernel image copy and run update-initramfs. This will avoid mistakes like omitting the vital -c option. Create a script called installkernel and place it in your ~/bin. The script will receive four arguments:
In the script you can copy the kernel binary to /boot, run update-initramfs and possibly copy the files over to your tftp server ready for a network boot. If you like to flash the kernel you can use the command
(The current versions of flash kernel checks the sub architecture, by checking the name of the kernel with the system hardware)
view ·
edit ·
print ·
history ·
Last edited by Peter.
Based on work by Peter, Peter pebainodeat, and Frank Kingswood. Originally by Frank Kingswood. Page last modified on March 15, 2009, at 09:36 AM
|