Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 02-Nov-2021 | - | ||||
Kconfig | A D | 02-Nov-2021 | 227 | 16 | 10 | |
MAINTAINERS | A D | 02-Nov-2021 | 154 | 7 | 6 | |
Makefile | A D | 02-Nov-2021 | 181 | 13 | 5 | |
README | A D | 02-Nov-2021 | 1.1 KiB | 43 | 36 | |
imx8mq_cm.c | A D | 02-Nov-2021 | 1.8 KiB | 85 | 58 | |
imximage-8mq-lpddr4.cfg | A D | 02-Nov-2021 | 143 | 9 | 7 | |
lpddr4_timing.c | A D | 02-Nov-2021 | 38.7 KiB | 1,867 | 1,820 | |
spl.c | A D | 02-Nov-2021 | 4.2 KiB | 166 | 123 |
README
1U-Boot for the Ronetix i.MX8MQ-CM board 2 3Quick Start 4=========== 5- Build the ARM Trusted firmware binary 6- Get ddr firmware 7- Build U-Boot 8- Boot 9 10Get and Build the ARM Trusted firmware 11====================================== 12$ git clone https://source.codeaurora.org/external/imx/imx-atf 13$ cd imx-atf 14$ git checkout imx_4.19.35_1.0.0 15$ make PLAT=imx8mq bl31 16$ cd .. 17$ cp imx-atf/build/imx8mq/release/bl31.bin . 18 19Get the ddr firmware 20==================== 21$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.9.bin 22$ chmod +x firmware-imx-8.9.bin 23$ ./firmware-imx-8.9.bin 24$ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin . 25 26Build U-Boot 27============ 28$ /opt/cross/aarch64-ronetix-linux-9.2/bin/aarch64-ronetix-linux-gnu- 29$ make imx8mq_cm_defconfig 30$ make 31 32Burn the flash.bin to MicroSD card offset 33KB 33============================================== 34$sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=sync 35$sudo dd if=u-boot.itb of=/dev/sd[x] bs=1024 seek=384 conv=sync 36 37Boot 38==== 39Set Boot switch on base board iMX8M-MB to SD boot: 40 SW1[8:1]: OFF OFF OFF ON - OFF ON OFF OFF 41 SW4[2:1]: OFF OFF 42 J4: 1,2 - open; 3,4 - close; 5,6 - open 43