From a5821cdaa103965bcf7795b839082a1d5b39e031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vincent=20Stehl=C3=A9?= Date: Tue, 22 Apr 2025 10:59:47 +0200 Subject: [PATCH] support/testing: test_edk2: add macchiatobin build test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add an EDK II build test for the MACCHIATObin platform. Signed-off-by: Vincent Stehlé Cc: Dick Olsson Cc: Julien Olivain Signed-off-by: Julien Olivain --- support/testing/tests/boot/test_edk2.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/support/testing/tests/boot/test_edk2.py b/support/testing/tests/boot/test_edk2.py index 4e0942b3a4..19c6d9c482 100644 --- a/support/testing/tests/boot/test_edk2.py +++ b/support/testing/tests/boot/test_edk2.py @@ -149,3 +149,21 @@ class TestEdk2BuildQemuSbsa(TestEdk2BuildBase): def test_run(self) -> None: self.assertBinariesExist("SBSA_FLASH0.fd", "SBSA_FLASH1.fd", "fip.bin") + + +class TestEdk2BuildSolidrunArmada80x0mcbin(TestEdk2BuildBase): + config = TestEdk2BuildBase.base_config + \ + """ + BR2_aarch64=y + BR2_cortex_a72=y + BR2_TARGET_EDK2_PLATFORM_SOLIDRUN_ARMADA80X0MCBIN=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE=y + BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM="a80x0_mcbin" + BR2_TARGET_ARM_TRUSTED_FIRMWARE_EDK2_AS_BL33=y + BR2_TARGET_BINARIES_MARVELL=y + BR2_TARGET_MV_DDR_MARVELL=y + """ + + def test_run(self) -> None: + self.assertBinariesExist("ARMADA_EFI.fd", "fip.bin", "ble.bin", + "scp-fw.bin")