Difference between revisions of "Linux Kernel 3.14.28.y"
From IGEP - ISEE Wiki
Line 9: | Line 9: | ||
Export environment variables | Export environment variables | ||
− | <pre>source /opt/poky/1.8/environment</pre> | + | <pre>source /opt/poky/1.8/environment-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi</pre> |
'''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 |
Revision as of 09:47, 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-setup-cortexa9hf-vfp-neon-poky-linux-gnueabi
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