Are there any tools for validating device tree files?
I'm getting a device tree header not valid error in rtsm err:-9 but obviously that doesn't give any hints about what line it might be.
Thanks!
Hi Tom,
Look for something in dtc package. I use fdtdump to get back text from binary device tree file. I guess, ftddump would fail if binary device tree file is corrupted.
[kamensky@kamensky-w530 notes]$ rpm -qf /usr/bin/fdtdump dtc-1.4.0-1.fc18.x86_64 [kamensky@kamensky-w530 notes]$ rpm -ql dtc /usr/bin/convert-dtsv0 /usr/bin/dtc /usr/bin/dtdiff /usr/bin/fdtdump /usr/bin/fdtget /usr/bin/fdtput /usr/share/doc/dtc-1.4.0 /usr/share/doc/dtc-1.4.0/GPL
Thanks, Victor
On 21 January 2014 17:39, Tom Gall tom.gall@linaro.org wrote:
Are there any tools for validating device tree files?
I'm getting a device tree header not valid error in rtsm err:-9 but obviously that doesn't give any hints about what line it might be.
Thanks!
-- Regards, Tom
"Where's the kaboom!? There was supposed to be an earth-shattering kaboom!" Marvin Martian Tech Lead, Graphics Working Group | Linaro.org │ Open source software for ARM SoCs w) tom.gall att linaro.org h) tom_gall att mac.com
linaro-dev mailing list linaro-dev@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-dev