arm64: make dtbs broken - socfpga_agilex.dtsi:313.15-16 syntax error FATAL ERROR: Unable to parse input tree

From: Naresh Kamboju
Date: Tue Aug 04 2020 - 03:45:29 EST


Linux mainline master build breaks on arm64 while building dtbs.

make -sk KBUILD_BUILD_USER=TuxBuild -C/linux ARCH=arm64
CROSS_COMPILE=aarch64-linux-gnu- HOSTCC=gcc CC="sccache
aarch64-linux-gnu-gcc" O=build dtbs
#
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #address-cells (1) differs from / (2)
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #size-cells (1) differs from / (2)
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #address-cells (1) differs from / (2)
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #size-cells (1) differs from / (2)
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #address-cells (1) differs from / (2)
../arch/arm64/boot/dts/broadcom/stingray/stingray-usb.dtsi:7.3-14:
Warning (dma_ranges_format): /usb:dma-ranges: empty "dma-ranges"
property but its #size-cells (1) differs from / (2)
Error: ../arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:313.15-16 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.lib:314:
arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb] Error 1
Error: ../arch/arm64/boot/dts/intel/socfpga_agilex.dtsi:313.15-16 syntax error
FATAL ERROR: Unable to parse input tree
make[3]: *** [scripts/Makefile.lib:314:
arch/arm64/boot/dts/intel/socfpga_agilex_socdk_nand.dtb] Error 1
make[3]: Target '__build' not remade because of errors.
make[2]: *** [../scripts/Makefile.build:497: arch/arm64/boot/dts/intel] Error 2
../arch/arm64/boot/dts/qcom/ipq6018.dtsi:127.3-14: Warning
(dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but
its #address-cells (1) differs from / (2)
../arch/arm64/boot/dts/qcom/ipq6018.dtsi:127.3-14: Warning
(dma_ranges_format): /soc:dma-ranges: empty "dma-ranges" property but
its #size-cells (1) differs from / (2)
make[2]: Target '__build' not remade because of errors.
make[1]: *** [/linux/Makefile:1307: dtbs] Error 2
make: *** [Makefile:185: __sub-make] Error 2

build url:
https://gitlab.com/Linaro/lkft/kernel-runs/-/jobs/669607311

git log --oneline arch/arm64/boot/dts/intel/ | head

60176e6be0bb arm64: dts: agilex: add status to qspi dts node
fd0d094531db arm64: dts: agilex: correct service layer driver's compatible value
8d6b6bbe6dde arm64: dts: agilex: correct FPGA manager driver's compatible value
854e80bcfdaf Merge tag 'arm-dt-5.7' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
80f132d73709 arm64: dts: increase the QSPI reg address for Stratix10 and Agilex
8c867387160e arm64: dts: socfpga: agilex: Fix gmac compatible
1afa9c3b7c9b Merge tag 'armsoc-dt' of
git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
210de0e996ae arm64: dts: agilex/stratix10: fix pmu interrupt numbers
2f804ba7aa9e arm64: dts: agilex: Add SysMgr to Ethernet nodes
a6706bd60be7 arm64: dts: agilex: Add SysMgr compatible


--
Linaro LKFT
https://lkft.linaro.org