This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PROCESSOR-SDK-AM335X: Warning build DTB

Part Number: PROCESSOR-SDK-AM335X

Hi,

When I modified some DTS files in SDK and tried to build the Kernel, I had some warnings.

make[1]: Entering directory '/opt/ti9/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+ccf548983b-gccf548983b'
  DTC     arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dtb
arch/arm/boot/dts/am33xx.dtsi:164.10-167.6: Warning (unit_address_vs_reg): /target-module@4b000000/target-module@140000/pmu@0: node has a unit name, but no reg or ranges property
arch/arm/boot/dts/am33xx-l4.dtsi:317.33-321.8: Warning (unit_address_vs_reg): /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/scm_conf@0/phy-gmii-sel: node has a reg or ranges property, but no unit name
arch/arm/boot/dts/am33xx-l4.dtsi:2025.10-2029.6: Warning (unit_address_vs_reg): /ocp/interconnect@48000000/segment@200000/target-module@0/mpu@0: node has a unit name, but no reg or ranges property
arch/arm/boot/dts/am33xx-l4.dtsi:758.27-762.7: Warning (unit_address_vs_reg): /ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/slave@200: node has a unit name, but no reg or ranges property
arch/arm/boot/dts/am33xx-l4.dtsi:764.27-768.7: Warning (unit_address_vs_reg): /ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0/slave@300: node has a unit name, but no reg or ranges property
arch/arm/boot/dts/am335x-moxa-uc-8100-me-t.dts:15.9-18.4: Warning (unit_address_vs_reg): /memory: node has a reg or ranges property, but no unit name
arch/arm/boot/dts/am33xx-l4.dtsi:111.25-114.7: Warning (simple_bus_reg): /ocp/interconnect@44c00000/segment@200000/target-module@0/prcm@0/clocks: missing or empty reg/ranges property
  also defined at arch/arm/boot/dts/am33xx-clocks.dtsi:138.14-618.3
arch/arm/boot/dts/am33xx-l4.dtsi:116.37-117.7: Warning (simple_bus_reg): /ocp/interconnect@44c00000/segment@200000/target-module@0/prcm@0/clockdomains: missing or empty reg/ranges property
arch/arm/boot/dts/am33xx-l4.dtsi:317.33-321.8: Warning (simple_bus_reg): /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/scm_conf@0/phy-gmii-sel: simple-bus unit address format error, expected "650"
arch/arm/boot/dts/am33xx-l4.dtsi:323.25-326.8: Warning (simple_bus_reg): /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/scm_conf@0/clocks: missing or empty reg/ranges property
  also defined at arch/arm/boot/dts/am33xx-clocks.dtsi:7.13-137.3
arch/arm/boot/dts/am33xx-l4.dtsi:352.36-353.7: Warning (simple_bus_reg): /ocp/interconnect@44c00000/segment@200000/target-module@10000/scm@0/clockdomains: missing or empty reg/ranges property
arch/arm/boot/dts/am33xx-l4.dtsi:961.12-991.4: Warning (simple_bus_reg): /ocp/interconnect@4b140000/segment@0: simple-bus unit address format error, expected "4800"
arch/arm/boot/dts/am33xx-l4.dtsi:720.20-769.6: Warning (unique_unit_address): /ocp/interconnect@4a000000/segment@0/target-module@100000/ethernet@0: duplicate unit-address (also used in node /ocp/interconnect@4a000000/segment@0/target-module@100000/switch@0)
make[1]: Leaving directory '/opt/ti9/board-support/ti-linux-kernel-6.1.46+gitAUTOINC+ccf548983b-gccf548983b'

But if I build the Kernel a second time, the build is success without warnings.

Is the first compilation good? Why do I have these warnings?

Thanks,

  • Hi Xavier,

    I believe the reason of the warnings is that kernel has updated with new device tree binding rules, but the AM335x device tree files have not updated to comply with the new rules. I don't think the warnings have any functional impact.