[coreboot] ACPI resource problem

WANG FEI wangfei.jimei at gmail.com
Tue Jul 7 13:22:05 CEST 2015


Siyuan, did you reserved 0xFEDC2000 - 0xFEDC2FFF in ASL file? what you've
done in your code is to reserve this MMIO area in E820 table, OS will not
take this area, but it's not enough for ACPI.

Here is a sample to reserve MMIO area in asl file.

// TPM Area (0xfed40000-0xfed44fff)
DWordMemory (ResourceProducer, PosDecode, MinFixed, MaxFixed,
Cacheable, ReadWrite,
0x00000000, 0xfed40000, 0xfed44fff, 0x00000000,
0x00005000,,, TPMR)

On Mon, Jul 6, 2015 at 12:31 PM, WANG Siyuan <wangsiyuanbuaa at gmail.com>
wrote:

> Hi,
> I have a question about acpi resource.
>
> My device need the resource:
>     Name(_CRS, ResourceTemplate() {
>       IRQ(Edge, ActiveHigh, Exclusive) {3}
>       Memory32Fixed(ReadWrite, 0xFEDC2000, 0x1000)
>     })
> In Win8's device manager, I got error "This device cannot find enough free
> resources that it can use."
>
> I reserve resource (0xFEDC2000 - 0xFEDC2FFF) using flag resource->flags =
> IORESOURCE_MEM | IORESOURCE_RESERVE | IORESOURCE_FIXED | IORESOURCE_STORED
> |  IORESOURCE_ASSIGNED; I still got this error.
>
> I have 2 questions:
> 1) Do I need to reserve MMIO for (0xFEDC2000 - 0xFEDC2FFF)?
> 2) Do I need to do some thing for IRQ(Edge, ActiveHigh, Exclusive) {3}?
>
> Any replay is appreciated!
>
> Yours sincerely,
> WANG Siyuan
>
> --
> coreboot mailing list: coreboot at coreboot.org
> http://www.coreboot.org/mailman/listinfo/coreboot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20150707/4c0d7b69/attachment.html>


More information about the coreboot mailing list