Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Mar-2022 | - | ||||
Kconfig | A D | 18-Mar-2022 | 166 | 13 | 8 | |
MAINTAINERS | A D | 18-Mar-2022 | 262 | 9 | 8 | |
Makefile | A D | 18-Mar-2022 | 183 | 12 | 5 | |
README | A D | 18-Mar-2022 | 1 KiB | 38 | 31 | |
imx8mq_phanbell.c | A D | 18-Mar-2022 | 2 KiB | 91 | 66 | |
lpddr4_timing_1g.c | A D | 18-Mar-2022 | 32.7 KiB | 1,732 | 1,703 | |
spl.c | A D | 18-Mar-2022 | 4.7 KiB | 185 | 139 |
README
1U-Boot for Google's i.MX8MQ Phanbell board 2 3Quick Start 4=========== 5- Build the ARM Trusted firmware binary 6- Get ddr and hdmi firmware 7- Build U-Boot 8- Boot 9 10Get and Build the ARM Trusted firmware 11====================================== 12Note: srctree is U-Boot source directory 13Get ATF from: https://source.codeaurora.org/external/imx/imx-atf 14branch: imx_4.19.35_1.0.0 15$ make PLAT=imx8mq bl31 16$ cp build/imx8mq/release/bl31.bin $(builddir) 17 18Get 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 $(builddir) 24$ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(builddir) 25 26Build U-Boot 27============ 28$ export CROSS_COMPILE=aarch64-linux-gnu- 29$ make imx8mq_phanbell_defconfig 30$ make flash.bin 31 32Burn the flash.bin to MicroSD card offset 33KB 33$sudo dd if=flash.bin of=/dev/sd[x] bs=1K seek=33 34 35Boot 36==== 37Set Boot switch SW1: 1011 to boot from Micro SD. 38