Build kernel for iMX6.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Get Linux Source Code

$ git clone git://git.freescale.com/imx/linux-2.6-imx.git linux-imx

$ cd linux-imx

# Set the appropriate branch. Below set's it to imx_3.14.38_6ul_ga release

$ BRANCH=imx_3.14.38_6ul_ga

$ git checkout -b ${BRANCH} origin/${BRANCH}

Add iMX Yocto tool chain to your path. by sourcing script.

$ source /opt/poky/1.8/environment-setup-cortexa7hf-vfp-neon-poky-linux-gnueabi

Configure and build the kernel

$ make imx_v7_defconfig

$ make zImage -j8  # Change the -j8 depending on the number of cores on your machine.

0 Replies