blob: 28b614fd1444fa004dc5efd2807efb69cab884a7 [file] [log] [blame]
Yannic Moog41054c42024-01-10 14:35:45 +01001.. SPDX-License-Identifier: GPL-2.0+
2
3phyGATE-Tauri-L-i.MX 8M Mini
4============================
5
6The phyGATE-Tauri-L-i.MX 8M Mini with 2GB of main memory is supported.
7
8Quick Start
9-----------
10
11- Build the ARM Trusted firmware binary
12- Get ddr firmware
13- Build U-Boot
14- Boot
15
16Build the ARM Trusted firmware binary
17-------------------------------------
18
19.. code-block:: bash
20
21 $ git clone https://git.trustedfirmware.org/TF-A/trusted-firmware-a.git
22 $ cd trusted-firmware-a
23 $ export CROSS_COMPILE=aarch64-linux-gnu
24 $ export IMX_BOOT_UART_BASE=0x30880000
25 $ make PLAT=imx8mm bl31
26
27Get the ddr firmware
28--------------------
29
30.. code-block:: bash
31
32 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.23.bin
33 $ chmod +x firmware-imx-8.23.bin
34 $ ./firmware-imx-8.23.bin
35
36Build U-Boot for SD card
37------------------------
38
39Copy binaries
40^^^^^^^^^^^^^
41
42.. code-block:: bash
43
44 $ cp <TF-A dir>/build/imx8mm/release/bl31.bin .
45 $ cp firmware-imx-8.23/firmware/ddr/synopsys/lpddr4*.bin .
46
47Build U-Boot
48^^^^^^^^^^^^
49
50.. code-block:: bash
51
52 $ make imx8mm-phygate-tauri-l_defconfig
53 $ make flash.bin
54
55Flash SD card
56^^^^^^^^^^^^^
57
58.. code-block:: bash
59
60 $ sudo dd if=flash.bin of=/dev/sd[x] bs=1024 seek=33 conv=sync