All of lore.kernel.org
 help / color / mirror / Atom feed
* Build error caused by "arm64: dts: agilex: add nand clocks"
@ 2020-08-04 18:48 Markus Mayer
  2020-08-04 19:02 ` Dinh Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Mayer @ 2020-08-04 18:48 UTC (permalink / raw)
  To: Dinh Nguyen, Rob Herring; +Cc: Device Tree, Linux Kernel

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Build error caused by "arm64: dts: agilex: add nand clocks"
  2020-08-04 18:48 Build error caused by "arm64: dts: agilex: add nand clocks" Markus Mayer
@ 2020-08-04 19:02 ` Dinh Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Dinh Nguyen @ 2020-08-04 19:02 UTC (permalink / raw)
  To: Markus Mayer, Rob Herring; +Cc: Device Tree, Linux Kernel

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
> 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-04 19:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.