yocto - Raspberry Pi 4 yocto,rpi-basic-image.bb:无法确定架构“无效”的字节顺序
问题描述
我正在尝试在 zeus 分支上为 raspberrypi4-64 构建 core-image-minimal ,我必须创建文件 sanity.conf 并且我收到了以下错误:
fstrati$ bitbake -c cleanall core-image-minimal
Loading cache: 100% Time: 0:00:00
Loaded 28 entries from dependency cache.
ERROR: rpi-basic-image.bb: Unable to determine endianness for architecture 'INVALID'
ERROR: rpi-basic-image.bb: Please add your architecture to siteinfo.bbclass
ERROR: rpi-hwup-image.bb: Unable to determine endianness for architecture 'INVALID'
ERROR: rpi-hwup-image.bb: Please add your architecture to siteinfo.bbclass
ERROR: Failed to parse recipe: rpi-hwup-image.bb
ERROR: vte_0.56.3.bb: Unable to determine endianness for architecture 'INVALID'
ERROR: vte_0.56.3.bb: Please add your architecture to siteinfo.bbclass
我不明白为什么 core-image-minimal 使用这种已弃用的食谱。
我需要切换到主分支吗?
如果这是一个愚蠢的问题,请原谅我......
解决方案
看来我的 MACHINE 配置是错误的。我尝试改用 MACHINE ?= "raspberrypi4-64" ,一切顺利。
删除 conf 也为我解决了问题。
推荐阅读
- vue.js - 使用实例属性作为 v-model
- c++ - 如何理解这些方式可以消除对显式 std::move 的最需要?有人可以通过一些简单的例子说清楚吗?
- active-directory - 从两个 Active Directory 组中提取用户
- javascript - 在 while 循环中使用 array.push 时只添加第一个值
- python - 用 null python pandas 替换 NaN
- html - 我如何将这些部分放在一条直线上?
- mongodb - 我想将所有集合 2 作为子对象复制到匹配字段上的集合 1
- c++ - 如何初始化变量
- powershell - PowerShell Core 7 与 Windows Powershell 5.1 - 比较对象不同的结果
- vue.js - 子组件值绑定到同一个 vue 组件的另一个实例的属性