Abstract: Build your own Linux Kernel for Raspberry Pi.
Follow the directions in Raspberry Pi – Setting up driver/module development environment.
In directory Projects/source/tools/mkimage
./imagetool-uncompressed.py ../../linux/arch/arm/boot/zImage
Create directory Projects/source/modules and in Projects/source/linux:
make ARCH=arm CROSS_COMPILE=/tools/x-tools/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- modules_install INSTALL_MOD_PATH=../modules
You now have tools/mkimage/kernel.org and modules/lib which need to be copied to the Raspberry Pi
scp tools/mkimage/kernel.org rpi:/boot
rsync -r --safe-links modules/lib/* rpi:/lib/
Leave a Reply