qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Improve Microchip Polarfire SoC customization
@ 2025-03-19  6:13 Sebastian Huber
  2025-03-19  6:13 ` [PATCH v3 1/6] hw/misc: Add MPFS system reset support Sebastian Huber
                   ` (6 more replies)
  0 siblings, 7 replies; 19+ messages in thread
From: Sebastian Huber @ 2025-03-19  6:13 UTC (permalink / raw)
  To: qemu-devel; +Cc: qemu-riscv, Alistair Francis, Daniel Henrique Barboza

Booting the microchip-icicle-kit machine using the latest PolarFire SoC
Hart Software Services (HSS) no longer works since Qemu lacks support
for several registers (clocks, DRAM controller). Also reading from the
SDCard does not work currently.

In order to allow tests runs for real-time kernels such as RTEMS and
Zephyr, improve the boot customization. This patch set enables a direct
run of kernel executables, for example:

qemu-system-riscv64 -no-reboot -nographic \
  -serial null -serial mon:stdio \
  -smp 2 \
  -bios none \
  -machine microchip-icicle-kit,clint-timebase-frequency=10000000 \
  -kernel rtos.elf

v2:

* Add documentation update.

* In patch 3, warn if no device tree is specified.

* In patch 4, use riscv_find_firmware() to locate the firmware shipped with Qemu.

v3:

* In patch 4, add support for Qemu test runs.

Sebastian Huber (6):
  hw/misc: Add MPFS system reset support
  hw/riscv: More flexible FDT placement for MPFS
  hw/riscv: Make FDT optional for MPFS
  hw/riscv: Allow direct start of kernel for MPFS
  hw/riscv: Configurable MPFS CLINT timebase freq
  hw/riscv: microchip_pfsoc: Rework documentation

 docs/system/riscv/microchip-icicle-kit.rst | 124 ++++++-----------
 hw/misc/mchp_pfsoc_sysreg.c                |   7 +
 hw/riscv/microchip_pfsoc.c                 | 153 +++++++++++++++------
 include/hw/riscv/microchip_pfsoc.h         |   1 +
 4 files changed, 164 insertions(+), 121 deletions(-)

-- 
2.43.0



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

end of thread, other threads:[~2025-10-31 14:19 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-19  6:13 [PATCH v3 0/6] Improve Microchip Polarfire SoC customization Sebastian Huber
2025-03-19  6:13 ` [PATCH v3 1/6] hw/misc: Add MPFS system reset support Sebastian Huber
2025-04-04  1:48   ` Alistair Francis
2025-03-19  6:13 ` [PATCH v3 2/6] hw/riscv: More flexible FDT placement for MPFS Sebastian Huber
2025-03-19  6:13 ` [PATCH v3 3/6] hw/riscv: Make FDT optional " Sebastian Huber
2025-04-04  1:51   ` Alistair Francis
2025-10-04 21:17   ` Guenter Roeck
2025-10-06  5:14     ` Sebastian Huber
2025-10-06 20:34       ` Guenter Roeck
2025-10-31  2:56         ` Alistair Francis
2025-10-31  7:58           ` Sebastian Huber
2025-10-31 14:17             ` Guenter Roeck
2025-03-19  6:13 ` [PATCH v3 4/6] hw/riscv: Allow direct start of kernel " Sebastian Huber
2025-04-04  2:00   ` Alistair Francis
2025-03-19  6:13 ` [PATCH v3 5/6] hw/riscv: Configurable MPFS CLINT timebase freq Sebastian Huber
2025-04-04  2:11   ` Alistair Francis
2025-03-19  6:13 ` [PATCH v3 6/6] hw/riscv: microchip_pfsoc: Rework documentation Sebastian Huber
2025-04-04  2:25   ` Alistair Francis
2025-04-04  2:33 ` [PATCH v3 0/6] Improve Microchip Polarfire SoC customization Alistair Francis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).