Thread (3 messages) read the whole thread 3 messages, 3 authors, 2016-10-13

Re: [RFC V2 PATCH 10/12] arm64: dts: msm8994 issolate non standard bootloader/LK entries

From: Rob Herring <robh+dt@kernel.org>
Date: 2016-10-12 12:11:45
Also in: linux-arm-msm

On Wed, Oct 12, 2016 at 5:39 AM, Arnd Bergmann [off-list ref] wrote:
On Tuesday, October 11, 2016 7:41:22 PM CEST Rob Herring wrote:
quoted
On Sat, Oct 1, 2016 at 9:38 PM, Jeremy McNicoll [off-list ref] wrote:
quoted
These non standard DT entries need to be cast aside as to not
pollute the main device tree bindings.  Without these essential
DT items the bootloader/LK will not pass control over to the kernel
and thus never boot.
I discussed this with Stephen recently. I'm okay with leaving these on
boards that have no chance of getting updated bootloaders to use the
compatible string instead. Having to use dtbTool is far worse than a
couple of extra properties IMO. I reserve the right to complain if new
stuff continues to use these though.
quoted
Signed-off-by: Jeremy McNicoll <redacted>
---
 .../arm64/boot/dts/qcom/msm8994-angler-rev-101.dts |  1 -
 arch/arm64/boot/dts/qcom/msm8994.dtsi              |  3 +--
 .../boot/dts/qcom/nexus6p_bootloader_bits.dtsi     | 24 ++++++++++++++++++++++
Just put this into the board file rather than yet another include.
The suggestion that I had was to have two .dts files: the normal
one without these properties, and another .dts file including the
first but adding these three for compatibility with the legacy
bootloaders.

That way we could have a 'clean' .dtb file once the bootloaders
get fixed, and can name the other one appropriately to discourage
copying the method for new machines.
Yes, that makes sense. Though my understanding is things like the
Nexus 6P and 5X will never get fixed bootloaders. The DB410c and other
dev boards are hopefully another story.

Rob
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help