Tool/software:
Dear sir/madam,
I have downloaded the latest ti-sdk for am335x. i am trying to compile the ti-sdk in the ubuntu 22.04 Host machine, but it is giving the following error when I am trying to build the linux using make linux.
In file included from arch/arm/boot/dts/am335x-osd3358-sm-red.dts:11:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: /dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include </dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: * [scripts/Makefile.lib:424: arch/arm/boot/dts/am335x-osd3358-sm-red.dtb] Error 1
make[1]: * [Makefile:1471: am335x-osd3358-sm-red.dtb] Error 2
make[1]: Leaving directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
make[1]: Entering directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
DTC arch/arm/boot/dts/am335x-sl50.dtb
In file included from arch/arm/boot/dts/am335x-sl50.dts:7:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: /dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include </dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: * [scripts/Makefile.lib:424: arch/arm/boot/dts/am335x-sl50.dtb] Error 1
make[1]: * [Makefile:1471: am335x-sl50.dtb] Error 2
make[1]: Leaving directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
make[1]: Entering directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
DTC arch/arm/boot/dts/am335x-boneblue.dtb
In file included from arch/arm/boot/dts/am335x-boneblue.dts:7:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: /dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include </dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: * [scripts/Makefile.lib:424: arch/arm/boot/dts/am335x-boneblue.dtb] Error 1
make[1]: * [Makefile:1471: am335x-boneblue.dtb] Error 2
make[1]: Leaving directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
make[1]: Entering directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
DTC arch/arm/boot/dts/am335x-cm-t335.dtb
In file included from arch/arm/boot/dts/am335x-cm-t335.dts:10:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: /dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include </dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~
compilation terminated.
make[2]: * [scripts/Makefile.lib:424: arch/arm/boot/dts/am335x-cm-t335.dtb] Error 1
make[1]: * [Makefile:1471: am335x-cm-t335.dtb] Error 2
make[1]: Leaving directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
make[1]: Entering directory '/home/tspl/project/bbb/ti-processor-sdk-linux-am335x-evm-linux/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+1d4b5da681-g1d4b5da681'
DTC arch/arm/boot/dts/am335x-myirtech-myd.dtb
In file included from arch/arm/boot/dts/am335x-myirtech-myc.dtsi:9,
from arch/arm/boot/dts/am335x-myirtech-myd.dts:8:
arch/arm/boot/dts/am33xx.dtsi:8:10: fatal error: /dt-bindings/bus/ti-sysc.h: No such file or directory
8 | #include </dt-bindings/bus/ti-sysc.h>
| ^~~~~~~~~~
compilation terminated.
But the files are present in the include directory but giving error as no such file or directory , how can i remove this error. can you please give suggestions to overcome this error
Thanking you...!
Best Regards
Rajkumar