version control for dts/dtb?

Leisner, Martin Martin.Leisner at xerox.com
Sat Jun 23 04:08:43 EST 2007


I made a node "revision" which was tied into rcs...

 ...
        compatible = "mpc74xx";
        revision = "$Revision: 1.7 $";
        #address-cells = <1>;
        #size-cells = <1>;
        linux,phandle = <100>;
...

This seems to do what I wanted, I can then see in /proc/device-tree what
dts I'm running...

marty
> -----Original Message-----
> From: 
> linuxppc-embedded-bounces+martin.leisner=xerox.com at ozlabs.org 
> [mailto:linuxppc-embedded-bounces+martin.leisner=xerox.com at ozl
> abs.org] On Behalf Of Jon Loeliger
> Sent: Friday, June 22, 2007 1:25 PM
> To: marty
> Cc: linuxppc-embedded at ozlabs.org
> Subject: Re: version control for dts/dtb?
> 
> On Sat, 2007-06-16 at 12:44, marty wrote:
> > Is there a  wy to figure out the version of the dtb file I'm  using?
> > At a minimum, it would be useful to have a node with the 
> conversion time 
> > stuck somewhere...
> > 
> > I ran dtc to convert binary to source, but that isn't 
> necessarily what I 
> > wanted to look at -- just a single date
> > code would be sufficient...
> > 
> > marty
> 
> 
> There is currently no direct version stamp in the
> DTS or DTB files.  You may be able to derive some
> knowledge by running a DTB file through the DTC
> with the input file as "dtb" and looking at an
> output file of DTS, though.  That is, "-I dtb -O dts"
> and looking at it.
> 
> HTH,
> jdl
> 
> 
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded
> 



More information about the Linuxppc-embedded mailing list