devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dinh Nguyen <dinguyen@kernel.org>
To: Markus Mayer <mmayer@broadcom.com>, Rob Herring <robh+dt@kernel.org>
Cc: Device Tree <devicetree@vger.kernel.org>,
	Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Build error caused by "arm64: dts: agilex: add nand clocks"
Date: Tue, 4 Aug 2020 14:02:34 -0500	[thread overview]
Message-ID: <e19005d8-3a2f-c688-775d-92067390853b@kernel.org> (raw)
In-Reply-To: <CAGt4E5tMdG9gZbx43MeXpiPnqe0sy9bYKQmZ1oJCSwTL=Xf7Dg@mail.gmail.com>

Hi Markus,

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@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@kernel.org>
    Link:
https://lore.kernel.org/r/20200616202417.14376-1-dinguyen@kernel.org
    Signed-off-by: Stephen Boyd <sboyd@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 1:48 PM, Markus Mayer wrote:
> Hi,
> 
> I don't know if anybody else is seeing this, but for me the commit
> "arm64: dts: agilex: add nand clocks"[1] is causing a build error
> while generating DTS files for ARM64.
> 
> The error goes away when I drop the commit.
> 
> $ ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- make defconfig dtbs
>   HOSTCC  scripts/basic/fixdep
>   HOSTCC  scripts/kconfig/conf.o
>   HOSTCC  scripts/kconfig/confdata.o
>   HOSTCC  scripts/kconfig/expr.o
>   LEX     scripts/kconfig/lexer.lex.c
>   YACC    scripts/kconfig/parser.tab.[ch]
>   HOSTCC  scripts/kconfig/lexer.lex.o
>   HOSTCC  scripts/kconfig/parser.tab.o
>   HOSTCC  scripts/kconfig/preprocess.o
>   HOSTCC  scripts/kconfig/symbol.o
>   HOSTCC  scripts/kconfig/util.o
>   HOSTLD  scripts/kconfig/conf
> *** Default configuration is based on 'defconfig'
> [...]
>   DTC     arch/arm64/boot/dts/freescale/imx8mq-pico-pi.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8mq-thor96.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-rmb3.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8mq-zii-ultra-zest.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8qxp-ai_ml.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8qxp-colibri-eval-v3.dtb
>   DTC     arch/arm64/boot/dts/freescale/imx8qxp-mek.dtb
>   DTC     arch/arm64/boot/dts/freescale/s32v234-evb.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hi3660-hikey960.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hi3670-hikey970.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hi3798cv200-poplar.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hi6220-hikey.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hip05-d02.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hip06-d03.dtb
>   DTC     arch/arm64/boot/dts/hisilicon/hip07-d05.dtb
>   DTC     arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb
> 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:309:
> arch/arm64/boot/dts/intel/socfpga_agilex_socdk.dtb] Error 1
> make[2]: *** [scripts/Makefile.build:497: arch/arm64/boot/dts/intel] Error 2
> make[1]: *** [Makefile:1306: dtbs] Error 2
> make: *** [Makefile:336: __build_one_by_one] Error 2
> 
> Regards,
> -Markus
> 
> [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d4ae4dd346cd49302d157b129ead2f60d3a82534
> 

      reply	other threads:[~2020-08-04 19:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-04 18:48 Build error caused by "arm64: dts: agilex: add nand clocks" Markus Mayer
2020-08-04 19:02 ` Dinh Nguyen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e19005d8-3a2f-c688-775d-92067390853b@kernel.org \
    --to=dinguyen@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmayer@broadcom.com \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).