Hello List,
I am following Leif's blog entry on this link http://blog.eciton.net/drafts/foundation-atf-uefi.html to build UEFI for ARM AArch64. However it failed when calling iASL for some asl files. What I want to understand is how iASL determine it is "Flag value is too large" and get to know "(Maximum 1 bit)" for that case. I mean, the iASL must have checked some definitions for that "Secure EL1 Interrupt : 0000001d" entry and determined that the specifying of 0000001d is wrong. So where should I find the definitions? My build environment is a Ubuntu 14.04 with iASL of 20140325-64.
{
"iasl" -p/home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/./gtdt.aml /home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/./gtdt.iiii /home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/./gtdt.iiii 12: [0004] Secure EL1 Interrupt : 0000001d Error 6153 -
Flag value is too large ^ (Maximum 1 bit)
/home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/./gtdt.iiii 27: [0004] Non-Secure EL2 Interrupt : 0000001a Error 6153 -
Flag value is too large ^ (Maximum 1 bit)
Intel ACPI Component Architecture ASL Optimizing Compiler version 20140325-64 [Dec 4 2014] Copyright (c) 2000 - 2014 Intel Corporation
Table Input: /home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/./gtdt.iiii - 55 lines, 2144 bytes, 28 fields
Compilation complete. 2 Errors, 0 Warnings, 0 Remarks make: *** [/home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/gtdt.aml] Error 255
build.py... : error 7000: Failed to execute command make tbuild [/home/coryxie/tools/linaro-edk2/Build/ArmVExpress-FVP-AArch64-Minimal/DEBUG_GCC49/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables] }
Thanks in advance, Cory
Hi Cory,
On 11 December 2014 at 15:09, Cory Xie cory.xie@gmail.com wrote:
Hello List,
I am following Leif's blog entry on this link http://blog.eciton.net/drafts/foundation-atf-uefi.html to build UEFI for ARM
In my defense, that is still under the "drafts" tag for a reason :)
AArch64. However it failed when calling iASL for some asl files. What I want to understand is how iASL determine it is "Flag value is too large" and get to know "(Maximum 1 bit)" for that case. I mean, the iASL must have checked some definitions for that "Secure EL1 Interrupt : 0000001d" entry and determined that the specifying of 0000001d is wrong. So where should I find the definitions? My build environment is a Ubuntu 14.04 with iASL of 20140325-64.
Yes, this is the problem. ACPI 5.1 was released this summer, with some important changes for ARM ACPI platforms. Unfortunately, this means a later version of acpica-tools is required to compile those tables. You can download the source code from https://www.acpica.org/downloads
Best Regards,
Leif
On 12/11/2014 08:31 AM, Leif Lindholm wrote:
Hi Cory,
On 11 December 2014 at 15:09, Cory Xie cory.xie@gmail.com wrote:
Hello List,
I am following Leif's blog entry on this link http://blog.eciton.net/drafts/foundation-atf-uefi.html to build UEFI for ARM
In my defense, that is still under the "drafts" tag for a reason :)
AArch64. However it failed when calling iASL for some asl files. What I want to understand is how iASL determine it is "Flag value is too large" and get to know "(Maximum 1 bit)" for that case. I mean, the iASL must have checked some definitions for that "Secure EL1 Interrupt : 0000001d" entry and determined that the specifying of 0000001d is wrong. So where should I find the definitions? My build environment is a Ubuntu 14.04 with iASL of 20140325-64.
Yes, this is the problem. ACPI 5.1 was released this summer, with some important changes for ARM ACPI platforms. Unfortunately, this means a later version of acpica-tools is required to compile those tables. You can download the source code from https://www.acpica.org/downloads
The versions of acpica-tools in Debian sid, Fedora rawhide (and F21, and F20) should also be up-to-date. The Linaro tools PPA contains a slightly older version until a bug can get fixed in the Jenkins jobs that builds the package.