初级会员 
  
	- 积分
 - 149
 
        - 金钱
 - 149 
 
       - 注册时间
 - 2022-4-29
 
      - 在线时间
 - 44 小时
 
 
 
 | 
 
 
 楼主 |
发表于 2022-9-26 10:43:54
|
显示全部楼层
 
 
 
 
哦,是这样,十分感谢 
那这会影响我的工程编译吗,因为我工程里有用到外设lcd和i2c控制器下的设备ov5640,但是petalinux-build时报错显示相应的标签路径找不到,我用的正点原子system-user.dtsi设备树文件 
Log data follows: 
| DEBUG: Executing shell function do_compile 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:130.1-8 Label or path flash0 not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:138.1-7 Label or path pwm_0 not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:217.1-6 Label or path i2c2 not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:248.1-9 Label or path lcd_vtc not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:252.1-10 Label or path lcd_vdma not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:257.1-10 Label or path hdmi_vtc not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:262.1-13 Label or path hdmi_dynclk not found 
| Error: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/system-user.dtsi:267.1-11 Label or path hdmi_vdma not found 
| FATAL ERROR: Syntax error parsing input tree 
| WARNING: /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/run.do_compile.31476:1 exit 1 from 'dtc -I dts -O dtb -R 8 -p 0x1000 -b 0 -i /home/petalinux/otsu-thresholf.bsp/build/../components/plnx_workspace/device-tree/device-tree -i /home/petalinux/otsu-thresholf.bsp/build/tmp/work-shared/plnx-zynq7/kernel-source/include -i /home/petalinux/otsu-thresholf.bsp/build/tmp/work-shared/plnx-zynq7/kernel-source/include -i /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0 -o ${DTS_NAME}.dtb `basename ${DTS_FILE}`.pp' 
| ERROR: Function failed: do_compile (log file is located at /home/petalinux/otsu-thresholf.bsp/build/tmp/work/plnx_zynq7-xilinx-linux-gnueabi/device-tree/xilinx+gitAUTOINC+b7466bbeee-r0/temp/log.do_compile.31476) 
ERROR: Task (/opt/pkg/petalinux/2018.3/components/yocto/source/arm/layers/meta-xilinx/meta-xilinx-bsp/recipes-bsp/device-tree/device-tree.bb:do_compile) failed with exit code '1' 
NOTE: linux-xlnx: compiling from external source tree /home/work/linux-4.14 
NOTE: Tasks Summary: Attempted 2994 tasks of which 2983 didn't need to be rerun and 1 failed. 
 |   
 
 
 
 |