All of lore.kernel.org
 help / color / mirror / Atom feed
* incompatible device trees between u-boot and linux
@ 2021-08-25 13:58 Michael Walle
  2021-08-25 14:00 ` Tom Rini
  0 siblings, 1 reply; 19+ messages in thread
From: Michael Walle @ 2021-08-25 13:58 UTC (permalink / raw)
  To: Vladimir Oltean, u-boot, Tom Rini, heiko.thiery

Hi,

I noticed that there is a fallback to the u-boot device tree for linux
(esp. EFI boot) if no other device tree was found, see [1]. It seems 
this
is working fine for imx devices, for example, where you can just boot a
stock installer iso via EFI. It will just work and it is quite a nice
feature as a fallback.

Now for the layerscape architecture, the ls1028a in my case, things are
more difficult because the bindings differ between u-boot and linux - 
one
which comes to mind is DSA and ethernet.

Which begs the general question, is it encouraged to have both bindings
diverge? To me it seems, that most bindings in u-boot are ad-hoc and 
there
is no real review or alignment but just added as needed, which is ok if
they are local to u-boot. But since they are nowadays passed to linux
(by default!) I'm not so sure anymore.

OTOH The whole structure around a .dts{,i} and -u-boot.dtsi looks like
they should (could?) be shared between linux and u-boot.

-michael

[1] 
https://elixir.bootlin.com/u-boot/v2021.10-rc2/source/common/board_r.c#L471

^ permalink raw reply	[flat|nested] 19+ messages in thread
[parent not found: <mailman.0.1630317603.18534.u-boot@lists.denx.de>]

end of thread, other threads:[~2021-08-31 18:37 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-25 13:58 incompatible device trees between u-boot and linux Michael Walle
2021-08-25 14:00 ` Tom Rini
2021-08-25 14:18   ` Vladimir Oltean
2021-08-25 14:26     ` Tom Rini
2021-08-25 15:12       ` Vladimir Oltean
2021-08-25 15:24         ` Tom Rini
2021-08-25 15:43           ` Vladimir Oltean
2021-08-25 20:09             ` Tom Rini
2021-08-25 23:03               ` Vladimir Oltean
2021-08-26  7:35                 ` Michael Walle
2021-08-26 16:32                   ` Vladimir Oltean
2021-08-28 23:12                     ` Michael Walle
2021-08-30  0:20                       ` Vladimir Oltean
2021-08-25 21:20         ` Mark Kettenis
2021-08-31 13:35         ` Rob Herring
2021-08-31 14:21           ` Sean Anderson
2021-08-31 18:36             ` Rob Herring
2021-08-25 14:30     ` Michael Walle
     [not found] <mailman.0.1630317603.18534.u-boot@lists.denx.de>
2021-08-30 11:39 ` François Ozog

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.