buildroot/boot
Romain Naour cc0823c2d1 boot/edk2: bump to version edk2-stable202405
Release notes:

  https://github.com/tianocore/edk2/releases/tag/edk2-stable202405

We can't bump to edk2-stable202408 yet due to a runtime issue while
testing qemu_aarch64_sbsa_defconfig following the switch generic
ArmPsciResetSystemLib [1]

  ERROR:   sbsa_sip_smc_handler: unhandled SMC (0xc20000ca) (function id: 202)

Qemu 9.0/9.1 is using a slightly older edk2 firmware based on
edk2-stable202405 release [2] that contains a commit [3] fixing a
bootloader crash produced with qemu_aarch64_sbsa_defconfig [4] since
Qemu 9.0.

From [5]:
"The version of the sbsa-ref EDK2 firmware we used to use in this test
had a bug where it might make an unaligned access to the framebuffer,
which causes a guest crash on newer versions of QEMU where we enforce
the architectural requirement that unaligned accesses to Device memory
should take an exception."

This commit [5] is backported to edk2-stable202405.

For the same reason, we have to update edk2-platforms to a specific
version [6]:

"QemuSbsa: enable WriteCombine for the FrameBuffer
QEMU no longer permits misaligned access to device memory, which breaks
QemuVideoDxe on SbsaQemu.

c1d1910be6e04a8b1a73090cf2881fb698947a6e commit in EDK2 fixed it by
enabling WriteCombine for Framebuffer memory. This change enables that
fix."

As a side note, the edk2-non-osi package does not need to be updated, so
it is left untouched.

Finally, this EDK2 version requires a recent Qemu version. The version
included in the reference Docker image (5.2.0) is too old and will not
allow to start this EDK2 version. Therefore, this bump is known to be
incompatible with runtime tests which are using EDK2 on Aarch64
architecture. At the authoring time of this commit, broken tests are:
- tests.boot.test_edk2
- tests.boot.test_grub.TestGrubAArch64EFI
- tests.package.test_fwts

Note that the EDK2/Qemu incompatibility is only affecting Aarch64
tests. Other tests using EDK2 on i386 or x86_64 are not affected.

To prevent this commit introducing broken runtime tests, those have
been disabled in a previous commit.

[1] 2d0668d399
[2] 24a7cd6a7c
[3] c1d1910be6
[4] https://gitlab.com/buildroot.org/buildroot/-/jobs/7764483764
[5] 6c84daac58
[6] 3f08401365

Fixes:
https://gitlab.com/buildroot.org/buildroot/-/jobs/7764483764

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Waldemar Brodkorb <wbx@openadk.org>
[Julien: add comments in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
2024-11-04 23:03:44 +01:00
..
afboot-stm32 boot/afboot-stm32: disable stack-protector 2023-02-08 16:54:35 +01:00
arm-trusted-firmware boot/arm-trusted-firmware/Config.in: fix 'platform' typo 2024-09-21 20:39:40 +02:00
at91bootstrap3 boot/at91bootstrap3: add svn repository method 2021-12-30 17:36:45 +01:00
barebox boot/barebox/barebox.mk: fix 'allows' typo 2024-09-21 20:39:42 +02:00
binaries-marvell boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
boot-wrapper-aarch64 boot/boot-wrapper-aarch64: bump version 2023-02-23 23:43:32 +01:00
edk2 boot/edk2: bump to version edk2-stable202405 2024-11-04 23:03:44 +01:00
grub2 boot/grub2: replace host-python3 with BR2_PYTHON3_HOST_DEPENDENCY 2024-10-03 11:30:21 +02:00
mv-ddr-marvell boot/mv-ddr-marvell: fix build with gcc 12 2023-08-12 16:23:21 +02:00
mxs-bootlets boot/mxs-bootlets: fix build without any bootstream 2023-02-27 17:03:15 +01:00
opensbi boot/opensbi: Bump to version 1.3 2023-06-26 19:02:49 +02:00
optee-os boot/optee-os/optee-os.mk: fix 'PLATFORM' typo 2024-09-21 20:39:46 +02:00
s500-bootloader boot, package, support, toolchain: switch to 2 spaces for the hash file 2022-07-28 23:05:23 +02:00
shim boot/shim/shim.mk: fix 'deactivate' typo 2024-09-21 20:39:47 +02:00
syslinux boot/syslinux: fix building with GCC 14.x 2024-07-10 22:20:25 +02:00
ti-k3-boot-firmware boot/ti-k3-boot-firmware: bump to version 09.02.00.009 2024-05-06 22:04:51 +02:00
ti-k3-r5-loader boot/ti-k3-r5-loader: bump to v2024.10 2024-10-22 22:53:04 +02:00
uboot boot/uboot: update link to the U-Boot docs 2024-10-22 22:52:32 +02:00
vexpress-firmware {boot, package}: update hashes for generated archives 2024-05-09 22:45:11 +02:00
xilinx-prebuilt boot/xilinx-prebuilt: support future AMD Vivado versions 2024-07-29 19:43:16 +02:00
common.mk Fix build reproducibility in Make 3.82 2013-09-06 23:27:42 +02:00
Config.in boot/beaglev-ddrinit: remove package 2024-07-13 16:53:04 +02:00