analogdevicesinc / meta-adi

This is the Analog Devices Inc. Yocto/OpenEmbedded layer
MIT License
37 stars 42 forks source link

How to avoid do_sanity_check() error using a custom devicetree which is not supported by default in meta-adi? #154

Closed DarrenChengdu closed 1 month ago

DarrenChengdu commented 2 months ago

Describe the bug I copied zynq-zc706-adv7511-adrv9009.dts as zynq-customboard-adrv9009.dts under /arch/arm/boot/dts, and copied pl-delete-nodes-zynq-zc706-adv7511-adrv9009.dtsi as pl-delete-nodes-zynq-customboard-adrv9009.dtsi under /meta-adi-xilinx/recipes-bsp/device-tree/files. I deleted all hdmi related nodes in pl-delete-nodes-zynq-customboard-adrv9009.dtsi because them didn't exist on the customboard. At the end of running petalinux-build, it faild to do sanity check. How to set do_sanity_check to be false? 屏幕截图 2024-09-13 204411

nunojsa commented 2 months ago

Hi,

You need to properly add your devicetree into the list:

https://github.com/analogdevicesinc/meta-adi/blob/2019_R1/meta-adi-xilinx/recipes-bsp/device-tree/device-tree.bbappend#L99

nunojsa commented 1 month ago

Closing due to inactivity