admin管理员组

文章数量:1568309

简述和目录

  • 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

本文标签: 嵌入式目录Linuxyocto