Skip to content

iMX8M U Boot & Kernel Source (4.9.88)

vraevsky edited this page Jan 1, 2019 · 2 revisions

How to get CompuLab Kernel, U-Boot source

Download CompuLab BSP

git clone -b devel 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