imx6qdl-sabresd.dtsi issue

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx6qdl-sabresd.dtsi issue

1,415 Views
veeranjaneyulug
Contributor III

Hi everyone,

I customized in my imx6qdls-sabresd.dtsi file .I added ntc sensor  in place of gpio codd .below mentioned changed code.

        gpio-keys {

                compatible = "gpio-keys";

                pinctrl-names = "default";

                pinctrl-0 = <&pinctrl_gpio_keys>;

                power {

                        label = "Power Button";

                        gpios = <&gpio3 29 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_POWER>;

                };

/*              volume-up {

                        label = "Volume Up";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEUP>;

                };

                volume-down {

                        label = "Volume Down";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEDOWN>;

                };

       

/*PIR and NTC changed for custom board gpio */

                pir {

                        label = "pir sensor";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_PIRSENSOR>;

                };

                ntc {

                        label = "ntc sensor";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_NTCSENSOR>;

                };

    

| make: Leaving directory `/home/vishwa/workspace/veera_checkout_mar10/coderepo1/custom_mar11/tmp/work/imx6_zcam_custom-poky-linux-gnueabi/linux-imx/3.14.28-r0/image/usr/src/kernel'

| NOTE: make -j 4 imx6_zcam_custom.dtb

|   DTC     arch/arm/boot/dts/imx6_zcam_custom.dtb

| FATAL ERROR: Unable to parse input tree

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

| make[1]: *** [arch/arm/boot/dts/imx6_zcam_custom.dtb] Error 1

| make: *** [imx6_zcam_custom.dtb] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

Can you any body guide me.

Thanks & Regards

veeranjaneyulu

Labels (4)
0 Kudos
3 Replies

571 Views
igorpadykov
NXP Employee
NXP Employee

Hi veeranjaneyulu

suppose this could be some simple typo error, could you check

carefully listing (or remove piece by piece until error disappears).

For example below comment seems is not compelted:

/*          volume-up {

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

571 Views
veeranjaneyulug
Contributor III

Thanks Igor,

Below code commented and renamed volume-up and volume-down in place of  i gave pir and ntc sensor names.

/*              volume-up {

                        label = "Volume Up";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEUP>;

                };

                volume-down {

                        label = "Volume Down";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_VOLUMEDOWN>;

                };

       */

/*PIR and NTC changed for custom board gpio */

                pir {

                        label = "pir sensor";

                        gpios = <&gpio1 4 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_PIRSENSOR>; //error coming here

                };

                ntc {

                        label = "ntc sensor";

                        gpios = <&gpio1 5 1>;

                        gpio-key,wakeup;

                        linux,code = <KEY_NTCSENSOR>;

                };

| make: Leaving directory `/home/vishwa/workspace/veera_checkout_mar10/coderepo1/custom_mar11/tmp/work/imx6_zcam_custom-poky-linux-gnueabi/linux-imx/3.14.28-r0/image/usr/src/kernel'

| NOTE: make -j 4 imx6_zcam_custom.dtb

|   DTC     arch/arm/boot/dts/imx6_zcam_custom.dtb

| FATAL ERROR: Unable to parse input tree

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

| make[1]: *** [arch/arm/boot/dts/imx6_zcam_custom.dtb] Error 1

| make: *** [imx6_zcam_custom.dtb] Error 2

| ERROR: oe_runmake failed

| WARNING: exit code 1 from a shell command.

| Error: arch/arm/boot/dts/imx6qdl-sabresd.dtsi:141.39-40 syntax error

The above error coming at bitbake linux-imx -c build time only.

Thanks

0 Kudos

571 Views
veeranjaneyulug
Contributor III

Thanks  every one the above issue solved.

0 Kudos