Peng Fan | 86ac7a9 | 2018-11-20 10:20:00 +0000 | [diff] [blame] | 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 | Get ATF from: https://source.codeaurora.org/external/imx/imx-atf |
| 13 | branch: imx_4.14.62_1.0.0_beta |
| 14 | $ make PLAT=imx8mq bl31 |
| 15 | |
| 16 | Get the ddr and hdmi firmware |
| 17 | ==================== |
| 18 | Note: srctree is U-Boot source directory |
| 19 | $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-7.9.bin |
| 20 | $ chmod +x firmware-imx-7.9.bin |
| 21 | $ cp firmware-imx-7.9/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $(srctree) |
| 22 | $ cp firmware-imx-7.9/firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctee) |
| 23 | |
| 24 | Build U-Boot |
| 25 | ==================== |
Peng Fan | 86ac7a9 | 2018-11-20 10:20:00 +0000 | [diff] [blame] | 26 | $ export CROSS_COMPILE=aarch64-poky-linux- |
| 27 | $ make imx8mq_evk_defconfig |
| 28 | $ make flash.bin |
| 29 | |
| 30 | Burn the flash.bin to MicroSD card offset 33KB |
| 31 | $sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 |
| 32 | |
| 33 | Boot |
| 34 | ==================== |
| 35 | Set Boot switch SW801: 1100 and Bmode: 10 to boot from Micro SD. |