Adam Ford | ab53bd4 | 2023-03-23 22:06:16 -0500 | [diff] [blame^] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | U-Boot for the Beacon EmbeddedWorks i.MX8M Plus Devkit |
| 4 | ====================================================== |
| 5 | |
| 6 | Quick 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 | |
| 15 | Get 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 | |
| 24 | Get 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 | |
| 34 | Build U-Boot |
| 35 | ------------ |
| 36 | |
| 37 | .. code-block:: bash |
| 38 | |
| 39 | $ make imx8mp_beacon_defconfig |
| 40 | $ make CROSS_COMPILE=aarch64-linux-gnu- |
| 41 | |
| 42 | Burn 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 | |
| 49 | Boot |
| 50 | ---- |
| 51 | Set baseboard DIP switch: |
| 52 | S17: 1100XXXX |