worlickwerx / pi-parport

retro parallel port for raspberry pi
GNU General Public License v2.0
64 stars 11 forks source link

Cannot compile Device Tree Overlay #46

Closed iguanatamer closed 3 years ago

iguanatamer commented 3 years ago

I'm trying to compile the Device Tree Overlay on a raspberry pi 0 and I get this error:

pi@raspberrypi:~/pi-parport/dts $ make dtc -@ -I dts -O dtb -o parport-gpio.dtbo parport-gpio.dts parport-gpio.dtbo: Warning (unit_address_vs_reg): /fragment@1/__overlay__/ppgpio@0: node has a unit name, but no reg property

garlick commented 3 years ago

Please check, but the dtbo file should have been produced as it's a non fatal error.

Here's a forum discussion that suggests these warnings are to be expected:

https://www.raspberrypi.org/forums/viewtopic.php?t=172342

specifically the post from Phil where he points out:

Node /fragment@0 has a unit name, but no reg property Here, dtc is tricked by the fragment@ syntax into expecting a corresponding "reg", but there shouldn't be one. This warning is a fact of life until dtc is updated to include a better understanding of the overlay syntax.

iguanatamer commented 3 years ago

Ah, ok. Thanks for the explanation.