Re: incompatible device trees between u-boot and linux

2021-08-31 Thread Rob Herring
On Tue, Aug 31, 2021 at 9:21 AM Sean Anderson wrote: > > On 8/31/21 9:35 AM, Rob Herring wrote: > > On Wed, Aug 25, 2021 at 10:12 AM Vladimir Oltean wrote: > >> > >> On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > >>> On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: >

Re: incompatible device trees between u-boot and linux

2021-08-31 Thread Sean Anderson
On 8/31/21 9:35 AM, Rob Herring wrote: On Wed, Aug 25, 2021 at 10:12 AM Vladimir Oltean wrote: On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: On Wed, Aug 25,

Re: incompatible device trees between u-boot and linux

2021-08-31 Thread Rob Herring
On Wed, Aug 25, 2021 at 10:12 AM Vladimir Oltean wrote: > > On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > > On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > > > On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > > > > On Wed, Aug 25, 2021 at 03:58:10PM +020

incompatible device trees between u-boot and linux

2021-08-30 Thread François Ozog
Hi, Trying to respond to a U-Boot digest manually, please accept apologies as I don't know how to do it properly... >On Wed, Aug 25, 2021 at 06:43:23PM +0300, Vladimir Oltean wrote: >> On Wed, Aug 25, 2021 at 11:24:08AM -0400, Tom Rini wrote: >> > On Wed, Aug 25, 2021 at 06:12:20PM +0300, Vladimi

Re: incompatible device trees between u-boot and linux

2021-08-29 Thread Vladimir Oltean
On Sun, Aug 29, 2021 at 01:12:30AM +0200, Michael Walle wrote: > Am 2021-08-26 18:32, schrieb Vladimir Oltean: > > On Thu, Aug 26, 2021 at 09:35:12AM +0200, Michael Walle wrote: > > > Theres still one catch at the moment, AFAIK in linux you can put the > > > PHYs either in the mdio controller node

Re: incompatible device trees between u-boot and linux

2021-08-28 Thread Michael Walle
Am 2021-08-26 18:32, schrieb Vladimir Oltean: On Thu, Aug 26, 2021 at 09:35:12AM +0200, Michael Walle wrote: Theres still one catch at the moment, AFAIK in linux you can put the PHYs either in the mdio controller node or in a "mdio" subnode within the ethernet controller node. I'm not sure wethe

Re: incompatible device trees between u-boot and linux

2021-08-26 Thread Vladimir Oltean
On Thu, Aug 26, 2021 at 09:35:12AM +0200, Michael Walle wrote: > Am 2021-08-26 01:03, schrieb Vladimir Oltean: > > On Wed, Aug 25, 2021 at 04:09:50PM -0400, Tom Rini wrote: > > In any case, it doesn't sound absurd at all, with a bit of passion it > > could be done on all Layerscapes. I would be abs

Re: incompatible device trees between u-boot and linux

2021-08-26 Thread Michael Walle
Am 2021-08-26 01:03, schrieb Vladimir Oltean: On Wed, Aug 25, 2021 at 04:09:50PM -0400, Tom Rini wrote: In any case, it doesn't sound absurd at all, with a bit of passion it could be done on all Layerscapes. I would be absolutely glad to help on the Ethernet / DSA side of things (which I believe

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Vladimir Oltean
On Wed, Aug 25, 2021 at 04:09:50PM -0400, Tom Rini wrote: > I'm saying that because it's what's been said for what feels like 10+ > years. I don't want to think how many countless hours have been spent > on that point at conferences over the years. It's not even a Linux > thing. I would swear yo

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Mark Kettenis
> Date: Wed, 25 Aug 2021 18:12:20 +0300 > From: Vladimir Oltean > > On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > > On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > > > On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > > > > On Wed, Aug 25, 2021 at 03:58:

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Tom Rini
On Wed, Aug 25, 2021 at 06:43:23PM +0300, Vladimir Oltean wrote: > On Wed, Aug 25, 2021 at 11:24:08AM -0400, Tom Rini wrote: > > On Wed, Aug 25, 2021 at 06:12:20PM +0300, Vladimir Oltean wrote: > > > On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > > > > On Wed, Aug 25, 2021 at 05:18:16P

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Vladimir Oltean
On Wed, Aug 25, 2021 at 11:24:08AM -0400, Tom Rini wrote: > On Wed, Aug 25, 2021 at 06:12:20PM +0300, Vladimir Oltean wrote: > > On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > > > On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > > > > On Wed, Aug 25, 2021 at 10:00:45A

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Tom Rini
On Wed, Aug 25, 2021 at 06:12:20PM +0300, Vladimir Oltean wrote: > On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > > On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > > > On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > > > > On Wed, Aug 25, 2021 at 03:58:10P

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Vladimir Oltean
On Wed, Aug 25, 2021 at 10:26:10AM -0400, Tom Rini wrote: > On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > > On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > > > On Wed, Aug 25, 2021 at 03:58:10PM +0200, Michael Walle wrote: > > > > > > > Hi, > > > > > > > > I noticed

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Michael Walle
Am 2021-08-25 16:18, schrieb Vladimir Oltean: Curious that Michael mentions Ethernet and DSA on LS1028A. [..] I mean, they look pretty similar to me? The biggest difference is that the ENETC ECAM is under the /soc node in Linux, but under / in U-Boot, as well as some BAR memory areas that are

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Tom Rini
On Wed, Aug 25, 2021 at 05:18:16PM +0300, Vladimir Oltean wrote: > On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > > On Wed, Aug 25, 2021 at 03:58:10PM +0200, Michael Walle wrote: > > > > > Hi, > > > > > > I noticed that there is a fallback to the u-boot device tree for linux > > > (esp

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Vladimir Oltean
On Wed, Aug 25, 2021 at 10:00:45AM -0400, Tom Rini wrote: > On Wed, Aug 25, 2021 at 03:58:10PM +0200, Michael Walle wrote: > > > 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 wo

Re: incompatible device trees between u-boot and linux

2021-08-25 Thread Tom Rini
On Wed, Aug 25, 2021 at 03:58:10PM +0200, Michael Walle wrote: > 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 > s

incompatible device trees between u-boot and linux

2021-08-25 Thread Michael Walle
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 feat