Skip to content

iMX8M U Boot & Kernel Source (4.9.88)

vraevsky edited this page Feb 15, 2019 · 2 revisions

How to get CompuLab Kernel, U-Boot source

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

Prepare Environment

  • To get Kernel source set these variables:
export ORIGIN=https://source.codeaurora.org/external/imx/linux-imx.git
export HEAD=rel_imx_4.9.88_2.0.0_ga
export PATCHES=${BSP}/meta-bsp/recipes-kernel/linux/compulab/imx8mq
  • To get U-Boot source set these variables:
export ORIGIN=https://source.codeaurora.org/external/imx/uboot-imx.git
export HEAD=rel_imx_4.9.88_2.0.0_ga
export PATCHES=${BSP}/meta-bsp/recipes-bsp/u-boot/compulab/imx8mq

Apply Patches

git clone ${ORIGIN} src
git -C src checkout -b development ${HEAD}
git -C src am ${PATCHES}/*.patch