【发布时间】:2022-03-05 14:28:10
【问题描述】:
我正在尝试在 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 使用这种已弃用的配方。
需要切换到master分支吗?
如果这是一个愚蠢的问题,请原谅我......
【问题讨论】:
-
没有愚蠢的问题。你为你的 MACHINE 变量设置了什么?
-
BB_NUMBER_THREADS = "2" # 此外,make 可以传递标志,以便它运行并行线程,例如:PARALLEL_MAKE = "-j 2" MACHINE ?= "raspberrypi4-64.conf"
-
fstrati@fstrati-HP-Laptop-15-db0xxx:/media/fstrati/Bkp20191226/yocto_try/poky$ inxi CPU~Dual core AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G (-MCP-) speed/max~1937/3100 MHz Kernel~5.0.0-37-generic x86_64 Up~16:26 Mem~4276.3/7500.6MB HDD~1500.3GB(7.6% used) Procs~323 Client~Shell inxi~2.3.56 -
System: Host: fstrati-HP-Laptop-15-db0xxx Kernel: 5.0.0-37-generic x86_64 bits: 64 Desktop: Gnome 3.28.4 Distro: Ubuntu 18.04.3 LTS Machine: Device: laptop System: HP product: HP Laptop 15-db0xxx v: Type1ProductConfigId serial: N/A Mobo: HP model: 84AC v: 85.20 serial: N/A UEFI: Insyde v: F.11 date: 08/20/2018 -
看来我的 MACHINE 配置错误。我尝试改用 MACHINE ?= "raspberrypi4-64" ,一切顺利。
标签: yocto raspberry-pi4