All we need is a kernel .config file and a short summary how to update.
Step 1: getting the kernel
emerge --sync emerge gentoo-sourcesWill retrieve the newest sources. As kernel updates will happen rarely you might want to mask newer kernels from portage. Do this by adding following line to /etc/portage/package.mask.
>sys-kernel/gentoo-sources-3.1.10-r1Step 2: Kernel configuration
Switch to your new kernel:
eselect kernel list eselect kernel set <number>Now you could either download one from the config files below or config the kernel on your own.
cd /usr/src/linux make menuconfigAfter configuration you should have a .config file in your linux directory.
Step 3: Build the kernel
make clean uImage modules modules_installStep 4: Install the kernel
As you might have a running kernel already its best to backup this version first:
mount /boot mv /boot/uImage /boot/uImage.bakIf your new kernel does not boot you can revert to the old kernel on another system.
cp /usr/src/linux/arch/arm/boot/uImage /bootNow cross your fingers and reboot the system.
Files:
- Kernel 2.6.36-gentoo-r5
.config, compiled kernel - Kernel 2.6.39-gentoo-r3
.config, compiled kernel