Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 05-Jul-2021 | - | ||||
Kconfig | H A D | 05-Jul-2021 | 352 | 23 | 15 | |
MAINTAINERS | H A D | 05-Jul-2021 | 201 | 8 | 7 | |
Makefile | H A D | 05-Jul-2021 | 299 | 17 | 10 | |
README | H A D | 05-Jul-2021 | 1,009 | 40 | 31 | |
imx8mn_beacon.c | H A D | 05-Jul-2021 | 1.2 KiB | 58 | 39 | |
lpddr4_2g_timing.c | H A D | 05-Jul-2021 | 28.6 KiB | 1,441 | 1,409 | |
lpddr4_timing.c | H A D | 05-Jul-2021 | 28.5 KiB | 1,435 | 1,405 | |
spl.c | H A D | 05-Jul-2021 | 2.7 KiB | 130 | 93 |
README
1U-Boot for the Beacon EmbeddedWorks i.MX8M Nano Devkit 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====================================== 12Note: $(srctree) is U-Boot source directory 13 14$ git clone https://source.codeaurora.org/external/imx/imx-atf 15$ git checkout imx_5.4.47_2.2.0 16$ make PLAT=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu- 17$ cp build/imx8mm/release/bl31.bin $(srctree) 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 24$ cp firmware-imx-8.9/firmware/ddr/synopsys/lpddr4*.bin $(srctree) 25 26Build U-Boot 27============ 28$ make imx8mn_beacon_defconfig 29$ make flash.bin CROSS_COMPILE=aarch64-linux-gnu- ATF_LOAD_ADDR=0x960000 30 31Burn U-Boot to microSD Card 32=========================== 33$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 34 35Boot 36==== 37Set baseboard DIP switch: 38S17: 1100XXXX 39 40