Hi Shannon,
I checked your branch and tested; I found there is a minor bug in QEMU
ARM ACPI code that will cause FWTS test failed with ACPI syntaxcheck:
1. syntaxcheck:
syntaxcheck ;INF 00027| Name (_HID, "ACPI007") // _HID:
Hardware ID
syntaxcheck ;INF | ^
syntaxcheck ;INF | Error 6035: _HID suffix must be all hex digits
(I007)
I checked in ACPI spec 5.1, we must have 4 digits in _HID; and it is got from
QEMU
source, hw/arm/virt-acpi-build.c, acpi_dsdt_add_cpus:
aml_append(dev, aml_name_decl("_HID", aml_string("ACPI007")));
aml_append(dev, aml_name_decl("_UID", aml_int(i)));
After changing ACPI007 toACPI0007, the error could be fixed.
On 03/24/2015 07:27 PM, Shannon Zhao wrote:
On 2015/3/24 16:44, Laszlo Ersek wrote:
On 03/24/15 09:08, Ming Lei wrote:
Hi Guys,
I built UEFI from tianocore and looks it can load/run grub well
on QEMU aarch64 virt hardware.
One problem I found is that ACPI tables aren't passed to kernel,
so only device tree support is available. I am just wondering how
to setup acpi table from Tianocore, then the guest can be started
with ACPI support.
Are external ACPI table files needed for building UEFI firmware
of QEMU aarch64 virt? Or will tianocore generate ACPI tables
and setup them automatically for QEMU aarch64 virt?
I appreciate very much someone can provide guide about the
problem.
OVMF's "ACPI linker/loader client" has been enabled for
ArmVirtualizationQemu too. If you have a fresh upstream
ArmVirtualizationQemu build, you should be all set on the firmware side.
However, for QEMU the relevant patches are still pending review / merge.
My latest (but probably out of date) info is that you should start with
the following branch (from Igor, CC'd):
https://github.com/imammedo/qemu/ASL_API_v3
and apply the following set on top (from Shannon, CC'd):
http://lists.gnu.org/archive/html/qemu-devel/2015-02/msg03290.html
Hi all,
You can also clone following branch which I rebased my patches on upstream
qemu(not newest)
http://git.linaro.org/people/shannon.zhao/qemu.git ARM_ACPI_v4
PS: this patchset doesn't send out because I'm working on adding PCIe
controller in ACPI tables.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel