iMX7-CM U-Boot
Overview
The U-Boot boot-loader is used for low-level initialization and operating system loading.
Building U-BOOT for i.MX7-CM
This U-BOOT is based on https://github.com/u-boot/u-boot.git, tag v2019.10
Setup the cross compiler and CPU architecture
$ export ARCH=arm $ export CROSS_COMPILE=/opt/cross/arm-ronetix-eabi-8.3.0/bin/arm-ronetix-eabi-
Clone the latest revision of the repo
$ git clone https://github.com/ronetix/u-boot.git u-boot-ronetix --depth=1 $ cd u-boot-ronetix
Configure and build
$ make imx7_cm_defconfig $ make
Build Results
| File Name | Description |
|---|---|
| u-boot | U-BOOT ELF image used for JTAG debugging |
| u-boot-dtb.imx | U-BOOT image with DTB |
Flashing U-BOOT image to a SD card
Replace sdX with the right device name.
$ sudo dd if=u-boot-dtb.imx of=/dev/sdX bs=1k seek=1 conv=fsync
The U-BOOT image should be at address 0x400 on the SD card.