Skip to contentSkip to conversation

u-boot-riscv/next

GIT PULL Leo Liang 4 participants 6 messages Sep 20, 2025 – Sep 25, 2025

lore
Share & tools
lore

Leo Liang

author
#0 lore raw

Hi Tom,

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -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 10fdc2735da3a4825a5172056090eaf41e061627:

configs: starfive: Use visionfive2 DEVICE_TREE_INCLUDES dtsi named similar to defconfig (2025-09-19 19:23:32 +0800)

CI result shows no issue: https://source.denx.de/u-boot/custodians/u-boot-riscv/-/pipelines/27673
----------------------------------------------------------------
- Switch to upstream devicetree for TH1520 platform
- Remove fdt_high env variable
- Support SMP on RISC-V cores with Zalrsc only
- Make MPFS Generic
- riscv: dts: starfive: prune redundant jh7110-common
----------------------------------------------------------------
E Shattow (4):
riscv: dts: starfive: prune redundant jh7110-common overrides
riscv: dts: starfive: sync visionfive2 overrides with upstream Linux for-next
riscv: dts: starfive: visionfive2 depend on SYS_CPU automatic dtsi inclusion
configs: starfive: Use visionfive2 DEVICE_TREE_INCLUDES dtsi named similar to defconfig

Eoin Dickson (1):
gpio: mpfs_gpio: fix compilation warnings

Greentime Hu (1):
arch/riscv: Remove unused macro in encoding.h

Hal Feng (1):
pcie: starfive: Remove the redundant print of probe success

Heinrich Schuchardt (1):
starfive: avoid NULL dereference in fdt_check_header()

Jamie Gibbons (6):
board: microchip: icicle: rename all icicle files to generic configs/microchip_mpfs_generic_defconfig: add board
doc: microchip: introduce common sections
doc: microchip: add mpfs_video.rst
misc: mpfs_syscontroller: add functions to read device tree overlays
board: microchip: mpfs_generic: include processing of dtbos

Randolph Lin (1):
include: configs: andes: Remove fdt_high env variable

Vivian Wang (1):
riscv: qemu: Remove fdt_high default

Yao Zi (7):
configs: th1520_lpi4a: Enlarge SYS_MALLOC_F_LEN to 0x10000
clk: thead: th1520-ap: Mark drivers as DM_FLAG_PRE_RELOC
pinctrl: th1520: Mark driver as DM_FLAG_PRE_RELOC
dts: th1520: Switch to upstream devicetree
riscv: Add Kconfig options to distinguish Zaamo and Zalrsc
configs: ibex-ast2700: Explicitly disable Zaamo and Zalrsc extension
riscv: Add a Zalrsc-only alternative for synchronization in start.S

 arch/riscv/Kconfig                                 |  23 +-
 arch/riscv/Makefile                                |   7 +-
 arch/riscv/cpu/start.S                             |  26 +-
 arch/riscv/cpu/th1520/Kconfig                      |   1 +
 arch/riscv/dts/Makefile                            |   1 -
 arch/riscv/dts/jh7110-common-u-boot.dtsi           |  99 ---
 .../dts/jh7110-deepcomputing-fml13v01-u-boot.dtsi  |   7 -
 arch/riscv/dts/jh7110-milkv-mars-u-boot.dtsi       |   7 -
 arch/riscv/dts/jh7110-pine64-star64-u-boot.dtsi    |   7 -
 .../jh7110-starfive-visionfive-2-v1.2a-u-boot.dtsi |   7 -
 .../jh7110-starfive-visionfive-2-v1.3b-u-boot.dtsi |   7 -
 ...-boot.dtsi => starfive-visionfive2-u-boot.dtsi} |  82 +--
 arch/riscv/dts/th1520-lichee-module-4a-u-boot.dtsi |  10 +
 arch/riscv/dts/th1520-lichee-module-4a.dtsi        | 164 -----
 arch/riscv/dts/th1520-lichee-pi-4a-u-boot.dtsi     |  27 +
 arch/riscv/dts/th1520-lichee-pi-4a.dts             |  33 -
 arch/riscv/dts/th1520-u-boot.dtsi                  |  44 ++
 arch/riscv/dts/th1520.dtsi                         | 530 ---------------
 arch/riscv/include/asm/encoding.h                  |   1 -
 .../{mpfs_icicle => mpfs_generic}/Kconfig          |   6 +-
 board/microchip/mpfs_generic/MAINTAINERS           |   7 +
 .../{mpfs_icicle => mpfs_generic}/Makefile         |   2 +-
 .../mpfs_icicle.c => mpfs_generic/mpfs_generic.c}  |   2 +
 board/microchip/mpfs_icicle/MAINTAINERS            |   7 -
 board/starfive/visionfive2/spl.c                   |   3 +-
 configs/ibex-ast2700_defconfig                     |   3 +-
 ..._defconfig => microchip_mpfs_generic_defconfig} |   5 +-
 configs/starfive_visionfive2_defconfig             |   1 +
 configs/th1520_lpi4a_defconfig                     |   4 +-
 doc/board/microchip/index.rst                      |   1 +
 doc/board/microchip/mpfs_build_boot.rst            |  29 +
 doc/board/microchip/mpfs_common.rst                | 666 ++++++++++++++++++
 doc/board/microchip/mpfs_design_hss.rst            |  37 +
 doc/board/microchip/mpfs_icicle.rst                | 743 +--------------------
 doc/board/microchip/mpfs_video.rst                 | 105 +++
 drivers/clk/thead/clk-th1520-ap.c                  |   3 +
 drivers/gpio/mpfs_gpio.c                           |   8 +-
 drivers/misc/mpfs_syscontroller.c                  | 200 ++++++
 drivers/pci/pcie_starfive_jh7110.c                 |   2 -
 drivers/pinctrl/pinctrl-th1520.c                   |   1 +
 ...chip_mpfs_icicle.h => microchip_mpfs_generic.h} |   0
 include/configs/qemu-riscv.h                       |   1 -
 include/configs/voyager.h                          |   1 -
 43 files changed, 1245 insertions(+), 1675 deletions(-)
 delete mode 100644 arch/riscv/dts/jh7110-common-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/jh7110-deepcomputing-fml13v01-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/jh7110-milkv-mars-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/jh7110-pine64-star64-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.2a-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/jh7110-starfive-visionfive-2-v1.3b-u-boot.dtsi
 rename arch/riscv/dts/{jh7110-u-boot.dtsi => starfive-visionfive2-u-boot.dtsi} (54%)
 create mode 100644 arch/riscv/dts/th1520-lichee-module-4a-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/th1520-lichee-module-4a.dtsi
 create mode 100644 arch/riscv/dts/th1520-lichee-pi-4a-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/th1520-lichee-pi-4a.dts
 create mode 100644 arch/riscv/dts/th1520-u-boot.dtsi
 delete mode 100644 arch/riscv/dts/th1520.dtsi
 rename board/microchip/{mpfs_icicle => mpfs_generic}/Kconfig (92%)
 create mode 100644 board/microchip/mpfs_generic/MAINTAINERS
 rename board/microchip/{mpfs_icicle => mpfs_generic}/Makefile (85%)
 rename board/microchip/{mpfs_icicle/mpfs_icicle.c => mpfs_generic/mpfs_generic.c} (98%)
 delete mode 100644 board/microchip/mpfs_icicle/MAINTAINERS
 rename configs/{microchip_mpfs_icicle_defconfig => microchip_mpfs_generic_defconfig} (84%)
 create mode 100644 doc/board/microchip/mpfs_build_boot.rst
 create mode 100644 doc/board/microchip/mpfs_common.rst
 create mode 100644 doc/board/microchip/mpfs_design_hss.rst
 create mode 100644 doc/board/microchip/mpfs_video.rst
 rename include/configs/{microchip_mpfs_icicle.h => microchip_mpfs_generic.h} (100%)

Best regards,
Leo

#1 lore raw
Quoted 9 lines · Leo Liang

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -0600)

are available in the Git repository at:

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

[...]

Merged into u-boot/next, thanks!

Signature · 1 line
Tom
#2 lore raw

Hi Tom, Leo, and Yao,

Quoted 6 lines · Tom Rini
Quoted 4 lines · Leo Liang

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -0600)

Quoted 8 lines
Quoted 5 lines

are available in the Git repository at:

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

[...]

Merged into u-boot/next, thanks!

Runtime regression for VisionFive2 SPL bisected to bad commit a681cfecb434 "riscv: Add a Zalrsc-only alternative for synchronization in start.S". Confirmed by checking out origin/next (to 44c4919e9 "test:
Fix optee unit test") and reverting that commit a681cfecb434 only.

I am late to testing this, sorry about that. It would have been better to catch this before becoming part of a range of bisect commits that now have a non-functional SPL on visionfive2.

Best regards,

-E

#3 lore raw
Quoted 23 lines · E Shattow

Hi Tom, Leo, and Yao,

Quoted 6 lines · Tom Rini
Quoted 4 lines · Leo Liang

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -0600)

Quoted 8 lines
Quoted 5 lines

are available in the Git repository at:

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

[...]

Merged into u-boot/next, thanks!

Runtime regression for VisionFive2 SPL bisected to bad commit a681cfecb434 "riscv: Add a Zalrsc-only alternative for synchronization in start.S". Confirmed by checking out origin/next (to 44c4919e9 "test:
Fix optee unit test") and reverting that commit a681cfecb434 only.

Quoted 7 lines

I am late to testing this, sorry about that. It would have been better to catch this before becoming part of a range of bisect commits that now have a non-functional SPL on visionfive2.

Best regards,

-E

P.S. for Yao, there are problems with your series more than the one bad bisect commit only. Build starfive_visionfive2_defconfig with ordinary toolchain from Debian 13 Trixie gcc 14.2.0 and any StarFive2 (or variant) board, to see the problem. I can't get this working with only config changes and your series for a fixes follow-up. Too heavy of a change... revert the series please. -E

#4 lore raw
Quoted 31 lines · E Shattow
Quoted 29 lines · E Shattow

Hi Tom, Leo, and Yao,

Quoted 6 lines · Tom Rini
Quoted 4 lines · Leo Liang

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -0600)

Quoted 8 lines
Quoted 5 lines

are available in the Git repository at:

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

[...]

Merged into u-boot/next, thanks!

Runtime regression for VisionFive2 SPL bisected to bad commit a681cfecb434 "riscv: Add a Zalrsc-only alternative for synchronization in start.S". Confirmed by checking out origin/next (to 44c4919e9 "test:
Fix optee unit test") and reverting that commit a681cfecb434 only.

I am late to testing this, sorry about that. It would have been better to catch this before becoming part of a range of bisect commits that now have a non-functional SPL on visionfive2.

Best regards,

Quoted 8 lines
Quoted 1 line

-E

P.S. for Yao, there are problems with your series more than the one bad bisect commit only. Build starfive_visionfive2_defconfig with ordinary toolchain from Debian 13 Trixie gcc 14.2.0 and any StarFive2 (or variant) board, to see the problem. I can't get this working with only config changes and your series for a fixes follow-up. Too heavy of a change... revert the series please. -E

Oops, I'm okay with the revert. Should I send a series to revert the changes?

I should really have tested this against VisonFive 2, but my board is dead...

Best regards,
Yao Zi

#5 lore raw
Quoted 41 lines · Yao Zi
Quoted 31 lines · E Shattow
Quoted 29 lines · E Shattow

Hi Tom, Leo, and Yao,

Quoted 6 lines · Tom Rini
Quoted 4 lines · Leo Liang

The following changes since commit a209627ed7921f40669f5c0795570d40e77e4cb7:

Merge patch series "board: dhelectronics: Check pointer before access in dh_get_value_from_eeprom_buffer()" (2025-09-16 16:14:30 -0600)

Quoted 8 lines
Quoted 5 lines

are available in the Git repository at:

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

[...]

Merged into u-boot/next, thanks!

Runtime regression for VisionFive2 SPL bisected to bad commit a681cfecb434 "riscv: Add a Zalrsc-only alternative for synchronization in start.S". Confirmed by checking out origin/next (to 44c4919e9 "test:
Fix optee unit test") and reverting that commit a681cfecb434 only.

I am late to testing this, sorry about that. It would have been better to catch this before becoming part of a range of bisect commits that now have a non-functional SPL on visionfive2.

Best regards,

Quoted 8 lines
Quoted 1 line

-E

P.S. for Yao, there are problems with your series more than the one bad bisect commit only. Build starfive_visionfive2_defconfig with ordinary toolchain from Debian 13 Trixie gcc 14.2.0 and any StarFive2 (or variant) board, to see the problem. I can't get this working with only config changes and your series for a fixes follow-up. Too heavy of a change... revert the series please. -E

Quoted 8 lines

Oops, I'm okay with the revert. Should I send a series to revert the changes?

I should really have tested this against VisonFive 2, but my board is dead...

Best regards,
Yao Zi

I have asked on IRC and the advice is yes, please do send a patch for reverting, thank you. Sorry to hear about the vf2 board fail -E