* Changing u-boot version in the build?
@ 2022-08-17 20:37 Bruce Johnson
2022-08-17 20:40 ` [oe] " Alexander Kanavin
2022-08-18 10:32 ` Ross Burton
0 siblings, 2 replies; 3+ messages in thread
From: Bruce Johnson @ 2022-08-17 20:37 UTC (permalink / raw)
To: openembedded-devel
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:
> $ 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 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.
--
Bruce Johnson
Chantilly, Virginia
USA
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] Changing u-boot version in the build?
2022-08-17 20:37 Changing u-boot version in the build? Bruce Johnson
@ 2022-08-17 20:40 ` Alexander Kanavin
2022-08-18 10:32 ` Ross Burton
1 sibling, 0 replies; 3+ messages in thread
From: Alexander Kanavin @ 2022-08-17 20:40 UTC (permalink / raw)
To: Bruce Johnson; +Cc: OpenEmbedded Devel List
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
On Wed, 17 Aug 2022 at 22:37, Bruce Johnson <bjohnson@blueridge.com> wrote:
>
> 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:
>
> > $ 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 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.
>
> --
> 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: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] Changing u-boot version in the build?
2022-08-17 20:37 Changing u-boot version in the build? Bruce Johnson
2022-08-17 20:40 ` [oe] " Alexander Kanavin
@ 2022-08-18 10:32 ` Ross Burton
1 sibling, 0 replies; 3+ messages in thread
From: Ross Burton @ 2022-08-18 10:32 UTC (permalink / raw)
To: bjohnson; +Cc: openembedded-devel
> On 17 Aug 2022, at 21:37, Bruce Johnson via lists.openembedded.org <bjohnson=blueridge.com@lists.openembedded.org> wrote:
>
> 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:
>
>> $ 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 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.
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2022-08-18 10:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 20:37 Changing u-boot version in the build? Bruce Johnson
2022-08-17 20:40 ` [oe] " Alexander Kanavin
2022-08-18 10:32 ` Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.