Skip to contentSkip to conversation

Quick question about dts

DISCUSSION M. Warner Losh 3 participants 4 messages Aug 5, 2008 – Aug 6, 2008

lore
Share & tools
lore
#0 lore raw

I have a .dts file that works with 2.6.18 (MV Pro 5.0). I encode it directly into the kernel image. However, when I try to use it with my 2.6.23, 2.6.24 or 2.6.25 kernel trees, it doesn't work at all. In the MV Pro 5.0 kernel, I hacked the startup sequence to store a pointer to this blob in r3 so that it is moved in. I've done something similar in -current (for reasons that are too complicated to really explain well, we can't do this via the normal boot loader mechanisms). The dtc complains that the interrupt-controller property is obsolete on the chosen device.

Does any documentation exist for how dts has evolved? I'd like to forward port what I have without examining the .dts files from both versions and guessing...

Warner

#1 lore raw

M. Warner Losh ha scritto:

Quoted 14 lines

I have a .dts file that works with 2.6.18 (MV Pro 5.0). I encode it directly into the kernel image. However, when I try to use it with my 2.6.23, 2.6.24 or 2.6.25 kernel trees, it doesn't work at all. In the MV Pro 5.0 kernel, I hacked the startup sequence to store a pointer to this blob in r3 so that it is moved in. I've done something similar in -current (for reasons that are too complicated to really explain well, we can't do this via the normal boot loader mechanisms). The dtc complains that the interrupt-controller property is obsolete on the chosen device.

Does any documentation exist for how dts has evolved? I'd like to forward port what I have without examining the .dts files from both versions and guessing...

Quoted 7 lines

Warner

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Check out the kernel documentation booting-without-of.txt of your version.

Regards,

Signature · 7 lines
Marco Stornelli
Embedded Software Engineer
CoRiTeL - Consorzio di Ricerca sulle Telecomunicazioni
http://www.coritel.it

[email protected]
+39 06 72582838
#2 lore raw

From: Marco Stornelli <[email protected]>
Subject: Re: Quick question about dts
Date: Tue, 05 Aug 2008 09:35:15 +0200

Quoted 17 lines

M. Warner Losh ha scritto:

Quoted 16 lines

I have a .dts file that works with 2.6.18 (MV Pro 5.0). I encode it directly into the kernel image. However, when I try to use it with my 2.6.23, 2.6.24 or 2.6.25 kernel trees, it doesn't work at all. In the MV Pro 5.0 kernel, I hacked the startup sequence to store a pointer to this blob in r3 so that it is moved in. I've done something similar in -current (for reasons that are too complicated to really explain well, we can't do this via the normal boot loader mechanisms). The dtc complains that the interrupt-controller property is obsolete on the chosen device.

Does any documentation exist for how dts has evolved? I'd like to forward port what I have without examining the .dts files from both versions and guessing...

Warner

Quoted 7 lines
Quoted 5 lines

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Check out the kernel documentation booting-without-of.txt of your version.

Thanks. I've already read this for both versions of the kernel. It doesn't tell me how dts has evolved. It just tells me, mostly, what is current for each version.

I've poked a little at the diffs between different versions. But these diffs are only what, not why.

Warner

#3 lore raw
In reply to Marco Stornelli
Quoted 11 lines · Marco Stornelli

M. Warner Losh ha scritto:

Quoted 10 lines

I have a .dts file that works with 2.6.18 (MV Pro 5.0). I encode it directly into the kernel image. However, when I try to use it with my 2.6.23, 2.6.24 or 2.6.25 kernel trees, it doesn't work at all. In the MV Pro 5.0 kernel, I hacked the startup sequence to store a pointer to this blob in r3 so that it is moved in. I've done something similar in -current (for reasons that are too complicated to really explain well, we can't do this via the normal boot loader mechanisms). The dtc complains that the interrupt-controller property is obsolete on the chosen device.

Quoted 6 lines
Quoted 4 lines

Does any documentation exist for how dts has evolved? I'd like to forward port what I have without examining the .dts files from both versions and guessing...

Check out the kernel documentation booting-without-of.txt of your version.

Better yet, go get the ePAPR specification from Power.org?

It's easier to read :)

Signature · 2 lines
Matt Sealey <[email protected]>
Genesi, Manager, Developer Relations