-
Notifications
You must be signed in to change notification settings - Fork 2
iMX8M Linux Kernel Build
vraevsky edited this page Mar 21, 2019
·
6 revisions
Supported machines:
cl-som-imx8
Define a MACHINE
environment variable with respect to a required machine:
export MACHINE=cl-som-imx8
It is up to developer to setup arm64 build environment:
- Download a tool chain from Linaro
- Set environment variables:
export ARCH=arm64 export CROSS_COMPILE=/usr/bin/aarch64-linux-gnu-
- Create a folder to organize the files:
mkdir imx8mq cd imx8mq
- Download CompuLab BSP
git clone -b devel-imx8mq-4.14.78 https://github.com/compulab-yokneam/meta-compulab-bsp.git export BSP=$(pwd)/meta-compulab-bsp export PATCHES=${BSP}/meta-bsp-imx8mq/recipes-kernel/linux/compulab/imx8mq
git clone https://source.codeaurora.org/external/imx/linux-imx.git git -C linux-imx checkout -b linux-compulab rel_imx_4.14.78_1.0.0_ga git -C linux-imx am ${PATCHES}/*.patch
make -C linux-imx ${MACHINE}_defconfig make -C linux-imx