Thread (9 messages) 9 messages, 4 authors, 2017-02-08

Re: [RESENT PATCH] ARM: bcm2835: Add devicetree for the Raspberry Pi 3, for arm (32)

From: Michael Zoran <hidden>
Date: 2017-02-02 10:16:18
Also in: linux-arm-kernel, lkml

On Thu, 2017-02-02 at 10:50 +0100, Stefan Wahren wrote:
Am 02.02.2017 um 09:37 schrieb Michael Zoran:
quoted
This is actually a problem I had to deal with way in the begging of
ARM64.  What was done in the github tree was to have the one of the
DTS
   files(in this case 64) #include the 32 bit dts.  That way it's
not
needed to have the symbolic link and install should work.

I know it's ulgy, but it works...

Take a look at:
https://github.com/raspberrypi/linux/blob/rpi-4.10.y/arch/arm64/boo
t/dt
s/broadcom/bcm2710-rpi-3-b.dts

Here is what the file contains:
#define RPI364

#include "../../../../arm/boot/dts/bcm2710-rpi-3-b.dts"

This do not work in the context of the split device-tree repository
[0] 
(where the directory structure differs).

[0] 
https://git.kernel.org/cgit/linux/kernel/git/devicetree/devicetree-re
basing.git/
Well, two other options would be to simply duplicate the device tree
files. I know that's a pain...

The other option is choose one or the other(arm64 vs. arm32), I would
guess pick arm32.  It works...  And at this time, arm64 doesn't have a
whole bunch of benefit on the RPI 3.  Perhaps maybe a RPI 4 will come
out someday and we will see more of a gain.
 
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help