blob: ce17fbec78de63efb0ee024ede52d8b9f488e3a1 [file] [log] [blame]
Mathieu Othacehe9bfca752024-01-30 15:50:37 +01001.. SPDX-License-Identifier: GPL-2.0+
2
3phyBOARD-Segin-i.MX93
4=====================
5
6U-Boot for the phyBOARD-Segin-i.MX93.
7
8Quick 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
16Get and Build the ARM Trusted firmware
17--------------------------------------
18
19Note: srctree is U-Boot source directory
20Get ATF from: https://github.com/nxp-imx/imx-atf/
21branch: 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
29Get 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
39Get ahab-container.img
40---------------------------------------
41
42.. code-block:: bash
43
Mathieu Othacehe4c7f0d22024-02-26 18:48:34 +010044 $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/firmware-sentinel-0.11.bin
45 $ chmod +x firmware-sentinel-0.11.bin
46 $ ./firmware-sentinel-0.11.bin
47 $ cp firmware-sentinel-0.11/mx93a1-ahab-container.img $(srctree)
Mathieu Othacehe9bfca752024-01-30 15:50:37 +010048
49Build U-Boot
50------------
51
52.. code-block:: bash
53
54 $ make imx93-phyboard-segin_defconfig
55 $ make
56
57Burn 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