Actions
Bug #590
openWith GRUB payload cbmem in GNU/Linux fails with `Table not found.`
Start date:
04/10/2025
Due date:
% Done:
0%
Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:
Description
See emulation/qemu-i440fx/25.03-154-g9e757b3396/2025-04-10T04_35_41Z in the board status repository for the configuration.
Building coreboot (25.03-154-g9e757b3396) for emulation/qemu-i440fx with GRUB (master) as payload, cbmem does not find the CBMEM tables and aborts with Table not found..
qemu-system-x86_64 -bios /dev/shm/coreboot/build/coreboot.rom -L /dev/shm -enable-kvm -smp cpus=2 -m 1G -hda /dev/shm/debian-32.img -serial stdio -net nic -net user,hostfwd=tcp::22222-:22
Using SeaBIOS, it works.
Files
Related links
In the GRUB command line, running GRUB’s cbmemc, it outputs the CBMEM console content. So, it seems to be overwritten later somehow.
Updated by Paul Menzel 7 months ago
I faintly remember something about E820 tables. Found it, for FILO, commit 389be2bdf8ee (x86/linux_load: Map E820 types) addressed this.
Updated by Paul Menzel 7 months ago
- File 0001-kern-coreboot-mmap-Map-to-reserved.patch 0001-kern-coreboot-mmap-Map-to-reserved.patch added
- Subject changed from emulation/qemu-i440fx with GRUB payload: cbmem fails with `Table not found.` to With GRUB payload cbmem in GNU/Linux fails with `Table not found.`
Indeed, adding iomem=relaxed to the Linux kernel command line, cbmem -c works. Untested(?) GRUB patch attached.
Actions