Chia-Wei Wang | 1c7ed53 | 2024-09-10 17:39:16 +0800 | [diff] [blame] | 1 | .. SPDX-License-Identifier: GPL-2.0+ |
| 2 | |
| 3 | IBex AST2700 |
| 4 | ============ |
| 5 | |
| 6 | AST2700 integrates an IBex RISC-V 32-bits CPU as the boot MCU to execute the |
| 7 | first stage bootlaoder, namely SPL. |
| 8 | |
| 9 | Build |
| 10 | ----- |
| 11 | |
| 12 | 1. Prepare the toolchains and make sure the $PATH to toolchains is correct. |
| 13 | 2. Use `make ibex-ast2700_defconfig` in u-boot root to build the image |
| 14 | |
| 15 | Running U-Boot SPL |
| 16 | ------------------ |
| 17 | |
| 18 | The U-Boot SPL will boot in M mode and load the FIT image which includes |
| 19 | the 2nd stage bootloaders executed by the main processor Cortex-A35. |
| 20 | |
| 21 | |
| 22 | Burn U-Boot to SPI Flash |
| 23 | ------------------------ |
| 24 | |
| 25 | Use SPI flash programmer (e.g. SF100) to program the u-book-spl.bin with the |
| 26 | offset 0x80 bytes to the SPI flash beginning. |