Custom Debian Kernel Compiling

# aptitude install kernel-package fakeroot linux-source-2.6

$ cd /usr/src/
$ tar jxf linux-source-2.6.32.tar.bz2
$ cd linux-source-2.6.32
$ cp /path/to/config-2.6.32-5-kirkwood .config
[apply any fancy patches you want here]
$ make-kpkg --initrd --arch armel --subarch kirkwood --cross-compile /usr/bin/arm-linux-gnueabi- --revision=0 --append-to-version=-custom --rootcmd fakeroot --jobs=$(($(grep processor /proc/cpuinfo | wc -l)+1)) kernel_image

DSDT

DSDT example.

$ cd /usr/src/
$ iasl -tc dsdt.dsl

Now turn off CONFIG_STANDALONE and set CONFIG_ACPI_CUSTOM_DSDT_FILE to '/usr/src/dsdt.hex'.

www: debian-kernel-compile (last edited 2010-08-25 12:51:43 by alex)