【发布时间】:2015-06-04 07:47:24
【问题描述】:
我正在尝试构建 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'
请帮忙。 提前致谢。
【问题讨论】:
-
我不知道您为什么需要完整的 Yocto 映像,但如果您不需要它,您可以为 Intel Quark 构建自己的内核,例如,Buildroot 可以帮助您使用根文件系统.
标签: python linux linux-kernel yocto bitbake