Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Kconfig | D | 12-May-2024 | 213 | 15 | 9 | |
MAINTAINERS | D | 12-May-2024 | 207 | 7 | 6 | |
Makefile | D | 12-May-2024 | 138 | 12 | 4 | |
README | D | 12-May-2024 | 1.2 KiB | 51 | 38 | |
imx8qm_rom7720_a1.c | D | 12-May-2024 | 2.9 KiB | 142 | 97 | |
imximage.cfg | D | 12-May-2024 | 516 | 22 | 19 | |
spl.c | D | 12-May-2024 | 6.3 KiB | 221 | 171 |
README
1U-Boot for the NXP i.MX8QM ROM 7720a1 board 2 3Quick Start 4=========== 5 6- Build the ARM Trusted firmware binary 7- Get scfw_tcm.bin and ahab-container.img 8- Get imx-mkimage 9- Build U-Boot 10- Build imx-mkimage 11- Flash the binary into the SD card 12- Boot 13 14Get and Build the ARM Trusted firmware 15====================================== 16 17$ git clone https://source.codeaurora.org/external/imx/imx-atf 18$ cd imx-atf/ 19$ git checkout origin/imx_4.14.78_1.0.0_ga -b imx_4.14.78_1.0.0_ga 20$ make PLAT=imx8qm bl31 21 22Get scfw_tcm.bin and ahab-container.img 23============================== 24 25$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.1.bin 26$ chmod +x imx-sc-firmware-1.1.bin 27$ ./imx-sc-firmware-1.1.bin 28$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin 29$ chmod +x firmware-imx-8.0.bin 30$ ./firmware-imx-8.0.bin 31 32Build U-Boot 33============ 34 35$ export ATF_LOAD_ADDR=0x80000000 36$ export BL33_LOAD_ADDR=0x80020000 37$ make imx8qm_rom7720_a1_4G_defconfig 38$ make u-boot.bin 39$ make flash.bin 40 41Flash the binary into the SD card 42================================= 43 44Burn the flash.bin binary to SD card offset 32KB: 45 46$ sudo dd if=flash.bin of=/dev/sd[x] bs=1k seek=32 conv=fsync 47 48Boot 49==== 50Set Boot switch SW2: 1100. 51