blob: c65acef22d82c367be3fd63e7f2d852192215e09 [file] [log] [blame]
Adam Ford14879032020-05-03 08:11:33 -05001U-Boot for the Beacon EmbeddedWorks 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
Adam Fordf3c86202022-01-22 14:48:40 -060015$ git lf-5.10.72-2.2.0
Adam Fordafbb48f2021-10-22 23:43:40 +020016$ make PLAT=imx8mm bl31 CROSS_COMPILE=aarch64-linux-gnu-
Adam Ford14879032020-05-03 08:11:33 -050017$ cp build/imx8mm/release/bl31.bin $(srctree)
18
19Get the DDR firmware
20====================
Adam Fordf3c86202022-01-22 14:48:40 -060021$ 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)
Adam Ford14879032020-05-03 08:11:33 -050025
26Build U-Boot
27============
28$ make imx8mm_beacon_defconfig
Adam Fordf3c86202022-01-22 14:48:40 -060029$ make CROSS_COMPILE=aarch64-linux-gnu-
Adam Ford14879032020-05-03 08:11:33 -050030
31Burn U-Boot to microSD Card
32===========================
33$ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33
34
35Boot
36====
37Set Boot switch to SD boot