On Wed, 2014-05-21 at 14:39 +0300, Riku Voipio wrote:
> 
> Hi,
> 
> I've collected a list of where people install their dtb files these
> days;
> 
> https://wiki.linaro.org/Platform/DeviceTreeConsolidation
> 
> 
> Every distribution has a slightly different variation of install
> location, which is not good - we can't tell end users that "this is
> the place you can expect to find your device tree files regardless of
> what distribution you choose".  Some questions I have here before we
> proceed discussing what would be the standardized location:
> 
> 
> 1) Anything missing of the pros and cons of different locations?

FWIW Debian will now arrange for the correct DTB for the platform to be
installed as /boot/dtb-$(uname -r) as well as the /usr/lib location.

WRT the use of `uname -r` and DTB as stable ABI, might it be sensible to
declare a search path type arrangement? i.e. try /path/with-uname-r/dtb
then /path/dtb ? For example people might consider packaging
https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-rebasing.git 
which doesn't have a uname in it.

> 2) Are you interested in moving to a standardized location if
> cross-distro list proposes one?

Installing the dtb for the current platform into some known location
easily accessed from bootloaders seems reasonable enough.

I'm more or less ambivalent about installing all of the possible DTB
files in a similar location though. I'm not sure what the use case for
that is. Wouldn't you also need to standardise on the dtb filename for
each platform and effectively make that ABI?

Ian.



_______________________________________________
cross-distro mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/cross-distro

Reply via email to