Building a Custom Debian Kernel for the BeagleBoard
The following steps describes building a custom Debian kernel for the BeagleBoard using cross-compiling:
apt-get install git-core kernel-package fakeroot build-essential \
curl libncurses-dev uboot-mkimage
#debian embedded
debhttp:/
debhttp:/
debhttp:/
apt-get update
apt-get install cpp-4.3-arm-linux-gnu g++-4.3-arm-linux-gnu gcc-4.3-arm-linux-gnu
You now have a build environment capable of compiling a kernel for the ARM platform. Next step is to acquire and compile the kernel.
git clone git://git2.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6.git
cd linux-omap-2.6/
cd linux-omap-2.6
patch -p1 < ../<patch-name>
cp ../defconfig .config
make menuconfig
make CROSS_COMPILE=arm-linux-gnu- uImage
A few moments later, you can find your new kernel in the ‘arch/arm/boot/’ directory.
make CROSS_COMPILE=arm-linux-gnu- modules
make CROSS_COMPILE=arm-linux-gnu- modules_install
make CROSS_COMPILE=arm-linux-gnu- modules_install INSTALL_MOD_PATH=arch/arm/boot
Last updated 68 days ago by vinaykumar
|
Custom index by Fx NION |
|
|
Powered by Elgg, the leading open source social networking platform |