riscv: Add AST2700 SoC initial platform support
AST2700 SoCs integrates a Ibex 32-bits RISC-V core as the boot MCU for the first stage bootloader execution, namely SPL. This patch implements the preliminary base to successfully run SPL on this RV32-based MCU to the console banner message. Signed-off-by: Chia-Wei Wang <chiawei_wang@aspeedtech.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
This commit is contained in:
committed by
Leo Yu-Chi Liang
parent
717002f8ff
commit
9efcb10a09
26
doc/board/aspeed/ibex-ast2700.rst
Normal file
26
doc/board/aspeed/ibex-ast2700.rst
Normal file
@@ -0,0 +1,26 @@
|
||||
.. SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
IBex AST2700
|
||||
============
|
||||
|
||||
AST2700 integrates an IBex RISC-V 32-bits CPU as the boot MCU to execute the
|
||||
first stage bootlaoder, namely SPL.
|
||||
|
||||
Build
|
||||
-----
|
||||
|
||||
1. Prepare the toolchains and make sure the $PATH to toolchains is correct.
|
||||
2. Use `make ibex-ast2700_defconfig` in u-boot root to build the image
|
||||
|
||||
Running U-Boot SPL
|
||||
------------------
|
||||
|
||||
The U-Boot SPL will boot in M mode and load the FIT image which includes
|
||||
the 2nd stage bootloaders executed by the main processor Cortex-A35.
|
||||
|
||||
|
||||
Burn U-Boot to SPI Flash
|
||||
------------------------
|
||||
|
||||
Use SPI flash programmer (e.g. SF100) to program the u-book-spl.bin with the
|
||||
offset 0x80 bytes to the SPI flash beginning.
|
||||
9
doc/board/aspeed/index.rst
Normal file
9
doc/board/aspeed/index.rst
Normal file
@@ -0,0 +1,9 @@
|
||||
.. SPDX-License-Identifier: GPL-2.0+
|
||||
|
||||
Aspeed
|
||||
======
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
ibex-ast2700
|
||||
Reference in New Issue
Block a user