[PATCH] configs: Fix crash on coreboot x86

Tom Rini trini at konsulko.com
Sat Sep 6 01:11:59 CEST 2025


On Wed, Sep 03, 2025 at 09:05:01AM +0200, Patrick Rudolph wrote:
> Booting u-boot as payload with coreboot's main branch is currently broken
> since commit [1] on x86 as U-boot assumes the active GDT matches what
> U-Boot would have installed in start16.S.
> 
> Make no assumptions and always load the GDT when building as coreboot
> payload to make sure the segment registers are actually matching the GDT.
> 
> Fixes #GP seen when booting U-Boot as coreboot payload.
> 
> 1: https://review.coreboot.org/c/coreboot/+/87255
> Signed-off-by: Patrick Rudolph <patrick.rudolph at 9elements.com>

Glad to see this. We should likely update coreboot in CI more often.

Link: https://review.coreboot.org/c/coreboot/+/87255
Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250905/dd220a4e/attachment.sig>


More information about the U-Boot mailing list