All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>
To: Mark Brown <broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>,
	Alexandre Belloni
	<alexandre.belloni-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>,
	Tony Lindgren <tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org>,
	LinusW <linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	Liviu Dudau <liviu.dudau-5wv7dgnIgG8@public.gmane.org>,
	Michal Simek
	<michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org>,
	Masahiro Yamada
	<yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org>,
	Thierry Reding
	<thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Rob Herring <robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Florian Fainelli
	<f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
	Kevin Hilman <khilman-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Gregory CLEMENT
	<gregory.clement-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org>,
	Alexander Graf <agraf-l3A5Bk7waGM@public.gmane.org>,
	Krzysztof Kozlowski
	<krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	ARM-SoC Maintainers <arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>,
	Joel Stanley <joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org>,
	Andy Gross <andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>,
	DTML <devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
	Boot Architecture
	<boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org>,
	Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>,
	Tom Rini <trini-OWPKS81ov/FWk0Htik3J/w@public.gmane.org>,
	Simon Horman <horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org>,
	Linux ARM Mailing List <linux-arm-kernel@>
Subject: Re: Moving ARM dts files
Date: Thu, 6 Dec 2018 12:49:42 -0800	[thread overview]
Message-ID: <CAOesGMgTVHakL+m004Wu2gtHETAXuO8kV9jByaX4XQq_W3QAxA@mail.gmail.com> (raw)
In-Reply-To: <20181206200652.GB3084-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>

On Thu, Dec 6, 2018 at 12:07 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Thu, Dec 06, 2018 at 01:06:43PM -0600, Rob Herring wrote:
> > On Thu, Dec 6, 2018 at 7:32 AM Andreas Färber <afaerber@suse.de> wrote:
>
> > > I'd be okay with distinguishing source vs. install location. Due to the
> > > issue I mention below (and more) we can't use install_dtbs for openSUSE
> > > and had to reimplement it, which we'd need to (and can) adjust.
>
> > What would be needed for dtbs_install to work? arm64 needs to support
> > a flat install? If it doesn't work for Debian or openSUSE, I'm not
> > sure why we have it. So I'd like to make it work.
>
> Correct me if I'm wrong but as far as the flat vs directory thing goes
> isn't the issue that this winds up being a rename for an existing 32 bit
> system?  If you just install the dtbs in the default location then a
> bootloader or whatever that is hard coded to look for foo-bar.dtb won't
> see the new foo/foo-bar.dtb (or whatever) and will continue to use the
> old binary.  It's not the fact that that it's in a directory, it's the
> fact that the bootloader sees the name it needs to look for change (if
> it's looking on a filesystem at all).  This isn't a problem for arm64 as
> the location isn't changing, it's used directories from day one.

Yeah, install needs to remain flat even if the dts files move into
subdirectories. It will be painful for everybody if the install
location moves.

> The issues with the existing install_dtbs sounded unrelated to this.

Agreed.


-Olof
_______________________________________________
boot-architecture mailing list
boot-architecture@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/boot-architecture

WARNING: multiple messages have this Message-ID (diff)
From: Olof Johansson <olof@lixom.net>
To: Mark Brown <broonie@kernel.org>
Cc: "Andrew Lunn" <andrew@lunn.ch>,
	"Alexandre Belloni" <alexandre.belloni@bootlin.com>,
	"Tony Lindgren" <tony@atomide.com>,
	LinusW <linus.walleij@linaro.org>,
	"Liviu Dudau" <liviu.dudau@arm.com>,
	"Michal Simek" <michal.simek@xilinx.com>,
	"Masahiro Yamada" <yamada.masahiro@socionext.com>,
	"Thierry Reding" <thierry.reding@gmail.com>,
	"Rob Herring" <robh@kernel.org>,
	"Florian Fainelli" <f.fainelli@gmail.com>,
	"Kevin Hilman" <khilman@kernel.org>,
	"Gregory CLEMENT" <gregory.clement@bootlin.com>,
	"Alexander Graf" <agraf@suse.de>,
	"Krzysztof Kozlowski" <krzk@kernel.org>,
	"ARM-SoC Maintainers" <arm@kernel.org>,
	"Joel Stanley" <joel@jms.id.au>,
	"Andy Gross" <andy.gross@linaro.org>,
	DTML <devicetree@vger.kernel.org>,
	"Boot Architecture" <boot-architecture@lists.linaro.org>,
	"Jason Cooper" <jason@lakedaemon.net>,
	"Tom Rini" <trini@konsulko.com>,
	"Simon Horman" <horms@verge.net.au>,
	"Linux ARM Mailing List" <linux-arm-kernel@lists.infradead.org>,
	"Grant Likely" <Grant.Likely@arm.com>,
	"Maxime Coquelin" <mcoquelin.stm32@gmail.com>,
	"Shawn Guo" <shawnguo@kernel.org>,
	"Andreas Färber" <afaerber@suse.de>,
	"Daniel Mack" <daniel@zonque.org>
Subject: Re: Moving ARM dts files
Date: Thu, 6 Dec 2018 12:49:42 -0800	[thread overview]
Message-ID: <CAOesGMgTVHakL+m004Wu2gtHETAXuO8kV9jByaX4XQq_W3QAxA@mail.gmail.com> (raw)
In-Reply-To: <20181206200652.GB3084@sirena.org.uk>

On Thu, Dec 6, 2018 at 12:07 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Thu, Dec 06, 2018 at 01:06:43PM -0600, Rob Herring wrote:
> > On Thu, Dec 6, 2018 at 7:32 AM Andreas Färber <afaerber@suse.de> wrote:
>
> > > I'd be okay with distinguishing source vs. install location. Due to the
> > > issue I mention below (and more) we can't use install_dtbs for openSUSE
> > > and had to reimplement it, which we'd need to (and can) adjust.
>
> > What would be needed for dtbs_install to work? arm64 needs to support
> > a flat install? If it doesn't work for Debian or openSUSE, I'm not
> > sure why we have it. So I'd like to make it work.
>
> Correct me if I'm wrong but as far as the flat vs directory thing goes
> isn't the issue that this winds up being a rename for an existing 32 bit
> system?  If you just install the dtbs in the default location then a
> bootloader or whatever that is hard coded to look for foo-bar.dtb won't
> see the new foo/foo-bar.dtb (or whatever) and will continue to use the
> old binary.  It's not the fact that that it's in a directory, it's the
> fact that the bootloader sees the name it needs to look for change (if
> it's looking on a filesystem at all).  This isn't a problem for arm64 as
> the location isn't changing, it's used directories from day one.

Yeah, install needs to remain flat even if the dts files move into
subdirectories. It will be painful for everybody if the install
location moves.

> The issues with the existing install_dtbs sounded unrelated to this.

Agreed.


-Olof

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

  parent reply	other threads:[~2018-12-06 20:49 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-04 18:36 Moving ARM dts files Rob Herring
2018-12-04 18:36 ` Rob Herring
2018-12-04 18:47 ` Alexandre Belloni
2018-12-04 18:47   ` Alexandre Belloni
2018-12-04 19:09   ` Rob Herring
2018-12-04 19:09     ` Rob Herring
2018-12-04 22:21 ` Simon Horman
2018-12-04 22:21   ` Simon Horman
2018-12-05  1:22 ` Andreas Färber
2018-12-05  1:22   ` Andreas Färber
     [not found]   ` <9c2b5528-679a-928e-3150-aa383a4f0405-l3A5Bk7waGM@public.gmane.org>
2018-12-05  4:17     ` Rob Herring
2018-12-05  4:17       ` Rob Herring
2018-12-05 17:33       ` Tom Rini
2018-12-05 17:33         ` Tom Rini
2018-12-06 13:32       ` Andreas Färber
2018-12-06 13:32         ` Andreas Färber
2018-12-06 19:06         ` Rob Herring
2018-12-06 19:06           ` Rob Herring
2018-12-06 20:06           ` Mark Brown
2018-12-06 20:06             ` Mark Brown
     [not found]             ` <20181206200652.GB3084-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2018-12-06 20:49               ` Olof Johansson [this message]
2018-12-06 20:49                 ` Olof Johansson
2018-12-07 14:57             ` Rob Herring
2018-12-07 14:57               ` Rob Herring
2018-12-07 15:16               ` Mark Brown
2018-12-07 15:16                 ` Mark Brown
     [not found]                 ` <20181207151625.GC6510-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2018-12-07 15:29                   ` Rob Herring
2018-12-07 15:29                     ` Rob Herring
2018-12-06 20:14           ` Tom Rini
2018-12-06 20:14             ` Tom Rini
2018-12-05  4:18 ` Masahiro Yamada
2018-12-05  4:18   ` Masahiro Yamada
2018-12-05  9:48   ` Michal Simek
2018-12-05  9:48     ` Michal Simek
2018-12-05  6:02 ` Jisheng Zhang
2018-12-05  6:02   ` Jisheng Zhang
2018-12-05  8:19   ` Linus Walleij
2018-12-05  8:19     ` Linus Walleij
2018-12-05  8:34     ` Jisheng Zhang
2018-12-05  8:34       ` Jisheng Zhang
2018-12-05  9:04       ` Linus Walleij
2018-12-05  9:04         ` Linus Walleij
2018-12-05 15:01     ` Rob Herring
2018-12-05 15:01       ` Rob Herring
2018-12-05 21:03       ` Linus Walleij
2018-12-05 21:03         ` Linus Walleij
2018-12-06 13:39       ` Uwe Kleine-König
2018-12-06 13:39         ` Uwe Kleine-König
2018-12-06 13:58         ` Rob Herring
2018-12-06 13:58           ` Rob Herring
2018-12-06 14:05           ` Alexandre Belloni
2018-12-06 14:05             ` Alexandre Belloni
2018-12-06 14:30             ` Linus Walleij
2018-12-06 14:30               ` Linus Walleij
2018-12-06 16:57               ` Rob Herring
2018-12-06 16:57                 ` Rob Herring
2018-12-06 22:12                 ` Linus Walleij
2018-12-06 22:12                   ` Linus Walleij
2018-12-07 23:35                   ` Tony Lindgren
2018-12-07 23:35                     ` Tony Lindgren
2018-12-05  8:13 ` Nicolas.Ferre
2018-12-05  8:13   ` Nicolas.Ferre
2018-12-05 15:14 ` Neil Armstrong
2018-12-05 15:14   ` Neil Armstrong
2018-12-05 17:36 ` Li Yang
2018-12-05 17:36   ` Li Yang
2018-12-07 22:33 ` Rob Herring
2018-12-07 22:33   ` Rob Herring
2018-12-08  9:25   ` Krzysztof Kozlowski
2018-12-08  9:25     ` Krzysztof Kozlowski
2018-12-08 22:40   ` Linus Walleij
2018-12-08 22:40     ` Linus Walleij
2018-12-11 15:58   ` Olof Johansson
2018-12-11 15:58     ` Olof Johansson
2018-12-08 10:07 ` Ian Campbell
2018-12-08 10:07   ` Ian Campbell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAOesGMgTVHakL+m004Wu2gtHETAXuO8kV9jByaX4XQq_W3QAxA@mail.gmail.com \
    --to=olof-nzht3qvonbneowh0uzbu5w@public.gmane.org \
    --cc=agraf-l3A5Bk7waGM@public.gmane.org \
    --cc=alexandre.belloni-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org \
    --cc=andrew-g2DYL2Zd6BY@public.gmane.org \
    --cc=andy.gross-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=arm-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=boot-architecture-cunTk1MwBs8s++Sfvej+rw@public.gmane.org \
    --cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=f.fainelli-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=gregory.clement-LDxbnhwyfcJBDgjK7y7TUQ@public.gmane.org \
    --cc=horms-/R6kz+dDXgpPR4JQBCEnsQ@public.gmane.org \
    --cc=jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org \
    --cc=joel-U3u1mxZcP9KHXe+LvDLADg@public.gmane.org \
    --cc=khilman-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=krzk-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=linus.walleij-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
    --cc=liviu.dudau-5wv7dgnIgG8@public.gmane.org \
    --cc=michal.simek-gjFFaj9aHVfQT0dZR+AlfA@public.gmane.org \
    --cc=robh-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
    --cc=thierry.reding-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=tony-4v6yS6AI5VpBDgjK7y7TUQ@public.gmane.org \
    --cc=trini-OWPKS81ov/FWk0Htik3J/w@public.gmane.org \
    --cc=yamada.masahiro-uWyLwvC0a2jby3iVrkZq2A@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.