Personal tools

Log in

Changes

From IGEP - ISEE Wiki

Jump to: navigation, search

The Linux kernel

293 bytes added, 13:03, 9 March 2018
How to cross compile the linux kernel
Newest kernels can require build the dtbs too as:
make ARCH=arm CROSS_COMPILE=[cross compiler] zImage modules dtbs
The result will be a zImage file in ${KERNEL_SOURCES}/arch/arm/boot directory.
The result And dabs will be a zImage file in in ${KERNEL_SOURCES}/arch/arm/boot directory. You /dtbs At last you can install the kernel modules to your target rootfsusing this command
make ARCH=arm CROSS_COMPILE=[cross compiler] modules_install INSTALL_MOD_PATH=[path to your target rootfs]
Example:  make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- omap2plus_defconfig<br>make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage modules dtbs<br>make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- modules_install INSTALL_MOD_PATH=/media/user/rootfs
=Stable kernels=