All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC PATCH 00/20] hw/arm: Add initial RK3588 and ROCK 5B support
@ 2026-11-13  9:47 Yifan Wang
  2026-11-13  9:47 ` [RFC PATCH 01/20] hw/char/dw8250: implement the UART status register Yifan Wang
                   ` (19 more replies)
  0 siblings, 20 replies; 22+ messages in thread
From: Yifan Wang @ 2026-11-13  9:47 UTC (permalink / raw)
  To: qemu-devel
  Cc: Yifan Wang, qemu-arm, qemu-block, kvm, Peter Maydell,
	Pierrick Bouvier, Paolo Bonzini, Alistair Francis, Kevin Wolf,
	Hanna Reitz, Kuan-Wei Chiu, Marc-André Lureau, bin.meng,
	tangtao1634

Hi,

This series adds initial support for the Rockchip RK3588 SoC and the
Radxa ROCK 5B board. It supports booting Linux through U-Boot SPL and
U-Boot from SPI NOR flash, as well as direct kernel boot.

The implementation includes the eight Cortex-A55/A76 CPUs, GICv3,
architectural timers, SRAM, UARTs, and the Rockchip SPI flash controller.
It also models the CRU, OTP, and HPTIMER registers needed by the boot
software.

Patches 1-5 extend DW8250 and ARM SMC support and add the XTX XT25F128
flash device. Patches 6-15 add the RK3588 SoC and its devices. Patches
16-18 add the ROCK 5B board and firmware boot support. Patch 19 adds
functional boot tests, and patch 20 adds documentation.

Both boot paths have been tested with Linux 6.12.4, with U-Boot 2025.01
used for the firmware boot path. The included functional tests cover
booting to a Buildroot shell, reboot, and poweroff.

Comments and suggestions are welcome.

Thanks,
Yifan

Chao Liu (20):
  hw/char/dw8250: implement the UART status register
  hw/char/dw8250: expose the baudbase property
  target/arm: report SMCCC v1.1 support
  target/arm: allow machines to handle SMC calls
  hw/block/m25p80: add the XTX XT25F128 SPI NOR flash
  hw/arm: add the Rockchip RK3588 SoC
  hw/timer: add Rockchip HPTIMER boot control
  hw/arm/rk3588: add the unimplemented device map
  hw/arm/rk3588: add the GICv3 interrupt controller
  hw/arm/rk3588: add the UARTs
  hw/misc: add the RK3588 clock and reset unit
  hw/misc: add the RK3588 OTP controller
  hw/ssi: add the Rockchip SPI flash controller
  hw/misc: add RK3588 SCMI server
  hw/arm/rk3588: wire up the SCMI server
  hw/arm: add Radxa ROCK 5B board
  hw/arm/rock-5b: connect the XTX XT25F128 SPI NOR flash
  hw/arm/rock-5b: add firmware booting
  tests/functional: add ROCK 5B boot tests
  docs/system/arm: document the Radxa ROCK 5B machine

 MAINTAINERS                              |  19 +
 docs/system/arm/rock-5b.rst              |  86 ++++
 docs/system/target-arm.rst               |   1 +
 hw/arm/Kconfig                           |  16 +
 hw/arm/meson.build                       |   3 +
 hw/arm/rk3588.c                          | 452 +++++++++++++++++
 hw/arm/rock-5b.c                         | 297 ++++++++++++
 hw/block/m25p80.c                        |  20 +
 hw/char/dw8250.c                         |  45 ++
 hw/misc/meson.build                      |   5 +
 hw/misc/rk3588-scmci.c                   | 589 +++++++++++++++++++++++
 hw/misc/rockchip_cru.c                   | 233 +++++++++
 hw/misc/rockchip_otp.c                   | 146 ++++++
 hw/ssi/Kconfig                           |   5 +
 hw/ssi/meson.build                       |   1 +
 hw/ssi/rockchip_sfc.c                    | 439 +++++++++++++++++
 hw/timer/meson.build                     |   1 +
 hw/timer/rockchip-hptimer.c              | 115 +++++
 include/hw/arm/arm-smc.h                 |  31 ++
 include/hw/arm/rk3588.h                  |  64 +++
 include/hw/misc/rk3588-scmci.h           |  25 +
 include/hw/timer/rockchip-hptimer.h      |  20 +
 target/arm/helper.c                      |  80 +++
 target/arm/internals.h                   |   3 +
 target/arm/kvm-consts.h                  |   5 +
 target/arm/tcg/psci.c                    |  15 +
 tests/functional/aarch64/meson.build     |   2 +
 tests/functional/aarch64/test_rock_5b.py | 118 +++++
 28 files changed, 2836 insertions(+)
 create mode 100644 docs/system/arm/rock-5b.rst
 create mode 100644 hw/arm/rk3588.c
 create mode 100644 hw/arm/rock-5b.c
 create mode 100644 hw/misc/rk3588-scmci.c
 create mode 100644 hw/misc/rockchip_cru.c
 create mode 100644 hw/misc/rockchip_otp.c
 create mode 100644 hw/ssi/rockchip_sfc.c
 create mode 100644 hw/timer/rockchip-hptimer.c
 create mode 100644 include/hw/arm/arm-smc.h
 create mode 100644 include/hw/arm/rk3588.h
 create mode 100644 include/hw/misc/rk3588-scmci.h
 create mode 100644 include/hw/timer/rockchip-hptimer.h
 create mode 100755 tests/functional/aarch64/test_rock_5b.py


base-commit: 49559567804523cb28cad002aa8e97f444e23ad7
-- 
2.53.0


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2026-11-28 13:17 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-13  9:47 [RFC PATCH 00/20] hw/arm: Add initial RK3588 and ROCK 5B support Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 01/20] hw/char/dw8250: implement the UART status register Yifan Wang
2026-11-28 13:17   ` Kuan-Wei Chiu
2026-11-13  9:47 ` [RFC PATCH 02/20] hw/char/dw8250: expose the baudbase property Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 03/20] target/arm: report SMCCC v1.1 support Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 04/20] target/arm: allow machines to handle SMC calls Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 05/20] hw/block/m25p80: add the XTX XT25F128 SPI NOR flash Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 06/20] hw/arm: add the Rockchip RK3588 SoC Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 07/20] hw/timer: add Rockchip HPTIMER boot control Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 08/20] hw/arm/rk3588: add the unimplemented device map Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 09/20] hw/arm/rk3588: add the GICv3 interrupt controller Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 10/20] hw/arm/rk3588: add the UARTs Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 11/20] hw/misc: add the RK3588 clock and reset unit Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 12/20] hw/misc: add the RK3588 OTP controller Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 13/20] hw/ssi: add the Rockchip SPI flash controller Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 14/20] hw/misc: add RK3588 SCMI server Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 15/20] hw/arm/rk3588: wire up the " Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 16/20] hw/arm: add Radxa ROCK 5B board Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 17/20] hw/arm/rock-5b: connect the XTX XT25F128 SPI NOR flash Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 18/20] hw/arm/rock-5b: add firmware booting Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 19/20] tests/functional: add ROCK 5B boot tests Yifan Wang
2026-11-13  9:47 ` [RFC PATCH 20/20] docs/system/arm: document the Radxa ROCK 5B machine Yifan Wang

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.