Mathieu Othacehe | 9bfca75 | 2024-01-30 15:50:37 +0100 | [diff] [blame] | 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 | |
Mathieu Othacehe | 4c7f0d2 | 2024-02-26 18:48:34 +0100 | [diff] [blame] | 44 | $ 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 Othacehe | 9bfca75 | 2024-01-30 15:50:37 +0100 | [diff] [blame] | 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 |