mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-03 22:23:52 -09:00
Commitf439b47ed"boot/grub2: add RISC-V 64bit EFI support" [1] introduced the grub2 RISC-V UEFI support. At that time, it was not possible to have a runtime test for this. qemu-system-riscv64 is not in the Buildroot Docker reference image, and the base distribution (Debian 11) does not provide a sufficiently recent version. A qemu-system-riscv64 >= 8.0.0 is needed. Commit0d4177598"support/testing/infra/emulator.py: add build host dir to qemu search path" [2] added the capability to use the Buildroot host-qemu package inside runtime test. With this support, it is now possible to add a runtime test for a grub2 UEFI boot on RISC-V 64bit. Also, due to an upstream edk2 git submodule issue, this commit includes a workaround to use https://sources.buildroot.net for this test. See [3]. [1]f439b47ed6[2]0d4177598c[3]47fc9e5509Signed-off-by: Julien Olivain <ju.o@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>