* [PATCH 1/2] arm-bsp: expand RDN2 and RDV2 FVP device tests
@ 2026-12-04 17:46 Jon Mason
2026-12-04 17:46 ` [PATCH 2/2] arm-bsp: remove FVP boot menu delays Jon Mason
0 siblings, 1 reply; 2+ messages in thread
From: Jon Mason @ 2026-12-04 17:46 UTC (permalink / raw)
To: meta-arm
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 <jon.mason@arm.com>
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/machine/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 = " ${EXTRA_IMAGEDEPENDS}"
TEST_TARGET = "OEFVPTarget"
TEST_TARGET_IP = "127.0.0.1:2222"
DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices"
-TEST_FVP_DEVICES ?= "watchdog networking"
+TEST_FVP_DEVICES ?= "cpu_hotplug rtc watchdog networking"
# FVP Config
FVP_PROVIDER ?= "fvp-rdn2-native"
diff --git a/meta-arm-bsp/conf/machine/rdv2.conf b/meta-arm-bsp/conf/machine/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 = " ${EXTRA_IMAGEDEPENDS}"
TEST_TARGET = "OEFVPTarget"
TEST_TARGET_IP = "127.0.0.1:2222"
DEFAULT_TEST_SUITES:append = " fvp_boot fvp_devices"
-TEST_FVP_DEVICES ?= "watchdog networking"
+TEST_FVP_DEVICES ?= "cpu_hotplug rtc watchdog networking"
# FVP Config
FVP_PROVIDER ?= "fvp-rdv2-native"
diff --git a/meta-arm/lib/oeqa/runtime/cases/fvp_devices.py b/meta-arm/lib/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 = self.run_cmd('find /sys/firmware/devicetree/base/cpus/'
- ' -name "cpu@*" -maxdepth 1 | wc -l')
+ _, cpus = self.run_cmd('find /sys/devices/system/cpu'
+ ' -maxdepth 1 -type d -name "cpu[0-9]*" | wc -l')
try:
count_cpus = 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')
@OETestDepends(['ssh.SSHTest.test_ssh'])
--
2.54.0 (Apple Git-157)
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [PATCH 2/2] arm-bsp: remove FVP boot menu delays
2026-12-04 17:46 [PATCH 1/2] arm-bsp: expand RDN2 and RDV2 FVP device tests Jon Mason
@ 2026-12-04 17:46 ` Jon Mason
0 siblings, 0 replies; 2+ messages in thread
From: Jon Mason @ 2026-12-04 17:46 UTC (permalink / raw)
To: meta-arm
Set the EFI disk selection timeout to zero in the shared FVP CI
fragment, and the U-Boot delay to zero for fvp-base. Keep the EFI
disk default in its WIC template for other builds.
Pass PcdPlatformBootTimeOut on the EDK2 build command line in CI.
This sets the EDK2 menu delay to zero without platform patches.
These zero-second timeouts speed up boots and reduce CI timeouts
on slow FVP hosts.
Signed-off-by: Jon Mason <jon.mason@arm.com>
AI-generated: ChatGPT (OpenAI)
---
ci/fvp.yml | 2 ++
meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/virtio-boot.cfg | 1 +
meta-arm/files/wic/efi-disk.wks.in | 2 +-
3 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/ci/fvp.yml b/ci/fvp.yml
index 0dc1e2602ab1..cad25f01c3ed 100644
--- a/ci/fvp.yml
+++ b/ci/fvp.yml
@@ -7,6 +7,8 @@ local_conf_header:
testimagefvp: |
LICENSE_FLAGS_ACCEPTED += "Arm-FVP-EULA"
IMAGE_CLASSES += "fvpboot"
+ EFI_DISK_BOOT_TIMEOUT = "0"
+ EDK2_EXTRA_BUILD:append = " --pcd gEfiMdePkgTokenSpaceGuid.PcdPlatformBootTimeOut=0"
networking_failing_tests: |
# These tests currently fail as the wrong IP for the build host is used
TEST_SUITES:remove = "opkg dnf"
diff --git a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/virtio-boot.cfg b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/virtio-boot.cfg
index 4d7763653200..8daa38cb99aa 100644
--- a/meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/virtio-boot.cfg
+++ b/meta-arm-bsp/recipes-bsp/u-boot/u-boot/fvp-base/virtio-boot.cfg
@@ -1 +1,2 @@
CONFIG_BOOTCOMMAND="run virtio_boot"
+CONFIG_BOOTDELAY=0
diff --git a/meta-arm/files/wic/efi-disk.wks.in b/meta-arm/files/wic/efi-disk.wks.in
index a21e5b7fa433..dcef5ea3c19c 100644
--- a/meta-arm/files/wic/efi-disk.wks.in
+++ b/meta-arm/files/wic/efi-disk.wks.in
@@ -8,4 +8,4 @@ part / --source rootfs --fstype=ext4 --label root --align 1024 --use-uuid
part swap --size 44 --label swap --fstype=swap --use-uuid
-bootloader --ptable gpt --timeout=5 --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE} ${@d.getVar('EFI_DISK_BOOT_ARGS') or ''}"
+bootloader --ptable gpt --timeout=${@d.getVar('EFI_DISK_BOOT_TIMEOUT') or '5'} --append="rootwait rootfstype=ext4 console=${KERNEL_CONSOLE} ${@d.getVar('EFI_DISK_BOOT_ARGS') or ''}"
--
2.54.0 (Apple Git-157)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-12-04 17:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-04 17:46 [PATCH 1/2] arm-bsp: expand RDN2 and RDV2 FVP device tests Jon Mason
2026-12-04 17:46 ` [PATCH 2/2] arm-bsp: remove FVP boot menu delays Jon Mason
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.