NXP MCU 技术论坛
直播中

费加罗

8年用户 823经验值
私信 关注
[问答]

进行dts编译,没有包含搜索dt-bindings/interrupt-controller/arm-gic.h的路径怎么解决?


我正在努力进行 dts 编译,当我尝试编译 dts 文件时(这个 dts 文件路径是“ imx-yocto-bsp/maaxboard/build/tmp/work-shared/maaxboard-ddr4-2g-sdcard/kernel-source /arch/arm64/boot/dts/freescale "), 我在下面收到这个错误:

/mnt/YOCTO/imx-yocto-bsp/maaxboard/build/tmp/hosttools/cpp -nostdinc -I include -undef -x assembler-with-cpp maaxboard-dcss-hdmi.dts > maaxboard-dcss-hdmi.tm3.dts
In file included from fsl-imx8mq.dtsi:16:0,
                 from maaxboard.dtsi:17,
                 from maaxboard-dcss-hdmi.dts:15:
fsl-imx8-ca53.dtsi:16:54: error: no include path in which to search for dt-bindings/interrupt-controller/arm-gic.h
#include
                                                      ^
In file included from maaxboard.dtsi:17:0,
                 from maaxboard-dcss-hdmi.dts:15:
fsl-imx8mq.dtsi:17:44: error: no include path in which to search for dt-bindings/clock/imx8mq-clock.h
#include
                                            ^
fsl-imx8mq.dtsi:18:35: error: no include path in which to search for dt-bindings/gpio/gpio.h
#include
                                   ^
fsl-imx8mq.dtsi:19:37: error: no include path in which to search for dt-bindings/input/input.h
#include
                                     ^
fsl-imx8mq.dtsi:20:54: error: no include path in which to search for dt-bindings/interrupt-controller/arm-gic.h
#include
                                                      ^
fsl-imx8mq.dtsi:21:45: error: no include path in which to search for dt-bindings/pinctrl/pins-imx8mq.h
#include
                                             ^
fsl-imx8mq.dtsi:22:41: error: no include path in which to search for dt-bindings/thermal/thermal.h
#include
奇怪的是,当我尝试在 “imx-yocto-bsp/maaxboard/build/tmp/work/maaxboard_ddr4_2g_sdcard-poky-linux/u-boot-imx/2018.03-r0/git/arch/arm/”中编译 dts 文件时dts”,编译成功。没有错误。它们之间有什么区别,你知道吗?

更多回帖

发帖
×
20
完善资料,
赚取积分