Skip to content

Add model of the Arm Musca devboards

Peter Maydell qemu-arm qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 21 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14hw/arm/armsse: Fix miswiring of expansion IRQshw/arm/armsse.c+1 -11 reply
2/14hw/misc/tz-ppc: Support having unused ports in the middle of the rangehw/misc/tz-ppc.c include/hw/misc/tz-ppc.h+39 -11 reply
3/14hw/timer/pl031: Allow use as an embedded-struct deviceMAINTAINERS hw/timer/pl031.c include/hw/timer/pl031.h+46 -242 replies
4/14hw/timer/pl031: Convert to using trace eventshw/timer/pl031.c hw/timer/trace-events+36 -252 replies
5/14hw/char/pl011: Allow use as an embedded-struct devicehw/char/pl011.c include/hw/char/pl011.h+36 -292 replies
6/14hw/char/pl011: Support all interrupt lineshw/char/pl011.c include/hw/char/pl011.h+45 -31 reply
7/14hw/char/pl011: Use '0x' prefix when logging hex numbershw/char/pl011.c+2 -22 replies
8/14hw/arm/armsse: Document SRAM_ADDR_WIDTH property in header commentinclude/hw/arm/armsse.h+2 -01 reply
9/14hw/arm/armsse: Allow boards to specify init-svtorhw/arm/armsse.c include/hw/arm/armsse.h+7 -42 replies
10/14hw/arm/musca.c: Implement models of the Musca-A and -B1 boardsMAINTAINERS default-configs/arm-softmmu.mak hw/arm/Makefile.objs +1 more+205 -01 reply
11/14hw/arm/musca: Add PPCshw/arm/musca.c+289 -02 replies
12/14hw/arm/musca: Add MPCshw/arm/musca.c+147 -82 replies
13/14hw/arm/musca: Wire up PL031 RTChw/arm/musca.c+23 -31 reply
14/14hw/arm/musca: Wire up PL011 UARTshw/arm/musca.c+29 -51 reply

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-DaudéRichard Henderson
1/14R-b R-b
2/14R-b
3/14R-b R-b
4/14R-b R-b
5/14R-b R-b
6/14R-b
7/14R-b R-b
8/14R-b
9/14R-b R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-arm] [PATCH 00/14] Add model of the Arm Musca devboards

This patchset adds a model of the Arm Musca devboards ('musca-a' and 'musca-b1').
These boards are described here:
https://developer.arm.com/products/system-design/development-boards/iot-test-chips-and-boards/musca-a-test-chip-board
https://developer.arm.com/products/system-design/development-boards/iot-test-chips-and-boards/musca-b-test-chip-board

They're based on the SSE-200 subsystem for embedded which we already have a model of. The two boards are somewhat similar but have a different layout of devices (Musca-B1 puts them behind a more sophisticated PPC setup).

I've tested Musca-A with the Zephyr RTOS's "hello world" program, and Musca-B1 with Arm Trusted Firmware M. (Arm-TFM does in theory support also Musca-A, but in practice it requires proper QSPI flash device support there; Zephyr currently supports only Musca-A.)

Zephyr getting started guide:
https://docs.zephyrproject.org/latest/getting_started/index.html
Arm-TFM build instructions:
https://git.trustedfirmware.org/trusted-firmware-m.git/about/docs/user_guides/tfm_build_instruction.md

The first half of the patchset is some fairly straightforward bugfixes and enhancements to various devices; the second half does the actual implementation.

thanks
-- PMM

Peter Maydell (14):
hw/arm/armsse: Fix miswiring of expansion IRQs hw/misc/tz-ppc: Support having unused ports in the middle of the range hw/timer/pl031: Allow use as an embedded-struct device hw/timer/pl031: Convert to using trace events hw/char/pl011: Allow use as an embedded-struct device hw/char/pl011: Support all interrupt lines
hw/char/pl011: Use '0x' prefix when logging hex numbers hw/arm/armsse: Document SRAM_ADDR_WIDTH property in header comment hw/arm/armsse: Allow boards to specify init-svtor hw/arm/musca.c: Implement models of the Musca-A and -B1 boards hw/arm/musca: Add PPCs
hw/arm/musca: Add MPCs
hw/arm/musca: Wire up PL031 RTC
hw/arm/musca: Wire up PL011 UARTs

 hw/arm/Makefile.objs            |   1 +
 include/hw/arm/armsse.h         |   5 +
 include/hw/char/pl011.h         |  34 ++
 include/hw/misc/tz-ppc.h        |   8 +-
 include/hw/timer/pl031.h        |  44 +++
 hw/arm/armsse.c                 |  10 +-
 hw/arm/musca.c                  | 669 ++++++++++++++++++++++++++++++++
 hw/char/pl011.c                 |  81 ++--
 hw/misc/tz-ppc.c                |  32 ++
 hw/timer/pl031.c                |  80 ++--
 MAINTAINERS                     |   7 +
 default-configs/arm-softmmu.mak |   1 +
 hw/timer/trace-events           |   6 +
 13 files changed, 890 insertions(+), 88 deletions(-)
 create mode 100644 include/hw/timer/pl031.h
 create mode 100644 hw/arm/musca.c
Signature · 1 line
2.20.1