Cmdline FDT query tool

Grant Likely grant.likely at secretlab.ca
Wed May 19 04:20:05 EST 2010


On Mon, May 17, 2010 at 8:03 PM, John Williams
<john.williams at petalogix.com> 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/cpu at 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.

Cheers,
g.


More information about the devicetree-discuss mailing list