Skip to content

iMX8M U Boot & Kernel Source (4.9.51)

vraevsky edited this page Apr 5, 2019 · 2 revisions

How to get CompuLab Kernel, U-Boot source

Download CompuLab BSP

revision# branch
1.0 BRANCH=devel_ga
1.1 BRANCH=devel_ga-rev1.1
git clone -b ${BRANCH} https://github.com/compulab-yokneam/meta-compulab-imx8.git
export BSP=$(pwd)/meta-compulab-imx8

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.51_8mq_ga
export PATCHES=${BSP}/recipes-kernel/linux/compulab/cl-som-imx8
  • 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.51_8mq_ga
export PATCHES=${BSP}/recipes-bsp/u-boot/compulab/cl-som-imx8

Apply Patches

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