Difference between revisions of "Linux Kernel 3.14.28.y"
From IGEP - ISEE Wiki
Line 1: | Line 1: | ||
+ | = Generate compiler = | ||
+ | |||
+ | <pre>git clone git://git.yoctoproject.org/poky</pre> | ||
+ | |||
+ | Enter to the poky directory, | ||
+ | |||
+ | <pre>cd poky</pre> | ||
+ | |||
+ | Change tree to commit ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674. | ||
+ | |||
+ | <pre>git checkout ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674 -b fido</pre>Load Poky environment variables: | ||
+ | <pre>source oe-init-build-env</pre> | ||
+ | Generate Poky sdk compiler: | ||
+ | |||
+ | <pre> bitbake -c populate-sdk isee-image-dev </pre> | ||
+ | |||
= Build kernel from sources = | = Build kernel from sources = | ||
Revision as of 11:59, 30 May 2016
Generate compiler
git clone git://git.yoctoproject.org/poky
Enter to the poky directory,
cd poky
Change tree to commit ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674.
git checkout ee88b51cf2853ab075c9bd2ef7cf4d65d1c96674 -b fidoLoad Poky environment variables:
source oe-init-build-env
Generate Poky sdk compiler:
bitbake -c populate-sdk isee-image-dev
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 cd linux-imx git checkout remotes/origin/isee-imx_3.14.28.y-next -b isee-imx_3.14.28.y-next.local
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