-
Notifications
You must be signed in to change notification settings - Fork 2
iMX6 U Boot
vraevsky edited this page May 27, 2019
·
2 revisions
It is up to developer to setup arm build environment:
- Download a tool chain from Linaro
- Set environment variables:
export ARCH=arm export CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-
- Create a folder to organize the files:
mkdir ~/imx6 cd ~/imx6
- Download the original CompuLab U-Boot & Yocto meta-layer
git clone -b v2015.07-cm-fx6-3 https://github.com/utilite-computer/u-boot.git git clone https://github.com/compulab-yokneam/meta-compulab
- Apply patches
cd u-boot git am ../meta-compulab/recipes-bsp/u-boot/u-boot-compulab-2015.07/*.patch
- Building the U-Boot binary
make cl_som_imx6_defconfig make -j8 u-boot.imx
- Create a U-Boot bootable media for an alternate boot
dd if=u-boot.imx of=/dev/sdX bs=512 seek=2