AnsweredAssumed Answered

Compilation error for u-boot on imx6dl custom board

Question asked by Maxime TORRELLI on Apr 10, 2020
Latest reply on Apr 15, 2020 by Maxime TORRELLI

Hello,

 

I am trying to compile ms-iot/u-boot for our custom board equipped with an iMX6DL processor.

 

I followed the steps described in the documentation and reached the point where I get a weird error.

 

My config :
- WSL with ubuntu 18.04 LTS
- I tried first gcc-linaro 6.4.1 and the tried gcc-linaro 7.4.1

 

This same project is compiling properly on a Ubuntu virtual machine.

 

The error message :

 

max@C55729:/mnt/d/ms-iot/u-boot$ make
scripts/kconfig/conf  --syncconfig Kconfig
  CHK     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  CHK     include/config/uboot.release
  CHK     include/generated/version_autogenerated.h
  CHK     include/generated/timestamp_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  CHK     include/generated/generic-asm-offsets.h
  CHK     include/generated/asm-offsets.h
  HOSTCC  tools/gen_eth_addr
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/lib/crc32.o
  HOSTLD  tools/mkenvimage
  WRAP    tools/common/image-sig.c
  HOSTCC  tools/common/image-sig.o
  WRAP    tools/common/bootm.c
  HOSTCC  tools/common/bootm.o
  WRAP    tools/lib/fdtdec_common.c
  HOSTCC  tools/lib/fdtdec_common.o
  WRAP    tools/lib/fdtdec.c
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/fit_image.o
  WRAP    tools/common/image-fit.c
  HOSTCC  tools/common/image-fit.o
  HOSTCC  tools/image-host.o
  WRAP    tools/common/image.c
  HOSTCC  tools/common/image.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lib/md5.o
  WRAP    tools/lib/rc4.c
  HOSTCC  tools/lib/rc4.o
  WRAP    tools/lib/sha1.c
  HOSTCC  tools/lib/sha1.o
  WRAP    tools/lib/sha256.c
  HOSTCC  tools/lib/sha256.o
  WRAP    tools/common/hash.c
  HOSTCC  tools/common/hash.o
  WRAP    tools/lib/libfdt/fdt_ro.c
  HOSTCC  tools/lib/libfdt/fdt_ro.o
  WRAP    tools/lib/libfdt/fdt_region.c
  HOSTCC  tools/lib/libfdt/fdt_region.o
  WRAP    tools/lib/rsa/rsa-sign.c
  HOSTCC  tools/lib/rsa/rsa-sign.o
  WRAP    tools/lib/rsa/rsa-verify.c
  HOSTCC  tools/lib/rsa/rsa-verify.o
  WRAP    tools/lib/rsa/rsa-mod-exp.c
  HOSTCC  tools/lib/rsa/rsa-mod-exp.o
  WRAP    tools/lib/ecc/ecc-sign.c
  HOSTCC  tools/lib/ecc/ecc-sign.o
  WRAP    tools/lib/ecc/ecc-verify.c
  HOSTCC  tools/lib/ecc/ecc-verify.o
  WRAP    tools/lib/checksum.c
  HOSTCC  tools/lib/checksum.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotBase64.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotCrypt.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotDerEnc.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotEcc.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotHmac.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotKdf.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotSha256.o
  HOSTCC  tools/../external/RIoT/CyReP/RiotX509Bldr.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  HOSTLD  tools/fit_info
  HOSTLD  tools/fit_check_sign
  HOSTCC  tools/proftool
  HOSTLD  tools/fdtgrep
  CC      cmd/version.o
  LD      cmd/built-in.o
  CC      common/main.o
  LD      common/built-in.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotBase64.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotCrypt.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotDerEnc.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotEcc.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotHmac.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotKdf.o
  CC      lib/cyres/../../external/RIoT/CyReP/RiotSha256.o
lib/cyres/../../external/RIoT/CyReP/RiotSha256.c: In function ‘RIOT_SHA256_Final’:
lib/cyres/../../external/RIoT/CyReP/RiotSha256.c:426:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(sha2_word64 *)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
         ^
  CC      lib/cyres/../../external/RIoT/CyReP/RiotX509Bldr.o
  LD      lib/cyres/built-in.o
  CC      lib/display_options.o
  LD      lib/built-in.o
  CC      examples/standalone/stubs.o
  LD      examples/standalone/libstubs.o
  CC      examples/standalone/hello_world.o
  LD      examples/standalone/hello_world
  OBJCOPY examples/standalone/hello_world.srec
  OBJCOPY examples/standalone/hello_world.bin
  LDS     u-boot.lds
  LD      u-boot
  DTC     arch/arm/dts/imx6dl-icore.dtb
arch/arm/dts/imx6dl-icore.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6dl-icore-mipi.dtb
arch/arm/dts/imx6dl-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6dl-icore-rqs.dtb
arch/arm/dts/imx6dl-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6dl-mamoj.dtb
arch/arm/dts/imx6dl-mamoj.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-mamoj.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-mamoj.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-mamoj.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6qdl-sdb.dtb
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sdb.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6qdl-sabrelite.dtb
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-sabrelite.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6qdl-mx6cuboxi.dtb
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-mx6cuboxi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6qdl-vab820.dtb
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6qdl-vab820.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6q-cm-fx6.dtb
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-cm-fx6.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6q-icore.dtb
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6q-icore-mipi.dtb
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-mipi.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6q-icore-rqs.dtb
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-icore-rqs.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6q-logicpd.dtb
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6q-logicpd.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  DTC     arch/arm/dts/imx6dl-pce415ng.dtb
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /clocks: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /soc/aips-bus@02100000/mipi@021e0000: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02400000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@2: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
arch/arm/dts/imx6dl-pce415ng.dtb: Warning (avoid_unnecessary_addr_size): /soc/ipu@02800000/port@3: unnecessary #address-cells/#size-cells without "ranges" or child "reg" property
  SHIPPED dts/dt.dtb
  FDTGREP dts/dt-spl.dtb
  CC      spl/arch/arm/cpu/armv7/cache_v7.o
  AS      spl/arch/arm/cpu/armv7/cache_v7_asm.o
  CC      spl/arch/arm/cpu/armv7/cpu.o
  CC      spl/arch/arm/cpu/armv7/cp15.o
  CC      spl/arch/arm/cpu/armv7/syslib.o
  AS      spl/arch/arm/cpu/armv7/lowlevel_init.o
  AS      spl/arch/arm/cpu/armv7/optee_jump.o
  LD      spl/arch/arm/cpu/armv7/built-in.o
  AS      spl/arch/arm/cpu/armv7/start.o
  LD      spl/arch/arm/cpu/built-in.o
  AS      spl/arch/arm/lib/vectors.o
  AS      spl/arch/arm/lib/crt0.o
  AS      spl/arch/arm/lib/setjmp.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/lib/zimage.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  AS      spl/arch/arm/lib/memset.o
  CC      spl/arch/arm/lib/sections.o
  CC      spl/arch/arm/lib/stack.o
  CC      spl/arch/arm/lib/interrupts.o
  CC      spl/arch/arm/lib/reset.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/arch/arm/lib/cache-cp15.o
  CC      spl/arch/arm/lib/psci-dt.o
  LD      spl/arch/arm/lib/built-in.o
  AS      spl/arch/arm/lib/ashldi3.o
  AS      spl/arch/arm/lib/ashrdi3.o
  CC      spl/arch/arm/lib/div0.o
  AS      spl/arch/arm/lib/div64.o
  AS      spl/arch/arm/lib/lib1funcs.o
  AS      spl/arch/arm/lib/lshrdi3.o
  AS      spl/arch/arm/lib/muldi3.o
  AS      spl/arch/arm/lib/uldivmod.o
  AR      spl/arch/arm/lib/lib.a
  CC      spl/arch/arm/lib/eabi_compat.o
  CC      spl/arch/arm/mach-imx/iomux-v3.o
  CC      spl/arch/arm/mach-imx/cpu.o
  CC      spl/arch/arm/mach-imx/speed.o
  CC      spl/arch/arm/mach-imx/timer.o
  CC      spl/arch/arm/mach-imx/misc.o
  CC      spl/arch/arm/mach-imx/spl.o
  CC      spl/arch/arm/mach-imx/cache.o
  CC      spl/arch/arm/mach-imx/init.o
  CC      spl/arch/arm/mach-imx/hab.o
  CC      spl/arch/arm/mach-imx/dev_secret.o
  CC      spl/arch/arm/mach-imx/mx6/soc.o
  CC      spl/arch/arm/mach-imx/mx6/clock.o
  CC      spl/arch/arm/mach-imx/mx6/ddr.o
  CC      spl/arch/arm/mach-imx/mx6/mp.o
  LD      spl/arch/arm/mach-imx/mx6/built-in.o
  LD      spl/arch/arm/mach-imx/built-in.o
  CC      spl/board/conduent/mx6pce415ng/mx6pce415ng.o
board/conduent/mx6pce415ng/mx6pce415ng.c: In function ‘board_mmc_getcd’:
board/conduent/mx6pce415ng/mx6pce415ng.c:201:12: warning: "/*" within comment [-Wcomment]
   ret = 1; /* eMMC/uSDHC4 is always present

 

board/conduent/mx6pce415ng/mx6pce415ng.c: At top level:
board/conduent/mx6pce415ng/mx6pce415ng.c:415:59: warning: "/*" within comment [-Wcomment]
  MX6_PAD_EIM_D19__GPIO3_IO19 | MUX_PAD_CTRL(NO_PAD_CTRL), /* POWER *

 

board/conduent/mx6pce415ng/mx6pce415ng.c:416:59: warning: "/*" within comment [-Wcomment]
  MX6_PAD_GPIO_17__GPIO7_IO12 | MUX_PAD_CTRL(NO_PAD_CTRL), /* RESET *

 

board/conduent/mx6pce415ng/mx6pce415ng.c:1126:2: warning: "/*" within comment [-Wcomment]
  /* UART clocks enabled and gd valid - init serial console

 

board/conduent/mx6pce415ng/mx6pce415ng.c:1116:13: warning: ‘ddr_init’ defined but not used [-Wunused-function]
 static void ddr_init(int *table, int size)
             ^~~~~~~~
  CC      spl/board/conduent/mx6pce415ng/pin_mux.o
  LD      spl/board/conduent/mx6pce415ng/built-in.o
  CC      spl/common/spl/spl.o
  CC      spl/common/spl/spl_fit.o
  CC      spl/common/spl/spl_mmc.o
  LD      spl/common/spl/built-in.o
  CC      spl/common/init/board_init.o
  LD      spl/common/init/built-in.o
  CC      spl/common/hash.o
  CC      spl/common/common_fit.o
  CC      spl/common/fdt_support.o
  CC      spl/common/bouncebuf.o
  CC      spl/common/console.o
  CC      spl/common/dlmalloc.o
  CC      spl/common/malloc_simple.o
  CC      spl/common/image.o
  CC      spl/common/image-fdt.o
  CC      spl/common/image-fit.o
  CC      spl/common/image-sig.o
  CC      spl/common/memsize.o
  CC      spl/common/stdio.o
  CC      spl/common/cli.o
  CC      spl/common/command.o
  CC      spl/common/s_record.o
  CC      spl/common/xyzModem.o
  LD      spl/common/built-in.o
  CC      spl/cmd/nvedit.o
  LD      spl/cmd/built-in.o
  CC      spl/env/common.o
  CC      spl/env/env.o
  LD      spl/env/built-in.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotBase64.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotCrypt.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotDerEnc.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotEcc.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotHmac.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotKdf.o
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotSha256.o
lib/cyres/../../external/RIoT/CyReP/RiotSha256.c: In function ‘RIOT_SHA256_Final’:
lib/cyres/../../external/RIoT/CyReP/RiotSha256.c:426:9: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing]
         *(sha2_word64 *)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount;
         ^
  CC      spl/lib/cyres/../../external/RIoT/CyReP/RiotX509Bldr.o
  LD      spl/lib/cyres/built-in.o
  CC      spl/lib/ecc/ecc-verify.o
  LD      spl/lib/ecc/built-in.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/lib/libfdt/fdt_wip.o
  CC      spl/lib/libfdt/fdt_strerror.o
  CC      spl/lib/libfdt/fdt_sw.o
  CC      spl/lib/libfdt/fdt_rw.o
  CC      spl/lib/libfdt/fdt_empty_tree.o
  CC      spl/lib/libfdt/fdt_addresses.o
  CC      spl/lib/libfdt/fdt_ro.o
  CC      spl/lib/libfdt/fdt_region.o
  LD      spl/lib/libfdt/built-in.o
  CC      spl/lib/checksum.o
  CC      spl/lib/sha256.o
  CC      spl/lib/fdtdec_common.o
  CC      spl/lib/fdtdec.o
  CC      spl/lib/hashtable.o
  CC      spl/lib/errno.o
  CC      spl/lib/display_options.o
  CC      spl/lib/crc32.o
  CC      spl/lib/ctype.o
  CC      spl/lib/div64.o
  CC      spl/lib/hang.o
  CC      spl/lib/linux_compat.o
  CC      spl/lib/linux_string.o
  CC      spl/lib/membuff.o
  CC      spl/lib/slre.o
  CC      spl/lib/string.o
  CC      spl/lib/tables_csum.o
  CC      spl/lib/time.o
  CC      spl/lib/hexdump.o
  CC      spl/lib/uuid.o
  CC      spl/lib/panic.o
  CC      spl/lib/tiny-printf.o
  CC      spl/lib/strto.o
  LD      spl/lib/built-in.o
  CC      spl/drivers/block/blk_legacy.o
  LD      spl/drivers/block/built-in.o
  CC      spl/drivers/crypto/fsl/sec.o
  CC      spl/drivers/crypto/fsl/jr.o
  CC      spl/drivers/crypto/fsl/fsl_hash.o
  CC      spl/drivers/crypto/fsl/fsl_rng.o
  CC      spl/drivers/crypto/fsl/jobdesc.o
  CC      spl/drivers/crypto/fsl/error.o
  CC      spl/drivers/crypto/fsl/fsl_blob.o
  LD      spl/drivers/crypto/fsl/built-in.o
  LD      spl/drivers/crypto/rsa_mod_exp/built-in.o
  LD      spl/drivers/crypto/built-in.o
  LD      spl/drivers/firmware/built-in.o
  CC      spl/drivers/gpio/mxc_gpio.o
  LD      spl/drivers/gpio/built-in.o
  CC      spl/drivers/misc/mxc_ocotp.o
  LD      spl/drivers/misc/built-in.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/drivers/mmc/mmc_legacy.o
  CC      spl/drivers/mmc/mmc_boot.o
  CC      spl/drivers/mmc/fsl_esdhc.o
  LD      spl/drivers/mmc/built-in.o
  CC      spl/drivers/serial/serial.o
  CC      spl/drivers/serial/serial_mxc.o
  LD      spl/drivers/serial/built-in.o
  LD      spl/drivers/sysreset/built-in.o
  CC      spl/drivers/watchdog/imx_watchdog.o
  LD      spl/drivers/watchdog/built-in.o
  LD      spl/drivers/built-in.o
  LD      spl/dts/built-in.o
  CC      spl/fs/fs_internal.o
  LD      spl/fs/built-in.o
  LDS     spl/u-boot-spl.lds
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  COPY    spl/u-boot-spl.dtb
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  CFGS    spl/u-boot-spl.cfgout
  MKIMAGE SPL
./tools/mkimage: Can't open SPL: Is a directory
arch/arm/mach-imx/Makefile:109: recipe for target 'SPL' failed
make[1]: *** [SPL] Error 1
Makefile:1160: recipe for target 'SPL' failed
make: *** [SPL] Error 2

 

Thanks a lot for your help !

Outcomes