首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >适用于Armv8架构的构建根配置选项

适用于Armv8架构的构建根配置选项
EN

Stack Overflow用户
提问于 2017-08-21 20:10:21
回答 1查看 201关注 0票数 0

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

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

“无法执行iasl命令”

我检查了iasl的文件类型,发现它是x86,而我运行buildroot的系统是x86_64。不确定这是否是iasl生成x86_64工具的理由,那么我们如何指定buildroot来生成iasl工具呢?

来自buildroot日志的错误是:

代码语言:javascript
复制
******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]******

请给我指引

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-08-22 06:11:40

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

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/45796787

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档