From: Jamin Lin <jaminlin1207@gmail.com>
To: Emmanuel Blot <emmanuel.blot@free.fr>
Cc: qemu-devel@nongnu.org, "Cédric Le Goater" <clg@kaod.org>,
"Peter Maydell" <peter.maydell@linaro.org>,
"Steven Lee" <steven_lee@aspeedtech.com>,
"Troy Lee" <leetroy@gmail.com>,
"Jamin Lin" <jamin_lin@aspeedtech.com>,
"Kane Chen" <kane_chen@aspeedtech.com>,
"Andrew Jeffery" <andrew@codeconstruct.com.au>,
"Joel Stanley" <joel@jms.id.au>,
"Pierrick Bouvier" <pierrick.bouvier@oss.qualcomm.com>,
qemu-arm@nongnu.org, "Patrick Leis" <venture@google.com>,
"Fabiano Rosas" <farosas@suse.de>,
"Laurent Vivier" <lvivier@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
qemu-ppc@nongnu.org, qemu-riscv@nongnu.org,
"Philippe Mathieu-Daudé" <philmd@oss.qualcomm.com>
Subject: Re: [PATCH v3 50/50] tests/functional/arm: minerva: add BMC boot test
Date: Fri, 16 Oct 2026 17:29:21 +0800 [thread overview]
Message-ID: <atHucTPkBkcPoMRu@JaminLin-PC.aspeed.com> (raw)
In-Reply-To: <20261015-bmc-minerva-v3-50-7d50c8a108e5@free.fr>
On Thu, Oct 15, 2026 at 11:28:37AM +0200, Emmanuel Blot via qemu development wrote:
> Add a functional test booting the Facebook Minerva BMC machine.
>
> Note: The boot image currently lives on a personal fork; a TODO in the
> test notes it should be relocated under legoater/qemu-aspeed-boot before
> upstreaming.
>
> Signed-off-by: Emmanuel Blot <emmanuel.blot@free.fr>
> ---
> tests/functional/arm/meson.build | 2 ++
> tests/functional/arm/test_aspeed_minerva.py | 30 +++++++++++++++++++++++++++++
> 2 files changed, 32 insertions(+)
>
> diff --git a/tests/functional/arm/meson.build b/tests/functional/arm/meson.build
> index 61b00932db..dd1ddf7f6f 100644
> --- a/tests/functional/arm/meson.build
> +++ b/tests/functional/arm/meson.build
> @@ -16,6 +16,7 @@ test_arm_timeouts = {
> 'aspeed_bletchley' : 480,
> 'aspeed_catalina' : 480,
> 'aspeed_gb200nvl_bmc' : 480,
> + 'aspeed_minerva' : 480,
> 'aspeed_rainier' : 480,
> 'bpim2u' : 500,
> 'collie' : 180,
> @@ -51,6 +52,7 @@ tests_arm_system_thorough = [
> 'aspeed_bletchley',
> 'aspeed_catalina',
> 'aspeed_gb200nvl_bmc',
> + 'aspeed_minerva',
> 'aspeed_rainier',
> 'bpim2u',
> 'canona1100',
> diff --git a/tests/functional/arm/test_aspeed_minerva.py b/tests/functional/arm/test_aspeed_minerva.py
> new file mode 100644
> index 0000000000..925a82b139
> --- /dev/null
> +++ b/tests/functional/arm/test_aspeed_minerva.py
> @@ -0,0 +1,30 @@
> +#!/usr/bin/env python3
> +#
> +# Functional test that boots the ASPEED machines
> +#
> +# Copyright (c) 2026 Meta Platforms, Inc. and affiliates.
> +#
> +# SPDX-License-Identifier: GPL-2.0-or-later
> +
> +from qemu_test import Asset
> +from aspeed import AspeedTest
> +
> +
> +class MinervaMachine(AspeedTest):
> +
> + # TODO: the boot image currently lives on a personal fork; move it under
> + # legoater/qemu-aspeed-boot before upstreaming.
> + ASSET_MINERVA_FLASH = Asset(
> + 'https://github.com/eblot/qemu-aspeed-boot/raw/refs/heads/minerva-bmc/images/minerva-bmc/openbmc-20260720025047/'
> + 'obmc-phosphor-image-minerva-20260720025047.static.mtd.xz',
> + 'bd713df39d3c09846299a2377315465187a4dcd33c29d3b3d683ef13b59f36bb')
> +
> + def test_arm_ast2600_minerva_openbmc(self):
> + image_path = self.uncompress(self.ASSET_MINERVA_FLASH)
> +
> + self.do_test_arm_aspeed_openbmc('minerva-bmc', image=image_path,
> + uboot='2019.04', cpu_id='0xf00',
> + soc='AST2600 rev A3')
> +
> +if __name__ == '__main__':
> + AspeedTest.main()
>
> --
> 2.53.0-Meta
>
>
LGTM
Reviewed-by: Jamin Lin <jaminlin1207@gmail.com>
prev parent reply other threads:[~2026-10-16 9:30 UTC|newest]
Thread overview: 55+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-15 9:27 [PATCH v3 00/50] Aspeed: I2C device models and the Minerva BMC machine Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 01/50] docs/system/arm/aspeed: add the catalina-bmc machine Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 02/50] docs/system/arm/aspeed: add the sanmiguel-bmc machine Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 03/50] hw/arm: sanmiguel: remove the second SPI flash controller Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 04/50] hw/i2c: pca954x: drop unused header inclusions Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 05/50] hw/i2c: pca954x: add PCA9545 4-channel mux model Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 06/50] hw/i2c: pca954x: migrate mux state Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 07/50] tests/qtest: pca9545: add mux test Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 08/50] hw/rtc: ds1338: move TYPE_DS1338 to a public header Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 09/50] hw: ds1338: use the TYPE_DS1338 constant instead of the "ds1338" string Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 10/50] hw/rtc: ds1338: implement Resettable reset Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 11/50] hw/rtc: ds1338: prefix the file-local helpers with ds1338_ Emmanuel Blot via qemu development
2026-10-15 9:27 ` [PATCH v3 12/50] hw/rtc: ds1338: parameterise the register map via a device class Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 13/50] hw/rtc: ds1338: program the clock from the time registers Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 14/50] hw/rtc: ds1338: implement the DS1338 clock-halt bit Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 15/50] hw/rtc: ds1338: refresh the user registers on a read rollover only Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 16/50] hw/rtc: ds1338: add a persist-on-reset property Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 17/50] tests/qtest: ds1338: cover the DS1338-specific register map Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 18/50] tests/qtest: ds1338: cover the power-on register defaults Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 19/50] tests/qtest: ds1338: cover the clock-halt bit Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 20/50] tests/qtest: ds1338: cover persist-on-reset Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 21/50] tests/qtest: ds1338: cover the reserved bits of the time registers Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 22/50] hw/rtc: ds1338: add DS1339 variant Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 23/50] tests/qtest: ds1339: add RTC test Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 24/50] tests/qtest: ds1339: cover power-on defaults and reserved-bit masking Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 25/50] tests/qtest: ds1339: cover oscillator stop/restart and time programming Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 26/50] tests/qtest: ds1339: cover the Century bit Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 27/50] tests/qtest: ds1339: cover the end-of-month rollover Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 28/50] tests/qtest: ds1339: cover the 12-hour format Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 29/50] tests/qtest: ds1339: cover the day-of-week counter Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 30/50] tests/qtest: ds1339: cover persist-on-reset Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 31/50] tests/qtest: ds1339: cover the migration round trip Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 32/50] hw/sensor: ina230: add current/voltage/power monitor Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 33/50] tests/qtest: ina230: add current/voltage/power monitor test Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 34/50] tests/qtest: ina230: cover voltage injection and power derivation Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 35/50] tests/qtest: ina230: cover the ALERT limit functions and CVRF Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 36/50] tests/qtest: ina230: cover the injection-property limits Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 37/50] tests/qtest: ina230: cover operating modes and triggered conversions Emmanuel Blot via qemu development
2026-10-15 14:19 ` Miles Glenn
2026-10-15 9:28 ` [PATCH v3 38/50] tests/qtest: ina230: cover ALERT latch persistence Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 39/50] tests/qtest: ina230: cover a cleared calibration per channel Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 40/50] hw/sensor: ina238: add current/voltage/power monitor Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 41/50] tests/qtest: ina238: add current/voltage/power monitor test Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 42/50] tests/qtest: ina238: cover voltage/temperature injection and derivation Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 43/50] tests/qtest: ina238: cover the ALERT path and conversion-ready flag Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 44/50] tests/qtest: ina238: cover the injection-property limits Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 45/50] tests/qtest: ina238: cover the operating modes Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 46/50] tests/qtest: ina238: cover conversion-ready and alert-latch semantics Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 47/50] tests/qtest: ina238: cover a cleared calibration per channel Emmanuel Blot via qemu development
2026-10-15 9:28 ` [PATCH v3 48/50] hw/arm: minerva: add Facebook BMC machine Emmanuel Blot via qemu development
2026-10-16 9:32 ` Jamin Lin
2026-10-15 9:28 ` [PATCH v3 49/50] hw/arm: minerva: populate EEPROM data Emmanuel Blot via qemu development
2026-10-16 9:25 ` Jamin Lin
2026-10-15 9:28 ` [PATCH v3 50/50] tests/functional/arm: minerva: add BMC boot test Emmanuel Blot via qemu development
2026-10-16 9:29 ` Jamin Lin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=atHucTPkBkcPoMRu@JaminLin-PC.aspeed.com \
--to=jaminlin1207@gmail.com \
--cc=andrew@codeconstruct.com.au \
--cc=clg@kaod.org \
--cc=emmanuel.blot@free.fr \
--cc=farosas@suse.de \
--cc=jamin_lin@aspeedtech.com \
--cc=joel@jms.id.au \
--cc=kane_chen@aspeedtech.com \
--cc=leetroy@gmail.com \
--cc=lvivier@redhat.com \
--cc=pbonzini@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=philmd@oss.qualcomm.com \
--cc=pierrick.bouvier@oss.qualcomm.com \
--cc=qemu-arm@nongnu.org \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=qemu-riscv@nongnu.org \
--cc=steven_lee@aspeedtech.com \
--cc=venture@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox