AnsweredAssumed Answered

dtbs build faild on kernel 3.14.28

Question asked by yaoshilee on May 26, 2015
Latest reply on Jun 8, 2015 by Raana

huang@V3-771:~/git/fsl/linux-2.6-imx$ make ARCH=arm dtbs V=1

make -f scripts/Makefile.build obj=scripts/basic

rm -f .tmp_quiet_recordmcount

make -f /home/huang/git/fsl/linux-2.6-imx/scripts/Makefile.asm-generic \

                src=asm obj=arch/arm/include/generated/asm

make -f /home/huang/git/fsl/linux-2.6-imx/scripts/Makefile.asm-generic \

                src=uapi/asm obj=arch/arm/include/generated/uapi/asm

make -f scripts/Makefile.build obj=scripts

make -f scripts/Makefile.build obj=scripts/dtc

make -f scripts/Makefile.build obj=scripts/genksyms

make -f scripts/Makefile.build obj=scripts/mod

make -f scripts/Makefile.build obj=arch/arm/boot/dts MACHINE= dtbs

  arm-linux-gnueabihf-gcc -E -Wp,-MD,arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.pre.tmp -nostdinc -I/home/huang/git/fsl/linux-2.6-imx/arch/arm/boot/dts -I/home/huang/git/fsl/linux-2.6-imx/arch/arm/boot/dts/include -I/home/huang/git/fsl/linux-2.6-imx/drivers/of/testcase-data -undef -D__DTS__ -x assembler-with-cpp -o arch/arm/boot/dts/.imx6dl-cubox-i.dtb.dts.tmp arch/arm/boot/dts/imx6dl-cubox-i.dts ; /home/huang/git/fsl/linux-2.6-imx/scripts/dtc/dtc -O dtb -o arch/arm/boot/dts/imx6dl-cubox-i.dtb -b 0 -i arch/arm/boot/dts/  -d arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.dtc.tmp arch/arm/boot/dts/.imx6dl-cubox-i.dtb.dts.tmp ; cat arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.pre.tmp arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d.dtc.tmp > arch/arm/boot/dts/.imx6dl-cubox-i.dtb.d

In file included from arch/arm/boot/dts/imx6dl-cubox-i.dts:6:0:

arch/arm/boot/dts/imx6dl.dtsi:11:50: fatal error: dt-bindings/interrupt-controller/irq.h: No such file or directory

compilation terminated.

make[1]: *** [arch/arm/boot/dts/imx6dl-cubox-i.dtb] Error 1

make: *** [dtbs] Error 2

huang@V3-771:~/git/fsl/linux-2.6-imx$

 

 

Hello all

I checkout kernel source from git://git.freescale.com/imx/linux-2.6-imx.git  and branch is remotes/origin/imx_3.14.28_1.0.0_ga

and use linaro gcc

when I try to build the dtb file , I got the errors like this

 

how can I compile imx6q-arm2.dts file ?

 

 

regards

Outcomes