On Aug 5, 2013, at 23:05, Rob Herring robherring2@gmail.com wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/05/2013 04:41 PM, Dennis Gilmore wrote:
Hi all,
As part of the unified features in u-boot thread I said that I would work to get distros to agree to a common location that u-boot will be able to assume exists for it to transparently load dtbs from for us.
I would like to propose /boot/dtb/
I think it needs to be in /boot/ to allow for booting from systems with / and /boot on separate partitions. I believe Ubuntu and hence Debian put them in /lib somewhere today. Fedora puts them in /boot/dtb-<kernel version>. im not sure where the other distros put them.
A DTB should not be tied to a kernel version. I realize that is a reality for some boards, but lets not encourage that.
+1
A generic solution should favor the platform providing the DTB, not the kernel. Note that I do not expect this to ever be fully possible until there is a 1,000 page DT spec written by an organization formed for the purpose, with trademark and test suite enforcement of compliance. But we have all seen the upstream discussions on bindings and everyone is trying their best, so we can keep this thread technical - and from a technical PoV DTB is platform data, not OS data.
Jon.