]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/arm/aspeed: add Catalina machine type
authorPatrick Williams <patrick@stwcx.xyz>
Thu, 19 Jun 2025 15:14:58 +0000 (11:14 -0400)
committerCédric Le Goater <clg@redhat.com>
Thu, 3 Jul 2025 11:41:57 +0000 (13:41 +0200)
commit8e076a3f1b1ed0fc009ee25796e45c44b4cf74f9
tree1354508ed887a0cd744bb6e799c2bf594ae3a560
parent126c56b067d6a68840542f8dc7afdec9b69caa83
hw/arm/aspeed: add Catalina machine type

Add the 'catalina-bmc' machine type based on the kernel DTS[1] as of
6.16-rc2.  The i2c model is as complete as the current QEMU models
support, but in some cases I substituted devices that are close enough
for present functionality.  Strap registers are were verified with
hardware.

This has been tested with an openbmc image built from [2].

Add a functional test in line with Bletchley, pointing at an image
obtained from the OpenBMC Jenkins server.

[1]: https://github.com/torvalds/linux/blob/v6.16-rc2/arch/arm/boot/dts/aspeed/aspeed-bmc-facebook-catalina.dts
[2]: https://github.com/openbmc/openbmc/commit/5bc73ec261f981d5e586bda5ac78eb0cbd5f92b0

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20250619151458.2831859-1-patrick@stwcx.xyz
Signed-off-by: Cédric Le Goater <clg@redhat.com>
hw/arm/Kconfig
hw/arm/aspeed.c
tests/functional/meson.build
tests/functional/test_arm_aspeed_catalina.py [new file with mode: 0755]