Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Kconfig | D | 03-May-2024 | 154 | 13 | 8 | |
MAINTAINERS | D | 03-May-2024 | 158 | 7 | 6 | |
Makefile | D | 03-May-2024 | 182 | 13 | 5 | |
README | D | 03-May-2024 | 959 | 38 | 31 | |
imx8mm_evk.c | D | 03-May-2024 | 1.3 KiB | 72 | 50 | |
lpddr4_timing.c | D | 03-May-2024 | 41.1 KiB | 1,981 | 1,911 | |
spl.c | D | 03-May-2024 | 3.3 KiB | 171 | 115 |
README
1U-Boot for the NXP i.MX8MM EVK board 2 3Quick Start 4=========== 5- Build the ARM Trusted firmware binary 6- Get ddr fimware 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=imx8mm bl31 16$ cp build/imx8mm/release/bl31.bin $(srctree) 17 18Get the ddr and hdmi firmware 19============================= 20$ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.0.bin 21$ chmod +x firmware-imx-8.0.bin 22$ ./firmware-imx-8.0 23$ cp firmware-imx-7.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree) 24 25Build U-Boot 26============ 27$ export CROSS_COMPILE=aarch64-poky-linux- 28$ make imx8mm_evk_defconfig 29$ export ATF_LOAD_ADDR=0x920000 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=1024 seek=33 34 35Boot 36==== 37Set Boot switch to SD boot 38