On 22 May 2014 17:50, Ian Campbell ijc@hellion.org.uk wrote:
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:
- 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.
...
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?
For installs on eg, an SD Card, there's nothing stopping the one SD Card being usable on multiple different SoC platforms if the bootloader will allow it.
For example Fujitsu have various SoC with bootloader in HSSPI NOR, which knows the right dtb filename for that SoC.
So if all the dtbs are in /boot/whatever, that same SD Card is capable to boot on any of them, since they're all supported by the same single kernel binary from the same SD Card, and the bootloader picked out the right one for what it happens to be running on. It's very convenient.
From that point of view, there isn't really a "correct DTB for the
platform" because the platform it got installed on may not be the only one it's capable and wanting to boot.
-Andy
Ian.
cross-distro mailing list cross-distro@lists.linaro.org http://lists.linaro.org/mailman/listinfo/cross-distro