Re: [PATCH v2 7/8] arm: u8500: Switch Stemmy to upstream Janice device tree

Linus Walleij <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <CAD++jL=OtNJZrx20c_siaRBAJdnp=v5aPv8Vr1S++HC3ay7M3g@mail.gmail.com>
On Tue, Aug 18, 2026 at 12:39 PM Stephan Gerhold
<[email protected]> wrote:

> I wasn't suggesting to use the same DT for all devices. What I suggested
> is to bundle all the upstream DTBs for the individual devices into a
> single U-Boot binary (CONFIG_MULTI_DTB_FIT) and pick the correct one at
> runtime. :)
>
> That should be equivalent to your setup, just more convenient for the
> user.
>
> The only open question for me is if we can reliably detect codina-tmo
> based on the mach-type ID, I can't find that in the kernel sources I
> have.

Aha I get it...

I can check the codina TMO, I think it could be an improvement on top
of this series though, if I leave the stemmy device tree in place.

It all becomes a bit tautological and hence confusing, because yes
we can perhaps embed all the device trees into an FIT and pick the
right one depending on magic from the first stage (odin) boot loader,
then we overlay that with the U-Boot restrictions, then we come to
the EFI boot partition, where again we have all the device trees,
again pick the right one, now for Linux, then augment it again, but
only partly, without U-Boot overlays, then we boot the kernel with
that second augmented device tree.

This is... the way it is I guess. I'll look into the stemmy-FIT-with-many
device trees approach.

Yours,
Linus Walleij
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.