Difference between revisions of "Linux Kernel 3.14.28.y"
From IGEP - ISEE Wiki
Line 13: | Line 13: | ||
'''Configure''' Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by | '''Configure''' Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by | ||
− | make ARCH=arm CROSS_COMPILE= | + | make ARCH=arm CROSS_COMPILE=[your cross compiler] imx6-igep0046_defconfig |
Then '''build''' the kernel, the kernel modules and the device tree files. The result will be an ''zImage'' file in arch/arm/boot directory. Execute: | Then '''build''' the kernel, the kernel modules and the device tree files. The result will be an ''zImage'' file in arch/arm/boot directory. Execute: |
Revision as of 09:25, 27 May 2016
Build kernel from sources
Download the latest stable version sources and follow next steps:
For clone linux-imx
git clone git://git.isee.biz/pub/scm/linux-imx.git
Export environment variables
source /opt/poky/1.8/environment
Configure Linux kernel for IGEP devices. IGEP is ARM architecture based device. A generic configuration is provided for all IGEP machines, and can be used as the default by
make ARCH=arm CROSS_COMPILE=[your cross compiler] imx6-igep0046_defconfig
Then build the kernel, the kernel modules and the device tree files. The result will be an zImage file in arch/arm/boot directory. Execute:
make ARCH=arm CROSS_COMPILE=[your cross compiler] zImage modules dtbs
You can install the kernel modules to your target rootfs
make ARCH=arm CROSS_COMPILE=[your cross compiler] INSTALL_MOD_PATH=[path to your target rootfs] modules_install