From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.2834.1796406404011849705 for ; Fri, 04 Dec 2026 09:46:44 -0800 Authentication-Results: mx.groups.io; dkim=fail reason="dkim: body hash did not verify" header.i=@arm.com header.s=foss header.b=UGGZJjsw; spf=pass (domain: arm.com, ip: 217.140.110.172, mailfrom: jon.mason@arm.com) Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id ACB5014BF for ; Fri, 4 Dec 2026 09:46:40 -0800 (PST) Received: from H24V3P4C17.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.121.207.14]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 5355A3F86F for ; Fri, 4 Dec 2026 09:46:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arm.com; s=foss; t=1796406403; bh=ofmADbveiGYMqQMctw0xswBBmtQhzbW6nEcqu2frooI=; h=From:To:Subject:Date:From; b=UGGZJjswimVPD7hd/vtA0ij1e2uRgDEUf7Dj+zFhE5cyUmsjzSYLBswgCUzeNpsKi yMnIqcVOUnwnTzUU/LDb13Ou1RPDuMbX7WUi5hrZdUiU0aen8GINcZlKrs6IBsIFEM CFSpamUK+DxBz853aClJFnBNn64UCuinBd3mkR7c= From: Jon Mason To: meta-arm@lists.yoctoproject.org Subject: [PATCH 1/2] arm-bsp: expand RDN2 and RDV2 FVP device tests Date: Fri, 4 Dec 2026 12:46:41 -0500 Message-ID: <20261204174642.60887-1-jon.mason@arm.com> X-Mailer: git-send-email 2.54.0 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by lin-tor-korg-lkml-alma10-1 with HTTPS for ; Fri, 04 Dec 2026 17:46:50 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/meta-arm/message/7233 Content-Type: text/plain; charset="utf-8" Enable CPU hotplug, RTC, watchdog, and networking checks for both reference design machines. Count ACPI CPUs through sysfs and accept the EFI RTC driver. The virtio RNG checks are enabled with the EDK2 source updates that add their ACPI device descriptions. Signed-off-by: Jon Mason AI-generated: ChatGPT (OpenAI) --- meta-arm-bsp/conf/machine/rdn2.conf | 2 +- meta-arm-bsp/conf/machine/rdv2.conf | 2 +- meta-arm/lib/oeqa/runtime/cases/fvp_devices.py | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/meta-arm-bsp/conf/machine/rdn2.conf b/meta-arm-bsp/conf/mach= ine/rdn2.conf index c9f3b26bb2e0..12cc1941b0c2 100644 --- a/meta-arm-bsp/conf/machine/rdn2.conf +++ b/meta-arm-bsp/conf/machine/rdn2.conf @@ -28,7 +28,7 @@ WKS_FILE_DEPENDS:append =3D " ${EXTRA_IMAGEDEPENDS}" TEST_TARGET =3D "OEFVPTarget" TEST_TARGET_IP =3D "127.0.0.1:2222" DEFAULT_TEST_SUITES:append =3D " fvp_boot fvp_devices" -TEST_FVP_DEVICES ?=3D "watchdog networking" +TEST_FVP_DEVICES ?=3D "cpu_hotplug rtc watchdog networking" =20 # FVP Config FVP_PROVIDER ?=3D "fvp-rdn2-native" diff --git a/meta-arm-bsp/conf/machine/rdv2.conf b/meta-arm-bsp/conf/mach= ine/rdv2.conf index b24c187a8664..39f40d4ed80b 100644 --- a/meta-arm-bsp/conf/machine/rdv2.conf +++ b/meta-arm-bsp/conf/machine/rdv2.conf @@ -30,7 +30,7 @@ WKS_FILE_DEPENDS:append =3D " ${EXTRA_IMAGEDEPENDS}" TEST_TARGET =3D "OEFVPTarget" TEST_TARGET_IP =3D "127.0.0.1:2222" DEFAULT_TEST_SUITES:append =3D " fvp_boot fvp_devices" -TEST_FVP_DEVICES ?=3D "watchdog networking" +TEST_FVP_DEVICES ?=3D "cpu_hotplug rtc watchdog networking" =20 # FVP Config FVP_PROVIDER ?=3D "fvp-rdv2-native" diff --git a/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py b/meta-arm/li= b/oeqa/runtime/cases/fvp_devices.py index 7dd50bde4031..abea7a51eebd 100644 --- a/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py +++ b/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py @@ -78,8 +78,8 @@ class FvpDevicesTest(OERuntimeTestCase): @skipIfNotInDataVar('TEST_FVP_DEVICES', 'cpu_hotplug', 'cpu_hotplug not included in BSP tests') def test_cpu_hotplug(self): - _, cpus =3D self.run_cmd('find /sys/firmware/devicetree/base/cpu= s/' - ' -name "cpu@*" -maxdepth 1 | wc -l') + _, cpus =3D self.run_cmd('find /sys/devices/system/cpu' + ' -maxdepth 1 -type d -name "cpu[0-9]*" |= wc -l') =20 try: count_cpus =3D int(cpus) @@ -113,7 +113,7 @@ class FvpDevicesTest(OERuntimeTestCase): @skipIfNotInDataVar('TEST_FVP_DEVICES', 'rtc', 'rtc device not included in BSP tests') def test_rtc(self): - self.check_devices("rtc", 1, ["rtc-pl031"]) + self.check_devices("rtc", 1, ["rtc-pl031", "rtc-efi"]) self.run_cmd('hwclock') =20 @OETestDepends(['ssh.SSHTest.test_ssh']) --=20 2.54.0 (Apple Git-157)