[coreboot - Bug #549] coreboot 24.05: SeaBIOS Windows 10/11 BSOD "ACPI BIOS ERROR" (Thinkpad W530)

Simon Dominic <[email protected]>
Newsgroups gmane.linux.bios
Message-ID <[email protected]>
Issue #549 has been updated by Simon Dominic.


Matt DeVillier wrote in #note-4:
> here is a sane defconfig for W530 + edk2:
> 
> ```
> CONFIG_VENDOR_LENOVO=y
> CONFIG_CBFS_SIZE=0x200000
> CONFIG_BOARD_LENOVO_W530=y
> CONFIG_PAYLOAD_EDK2=y
> CONFIG_EDK2_BOOT_MANAGER_ESCAPE=y
> CONFIG_EDK2_FOLLOW_BGRT_SPEC=y
> # CONFIG_EDK2_FULL_SCREEN_SETUP is not set
> ```

With that defconfig confirmed to be working, I tried adding a few other things, including vga bios (to get external displays working):
```
CONFIG_VENDOR_LENOVO=y
CONFIG_CBFS_SIZE=0x200000
CONFIG_VGA_BIOS_DGPU_ID="10de,0ffc"
CONFIG_VGA_BIOS=y
CONFIG_IFD_BIN_PATH="descriptor.bin"
CONFIG_ME_BIN_PATH="me.bin"
CONFIG_GBE_BIN_PATH="gbe.bin"
CONFIG_VGA_BIOS_FILE="vgabios/8086,0166.rom"
CONFIG_HAVE_IFD_BIN=y
CONFIG_BOARD_LENOVO_W530=y
CONFIG_H8_FN_CTRL_SWAP=y
CONFIG_HAVE_ME_BIN=y
CONFIG_USE_ME_CLEANER=y
CONFIG_HAVE_GBE_BIN=y
CONFIG_MAINBOARD_USE_LIBGFXINIT=y
CONFIG_VGA_BIOS_DGPU=y
CONFIG_VGA_BIOS_DGPU_FILE="vgabios/10de,0ffc.rom"
CONFIG_PAYLOAD_EDK2=y
CONFIG_EDK2_BOOT_MANAGER_ESCAPE=y
# CONFIG_EDK2_FULL_SCREEN_SETUP is not set
```

However, CBFS at 2MB (0x200000) is too small to have VGA BIOS. Thus, I get this error:
```
Image SIZE 12582912
    CBFS       cpu_microcode_blob.bin
    CBFS       fallback/ramstage
    CBFS       config
    CBFS       revision
    CBFS       build_info
    CBFS       fallback/dsdt.aml
    CBFS       vbt.bin
    CBFS       cmos_layout.bin
    CBFS       pci8086,0166.rom
    CBFS       pci10de,0ffc.rom
    CBFS       fallback/postcar
    CBFS       fallback/payload
E: Could not add [build/UEFIPAYLOAD.fd, 1308190 bytes (1277 KB)@0x0]; too big?
E: Failed to add 'build/UEFIPAYLOAD.fd' into ROM image.
E: Failed while operating on 'COREBOOT' region!
E: The image will be left unmodified.
make: *** [Makefile.mk:1214: build/coreboot.pre] Error 1
```

Changing it to 3MB (0x300000) creates a successful build. I assume CBFS at 3MB is acceptable/sane?

Btw, where do I find `CONFIG_EDK2_BOOT_MANAGER_ESCAPE=y` in menuconfig?

----------------------------------------
Bug #549: coreboot 24.05: SeaBIOS Windows 10/11 BSOD "ACPI BIOS ERROR" (Thinkpad W530)
https://ticket.coreboot.org/issues/549#change-1881

* Author: Simon Dominic
* Status: New
* Priority: Normal
* Category: board support
* Target version: master
* Start date: 2024-07-31
* Affected versions: master
* Affected hardware: Lenovo ThinkPad W530
* Affected OS: Windows 10/11
----------------------------------------
When using the latest coreboot (i.e. using command `git clone https://review.coreboot.org/coreboot`), which is currently 24.05, to build a rom for Thinkpad W530, I get BSOD with "ACPI BIOS ERROR" when trying to boot into Windows 10 or 11 from SeaBIOS. Even just booting from a Windows install usb will show this error.

This is even with incorporating the vga bios files (so i can external displays to work) - see my defconfig.

Did consider using EDK2 apparently Windows support is pretty solid, but could never make a successful build - not that `make` command had errors, but once flashing, would just having white underscore and have to recover with external flashing. A separate issue to write about in and of itself, but I prefer SeaBIOS so I'll be sticking with that.

I am quite new to coreboot - using for only about 2-3 months now. Let me know if there is further information I should provide.

---Files--------------------------------
defconfig (590 Bytes)
w530_bsod.jpg (1.98 MB)
dsl_files.zip (25 KB)
boot.jpg (2.95 MB)
shell.jpg (2.96 MB)
menu.jpg (2.02 MB)


-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: https://ticket.coreboot.org/my/account
_______________________________________________
coreboot mailing list -- [email protected]
To unsubscribe send an email to [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.