blob: bb4a86369bb711cca478f2aaeafa53ba6e6fa536 [file] [log] [blame]
Adam Ford3521fb92023-05-28 14:18:03 -05001.. SPDX-License-Identifier: GPL-2.0+
2
3U-Boot for the Beacon EmbeddedWorks i.MX8M Nano Devkit
4======================================================
5
6Quick Start
7-----------
8
9- Build the ARM Trusted firmware binary
10- Get DDR firmware
11- Build U-Boot
12- Burn U-Boot to microSD Card
13- Boot
14
15Get and Build the ARM Trusted firmware
16--------------------------------------
17
18.. code-block:: bash
19
20 $ git clone https://github.com/nxp-imx/imx-atf.git -b v2.6
21 $ make PLAT=imx8mn bl31 CROSS_COMPILE=aarch64-linux-gnu-
22 $ cp build/imx8mn/release/bl31.bin ../
23
24Get the DDR firmware
25--------------------
26
27.. code-block:: bash
28
29 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.15.bin
30 $ chmod +x firmware-imx-8.15.bin
31 $ ./firmware-imx-8.15
32 $ cp firmware-imx-8.15/firmware/ddr/synopsys/lpddr4*.bin .
33
34Build U-Boot
35------------
36
37.. code-block:: bash
38
39 $ make imx8mn_beacon_defconfig
40 $ make CROSS_COMPILE=aarch64-linux-gnu-
41
42Burn U-Boot to microSD Card
43---------------------------
44
45.. code-block:: bash
46
47 $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32
48
49Boot
50----
51
52Set baseboard DIP switches for micoSD Card:
53S17 (1:8): 1100xxxx