cbmk/config
Leah Rowe 7f150c3e4f GRUB: Mark E820 reserved on coreboot memory
See, coreboot bug report:

https://ticket.coreboot.org/issues/590

We hadn't noticed this for quite a while, since we always
just booted with iomem=relaxed when needing to run cbmem,
since in practise it was always combined with other tasks
that require access to lower memory.

GRUB currently matches coreboot's own mmap for cbmem, but
for example SeaBIOS marks cbmem as E820 reserved. Therefore,
this change replicates the SeaBIOS behaviour.

Without this patch, Linux needs to boot with iomem=relaxed
for cbmem access, for example when running ./cbmem -1

With this patch, cbmem is now accessible regardless. This
patch also prevents Linux from overwriting parts of CBMEM.

Thanks go to Paul Menzel, who wrote this GRUB patch.

Thanks also go to Nicholas Chin, who provided testing, all
the way from Coreboot 25.03 back to Coreboot 4.20. It seems
that this is just something the payloads have to handle.

This means that both SeaBIOS and GRUB no longer have this
bug, in Libreboot; now what remains is to replicate the
test with our U-Boot payload.

Signed-off-by: Leah Rowe <leah@libreboot.org>
2025-05-05 07:36:03 +01:00
..
coreboot bring coreboot revs in sync with libreboot 25.04 2025-04-30 19:49:55 +01:00
data mk: include rom.sh directly 2025-05-04 17:18:45 +01:00
dependencies dependencies/debian: Fix libusb package name 2025-04-30 15:47:12 +01:00
flashprog flashprog: Disable -Werror 2025-01-07 00:12:51 +00:00
git serprog: Remove pico2 support for the time being 2025-04-30 15:49:25 +01:00
grub GRUB: Mark E820 reserved on coreboot memory 2025-05-05 07:36:03 +01:00
ifd bring coreboot revs in sync with libreboot 25.04 2025-04-30 19:49:55 +01:00
memtest86plus/patches Canoeboot 20231026 release 2023-10-27 08:21:04 +01:00
pcsx-redux add spdx headers to various config files 2025-01-07 00:02:07 +00:00
pico-sdk add pico-sdk backport patch fixing gcc 14.x 2025-04-30 15:49:37 +01:00
seabios/default Restore SeaBIOS 9029a010 update, but with AHCI fix 2025-05-02 02:26:06 +01:00
snippet rom.sh: support making pcsx-redux bios release 2024-10-31 19:21:09 +00:00
stm32-vserprog/patches Canoeboot 20231026 release 2023-10-27 08:21:04 +01:00
submodule Canoeboot 25.04 Corny Calamity 2025-04-30 19:50:05 +01:00
u-boot Canoeboot 25.04 Corny Calamity 2025-04-30 19:50:05 +01:00
uefitool/patches uefitool: Only define ACCESSPERMS on *nix 2024-08-14 21:48:53 +01:00