Difference between revisions of "Linux Kernel 3.14.28.y"
From IGEP - ISEE Wiki
Line 6: | Line 6: | ||
<pre>git clone git://git.isee.biz/pub/scm/linux-imx.git</pre> | <pre>git clone git://git.isee.biz/pub/scm/linux-imx.git</pre> | ||
+ | |||
+ | Change tree to | ||
+ | |||
+ | <pre>git checkout remotes/origin/isee-imx_3.14.28.y-next.local</pre> | ||
Export environment variables | Export environment variables |
Revision as of 10:06, 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
Change tree to
git checkout remotes/origin/isee-imx_3.14.28.y-next.local
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