Build kernel __overlay__ issue

Why does the following warning appear ?
How to fix it ???

make CROSS_COMPILE=/usr/bin/aarch64-linux-gnu- ARCH=arm64 O=/home/share/NVDIA_DATA/Tegra186_git_3261_CAMERA/tegra186/build_script/…/Linux_for_Tegra/images -j20

Warning (reg_format): “reg” property in /fragment@1/overlay/spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): “reg” property in /fragment@3/overlay/spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@1/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@1/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@3/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@3/overlay/spi@0
Warning (reg_format): “reg” property in /fragment@1/overlay/spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (reg_format): “reg” property in /fragment@3/overlay/spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@1/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@1/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@3/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@3/overlay/spi@0
Warning (reg_format): “reg” property in /fragment@1/overlay/spi@0 has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1)
Warning (avoid_default_addr_size): Relying on default #address-cells value for /fragment@1/overlay/spi@0
Warning (avoid_default_addr_size): Relying on default #size-cells value for /fragment@1/overlay/spi@0

Hi,
If you follow Kernel Customization in document, it should work fine. It should be triggered by additional steps. Please check if you can reproduce it on Xavier developer kit. If yes, please share the steps so that we can give it a try.

And please share your release version:

$ head  -1 /etc/nv_tegra_release

root@ubuntu:/home/user# head -1 /etc/nv_tegra_release

R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

overlay.log|attachment (55.8 KB)

see log

This warning should not affect the functionality of your kernel image and dtb.

Is there a way to correct this warning???

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.