admin 管理员组文章数量: 1086019
简述和目录
- 1.简述
- 2.准备
- 3.目录
1.简述
之前开发imx6用过一段时间yocto,比buildroot复杂很多,第一次编译得一天,当时只是用来提取源码和工具链,没有使用其他功能,最近想深入学习下yocto,此博客不深入涉及驱动开发,只是作为yocto工具使用笔记。
参考:
官方文档
嵌入式Linux系统开发(基于Yocto Project)
2.准备
yocto版本:3.4(honister)
ubuntu版本:20.04(基于docker)
工具:vscode+remote-ssh插件
开发板:树莓派4B
搭建环境遇到的问题:
/* 问题一:权限问题 */
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Do not use Bitbake as root.
/* 解决方案 */
$ vim /root/yocto/poky/meta/classes/sanity.bbclass
# if 0 == os.getuid():
# raise_sanity_error("Do not use Bitbake as root.", d)
/* 问题二:环境问题 */
ERROR: OE-core's config sanity checker detected a potential misconfiguration.
Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
Following is the list of potential problems / advisories:
Your system needs to support the en_US.UTF-8 locale.
/* 解决方案 */
$ locale -a
$ apt-get update
$ apt-get install locales-all
3.目录
嵌入式linux之yocto(一)简述和目录
[嵌入式linux之yocto(二)树莓派]
嵌入式linux之yocto(三)qemu
嵌入式linux之yocto(四)imx
嵌入式linux之yocto(五)拓展核心镜像
嵌入式linux之yocto(六)devtool往返开发
嵌入式linux之yocto(七)SDK
版权声明:本文标题:嵌入式linux之yocto(一)简述和目录 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.roclinux.cn/b/1738260085a1952496.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论