[PATCH] When dumping from file system show results in sane order

Matthew McClintock msm at freescale.com
Tue Oct 12 02:12:28 EST 2010


On Oct 11, 2010, at 12:54 AM, Grant Likely wrote:

> On Tue, Oct 05, 2010 at 02:07:21PM -0500, Matthew McClintock wrote:
>> Currently, when we run the following
>> 
>> $> dtc -I fs -O dts /proc/device-tree
>> 
>> We get the output in a "reverse order", this patch will reverse that
>> output order and should resemble your initial device more closely
>> 
>> Code copied over from kexec-tools
>> 
>> Signed-off-by: Matthew McClintock <msm at freescale.com>
> 
> Hi Matthew.  David just posted a patch implementing a generic search
> option when outputting a tree in dts format which would be applicable
> to more use cases than just sucking up the fstree.  Would that do the
> job for you?
> 
> g.

I just noticed that, I suspect it will work. I will test it out and get back to everyone.

-M


More information about the devicetree-discuss mailing list