]> git.openpandora.org Git - pandora-u-boot.git/commitdiff
configs: qemu_arm64: disable SEMIHOSTING
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Tue, 9 Dec 2025 23:59:05 +0000 (00:59 +0100)
committerTom Rini <trini@konsulko.com>
Fri, 2 Jan 2026 21:51:54 +0000 (15:51 -0600)
Semihosting allows a virtual machine to write to the host file system.
Such dangerous settings should not be in a defconfig.

Move it to a CI configuration override.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
.azure-pipelines.yml
.gitlab-ci.yml
configs/qemu_arm64_defconfig

index 25b0e4c985c895f1017453acd22b29df1ca76848..81a36da7114571dbab47f2d5422c94e1a3d58870 100644 (file)
@@ -504,6 +504,7 @@ stages:
         qemu_arm64:
           TEST_PY_BD: "qemu_arm64"
           TEST_PY_TEST_SPEC: "not sleep"
+          OVERRIDE: "-a CONFIG_SEMIHOSTING=y"
         qemu_arm64_lwip:
           TEST_PY_BD: "qemu_arm64_lwip"
           TEST_PY_TEST_SPEC: "test_net_dhcp or test_net_ping or test_net_tftpboot"
index 08bea0dd234224b43cabd1da36dad0f786c77591..28a32f9f4d3aac61efccaf668fd1e9a31bd8b480 100644 (file)
@@ -387,6 +387,7 @@ qemu_arm64 test.py:
   variables:
     TEST_PY_BD: "qemu_arm64"
     TEST_PY_TEST_SPEC: "not sleep"
+    OVERRIDE: "-a CONFIG_SEMIHOSTING=y"
   <<: *buildman_and_testpy_dfn
 
 qemu_arm64_lwip test.py:
index 12ed6b6123928791dff26ee2b8b2fd59a1c035c2..fd0bdad2d6232a50556389e8d8ac123065ef4e90 100644 (file)
@@ -71,7 +71,6 @@ CONFIG_SYSRESET_PSCI=y
 CONFIG_TPM2_MMIO=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_EHCI_PCI=y
-CONFIG_SEMIHOSTING=y
 CONFIG_MBEDTLS_LIB=y
 CONFIG_TPM=y
 CONFIG_TPM_PCR_ALLOCATE=y