Armv8 架构的 Buildroot 配置选项

Buildroot Config Option for Armv8 Architeture

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

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

"Cant Execute iasl command"

我检查了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]******

请指导我

您没有提供足够的细节,但我的感觉是您可能已经为目标构建了 iasl,并尝试 运行 在您 运行 安装构建根构建。不能工作。确保使用 host-acpica 包。