我是Buildroot的新手,正在使用Buildroot使用Linaro作为内核并构建UEFI。
为了构建UEFI,它需要ACPI工具,主要是iasl命令。但iasl命令作为buildroot的一部分无法执行,并给出以下错误:
“无法执行iasl命令”
我检查了iasl的文件类型,发现它是x86,而我运行buildroot的系统是x86_64。不确定这是否是iasl生成x86_64工具的理由,那么我们如何指定buildroot来生成iasl工具呢?
来自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]******请给我指引
发布于 2017-08-22 06:11:40
您没有提供足够的细节,但我的感觉是您可能已经为目标构建了iasl,并尝试在运行Buildroot构建的机器上运行它。不能工作。确保使用host-acpica包。
https://stackoverflow.com/questions/45796787
复制相似问题