Skip to contentSkip to conversation

u-boot-riscv/next

GIT PULL Leo Liang 3 participants 5 messages Jun 3, 2025 – Jun 30, 2025

lore
Share & tools
lore

Leo Liang

author
#0 lore raw

Hi Tom,

The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869:

Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-riscv.git next

for you to fetch changes up to b911af6d60d3be570469b92df751874dc376336b:

MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer (2025-06-03 14:17:46 +0800)

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/26483
----------------------------------------------------------------
- board: Convert Lichee Pi 4A to use S-Mode proper U-Boot
- RISC-V: configs: Raise SPL_SYS_MALLOC_SIZE to 8 MiB
- driver: Add SD card support to the Beagle-V-Fire
- MAINTAINERS: Add Yao Zi as maintainer for th1520
----------------------------------------------------------------
Eoin Dickson (2):
gpio: add PolarFire SoC GPIO and Core GPIO driver
spi: coreqspi: add xfer function for PolarFire SoC

Heinrich Schuchardt (1):
configs: raise SPL_SYS_MALLOC_SIZE to 8 MiB on RISC-V

Yao Zi (6):
riscv: cpu: th1520: Build spl.c for SPL only
riscv: cpu: th1520: Support cache enabling/disabling in M mode only
riscv: dts: th1520: Prepare binman configuration for loading OpenSBI
board: thead: licheepi4a: Run proper U-Boot in S-Mode
doc: thead: lpi4a: Update for S-Mode proper U-Boot support
MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer

 MAINTAINERS                             |   7 ++
 arch/riscv/cpu/th1520/Makefile          |   2 +-
 arch/riscv/cpu/th1520/cache.c           |   2 +
 arch/riscv/dts/thead-th1520-binman.dtsi |  32 +++++-
 common/spl/Kconfig                      |   2 +-
 configs/starfive_visionfive2_defconfig  |   1 -
 configs/th1520_lpi4a_defconfig          |   2 +-
 configs/xilinx_mbv32_defconfig          |   1 -
 configs/xilinx_mbv32_smode_defconfig    |   1 -
 configs/xilinx_mbv64_defconfig          |   1 -
 configs/xilinx_mbv64_smode_defconfig    |   1 -
 doc/board/thead/lpi4a.rst               | 125 ++++++--------------
 drivers/gpio/Kconfig                    |   5 +
 drivers/gpio/Makefile                   |   1 +
 drivers/gpio/mpfs_gpio.c                | 198 ++++++++++++++++++++++++++++++++
 drivers/spi/microchip_coreqspi.c        | 113 +++++++++++++++++-
 16 files changed, 391 insertions(+), 103 deletions(-)
 create mode 100644 drivers/gpio/mpfs_gpio.c

Best regards,
Leo

#1 lore raw
Quoted 14 lines · Leo Liang

Hi Tom,

The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869:

Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-riscv.git next

for you to fetch changes up to b911af6d60d3be570469b92df751874dc376336b:

MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer (2025-06-03 14:17:46 +0800)

Quoted 7 lines

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/26483
----------------------------------------------------------------
- board: Convert Lichee Pi 4A to use S-Mode proper U-Boot
- RISC-V: configs: Raise SPL_SYS_MALLOC_SIZE to 8 MiB
- driver: Add SD card support to the Beagle-V-Fire
- MAINTAINERS: Add Yao Zi as maintainer for th1520
----------------------------------------------------------------

This introduces a failure to build on microchip_mpfs_icicle currently in -next.

Signature · 1 line
Tom
#2 lore raw
Quoted 24 lines · Tom Rini
Quoted 14 lines · Leo Liang

Hi Tom,

The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869:

Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-riscv.git next

for you to fetch changes up to b911af6d60d3be570469b92df751874dc376336b:

MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer (2025-06-03 14:17:46 +0800)

Quoted 7 lines

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/26483
----------------------------------------------------------------
- board: Convert Lichee Pi 4A to use S-Mode proper U-Boot
- RISC-V: configs: Raise SPL_SYS_MALLOC_SIZE to 8 MiB
- driver: Add SD card support to the Beagle-V-Fire
- MAINTAINERS: Add Yao Zi as maintainer for th1520
----------------------------------------------------------------

Quoted 2 lines

This introduces a failure to build on microchip_mpfs_icicle currently in -next.

microchip_mpfs_icicle_defconfig fails to build in u-boot-riscv/next as well. Reverting b73971dea9fed ("spi: coreqspi: add xfer function for PolarFire SoC") fixes it.

Seems the patch doesn't adapt the multiple-cs-capable definition of dm_slave_plat, which was introduced in commit 34da258bb04 ("spi:
spi-uclass: Read chipselect and restrict capabilities") in the last year. Thus I doubt whether the patch has been built and tested against a recent version of U-Boot.

Quoted 2 lines
Signature · 1 line
Tom

Regards,
Yao Zi

author
#3 lore raw
Quoted 34 lines · Yao Zi

[EXTERNAL MAIL]

Quoted 24 lines · Tom Rini
Quoted 14 lines · Leo Liang

Hi Tom,

The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869:

Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-riscv.git next

for you to fetch changes up to b911af6d60d3be570469b92df751874dc376336b:

MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer (2025-06-03 14:17:46 +0800)

Quoted 7 lines

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/26483
----------------------------------------------------------------
- board: Convert Lichee Pi 4A to use S-Mode proper U-Boot
- RISC-V: configs: Raise SPL_SYS_MALLOC_SIZE to 8 MiB
- driver: Add SD card support to the Beagle-V-Fire
- MAINTAINERS: Add Yao Zi as maintainer for th1520
----------------------------------------------------------------

Quoted 2 lines

This introduces a failure to build on microchip_mpfs_icicle currently in -next.

microchip_mpfs_icicle_defconfig fails to build in u-boot-riscv/next as well. Reverting b73971dea9fed ("spi: coreqspi: add xfer function for PolarFire SoC") fixes it.

Quoted 6 lines

Seems the patch doesn't adapt the multiple-cs-capable definition of dm_slave_plat, which was introduced in commit 34da258bb04 ("spi:
spi-uclass: Read chipselect and restrict capabilities") in the last year. Thus I doubt whether the patch has been built and tested against a recent version of U-Boot.

Sorry for the negligence.
I will respin a PR for next and
ask the submitter to send a fixed patch set.

Best regards,
Leo

Quoted 5 lines
Quoted 2 lines

--
Tom

Regards,
Yao Zi

author
#4 lore raw
In reply to Yao Zi
Quoted 34 lines · Yao Zi

[EXTERNAL MAIL]

Quoted 24 lines · Tom Rini
Quoted 14 lines · Leo Liang

Hi Tom,

The following changes since commit d45b1d4ac94710f88902adc2173d7930700e2869:

Merge tag 'u-boot-dfu-next-20250602' of https://source.denx.de/u-boot/custodians/u-boot-dfu into next (2025-06-02 08:43:10 -0600)

are available in the Git repository at:

https://source.denx.de/u-boot/custodians/u-boot-riscv.git next

for you to fetch changes up to b911af6d60d3be570469b92df751874dc376336b:

MAINTAINERS: riscv: cpu: th1520: Assign myself as maintainer (2025-06-03 14:17:46 +0800)

Quoted 7 lines

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/26483
----------------------------------------------------------------
- board: Convert Lichee Pi 4A to use S-Mode proper U-Boot
- RISC-V: configs: Raise SPL_SYS_MALLOC_SIZE to 8 MiB
- driver: Add SD card support to the Beagle-V-Fire
- MAINTAINERS: Add Yao Zi as maintainer for th1520
----------------------------------------------------------------

Quoted 2 lines

This introduces a failure to build on microchip_mpfs_icicle currently in -next.

microchip_mpfs_icicle_defconfig fails to build in u-boot-riscv/next as well. Reverting b73971dea9fed ("spi: coreqspi: add xfer function for PolarFire SoC") fixes it.

Quoted 6 lines

Seems the patch doesn't adapt the multiple-cs-capable definition of dm_slave_plat, which was introduced in commit 34da258bb04 ("spi:
spi-uclass: Read chipselect and restrict capabilities") in the last year. Thus I doubt whether the patch has been built and tested against a recent version of U-Boot.

Hi Eoin,

Your patch ("spi: coreqspi: add xfer function for PolarFire SoC")[1] does not pass CI[2].

Could you fix this issue and resend a V3?

Best regards,
Leo

[1] https://patchwork.ozlabs.org/project/uboot/patch/[email protected]/
[2] https://source.denx.de/u-boot/custodians/u-boot-riscv/-/jobs/1155749#L5205

Quoted 6 lines
Quoted 3 lines

--
Tom

Regards,
Yao Zi