简体   繁体   English

极简 Yocto 项目所需的层/配置是什么

[英]What are the required layers/ configurations for a minimalist Yocto project

I am using yocto to build the necessary images to boot my target (Renesas V3H).我正在使用 yocto 构建启动目标(Renesas V3H)所需的映像。 After cloning poky I cloned also the Renesas BSP layer .克隆 poky 后,我还克隆了Renesas BSP 层 then I started the configuration:然后我开始配置:

source oe-init-build-env build
bitbake-layers add-layer ../meta-renesas

Then my build/conf/bblayers.conf looks like this:然后我的build/conf/bblayers.conf看起来像这样:

# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
/home/user/Workspace/poky/meta \
/home/user/Workspace/poky/meta-poky \
/home/user/Workspace/poky/meta-yocto-bsp \
/home/user/Workspace/poky/meta-renesas \
"

My questions are:我的问题是:

  • What are the required layers that should be built, I think for example meta-yocto-bsp is not required am I correct?应该构建哪些必需的层,我认为不需要例如 meta-yocto-bsp 我是否正确?
  • What is the value to be given to the variable MACHINE can anyone give a hint how to search it?赋予变量MACHINE的值是什么有人可以提示如何搜索它吗?

If it is your own board, you will need your own layer with at least the MACHINE definition.如果它是您自己的板,您将需要至少具有 MACHINE 定义的自己的层。 If you are using an eval board from Renesas, you might find a suitable machine in the meta-renesas layer.如果您使用的是 Renesas 的评估板,您可能会在 meta-renesas 层找到合适的机器。

meta-yocto-bsp is sample BSPs for Beaglebone and other off the shelf boards, so you won't need it. meta-yocto-bsp 是 Beaglebone 和其他现成板的示例 BSP,因此您不需要它。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM