Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | 18-Mar-2022 | - | ||||
Kconfig | A D | 18-Mar-2022 | 195 | 15 | 9 | |
MAINTAINERS | A D | 18-Mar-2022 | 158 | 7 | 6 | |
Makefile | A D | 18-Mar-2022 | 119 | 9 | 2 | |
README | A D | 18-Mar-2022 | 1.3 KiB | 55 | 39 | |
imx8qm_mek.c | A D | 18-Mar-2022 | 2.7 KiB | 147 | 105 | |
imximage.cfg | A D | 18-Mar-2022 | 448 | 20 | 17 | |
spl.c | A D | 18-Mar-2022 | 1.1 KiB | 70 | 45 | |
uboot-container.cfg | A D | 18-Mar-2022 | 279 | 14 | 11 |
README
1U-Boot for the NXP i.MX8QM EVK board 2 3Quick Start 4=========== 5 6- Build the ARM Trusted firmware binary 7- Get scfw_tcm.bin and ahab-container.img 8- Build U-Boot 9- Flash the binary into the SD card 10- Boot 11 12Get and Build the ARM Trusted firmware 13====================================== 14 15$ git clone https://source.codeaurora.org/external/imx/imx-atf 16$ cd imx-atf/ 17$ git checkout origin/imx_4.14.78_1.0.0_ga -b imx_4.14.78_1.0.0_ga 18$ make PLAT=imx8qm bl31 19 20Get scfw_tcm.bin and ahab-container.img 21============================== 22 23$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/imx-sc-firmware-1.1.bin 24$ chmod +x imx-sc-firmware-1.1.bin 25$ ./imx-sc-firmware-1.1.bin 26$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin 27$ chmod +x firmware-imx-8.0.bin 28$ ./firmware-imx-8.0.bin 29 30Copy the following binaries to U-Boot folder: 31 32$ cp imx-atf/build/imx8qm/release/bl31.bin . 33$ cp u-boot/u-boot.bin . 34 35Copy the following firmwares U-Boot folder : 36 37$ cp firmware-imx-7.6/firmware/seco/ahab-container.img . 38$ cp imx-sc-firmware-0.7/mx8qm-mek-scfw-tcm.bin . 39 40Build U-Boot 41============ 42$ make imx8qm_mek_defconfig 43$ make flash.bin 44 45Flash the binary into the SD card 46================================= 47 48Burn the flash.bin binary to SD card offset 32KB: 49 50$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 51 52Boot 53==== 54Set Boot switch SW2: 1100. 55