Changing u-boot version in the build?
I am stumped by the problem of how to build a newer version of u-boot than the one in my openembedded-core version. The version shipped in our copy of openembedded-core is 1_2020.01, and I'd like to build something more recent. Whatever I put in for my PREFERRED_VERSION other than that version results in a handful of notes saying that the preferred version isn't available:
Quoted 4 lines
$ bitbake u-boot Parsing recipes: 100% |##################################################################################################| Time: 0:00:10 Parsing of 2298 .bb files complete (0 cached, 2298 parsed). 3409 targets, 348 skipped, 0 masked, 0 errors. NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot)
Quoted 8 lines
NOTE: versions of u-boot available: 1:2020.01 NOTE: Resolving any missing task queue dependencies NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot-dev) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot-env) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot) NOTE: versions of u-boot available: 1:2020.01
I've tried various spellings of the PREFERRED_VERSION string: 1:2022.04, 1_2022.04, v2022.04 (the actual tag in the u-boot repository), 2011.04
My meta-openembedded-version is from the dunfell branch, hash a62ad779 (if I'm looking at the right thing).
I did a similar thing with ModemManager not long ago and didn't have a real problem, and I don't understand what's so different about u-boot. Thanks in advance for any suggestions.
Signature · 3 lines
Bruce Johnson Chantilly, Virginia USA
You need to show the actual recipes for the newer u-boot too (e.g. publish your layer on github), otherwise it's really difficult to say where the problem is.
Alex
Quoted 51 lines · Bruce Johnson
I am stumped by the problem of how to build a newer version of u-boot than the one in my openembedded-core version. The version shipped in our copy of openembedded-core is 1_2020.01, and I'd like to build something more recent. Whatever I put in for my
PREFERRED_VERSIONother than that version results in a handful of notes saying that the preferred version isn't available:Quoted 11 lines
$ bitbake u-boot Parsing recipes: 100% |##################################################################################################| Time: 0:00:10 Parsing of 2298 .bb files complete (0 cached, 2298 parsed). 3409 targets, 348 skipped, 0 masked, 0 errors. NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot) NOTE: versions of u-boot available: 1:2020.01 NOTE: Resolving any missing task queue dependencies NOTE: preferred version 1:2022.04 of u-boot not available (for itemQuoted 8 lines
u-boot-dev) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot-env) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot) NOTE: versions of u-boot available: 1:2020.01I've tried various spellings of the
PREFERRED_VERSIONstring: 1:2022.04, 1_2022.04, v2022.04 (the actual tag in the u-boot repository), 2011.04My meta-openembedded-version is from the dunfell branch, hash
a62ad779(if I'm looking at the right thing).I did a similar thing with ModemManager not long ago and didn't have a real problem, and I don't understand what's so different about u-boot. Thanks in advance for any suggestions.
--
Bruce Johnson
Chantilly, Virginia
USA-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#98313): https://lists.openembedded.org/g/openembedded-devel/message/98313
Mute This Topic: https://lists.openembedded.org/mt/93091149/1686489
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 18 lines · Bruce Johnson via lists.openembedded.org
I am stumped by the problem of how to build a newer version of u-boot than the one in my openembedded-core version. The version shipped in our copy of openembedded-core is 1_2020.01, and I'd like to build something more recent. Whatever I put in for my
PREFERRED_VERSIONother than that version results in a handful of notes saying that the preferred version isn't available:Quoted 4 lines
$ bitbake u-boot Parsing recipes: 100% |##################################################################################################| Time: 0:00:10 Parsing of 2298 .bb files complete (0 cached, 2298 parsed). 3409 targets, 348 skipped, 0 masked, 0 errors. NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot)Quoted 8 lines
NOTE: versions of u-boot available: 1:2020.01 NOTE: Resolving any missing task queue dependencies NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot-dev) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot-env) NOTE: versions of u-boot available: 1:2020.01 NOTE: preferred version 1:2022.04 of u-boot not available (for item u-boot) NOTE: versions of u-boot available: 1:2020.01
Quoted 5 lines
I've tried various spellings of the
PREFERRED_VERSIONstring: 1:2022.04, 1_2022.04, v2022.04 (the actual tag in the u-boot repository), 2011.04My meta-openembedded-version is from the dunfell branch, hash
a62ad779(if I'm looking at the right thing).I did a similar thing with ModemManager not long ago and didn't have a real problem, and I don't understand what's so different about u-boot. Thanks in advance for any suggestions.
The second NOTE says that it can only find 2020.01, and no other versions, so your either missing a layer in bblayers.conf or the recipe you think provides uboot 2020.04 doesn’t actually.
The first thing to try is bitbake-layers show-overlayed. For me it includes the following output:
u-boot:
meta 1:2022.07
meta-arm-bsp 1:2022.04
If you don’t see the version and layer you expect, then the problem is with your layer configuration, or the recipe itself.
Ross