Transclusion: CL-SOM-iMX7: U-Boot: Building Secure Images: Build
Revision as of 15:41, 1 January 2019 by imported>Igor.vaisbein (→Git clone)
Git clone
- Install git version control system.
- Create a clone of U-Boot tree
cd /home/development/cl-som-imx7/u-boot git clone https://github.com/compulab/u-boot.git u-boot-cl-som-imx7-hab cd /home/development/cl-som-imx7/u-boot/u-boot-cl-som-imx7-hab
- Create a branch for HAB development. It is recommended to use exactly the same baseline to avoid merge conflicts.
git checkout -b cl-som-imx7-hab v2018.11-cl-som-imx7-hab
Building the secure firmware images
- First, compile U-Boot. The following commands create the binaries u-boot-ivt.img and SPL (along with other image types):
export ARCH=arm export CROSS_COMPILE=arm-none-linux-eabi- make mrproper make cl-som-imx7_defconfig && make