On Tue, May 18, 2010 at 12:20:05PM -0600, Grant Likely wrote:
> On Mon, May 17, 2010 at 8:03 PM, John Williams
> <[email protected]> wrote:
> > Hi Grant,
> >
> > At ELC I mentioned a tool I'd written that basically hacked u-boot's
> > "fdt" command into a commandline util for querying DTBs. You can do
> > stuff like this:
> >
> > $ fdt-tool system.dtp print
> >
> > <dump entire DTB in text format>
> >
> > $ fdt-tool system.dtb list /cpus/c...@0 xlnx,use-dcache
> > xlnx,use-dcache = <0x1>
> >
> > and so on.
>
> Cool. Thanks John.
>
> I agree with David. It would probably be useful to include in the
> libfdt (which U-Boot fdt support makes use of too) source repo. Seems
> like a useful tool.
Of course, to incorporate it with libfdt, it would need to be BSD
dual-licensed, like the rest of libfdt, and we'd need sign-offs from
all authors to that effect.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss