Hi Tianrui, On Wed, Jun 30, 2021 at 09:51:54AM +0800, Tianrui Wei wrote: > This patch adds openpiton-riscv64 SOC support. In particular, this > board supports a standard bootflow through zsbl->u-boot SPL-> > opensbi->u-boot proper->Linux. There are separate defconfigs for > building u-boot SPL and u-boot proper > > - V6 > . separate defconfigs for u-boot and SPL > . eliminate debug console output > . style updates > - V7 > . update Kconfig for OpenPiton board > . SPL defconfig updates > > Signed-off-by: Tianrui Wei <tianrui-...@outlook.com> > Signed-off-by: Jonathan Balkind <jbalk...@ucsb.edu> > --- > arch/riscv/Kconfig | 4 + > arch/riscv/dts/Makefile | 1 + > arch/riscv/dts/openpiton-riscv64.dts | 153 ++++++++ > board/openpiton/riscv64/Kconfig | 40 +++ > board/openpiton/riscv64/MAINTAINERS | 8 + > board/openpiton/riscv64/Makefile | 5 + > board/openpiton/riscv64/openpiton-riscv64.c | 33 ++ > configs/openpiton_riscv64_defconfig | 76 ++++ > configs/openpiton_riscv64_spl_defconfig | 87 +++++ > doc/board/index.rst | 1 + > doc/board/openpiton/index.rst | 9 + > doc/board/openpiton/riscv64.rst | 376 ++++++++++++++++++++ > include/configs/openpiton-riscv64.h | 61 ++++ > 13 files changed, 854 insertions(+) > create mode 100644 arch/riscv/dts/openpiton-riscv64.dts > create mode 100644 board/openpiton/riscv64/Kconfig > create mode 100644 board/openpiton/riscv64/MAINTAINERS > create mode 100644 board/openpiton/riscv64/Makefile > create mode 100644 board/openpiton/riscv64/openpiton-riscv64.c > create mode 100644 configs/openpiton_riscv64_defconfig > create mode 100644 configs/openpiton_riscv64_spl_defconfig > create mode 100644 doc/board/openpiton/index.rst > create mode 100644 doc/board/openpiton/riscv64.rst > create mode 100644 include/configs/openpiton-riscv64.h > > diff --git a/doc/board/openpiton/riscv64.rst b/doc/board/openpiton/riscv64.rst > new file mode 100644 > index 0000000000..ed7d59db2c > --- /dev/null > +++ b/doc/board/openpiton/riscv64.rst > @@ -0,0 +1,376 @@ > +.. SPDX-License-Identifier: GPL-2.0+ > + > +Openpiton RISC-V SoC > +==================== > + > +OpenPiton RISC-V SoC > +-------------------- > +OpenPiton is an open source, manycore processor and research platform. It is > a > +tiled manycore framework scalable from one to 1/2 billion cores. It supports > a > +number of ISAs including RISC-V with its P-Mesh cache coherence protocol and > +networks on chip. It is highly configurable in both core and uncore > components. > +OpenPiton has been verified in both ASIC and multiple Xilinx FPGA prototypes > +running full-stack Debian linux. > + > +RISCV-V Standard Bootflow
typo: RISC-V Otherwise, LGTM. Best regards, Leo > +------------------------- > +Currently, OpenPiton implements RISC-V standard bootflow in the following > steps > +mover.S -> u-boot-spl -> opensbi -> u-boot -> Linux > +This board supports S-mode u-boot as well as M-mode SPL