blob: 8bf983bff773f0cbbb890344878732a9a842f9a2 [file] [log] [blame]
Adam Ford7b8ea702023-05-28 14:18:01 -05001.. SPDX-License-Identifier: GPL-2.0+
2
3U-Boot for the Beacon EmbeddedWorks i.MX8M Mini 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=imx8mm bl31 CROSS_COMPILE=aarch64-linux-gnu-
22 $ cp build/imx8mm/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 imx8mm_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=33
48
49Boot
50----
51
52Set baseboard DIP switches for micoSD Card:
53- S11 (1:8) 01101000
54- S10 (1:8) 11001000
55- S17 (1:8) 0110xxxx