From: Thomas Perale via buildroot <buildroot@buildroot.org>
To: Julien Olivain <ju.o@free.fr>
Cc: Thomas Perale <thomas.perale@mind.be>, buildroot@buildroot.org
Subject: Re: [Buildroot] [PATCH 2/3] support/testing: boot/test_grub: remove 32bit EFI test
Date: Sat, 14 Mar 2026 08:53:17 +0100 [thread overview]
Message-ID: <20260314075317.14451-1-thomas.perale@mind.be> (raw)
In-Reply-To: <20260124131337.1022030-2-ju.o@free.fr>
In reply of:
> EDK2 removed OVMF IA32 support in commit [1], which is included in
> version edk2-stable202511. This commit removes the test relying on it.
>
> [1] https://github.com/tianocore/edk2/commit/1fb88ffe284782cc79e306306b8d19829b6248b7
>
> Signed-off-by: Julien Olivain <ju.o@free.fr>
Applied to 2025.11.x & 2026.02.x. Thanks
> ---
> support/testing/tests/boot/test_grub.py | 50 -------------------------
> 1 file changed, 50 deletions(-)
>
> diff --git a/support/testing/tests/boot/test_grub.py b/support/testing/tests/boot/test_grub.py
> index 7ce7066875..061bfc9a2f 100644
> --- a/support/testing/tests/boot/test_grub.py
> +++ b/support/testing/tests/boot/test_grub.py
> @@ -32,56 +32,6 @@ class TestGrubi386BIOS(infra.basetest.BRTest):
> self.emulator.login()
>
>
> -class TestGrubi386EFI(infra.basetest.BRTest):
> - config = \
> - """
> - BR2_x86_core2=y
> - BR2_TOOLCHAIN_EXTERNAL=y
> - BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_CORE2_GLIBC_STABLE=y
> - BR2_ROOTFS_POST_BUILD_SCRIPT="board/pc/post-build.sh {}"
> - BR2_ROOTFS_POST_IMAGE_SCRIPT="board/pc/post-image-efi.sh"
> - BR2_LINUX_KERNEL=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION=y
> - BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE="4.19.204"
> - BR2_LINUX_KERNEL_USE_CUSTOM_CONFIG=y
> - BR2_LINUX_KERNEL_CUSTOM_CONFIG_FILE="board/pc/linux.config"
> - BR2_LINUX_KERNEL_INSTALL_TARGET=y
> - BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
> - BR2_PACKAGE_EFIVAR=y
> - BR2_TARGET_ROOTFS_EXT2=y
> - BR2_TARGET_EDK2=y
> - BR2_TARGET_GRUB2=y
> - BR2_TARGET_GRUB2_I386_EFI=y
> - BR2_TARGET_GRUB2_INSTALL_TOOLS=y
> - BR2_PACKAGE_HOST_GENIMAGE=y
> - BR2_PACKAGE_HOST_MTOOLS=y
> - BR2_PACKAGE_HOST_DOSFSTOOLS=y
> - """.format(infra.filepath("tests/boot/test_grub/post-build.sh"))
> -
> - def test_run(self):
> - hda = os.path.join(self.builddir, "images", "disk.img")
> - bios = os.path.join(self.builddir, "images", "OVMF.fd")
> - # In QEMU v5.1.0 up to v7.2.0, the CPU hotplug register block misbehaves.
> - # EDK2 hang if the bug is detected in Qemu after printing errors to IO port 0x402
> - # (requires BR2_TARGET_EDK2_OVMF_DEBUG_ON_SERIAL to see them)
> - # The Docker image used by the Buildroot gitlab-ci uses Qemu 5.2.0, the workaround
> - # can be removed as soon as the Docker image is updated to provided Qemu >= 8.0.0.
> - # https://github.com/tianocore/edk2/commit/bf5678b5802685e07583e3c7ec56d883cbdd5da3
> - # http://lists.busybox.net/pipermail/buildroot/2023-July/670825.html
> - qemu_fw_cfg = "name=opt/org.tianocore/X-Cpuhp-Bugcheck-Override,string=yes"
> - self.emulator.boot(arch="i386", options=["-bios", bios, "-hda", hda, "-fw_cfg", qemu_fw_cfg])
> - self.emulator.login()
> -
> - cmd = "modprobe efivarfs"
> - self.assertRunOk(cmd)
> -
> - cmd = "mount -t efivarfs none /sys/firmware/efi/efivars"
> - self.assertRunOk(cmd)
> -
> - cmd = "efivar -l"
> - self.assertRunOk(cmd)
> -
> -
> class TestGrubX8664EFI(infra.basetest.BRTest):
> config = \
> """
> --
> 2.52.0
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
next prev parent reply other threads:[~2026-03-14 7:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-24 13:13 [Buildroot] [PATCH 1/3] support/testing: fs/test_iso9660: remove 32bit EFI tests Julien Olivain via buildroot
2026-01-24 13:13 ` [Buildroot] [PATCH 2/3] support/testing: boot/test_grub: remove 32bit EFI test Julien Olivain via buildroot
2026-03-14 7:53 ` Thomas Perale via buildroot [this message]
2026-01-24 13:13 ` [Buildroot] [PATCH 3/3] boot/edk2: bump to version edk2-stable202511 Julien Olivain via buildroot
2026-02-01 21:21 ` Romain Naour via buildroot
2026-02-01 21:53 ` Julien Olivain via buildroot
2026-02-02 9:51 ` Romain Naour via buildroot
2026-02-02 14:19 ` Julien Olivain via buildroot
2026-03-04 21:50 ` Romain Naour via buildroot
2026-03-14 7:53 ` [Buildroot] [PATCH 1/3] support/testing: fs/test_iso9660: remove 32bit EFI tests Thomas Perale via buildroot
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=20260314075317.14451-1-thomas.perale@mind.be \
--to=buildroot@buildroot.org \
--cc=ju.o@free.fr \
--cc=thomas.perale@mind.be \
/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