blob: 375931c07d1776de48d644bcade5497e8f1792e1 [file] [log] [blame]
Adam Fordab53bd42023-03-23 22:06:16 -05001.. SPDX-License-Identifier: GPL-2.0+
2
3U-Boot for the Beacon EmbeddedWorks i.MX8M Plus 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-Noot 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=imx8mp 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 imx8mp_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----
51Set baseboard DIP switch:
52S17: 1100XXXX