簡體   English   中英

構建Yocto linux映像-“ bitbake映像已滿”錯誤

[英]Building Yocto linux image - “bitbake image-full” error

我正在嘗試構建Yocto linux映像。 我正在遵循Sergey博客中給出的過程。 解壓縮文件:

$ 7z x Board_Support_Package_Sources_for_Intel_Quark_v0.7.5.7z

解壓縮meta-clanton_v0.7.5.tar.gz:

$ tar xzvf Board_Support_Package_Sources_for_Intel_Quark_v0.7.5/meta-clanton_v0.7.5.tar.gz

將目錄更改為meta-clanton_v0.7.5:

$ cd meta-clanton_v0.7.5

運行setup.sh:

$ ./setup.sh

源poky / oe-init-build-env腳本,為其提供構建目錄(yocto_build)作為參數:

$ source poky/oe-init-build-env yocto_build

運行bitbake生成圖像:

$ bitbake image-full

但是我收到以下錯誤:

Traceback (most recent call last):
  File "/usr/bin/bitbake", line 275, in <module>
    ret = main()
  File "/usr/bin/bitbake", line 222, in main
    bb.msg.init_msgconfig(configuration.verbose, configuration.debug,
AttributeError: 'module' object has no attribute 'init_msgconfig'

請幫忙。 提前致謝。

我找不到0.7.5版本,所以我已經在1.0.0版本上嘗試過。

提取meta-clanton-v1.0.0.tar.gz

cd meta-clanton_v1.0.0
./setup.sh
. poky/oe-init-build-env yocto_build
bitbake image-full -e

在完全運行bitbake image-full情況下,也可以毫無問題地開始構建。 (不過,我還沒有完成。)

我有點擔心您的回溯,其中包括"/usr/bin/bitbake" 如果您在構建機器上安裝了bitbake軟件包,請卸載它。 poky-git repo確實包含它自己的bitbake副本,這將確保您使用的bitbake版本與其余的元數據兼容。

(我也建議您更新到最新的meta-clanton版本)。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM