board: phytec: phycore-imx93: Add phyBOARD-Segin-i.MX93 support
[pandora-u-boot.git] / doc / board / phytec / imx93-phyboard-segin.rst
1 .. SPDX-License-Identifier: GPL-2.0+
2
3 phyBOARD-Segin-i.MX93
4 =====================
5
6 U-Boot for the phyBOARD-Segin-i.MX93.
7
8 Quick Start
9 -----------
10
11 - Get and Build the ARM Trusted firmware
12 - Get the DDR firmware
13 - Get ahab-container.img
14 - Build U-Boot
15
16 Get and Build the ARM Trusted firmware
17 --------------------------------------
18
19 Note: srctree is U-Boot source directory
20 Get ATF from: https://github.com/nxp-imx/imx-atf/
21 branch: lf_v2.8
22
23 .. code-block:: bash
24
25    $ unset LDFLAGS
26    $ make PLAT=imx93 bl31
27    $ cp build/imx93/release/bl31.bin $(srctree)
28
29 Get the DDR firmware
30 --------------------
31
32 .. code-block:: bash
33
34    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-imx-8.21.bin
35    $ chmod +x firmware-imx-8.21.bin
36    $ ./firmware-imx-8.21.bin
37    $ cp firmware-imx-8.21/firmware/ddr/synopsys/lpddr4*.bin $(srctree)
38
39 Get ahab-container.img
40 ---------------------------------------
41
42 .. code-block:: bash
43
44    $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-sentinel-0.10.bin
45    $ chmod +x firmware-sentinel-0.10.bin
46    $ ./firmware-sentinel-0.10.bin
47    $ cp firmware-sentinel-0.10/mx93a0-ahab-container.img $(srctree)
48
49 Build U-Boot
50 ------------
51
52 .. code-block:: bash
53
54    $ make imx93-phyboard-segin_defconfig
55    $ make
56
57 Burn the flash.bin to MicroSD card offset 32KB:
58
59 .. code-block:: bash
60
61    $ dd if=flash.bin of=/dev/sd[x] bs=1024 seek=32 conv=notrunc