make jz2440.dtb 时出现以下:
DTC arch/arm/boot/dts/jz2440.dtb
Error: arch/arm/boot/dts/jz2440.dts:50.24-25 syntax error
FATAL ERROR: Unable to parse input tree
也就是这句有问题:
leds-gpios = <&gpf 0 GPIO_ACTIVE_LOW>, <&gpf 2 GPIO_ACTIVE_LOW>,<&gpg 3 GPIO_ACTIVE_LOW>,<&gpg 11 GPIO_ACTIVE_LOW>;
接解决:
增加:#include <dt-bindings/gpio/gpio.h>
呵呵,成功编译