Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Kconfig | H A D | 01-Jan-2019 | 154 | 13 | 8 | |
MAINTAINERS | H A D | 13-Mar-2019 | 196 | 8 | 7 | |
Makefile | H A D | 01-Jan-2019 | 201 | 13 | 5 | |
README | H A D | 05-Apr-2019 | 1 KiB | 38 | 31 | |
imx8mq_evk.c | H A D | 01-Jan-2019 | 2.8 KiB | 131 | 97 | |
lpddr4_timing.c | H A D | 01-Jan-2019 | 30.7 KiB | 1,321 | 1,250 | |
lpddr4_timing_b0.c | H A D | 01-Jan-2019 | 27.3 KiB | 1,192 | 1,124 | |
spl.c | H A D | 01-Jan-2019 | 6 KiB | 247 | 186 |
README
1 U-Boot for the NXP i.MX8MQ EVK board 2 3 Quick Start 4 =========== 5 - Build the ARM Trusted firmware binary 6 - Get ddr and hdmi fimware 7 - Build U-Boot 8 - Boot 9 10 Get and Build the ARM Trusted firmware 11 ====================================== 12 Note: srctree is U-Boot source directory 13 Get ATF from: https://source.codeaurora.org/external/imx/imx-atf 14 branch: imx_4.14.62_1.0.0_beta 15 $ make PLAT=imx8mq bl31 16 $ cp build/imx8mq/release/bl31.bin $(srctree) 17 18 Get the ddr and hdmi firmware 19 ============================= 20 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin 21 $ chmod +x firmware-imx-7.9.bin 22 $ ./firmware-imx-7.9.bin 23 $ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(srctree) 24 $ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree) 25 26 Build U-Boot 27 ============ 28 $ export CROSS_COMPILE=aarch64-poky-linux- 29 $ make imx8mq_evk_defconfig 30 $ make flash.bin 31 32 Burn the flash.bin to MicroSD card offset 33KB 33 $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 34 35 Boot 36 ==== 37 Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD. 38