-
Notifications
You must be signed in to change notification settings - Fork 2
CL SOM iMX8 Linux Kernel Build (ga2)
vraevsky edited this page Jul 1, 2019
·
1 revision
Supported machines:
cl-som-imx8
Define a MACHINE
environment variable with respect to a required machine:
export MACHINE=ucm-imx8m-mini
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 imx8mm cd imx8mm
- Download CompuLab BSP
git clone -b devel-imx8mq-4.14.98 https://github.com/compulab-yokneam/meta-compulab-bsp.git export BSP=$(pwd)/meta-compulab-bsp export PATCHES=${BSP}/meta-bsp-imx8mm/recipes-kernel/linux/compulab/imx8mm
git clone https://source.codeaurora.org/external/imx/linux-imx.git git -C linux-imx checkout -b linux-compulab rel_imx_4.14.98_2.0.0_ga git -C linux-imx am ${PATCHES}/*.patch
make -C linux-imx ${MACHINE}_defconfig make -C linux-imx