Xilinx / qemu-devicetrees

Device trees used by QEMU to describe the hardware
42 stars 25 forks source link

Build failed (versal-pmc-npi.dtsi) #3

Open nikAizuddin opened 2 years ago

nikAizuddin commented 2 years ago

I got the following errors when running make:

root@a1f09e35f760:/opt/qemu-devicetrees# make
Error: versal-pmc-npi.dtsi:336.1-15 Label or path npi_noc_nmu_0 not found
Error: versal-pmc-npi.dtsi:339.1-15 Label or path npi_noc_nsu_0 not found
Error: versal-pmc-npi.dtsi:342.1-15 Label or path npi_noc_nps_0 not found
FATAL ERROR: Syntax error parsing input tree
make: *** [Makefile:71: LATEST/SINGLE_ARCH/board-versal-ps-virt.dtb] Error 1

However if I remove these lines, make run just fine.

edgarigl commented 2 years ago

Hi,

Can you show us the version of dtc that you're using? (run dtc --version)

Could you try to edit versal-pmc-npi.dtsi and remove the last part that sets doc-ignore to 0, i.e: // Docs &npi_noc_nmu_0 { doc-ignore = <0>; }; &npi_noc_nsu_0 { doc-ignore = <0>; }; &npi_noc_nps_0 { doc-ignore = <0>; };

Just remove all of that, and let us know if it works for you.

Thanks, Edgar