daten
-
Posts
2 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by daten
-
-
Hey,
I don't even manage to compile the DTS files.
For example: https://github.com/armbian/sunxi-DT-overlays/blob/master/examples/spi-ads7846.dts
$ dtc -I dts -O dtb -o foo.dtbo foo.dts foo.dtbo: Warning (unit_address_vs_reg): Node /fragment@0 has a unit name, but no reg property foo.dtbo: Warning (unit_address_vs_reg): Node /fragment@1 has a unit name, but no reg property foo.dtbo: Warning (gpios_property): Property 'pendown-gpio', cell 2 is not a phandle reference in /fragment@1/__overlay__/ads7846@0 foo.dtbo: Warning (gpios_property): Could not get phandle node for /fragment@1/__overlay__/ads7846@0:pendown-gpio(cell 2) dtc: livetree.c:521: get_node_by_phandle: Assertion `(phandle != 0) && (phandle != -1)' failed. Aborted
The warnings don't even seem to be the issue - suppressing (-q) them and forcing compilation even with errors (-f) still results in the assert. Any hint?
Testers wanted: sunxi Device Tree overlays
in Advanced users - Development
Posted
The missing '-@' wasn't the issue, as I tried with and without. With the dtc from my linux-git clone it worked.
Didn't expect my Debian (testing) version of dtc being the issue here - thanks for pointing me there!
For reference, that's the version which caused me above stated trouble:
ii device-tree-compiler 1.4.5-3 amd64 Device Tree Compiler for Flat Device Trees