2017-08-21 67 views
0

我是Buildroot的新手,並且正在使用Buildroot將Linaro作爲內核並構建UEFI。Armv8 Architeture的Buildroot配置選項

建築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

你不給足夠的細節,但我的感覺是,你可能已經建立的iasl爲目標,並嘗試運行它在運行Buildroot構建的機器上。無法工作。確保使用host-acpica包。

+0

您好托馬斯,我正在建立它的Armv8架構,並需要iasl來建立UEFI太多..請讓我知道你想了解更多的細節,這對我來說是迫切需要解決它..謝謝提前 –

+0

嗨托馬斯,更具體地說關於我更新了問題描述的錯誤 –