Skip to contentSkip to conversation

Device tree compiler

DISCUSSION Laurent Pinchart 2 participants 2 messages Sep 17, 2007

lore
Share & tools
lore
#0 lore raw

Hi everybody,

I'm trying to port a MPC8248-based board from ppc to powerpc.

While looking for example DTS files I found out that the Linux kernel sourc= es=20
include a few of them in arch/powerpc/boot/dts. However, they don't compile= =20
with the latest device-tree compiler available at=20
git://ozlabs.org/srv/projects/dtc/dtc.git.

One of the most common error comes from references to the PIC using a node= =20
name instead of a linux,phandler value. As most DTS files in the kernel=20 sources fail to compile, I was wondering if there was another DTC I was not= =20
aware of, or if those files have actually never been compiled.

Best regards,

=2D-=20
Laurent Pinchart
CSE Semaphore Belgium

Chauss=E9e de Bruxelles, 732A
B-1410 Waterloo
Belgium

T +32 (2) 387 42 59
=46 +32 (2) 387 42 75

#1 lore raw
Quoted 8 lines · On Mon, 17 Sep 2007 13:30:37 +0200 Laurent Pinchart…

Hi everybody,

I'm trying to port a MPC8248-based board from ppc to powerpc.

While looking for example DTS files I found out that the Linux kernel sources include a few of them in arch/powerpc/boot/dts. However, they don't compile with the latest device-tree compiler available at
git://ozlabs.org/srv/projects/dtc/dtc.git.

Because that is ancient. Use the one from:

git://www.jdl.com/software/dtc.git

Someone should really fix up the ozlabs page to stop pointing at outdated versions of DTC.

josh