Skip to content

iMX8M U Boot & Kernel Source (4.14.98)

vraevsky edited this page Jun 3, 2019 · 1 revision

How to get CompuLab Kernel, U-Boot source

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

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.14.98_2.0.0_ga
export PATCHES=${BSP}/meta-bsp-imx8mq/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.14.98_2.0.0_ga
export PATCHES=${BSP}/meta-bsp-imx8mq/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