[coreboot] windows XP boots with ACPI HAL

Rudolf Marek r.marek at assembler.cz
Sun Dec 21 23:36:54 CET 2008

Hi all,

I had a time and finally Windows XP boots with Coreboot + Seabios. In fact it 
was a clean install of WXP SP2. All went fine, windows work.

I'm attaching two patches. The first (acpi-fixes2) fixes the ACPI related 
problems. Some of them were identified previously by Kevin. I had just solve 
right _CRS reporting for PCI0 (as required by windows). This is accomplished 
with the k8-utils.asl code from Aruma. There was some problem, which I fixed 
simply by deleting that section of the code. I used acpiexec from ACPICA tools 
to debug the ACPI code (acpica-unix-20081204/tools/acpiexec).

What was the missing part? Windows requires right _CRS reporting of PCI0 bus. 
Windows needs to know platform independent way, how is I/O routed on PCI0 bus 
(and other busses). For K8 it means to read the I/O and MMIO routing registers 
(same as k8resdump provides) and make it ACPI object. This was perhaps done 
previously on Aruma board. The actual PCI regs are read in acpi-k8 in modelf and 
stored as SSDT table. The k8-util.asl code will construct the resources from 
that SSDT table. The only catch was that it orinally added for SB also a 
resource from TOM to PCI0_min. Which was invalid. This part was simply deleted 
as I did not need it and it was wrong anyway.

The k8-util file is copyright by AMD but no licence. I just deleted small part 
so I did not added myself there.

The attached patch fixes:
The FADT bootarch flags
Blacklists MSI for this chipset (maybe not needed)
Adds modified amdk8_util.asl
Adds the SSDT table to chain of tables
Aligns the FACS correctly (this should be done for other boards)
Adds the _CRS method to Asus M2V-MX SE acpi DSDT.
Fixes the FACS table length.

The second patch just monitors what else is needed to be able to boot SeaBIOS 
with ACPI and K8M890 VGA ROM.

Signed-off-by: Rudolf Marek <r.marek at assembler.cz>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: acpi-fixes2.patch
Type: text/x-diff
Size: 17724 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081221/2d15a94d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rest-diff.patch
Type: text/x-diff
Size: 3367 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081221/2d15a94d/attachment-0001.bin>

More information about the coreboot mailing list