Armv8 Architeture的Buildroot配置选项

时间:2017-08-21 12:10:21

标签: linux buildroot uefi linaro

我是Buildroot的新手并且正在使用Buildroot将Linaro用作内核并构建UEFI。

为了构建UEFI,它需要ACPI工具主要是iasl命令.. 但是作为buildroot的一部分提供的iasl命令无法执行并出现以下错误:

“无法执行iasl命令”

我检查了iasl的文件类型,发现它是x86 我运行buildroot的系统是x86_64。不确定这是否是iasl失败的原因..如果我们如何指定buildroot来生成x86_64工具呢?

buildroot日志中的

错误是:

******buildroot-2016.11.2/uefi-image-443bf46/ArmPlatformPkg/ArmVExpressPkg/Library/ArmVExpressSysConfigLib/ArmVExpressSysConfigLib.inf [AARCH64]
Building ... buildroot-2016.11.2/uefi-image-443bf46/ArmPlatformPkg/ArmVExpressPkg/Library/ResetSystemLib/ResetSystemLib.inf [AARCH64]
Building ... /buildroot-2016.11.2/uefi-image-443bf46/ArmPlatformPkg/Library/PL031RealTimeClockLib/PL031RealTimeClockLib.inf [AARCH64]
Building ... /buildroot-2016.11.2/uefi-image-443bf46/ArmPlatformPkg/Library/PL011SerialPortLib/PL011SerialPortExtLib.inf [AARCH64]
Building ... /buildroot-2016.11.2/uefi-image-443bf46/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables.inf [AARCH64]
/bin/sh: /buildroot-2016.11.2/output/build/acpica-20160831/generate/unix/bin/iasl: cannot execute binary file
make: *** [/buildroot-2016.11.2/uefi-image-443bf46/Build/ArmVExpress-FVP-AArch64/RELEASE_ARMLINUXGCC/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables/OUTPUT/facp.aml] Error 126
build.py...
 : error 7000: Failed to execute command
        make --no-print-directory tbuild [/buildroot-2016.11.2/uefi-image-443bf46/Build/ArmVExpress-FVP-AArch64/RELEASE_ARMLINUXGCC/AARCH64/ArmPlatformPkg/ArmVExpressPkg/AcpiTables/rtsm_ve-aemv8a/AcpiTables]******

请指导我

1 个答案:

答案 0 :(得分:1)

您没有提供足够的详细信息,但我的感觉是您可能已为目标构建了iasl,并尝试在您运行Buildroot版本的计算机上运行它。无法工作。请务必使用host-acpica包。