[PATCH v2] imx8mm_venice: switch to use binman to pack images

Tim Harvey tharvey at gateworks.com
Thu Oct 7 17:52:51 CEST 2021


)On Wed, Oct 6, 2021 at 2:44 PM Marcel Ziswiler <marcel at ziswiler.com> wrote:
>
> On Wed, 2021-10-06 at 13:17 -0700, Tim Harvey wrote:
> > Use binman to pack images.
> >
> > Note that imx8mm_venice supports several boards via multiple DTB's thus
> > in the fit node we must use:
> > - fit,fdt-list = "of-list"
> > - fdt-SEQ
> > - config-SEQ
> >
> > Signed-off-by: Tim Harvey <tharvey at gateworks.com>
>
> Reviewed-by: Marcel Ziswiler <marcel.ziswiler at toradex.com>
>
> > ---
> > v2:
> >  - rebase on origin/mater
>
> You probably meant master (;-p).
>
> Rest look legit.

Marcel,

Thanks for the review. I will submit a v3 as I forgot to include a few
other patches required for this that I had in v1 (using a common
u-boot.dtsi file)

I am seeing 'WARNING 'u-boot-spl-ddr.bin' not found, resulting binary
is not-functional' until I do a 'make' a second time so there is some
sort of race condition with the binman blobs.

Adding Simon to the thread as well. I do not see this when building
the other two imx8mm boards currently using binman in master
(imx8mm_evk_defconfig / imx8mm-cl-iot-gate_defconfig)

Here is the full log in case it sheds some light on the issue. What I
notice right away is that binman issues a WARNING even before the SPL
is built.

$ make distclean imx8mm_venice_defconfig; make BINMAN_VERBOSE=3 -j8
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/conf.o
  YACC    scripts/kconfig/zconf.tab.c
  LEX     scripts/kconfig/zconf.lex.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
#
# configuration written to .config
#
scripts/kconfig/conf  --syncconfig Kconfig
  UPD     include/config.h
  CFG     u-boot.cfg
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     include/autoconf.mk
  GEN     spl/include/autoconf.mk
  UPD     include/generated/dt.h
  UPD     include/generated/timestamp_autogenerated.h
  CFGCHK  u-boot.cfg
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  SHIPPED scripts/dtc/pylibfdt/libfdt.i
  PYMOD   rebuild
  UPD     include/config/uboot.release
  HOSTCC  scripts/dtc/srcpos.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/checks.o
  HOSTCC  scripts/dtc/util.o
  LEX     scripts/dtc/dtc-lexer.lex.c
  YACC    scripts/dtc/dtc-parser.tab.h
  YACC    scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  UPD     include/generated/version_autogenerated.h
  HOSTLD  scripts/dtc/dtc
  CC      lib/asm-offsets.s
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/asm-offsets.h
  UPD     include/generated/generic-asm-offsets.h
  LDS     u-boot.lds
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/img2srec
  HOSTCC  tools/aisimage.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/os_support.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/common/image-fit.c
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/common/image-fit-sig.c
  WRAP    tools/common/image-cipher.c
  WRAP    tools/common/fdt_region.c
  HOSTCC  tools/default_image.o
  HOSTCC  tools/lib/crc32.o
  WRAP    tools/common/bootm.c
  WRAP    tools/lib/fdtdec_common.c
  WRAP    tools/lib/fdtdec.c
  WRAP    tools/common/image.c
  HOSTCC  tools/imagetool.o
  HOSTCC  tools/imximage.o
  HOSTCC  tools/imx8image.o
  HOSTCC  tools/imx8mimage.o
  HOSTCC  tools/kwbimage.o
  WRAP    tools/lib/md5.c
  HOSTCC  tools/lpc32xximage.o
  HOSTCC  tools/mxsimage.o
  HOSTCC  tools/omapimage.o
  HOSTCC  tools/pblimage.o
  HOSTCC  tools/pbl_crc32.o
  HOSTCC  tools/vybridimage.o
  HOSTCC  tools/stm32image.o
  WRAP    tools/lib/rc4.c
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/lib/crc16.c
  WRAP    tools/lib/sha1.c
  WRAP    tools/lib/hash-checksum.c
  WRAP    tools/lib/sha256.c
  WRAP    tools/common/hash.c
  HOSTCC  tools/zynqimage.o
  WRAP    tools/lib/sha512.c
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/lib/fdt-libcrypto.c
  HOSTCC  tools/libfdt/fdt.o
  HOSTCC  tools/libfdt/fdt_ro.o
  HOSTCC  tools/libfdt/fdt_wip.o
  HOSTCC  tools/libfdt/fdt_sw.o
  HOSTCC  tools/libfdt/fdt_rw.o
  HOSTCC  tools/libfdt/fdt_strerror.o
  HOSTCC  tools/libfdt/fdt_empty_tree.o
  HOSTCC  tools/libfdt/fdt_addresses.o
  HOSTCC  tools/libfdt/fdt_overlay.o
  HOSTCC  tools/gpimage.o
  HOSTCC  tools/gpimage-common.o
  HOSTCC  tools/mtk_image.o
  WRAP    tools/lib/ecdsa/ecdsa-libcrypto.c
  WRAP    tools/lib/rsa/rsa-sign.c
  WRAP    tools/lib/rsa/rsa-verify.c
  WRAP    tools/lib/rsa/rsa-mod-exp.c
  WRAP    tools/lib/aes/aes-encrypt.c
  HOSTCC  tools/dumpimage.o
  WRAP    tools/lib/aes/aes-decrypt.c
  HOSTCC  tools/common/image-fit.o
  HOSTCC  tools/common/image-fit-sig.o
  HOSTCC  tools/common/fdt_region.o
  HOSTCC  tools/common/image-cipher.o
  HOSTCC  tools/common/bootm.o
  HOSTCC  tools/lib/fdtdec_common.o
  HOSTCC  tools/lib/fdtdec.o
  HOSTCC  tools/common/image.o
  HOSTCC  tools/lib/md5.o
  HOSTCC  tools/lib/rc4.o
  HOSTCC  tools/lib/crc16.o
  HOSTCC  tools/lib/hash-checksum.o
  HOSTCC  tools/lib/sha1.o
  HOSTCC  tools/lib/sha256.o
  HOSTCC  tools/lib/sha512.o
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/lib/fdt-libcrypto.o
  HOSTCC  tools/lib/ecdsa/ecdsa-libcrypto.o
  HOSTCC  tools/lib/rsa/rsa-sign.o
  HOSTCC  tools/lib/rsa/rsa-verify.o
  HOSTCC  tools/lib/rsa/rsa-mod-exp.o
  HOSTCC  tools/lib/aes/aes-encrypt.o
  HOSTCC  tools/lib/aes/aes-decrypt.o
  HOSTCC  tools/mkimage.o
  HOSTCC  tools/fit_info.o
  HOSTCC  tools/fit_check_sign.o
  HOSTCC  tools/proftool
  HOSTCC  tools/relocate-rela
  HOSTCC  tools/fdtgrep.o
  HOSTCC  tools/spl_size_limit
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/mkenvimage
  HOSTLD  tools/dumpimage
  HOSTLD  tools/fit_check_sign
  HOSTLD  tools/fit_info
  HOSTLD  tools/gen_ethaddr_crc
  HOSTLD  tools/mkimage
  HOSTLD  tools/fdtgrep
  AR      arch/arm/cpu/built-in.o
  CC      arch/arm/cpu/armv8/cpu.o
  CC      arch/arm/cpu/armv8/generic_timer.o
  CC      arch/arm/cpu/armv8/cache_v8.o
  AS      arch/arm/lib/crt0_64.o
  CC      board/gateworks/venice/imx8mm_venice.o
  CC      board/gateworks/venice/gsc.o
WARNING 'u-boot-spl-ddr.bin' not found, resulting binary is not-functional
  AS      arch/arm/mach-imx/imx8m/lowlevel_init.o
  AS      arch/arm/lib/setjmp_aarch64.o
  AR      cmd/arm/built-in.o
  CC      cmd/boot.o
  AS      arch/arm/lib/relocate_64.o
  CC      cmd/bootm.o
  CC      cmd/help.o
  CC      arch/arm/mach-imx/imx8m/clock_slice.o
  AS      arch/arm/cpu/armv8/cache.o
  CC      arch/arm/lib/bootm-fdt.o
  AR      board/gateworks/venice/built-in.o
  CC      arch/arm/mach-imx/imx8m/soc.o
  AS      arch/arm/cpu/armv8/exceptions.o
  CC      common/init/board_init.o
  CC      arch/arm/mach-imx/iomux-v3.o
  CC      arch/arm/mach-imx/imx8m/clock_imx8mm.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/cpu/armv8/exception_level.o
  CC      cmd/panic.o
  CC      arch/arm/lib/image.o
  CC      disk/part.o
  AR      common/init/built-in.o
  AS      arch/arm/cpu/armv8/tlb.o
  AS      arch/arm/cpu/armv8/transition.o
  AR      drivers/adc/built-in.o
  CC      common/main.o
  AR      arch/arm/mach-imx/imx8m/built-in.o
  CC      arch/arm/lib/bdinfo.o
  AR      drivers/ata/built-in.o
  CC      cmd/version.o
  CC      arch/arm/mach-imx/mmc_env.o
  CC      arch/arm/mach-imx/mac.o
  CC      arch/arm/cpu/armv8/fwcall.o
  AR      drivers/axi/built-in.o
  CC      disk/part_dos.o
  CC      cmd/blk_common.o
  CC      drivers/block/blk-uclass.o
  AR      drivers/bus/built-in.o
  CC      arch/arm/lib/sections.o
  CC      common/exports.o
  CC      disk/part_efi.o
  CC      arch/arm/cpu/armv8/cpu-dt.o
  CC      arch/arm/mach-imx/i2c-mxv7.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/lib/interrupts_64.o
  CC      cmd/source.o
  AS      arch/arm/cpu/armv8/smccc-call.o
  CC      common/cli_hush.o
  CC      drivers/block/blkcache.o
  CC      arch/arm/mach-imx/cpu.o
  AS      arch/arm/cpu/armv8/start.o
  AR      disk/built-in.o
  AR      drivers/cache/built-in.o
  CC      cmd/bdinfo.o
  CC      arch/arm/lib/cache.o
  AR      drivers/usb/cdns3/built-in.o
  CC      cmd/blkcache.o
  AR      arch/arm/cpu/armv8/built-in.o
  CC      cmd/bootefi.o
  AR      drivers/block/built-in.o
  CC      cmd/booti.o
  CC      arch/arm/lib/psci-dt.o
  AR      drivers/clk/analogbits/built-in.o
  CC      arch/arm/mach-imx/misc.o
  AS      arch/arm/mach-imx/lowlevel.o
  AR      arch/arm/lib/lib.a
  CC      common/autoboot.o
  CC      drivers/clk/imx/clk-pllv3.o
  CC      drivers/clk/imx/clk-gate2.o
  AS      arch/arm/lib/crt0_aarch64_efi.o
  AR      drivers/clk/tegra/built-in.o
  CC      common/board_f.o
  AR      arch/arm/mach-imx/built-in.o
  CC      cmd/cache.o
  CC      cmd/clk.o
  CC      arch/arm/lib/reloc_aarch64_efi.o
  CC      drivers/crypto/fsl/sec.o
  AR      drivers/crypto/hash/built-in.o
  CC      drivers/core/device.o
  CC      drivers/core/fdtaddr.o
  CC      drivers/clk/imx/clk-pfd.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  AR      arch/arm/lib/built-in.o
  CC      common/board_r.o
  AR      drivers/crypto/fsl/built-in.o
  CC      drivers/core/lists.o
  CC      drivers/core/root.o
  AR      drivers/crypto/built-in.o
  CC      cmd/console.o
  CC      cmd/dm.o
  CC      cmd/echo.o
  CC      drivers/clk/imx/clk-imx8mm.o
  CC      drivers/clk/imx/clk-pll14xx.o
  CC      drivers/core/uclass.o
  CC      drivers/core/util.o
  CC      common/board_info.o
  CC      drivers/clk/imx/clk-composite-8m.o
  AR      drivers/clk/ti/built-in.o
  CC      cmd/elf.o
  CC      cmd/exit.o
  CC      cmd/ext4.o
  CC      common/bootm.o
  CC      common/bootm_os.o
  CC      cmd/ext2.o
  AR      drivers/clk/imx/built-in.o
  AR      drivers/dfu/built-in.o
  CC      drivers/clk/clk-uclass.o
  CC      common/fdt_support.o
  CC      drivers/core/devres.o
  CC      common/miiphyutil.o
  CC      drivers/firmware/firmware-uclass.o
  CC      cmd/fat.o
  CC      drivers/core/device-remove.o
  CC      drivers/firmware/psci.o
  CC      common/splash.o
  CC      drivers/core/simple-bus.o
  CC      common/menu.o
  CC      cmd/fdt.o
  CC      drivers/core/dump.o
  CC      drivers/clk/clk_fixed_rate.o
  CC      drivers/clk/clk_fixed_factor.o
  CC      common/cli_readline.o
  CC      drivers/clk/clk.o
  AR      drivers/firmware/built-in.o
  AR      drivers/usb/common/built-in.o
  CC      cmd/fs.o
  CC      drivers/core/of_extra.o
  AR      drivers/usb/dwc3/built-in.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/input/key_matrix.o
  CC      drivers/clk/clk-divider.o
  CC      drivers/gpio/mxc_gpio.o
  CC      common/cli_simple.o
  CC      drivers/core/ofnode.o
  CC      cmd/fuse.o
  CC      common/console.o
  CC      drivers/clk/clk-mux.o
  CC      drivers/clk/clk-gate.o
  CC      drivers/i2c/mxc_i2c.o
  AR      drivers/input/built-in.o
  CC      cmd/gpio.o
  AR      drivers/gpio/built-in.o
  CC      cmd/i2c.o
  CC      drivers/core/read_extra.o
  CC      common/dlmalloc.o
  AR      drivers/usb/emul/built-in.o
  CC      common/malloc_simple.o
  CC      drivers/clk/clk-fixed-factor.o
  AR      drivers/i2c/built-in.o
  CC      drivers/clk/clk-composite.o
  CC      common/image.o
  AR      drivers/core/built-in.o
  AR      drivers/mailbox/built-in.o
  CC      drivers/led/led-uclass.o
  CC      cmd/itest.o
  CC      cmd/led.o
  CC      drivers/led/led_gpio.o
  CC      cmd/load.o
  AR      drivers/usb/eth/built-in.o
  CC      common/hash.o
  AR      drivers/clk/built-in.o
  AR      drivers/memory/built-in.o
  CC      common/image-fdt.o
  CC      drivers/misc/mxc_ocotp.o
  CC      cmd/mem.o
  AR      drivers/led/built-in.o
  CC      drivers/mmc/mmc.o
  AR      drivers/mtd/nand/built-in.o
  CC      drivers/mmc/mmc-uclass.o
  CC      drivers/mmc/mmc_write.o
  AR      drivers/mtd/onenand/built-in.o
  AR      drivers/misc/built-in.o
  CC      drivers/mmc/mmc_boot.o
  CC      drivers/mmc/fsl_esdhc_imx.o
  AR      drivers/mtd/spi/built-in.o
  CC      common/image-fit.o
  CC      cmd/mii.o
  AR      drivers/mtd/built-in.o
  AR      drivers/usb/host/built-in.o
  CC      cmd/mdio.o
  CC      common/memsize.o
  AR      drivers/usb/mtu3/built-in.o
  CC      common/stdio.o
  CC      cmd/sleep.o
  AR      drivers/mmc/built-in.o
  CC      cmd/mmc.o
  AR      drivers/net/mscc_eswitch/built-in.o
  CC      cmd/net.o
  AR      drivers/usb/musb/built-in.o
  CC      drivers/net/phy/phy.o
  CC      drivers/net/phy/ti_phy_init.o
  CC      drivers/net/phy/dp83867.o
  CC      drivers/net/phy/fixed.o
  CC      common/cli.o
  CC      common/command.o
  CC      common/s_record.o
  CC      cmd/part.o
  AR      drivers/usb/musb-new/built-in.o
  CC      common/xyzModem.o
  AR      drivers/pwm/built-in.o
  AR      drivers/net/phy/built-in.o
  AR      drivers/power/fuel_gauge/built-in.o
  AR      drivers/net/qe/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  AR      drivers/power/battery/built-in.o
  CC      cmd/pinmux.o
  AR      drivers/reset/built-in.o
  AR      drivers/net/ti/built-in.o
  CC      drivers/pinctrl/nxp/pinctrl-imx.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  AR      drivers/power/mfd/built-in.o
  CC      drivers/net/fec_mxc.o
  AR      drivers/rtc/built-in.o
  CC      cmd/pxe.o
  CC      drivers/power/pmic/pmic-uclass.o
  AR      drivers/usb/phy/built-in.o
  AR      common/built-in.o
  CC      drivers/power/pmic/bd71837.o
  CC      drivers/power/pmic/mp5416.o
  CC      cmd/pxe_utils.o
  CC      drivers/pinctrl/nxp/pinctrl-imx8m.o
  CC      cmd/sysboot.o
  CC      cmd/setexpr.o
  AR      drivers/scsi/built-in.o
  AR      drivers/power/pmic/built-in.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      drivers/serial/serial.o
  AR      drivers/usb/ulpi/built-in.o
  CC      drivers/serial/serial_mxc.o
  CC      drivers/net/ksz9477.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/pinctrl/pinctrl-generic.o
  CC      drivers/power/regulator/regulator_common.o
  CC      cmd/time.o
  AR      drivers/smem/built-in.o
  AR      drivers/soc/built-in.o
  AR      drivers/serial/built-in.o
  CC      drivers/power/regulator/fixed.o
  CC      drivers/power/regulator/gpio-regulator.o
  AR      drivers/sound/built-in.o
  CC      env/common.o
  CC      env/env.o
  AR      drivers/pinctrl/built-in.o
  AR      drivers/net/built-in.o
  CC      cmd/test.o
  CC      env/attr.o
  AR      drivers/spmi/built-in.o
  CC      fs/ext4/ext4fs.o
  CC      fs/ext4/ext4_common.o
  AR      lib/crypto/built-in.o
  AR      drivers/power/regulator/built-in.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      cmd/unlz4.o
  CC      env/flags.o
  CC      env/callback.o
  CC      lib/efi_driver/efi_uclass.o
  AR      drivers/power/built-in.o
  CC      drivers/sysreset/sysreset-uclass.o
  CC      drivers/thermal/thermal-uclass.o
  CC      drivers/sysreset/sysreset_psci.o
  CC      cmd/unzip.o
  CC      lib/efi_loader/efi_boottime.o
  CC      env/mmc.o
  CC      lib/efi_driver/efi_block_device.o
  CC      lib/efi_loader/efi_helper.o
  CC      drivers/sysreset/sysreset_watchdog.o
  CC      cmd/lzmadec.o
  CC      fs/ext4/dev.o
  CC      drivers/thermal/imx_tmu.o
  AR      drivers/sysreset/built-in.o
  CC      cmd/ximg.o
  AR      env/built-in.o
  CC      fs/ext4/ext4_write.o
  CC      fs/ext4/crc16.o
  CC      lib/libfdt/fdt.o
  CC      fs/ext4/ext4_journal.o
  AR      lib/efi_driver/built-in.o
  CC      cmd/pmic.o
  CC      cmd/regulator.o
  CC      lib/efi_loader/efi_console.o
  AR      drivers/thermal/built-in.o
  CC      lib/efi_loader/efi_device_path.o
  CC      lib/libfdt/fdt_ro.o
  AR      drivers/ufs/built-in.o
  CC      lib/libfdt/fdt_wip.o
  AR      fs/ext4/built-in.o
  CC      lib/libfdt/fdt_strerror.o
  AR      drivers/video/bridge/built-in.o
  CC      cmd/nvedit.o
  AR      drivers/video/sunxi/built-in.o
  CC      fs/fat/fat_write.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  CC      lib/libfdt/fdt_sw.o
  AR      drivers/video/ti/built-in.o
  CC      lib/lzma/LzmaDec.o
  CC      lib/lzma/LzmaTools.o
  AR      drivers/video/built-in.o
  CC      drivers/watchdog/imx_watchdog.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      fs/fs.o
  CC      lib/zlib/zlib.o
  AR      cmd/built-in.o
  CC      lib/libfdt/fdt_rw.o
  AR      lib/lzma/built-in.o
  CC      lib/libfdt/fdt_empty_tree.o
  AR      fs/fat/built-in.o
  CC      drivers/watchdog/wdt-uclass.o
  CC      lib/libfdt/fdt_addresses.o
  CC      fs/fs_internal.o
  CC      lib/efi_loader/efi_dt_fixup.o
  CC      net/arp.o
  AR      lib/zlib/built-in.o
  CC      net/bootp.o
  AR      drivers/watchdog/built-in.o
  AR      lib/libfdt/built-in.o
  CC      net/dsa-uclass.o
  AR      fs/built-in.o
  CC      net/eth-uclass.o
  CC      lib/efi_loader/efi_file.o
  AR      drivers/built-in.o
  CC      net/mdio-uclass.o
  CC      net/eth_common.o
  CC      lib/efi_loader/efi_hii.o
  CC      lib/efi_loader/efi_image_loader.o
  CC      lib/efi_loader/efi_load_options.o
  CC      lib/efi_loader/efi_memory.o
  CC      net/net.o
  CC      lib/binman.o
  CC      lib/charset.o
  CC      lib/efi_loader/efi_root_node.o
  CC      lib/crc8.o
  CC      lib/efi_loader/efi_runtime.o
  CC      lib/efi_loader/efi_setup.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/crc16.o
  CC      net/nfs.o
  CC      net/ping.o
  CC      net/tftp.o
  CC      lib/efi_loader/efi_var_common.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/fdtdec_common.o
  CC      lib/smbios.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/efi_loader/efi_var_file.o
  CC      lib/ldiv.o
  AR      net/built-in.o
  CC      lib/efi_loader/efi_variable.o
  CC      lib/efi_loader/efi_watchdog.o
  CC      lib/efi_loader/efi_disk.o
  CC      lib/efi_loader/efi_net.o
  CC      lib/net_utils.o
  CC      lib/efi_loader/efi_load_initrd.o
  CC      lib/efi_loader/efi_smbios.o
  CC      lib/rc4.o
  CC      lib/list_sort.o
  CC      lib/md5.o
  CC      lib/sha1.o
  CC      lib/hash-checksum.o
  CC      lib/efi_loader/helloworld.o
  AS      lib/efi_loader/efi_crt0.o
  CC      lib/sha256.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/gunzip.o
  CC      lib/lz4_wrapper.o
  CC      lib/qsort.o
  CC      lib/fdtdec.o
  CC      lib/efi_loader/efi_freestanding.o
  CC      lib/hashtable.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/crc32.o
  CC      lib/ctype.o
  AR      lib/efi_loader/built-in.o
  CC      lib/div64.o
  CC      lib/hang.o
  LD      lib/efi_loader/helloworld_efi.so
  CC      lib/linux_compat.o
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      lib/lmb.o
  CC      lib/linux_string.o
  CC      lib/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/tables_csum.o
  CC      lib/time.o
  CC      lib/hexdump.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/date.o
  CC      lib/panic.o
  CC      lib/rtc-lib.o
  CC      lib/elf.o
  AR      lib/built-in.o
  KSL     keep-syms-lto.c
  KSLCC   keep-syms-lto.o
  LTO     u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  SYM     u-boot.sym
  DTC     arch/arm/dts/imx8mm-evk.dtb
  DTC     arch/arm/dts/imx8mm-icore-mx8mm-ctouch2.dtb
  RELOC   u-boot-nodtb.bin
  DTC     arch/arm/dts/imx8mm-icore-mx8mm-edimm2.2.dtb
  DTC     arch/arm/dts/imx8mm-venice.dtb
  DTC     arch/arm/dts/imx8mm-venice-gw71xx-0x.dtb
  DTC     arch/arm/dts/imx8mm-venice-gw72xx-0x.dtb
  DTC     arch/arm/dts/imx8mm-venice-gw73xx-0x.dtb
  DTC     arch/arm/dts/imx8mm-venice-gw7901.dtb
  DTC     arch/arm/dts/imx8mm-venice-gw7902.dtb
  DTC     arch/arm/dts/imx8mm-verdin.dtb
  DTC     arch/arm/dts/phycore-imx8mm.dtb
  DTC     arch/arm/dts/imx8mn-ddr4-evk.dtb
  DTC     arch/arm/dts/imx8mq-cm.dtb
  DTC     arch/arm/dts/imx8mn-evk.dtb
  DTC     arch/arm/dts/imx8mq-evk.dtb
  DTC     arch/arm/dts/imx8mm-beacon-kit.dtb
  DTC     arch/arm/dts/imx8mn-beacon-kit.dtb
  DTC     arch/arm/dts/imx8mq-phanbell.dtb
  DTC     arch/arm/dts/imx8mp-evk.dtb
  DTC     arch/arm/dts/imx8mp-phyboard-pollux-rdk.dtb
  DTC     arch/arm/dts/imx8mq-pico-pi.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  MKIMAGE u-boot.img
  COPY    u-boot.dtb
  COPY    u-boot.bin
  MKIMAGE u-boot-dtb.img
  CC      spl/./lib/asm-offsets.s
  CC      spl/./arch/arm/lib/asm-offsets.s
  LDS     spl/u-boot-spl.lds
mkdir -p spl/dts/
  FDTGREP spl/dts/dt-spl.dtb
  COPY    spl/u-boot-spl.dtb
  UPD     spl/./include/generated/generic-asm-offsets.h
  UPD     spl/./include/generated/asm-offsets.h
  CC      spl/arch/arm/cpu/armv8/cpu.o
  AR      spl/arch/arm/cpu/built-in.o
  CC      spl/common/common_fit.o
  CC      spl/common/spl/spl.o
  CC      spl/common/init/board_init.o
  AS      spl/arch/arm/lib/crt0_64.o
  AS      spl/arch/arm/lib/setjmp_aarch64.o
  CC      spl/board/gateworks/venice/imx8mm_venice.o
WARNING 'u-boot-spl-ddr.bin' not found, resulting binary is not-functional
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/mach-imx/iomux-v3.o
  AS      spl/arch/arm/mach-imx/imx8m/lowlevel_init.o
  CC      spl/common/fdt_support.o
  AR      spl/common/init/built-in.o
  CC      spl/arch/arm/mach-imx/imx8m/clock_slice.o
  CC      spl/arch/arm/cpu/armv8/generic_timer.o
  CC      spl/arch/arm/mach-imx/imx8m/soc.o
  CC      spl/arch/arm/lib/zimage.o
  CC      spl/common/spl/spl_fit.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  CC      spl/board/gateworks/venice/gsc.o
  CC      spl/arch/arm/cpu/armv8/cache_v8.o
  CC      spl/arch/arm/lib/bdinfo.o
  CC      spl/arch/arm/mach-imx/mmc_env.o
  CC      spl/arch/arm/mach-imx/mac.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/board/gateworks/venice/spl.o
  CC      spl/arch/arm/lib/sections.o
  AS      spl/arch/arm/cpu/armv8/cache.o
  CC      spl/common/console.o
  CC      spl/common/dlmalloc.o
  AS      spl/arch/arm/cpu/armv8/tlb.o
  CC      spl/arch/arm/mach-imx/imx8m/clock_imx8mm.o
  CC      spl/arch/arm/lib/stack.o
  CC      spl/arch/arm/lib/interrupts_64.o
  AS      spl/arch/arm/cpu/armv8/transition.o
  AR      spl/common/spl/built-in.o
  CC      spl/board/gateworks/venice/lpddr4_timing.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/common/malloc_simple.o
  CC      spl/arch/arm/cpu/armv8/cpu-dt.o
  AR      spl/arch/arm/mach-imx/imx8m/built-in.o
  CC      spl/cmd/nvedit.o
  CC      spl/arch/arm/mach-imx/i2c-mxv7.o
  AR      spl/env/built-in.o
  CC      spl/arch/arm/mach-imx/cpu.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/arch/arm/lib/cache.o
  AS      spl/arch/arm/cpu/armv8/smccc-call.o
  CC      spl/common/image.o
  AR      spl/board/gateworks/venice/built-in.o
  CC      spl/common/hash.o
  AR      spl/cmd/built-in.o
  AS      spl/arch/arm/cpu/armv8/start.o
  CC      spl/lib/hash-checksum.o
  CC      spl/lib/libfdt/fdt_ro.o
  CC      spl/common/image-fdt.o
  AR      spl/arch/arm/cpu/armv8/built-in.o
  CC      spl/arch/arm/mach-imx/misc.o
  CC      spl/lib/libfdt/fdt_wip.o
  CC      spl/arch/arm/lib/psci-dt.o
  AS      spl/arch/arm/lib/crt0_aarch64_efi.o
  AR      spl/arch/arm/lib/lib.a
  CC      spl/arch/arm/mach-imx/spl.o
  AS      spl/arch/arm/mach-imx/lowlevel.o
  CC      spl/common/image-fit.o
  CC      spl/lib/sha1.o
  CC      spl/lib/sha256.o
  CC      spl/lib/libfdt/fdt_strerror.o
  CC      spl/lib/libfdt/fdt_sw.o
  CC      spl/arch/arm/lib/reloc_aarch64_efi.o
  CC      spl/disk/part.o
  AR      spl/arch/arm/lib/built-in.o
  AR      spl/arch/arm/mach-imx/built-in.o
  CC      spl/common/memsize.o
  CC      spl/common/stdio.o
  CC      spl/disk/part_dos.o
  CC      spl/common/cli.o
  CC      spl/lib/fdtdec_common.o
  CC      spl/common/command.o
  CC      spl/lib/libfdt/fdt_rw.o
  CC      spl/lib/fdtdec.o
  AR      spl/disk/built-in.o
  CC      spl/lib/libfdt/fdt_empty_tree.o
  CC      spl/lib/net_utils.o
  CC      spl/lib/crc16.o
  AR      spl/dts/built-in.o
  CC      spl/common/s_record.o
  CC      spl/drivers/block/blk-uclass.o
  AR      spl/drivers/clk/analogbits/built-in.o
  CC      spl/drivers/core/fdtaddr.o
  CC      spl/drivers/core/device.o
  CC      spl/drivers/clk/imx/clk-gate2.o
  CC      spl/drivers/clk/imx/clk-pllv3.o
  CC      spl/common/xyzModem.o
  CC      spl/lib/libfdt/fdt_addresses.o
  CC      spl/lib/qsort.o
  AR      spl/drivers/block/built-in.o
  CC      spl/drivers/core/lists.o
  CC      spl/lib/hashtable.o
  AR      spl/lib/libfdt/built-in.o
  CC      spl/lib/errno.o
  AR      spl/common/built-in.o
  CC      spl/fs/fs_internal.o
  CC      spl/drivers/core/root.o
  CC      spl/drivers/core/uclass.o
  CC      spl/drivers/clk/imx/clk-pfd.o
  CC      spl/drivers/clk/imx/clk-imx8mm.o
  AR      spl/drivers/clk/tegra/built-in.o
  CC      spl/lib/display_options.o
  CC      spl/drivers/clk/imx/clk-pll14xx.o
  CC      spl/lib/crc32.o
  AR      spl/fs/built-in.o
  CC      spl/drivers/clk/imx/clk-composite-8m.o
  CC      spl/lib/ctype.o
  CC      spl/drivers/core/util.o
  CC      spl/lib/div64.o
  CC      spl/drivers/core/devres.o
  CC      spl/drivers/core/simple-bus.o
  CC      spl/drivers/ddr/imx/imx8m/helper.o
  CC      spl/drivers/firmware/firmware-uclass.o
  CC      spl/drivers/core/dump.o
  CC      spl/lib/hang.o
  AR      spl/drivers/clk/imx/built-in.o
  CC      spl/lib/linux_compat.o
  CC      spl/drivers/firmware/psci.o
  CC      spl/drivers/ddr/imx/imx8m/ddrphy_utils.o
  AR      spl/drivers/clk/ti/built-in.o
  CC      spl/drivers/clk/clk-uclass.o
  CC      spl/drivers/gpio/gpio-uclass.o
  CC      spl/drivers/i2c/i2c-uclass.o
  CC      spl/drivers/core/of_extra.o
  CC      spl/drivers/ddr/imx/imx8m/ddrphy_train.o
  CC      spl/lib/linux_string.o
  CC      spl/lib/lmb.o
  AR      spl/drivers/firmware/built-in.o
  CC      spl/drivers/gpio/mxc_gpio.o
  CC      spl/drivers/ddr/imx/imx8m/ddrphy_csr.o
  CC      spl/drivers/core/ofnode.o
  CC      spl/drivers/ddr/imx/imx8m/ddr_init.o
  CC      spl/drivers/clk/clk_fixed_rate.o
  CC      spl/drivers/i2c/mxc_i2c.o
  CC      spl/lib/membuff.o
  CC      spl/drivers/clk/clk_fixed_factor.o
  CC      spl/lib/slre.o
  AR      spl/drivers/gpio/built-in.o
  CC      spl/lib/string.o
  AR      spl/drivers/ddr/imx/imx8m/built-in.o
  CC      spl/lib/time.o
  AR      spl/drivers/i2c/built-in.o
  CC      spl/lib/tables_csum.o
  CC      spl/drivers/core/read_extra.o
  CC      spl/drivers/clk/clk.o
  CC      spl/drivers/misc/mxc_ocotp.o
  CC      spl/lib/hexdump.o
  CC      spl/lib/uuid.o
  CC      spl/lib/rand.o
  CC      spl/drivers/clk/clk-divider.o
  AR      spl/drivers/core/built-in.o
  CC      spl/drivers/clk/clk-mux.o
  AR      spl/drivers/misc/built-in.o
  CC      spl/drivers/clk/clk-gate.o
  CC      spl/lib/panic.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/drivers/clk/clk-fixed-factor.o
  CC      spl/drivers/mmc/mmc-uclass.o
  CC      spl/drivers/clk/clk-composite.o
  CC      spl/lib/tiny-printf.o
  AR      spl/drivers/mtd/built-in.o
  CC      spl/lib/strto.o
  AR      spl/drivers/pinctrl/broadcom/built-in.o
  AR      spl/drivers/power/battery/built-in.o
  CC      spl/lib/date.o
  AR      spl/drivers/clk/built-in.o
  AR      spl/drivers/power/fuel_gauge/built-in.o
  CC      spl/drivers/pinctrl/nxp/pinctrl-imx.o
  AR      spl/drivers/power/mfd/built-in.o
  CC      spl/drivers/pinctrl/pinctrl-uclass.o
  CC      spl/drivers/pinctrl/nxp/pinctrl-imx8m.o
  CC      spl/drivers/pinctrl/pinctrl-generic.o
  CC      spl/drivers/power/pmic/pmic-uclass.o
  CC      spl/lib/rtc-lib.o
  AR      spl/drivers/power/regulator/built-in.o
  CC      spl/drivers/power/pmic/bd71837.o
  CC      spl/drivers/mmc/mmc_boot.o
  CC      spl/lib/elf.o
  CC      spl/drivers/serial/serial.o
  AR      spl/drivers/pinctrl/nxp/built-in.o
  CC      spl/drivers/power/pmic/mp5416.o
  AR      spl/drivers/pinctrl/built-in.o
  CC      spl/drivers/mmc/fsl_esdhc_imx.o
  AR      spl/drivers/soc/built-in.o
  CC      spl/drivers/serial/serial_mxc.o
  CC      spl/drivers/watchdog/imx_watchdog.o
  CC      spl/drivers/watchdog/wdt-uclass.o
  AR      spl/lib/built-in.o
  CC      spl/drivers/sysreset/sysreset-uclass.o
  CC      spl/drivers/sysreset/sysreset_psci.o
  CC      spl/drivers/sysreset/sysreset_watchdog.o
  AR      spl/drivers/power/pmic/built-in.o
  AR      spl/drivers/power/built-in.o
  AR      spl/drivers/serial/built-in.o
  AR      spl/drivers/watchdog/built-in.o
  AR      spl/drivers/sysreset/built-in.o
  AR      spl/drivers/mmc/built-in.o
  AR      spl/drivers/built-in.o
  KSL     spl/keep-syms-lto.c
  KSLCC   spl/keep-syms-lto.o
  LTO     spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
  SYM     spl/u-boot-spl.sym
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
WARNING 'u-boot-spl-ddr.bin' not found, resulting binary is not-functional
make[1]: Nothing to be done for 'SPL'.
  BINMAN  all
Node '/binman/u-boot-spl-ddr/u-boot-spl': etype 'u-boot-spl':
u-boot-spl-expanded selected
Pack completed after 1 pass(es)
Writing image to './u-boot-spl-ddr.bin'
Wrote 0x36e0c bytes
Pack completed after 1 pass(es)
Writing image to './spl.bin'
Wrote 0x39000 bytes
Pack completed after 1 pass(es)
Writing image to './u-boot.itb'
Wrote 0xce0d4 bytes
Pack completed after 1 pass(es)
Writing image to './flash.bin'
Wrote 0x125cd4 bytes

Best regards,

Tim


More information about the U-Boot mailing list