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

Dinh Nguyen dinguyen at kernel.org
Tue Aug 4 10:29:17 EDT 2020


Hi Naresh,

Thanks for catching this.

There's a commit that is going through the clock tree that will fix this:

commit c2710fdf935bb1286e8eb6a6b44991bab1fe87af
Author: Dinh Nguyen <dinguyen at kernel.org>
Date:   Tue Jun 16 15:24:15 2020 -0500

    dt-bindings: agilex: add NAND_X_CLK and NAND_ECC_CLK

    Add the NAND_X_CLK and NAND_ECC_CLK clocks.

    Signed-off-by: Dinh Nguyen <dinguyen at kernel.org>
    Link:
https://lore.kernel.org/r/20200616202417.14376-1-dinguyen@kernel.org
    Signed-off-by: Stephen Boyd <sboyd at kernel.org>

Once the clock updates get merged, this should get fixed. I'll be more
mindful of this in the future.

Dinh


On 8/4/20 2:45 AM, Naresh Kamboju wrote:
> 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
> 
> 



More information about the linux-arm-kernel mailing list