-
Notifications
You must be signed in to change notification settings - Fork 2
CL SOM iMX8 Linux Kernel Build
vraevsky edited this page Feb 21, 2019
·
3 revisions
Supported machines:
cl-som-imx8
ucm-imx8
Define a MACHINE
environment variable with respect to a required macine:
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 imx8 cd imx8
- Download CompuLab BSP with respect to the board revision.
revision# | branch |
---|---|
1.0 |
BRANCH=devel |
1.1 |
BRANCH=devel-rev1.1 |
git clone -b ${BRANCH} https://github.com/compulab-yokneam/meta-compulab-bsp.git export BSP=$(pwd)/meta-compulab-bsp export PATCHES=${BSP}/meta-bsp/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.9.88_2.0.0_ga git -C linux-imx am ${PATCHES}/*.patch
make -C linux-imx ${MACHINE}_defconfig make -C linux-imx