Skip to content

RISC-V AX25-AE350 support SPL

Andes u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 0 repliesNew
  2. v18 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Remove SYS_NS16550.
- Use CONFIG_IS_ENABLED(RISCV_MMODE).
- Add ALIGN(8) in ld for RV64.
- Add new [PATCH v2 09/10] riscv: dts: Add #address-cells and #size-cells in nor node.
- Add new [PATCH v2 10/10] doc: update AX25-AE350 RISC-V documentation.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10riscv: ax25: add SPL supportarch/riscv/cpu/ax25/Kconfig+3 -10 replies
2/10riscv: ax25-ae350: add SPL configurationboard/AndesTech/ax25-ae350/Kconfig board/AndesTech/ax25-ae350/MAINTAINERS board/AndesTech/ax25-ae350/ax25-ae350.c +5 more+211 -00 replies
3/10riscv: ax25-ae350: Use generic memory size setupboard/AndesTech/ax25-ae350/ax25-ae350.c+2 -190 replies
4/10riscv: andes_plic: Fix some wrong configurationsarch/riscv/lib/andes_plic.c+7 -40 replies
5/10riscv: ax25: cache: Add SPL_RISCV_MMODE for SPLarch/riscv/cpu/ax25/cache.c+46 -140 replies
6/10spl: cache: Allow cache drivers in SPLcommon/spl/Kconfig drivers/Makefile+8 -00 replies
7/10riscv: Fix clear bss loop in the start-up codearch/riscv/cpu/start.S arch/riscv/cpu/u-boot-spl.lds arch/riscv/cpu/u-boot.lds+4 -40 replies
8/10riscv: dts: Support four cores SMParch/riscv/dts/ae350_32.dts arch/riscv/dts/ae350_64.dts+108 -60 replies
9/10riscv: dts: Add #address-cells and #size-cells in nor nodearch/riscv/dts/ae350_32.dts arch/riscv/dts/ae350_64.dts+6 -20 replies
10/10doc: update AX25-AE350 RISC-V documentationdoc/board/AndesTech/ax25-ae350.rst+206 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 00/10] RISC-V AX25-AE350 support SPL

From: Rick Chen <[email protected]>

This series add support for SPL to AX25-AE350.

U-Boot SPL can boot from RAM or ROM and jump to OPenSbi(FW_DYNAMIC firmware) and U-Boot proper from RAM or MMC devices.

Also fix some bugs of andes plic driver and improve cache configurations for SPL.

Changes in v2:
- Remove SYS_NS16550.
- Use CONFIG_IS_ENABLED(RISCV_MMODE).
- Add ALIGN(8) in ld for RV64.
- Add new [PATCH v2 09/10] riscv: dts: Add #address-cells and #size-cells in nor node.
- Add new [PATCH v2 10/10] doc: update AX25-AE350 RISC-V documentation.

Rick Chen (10):
riscv: ax25: add SPL support
riscv: ax25-ae350: add SPL configuration
riscv: ax25-ae350: Use generic memory size setup
riscv: andes_plic: Fix some wrong configurations
riscv: ax25: cache: Add SPL_RISCV_MMODE for SPL
spl: cache: Allow cache drivers in SPL
riscv: Fix clear bss loop in the start-up code
riscv: dts: Support four cores SMP
riscv: dts: Add #address-cells and #size-cells in nor node
doc: update AX25-AE350 RISC-V documentation

 arch/riscv/cpu/ax25/Kconfig             |   4 +-
 arch/riscv/cpu/ax25/cache.c             |  60 ++++++---
 arch/riscv/cpu/start.S                  |   4 +-
 arch/riscv/cpu/u-boot-spl.lds           |   2 +-
 arch/riscv/cpu/u-boot.lds               |   2 +-
 arch/riscv/dts/ae350_32.dts             |  61 +++++++++-
 arch/riscv/dts/ae350_64.dts             |  61 +++++++++-
 arch/riscv/lib/andes_plic.c             |  11 +-
 board/AndesTech/ax25-ae350/Kconfig      |   9 ++
 board/AndesTech/ax25-ae350/MAINTAINERS  |   4 +
 board/AndesTech/ax25-ae350/ax25-ae350.c |  48 +++++---
 common/spl/Kconfig                      |   7 ++
 configs/ae350_rv32_spl_defconfig        |  37 ++++++
 configs/ae350_rv32_spl_xip_defconfig    |  39 ++++++
 configs/ae350_rv64_spl_defconfig        |  38 ++++++
 configs/ae350_rv64_spl_xip_defconfig    |  40 ++++++
 doc/board/AndesTech/ax25-ae350.rst      | 209 +++++++++++++++++++++++++++++++-
 drivers/Makefile                        |   1 +
 include/configs/ax25-ae350.h            |  17 +++
 19 files changed, 601 insertions(+), 53 deletions(-)
 create mode 100644 configs/ae350_rv32_spl_defconfig
 create mode 100644 configs/ae350_rv32_spl_xip_defconfig
 create mode 100644 configs/ae350_rv64_spl_defconfig
 create mode 100644 configs/ae350_rv64_spl_xip_defconfig
Signature · 1 line
2.7.4