Re: Issue with dt_to_config with dts files that include headers from dt-bindings
From: Gaurav Minocha <hidden>
Date: 2016-11-06 01:01:27
On Sat, Nov 5, 2016 at 2:56 PM, Gaurav Minocha [off-list ref] wrote:
On Nov 4, 2016 1:19 PM, "Peter Robinson" [off-list ref] wrote:quoted
Hi Gaurav, Rob and Frank, I've just discovered the dt_to_config script (awesome thanks!) but it errors out when a dts(i) includes a header file from dt-bindings. EG ./scripts/dtc/dt_to_config arch/arm/boot/dts/am335x-boneblack.dts In file included from arch/arm/boot/dts/am335x-boneblack.dts:10:0: arch/arm/boot/dts/am33xx.dtsi:11:35: error: no include path in which to search for dt-bindings/gpio/gpio.h #include <dt-bindings/gpio/gpio.h> ^ arch/arm/boot/dts/am33xx.dtsi:12:40: error: no include path in which to search for dt-bindings/pinctrl/am33xx.h #include <dt-bindings/pinctrl/am33xx.h> ^ arch/arm/boot/dts/am335x-boneblack.dts:12:41: error: no include path in which to search for dt-bindings/display/tda998x.h #include <dt-bindings/display/tda998x.h> ^ Error: arch/arm/boot/dts/am335x-bone-common.dtsi:33.23-24 syntax error FATAL ERROR: Unable to parse input treeIn bash do, export ARCH=arm Works for me!quoted
Regards, Peter
-- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html