January 14, 2022

Orange Pi 4 (Rockchip 3399) make a boot SD card

Here are the messages from when I build U-Boot from the current U-Boot mainline distribution:
cd /u1/Projects/Rockchip/U-boot
make orangepi-rk3399_defconfig
CROSS_COMPILE=aarch64-linux-gnu-
export CROSS_COMPILE
make
  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
scripts/kconfig/conf  --syncconfig Kconfig
  CFG     u-boot.cfg
  GEN     include/autoconf.mk
  GEN     include/autoconf.mk.dep
  CFG     spl/u-boot.cfg
  GEN     spl/include/autoconf.mk
  CFG     tpl/u-boot.cfg
  GEN     tpl/include/autoconf.mk
  UPD     include/generated/version_autogenerated.h
  UPD     include/generated/timestamp_autogenerated.h
  ENVC    include/generated/env.txt
  ENVP    include/generated/env.in
  ENVT    include/generated/environment.h
  CC      lib/asm-offsets.s
  UPD     include/generated/generic-asm-offsets.h
  CC      arch/arm/lib/asm-offsets.s
  UPD     include/generated/asm-offsets.h
/usr/bin/which: no dtc in (./scripts/dtc)
  HOSTCC  scripts/dtc/dtc.o
  HOSTCC  scripts/dtc/flattree.o
  HOSTCC  scripts/dtc/fstree.o
  HOSTCC  scripts/dtc/data.o
  HOSTCC  scripts/dtc/livetree.o
  HOSTCC  scripts/dtc/treesource.o
  HOSTCC  scripts/dtc/srcpos.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
  HOSTCC  scripts/dtc/dtc-lexer.lex.o
  YACC    scripts/dtc/dtc-parser.tab.c
  HOSTCC  scripts/dtc/dtc-parser.tab.o
  HOSTLD  scripts/dtc/dtc
  HOSTCC  tools/gen_eth_addr
  HOSTCC  tools/gen_ethaddr_crc.o
  WRAP    tools/lib/crc8.c
  HOSTCC  tools/lib/crc8.o
  HOSTLD  tools/gen_ethaddr_crc
  HOSTCC  tools/img2srec
  HOSTCC  tools/mkenvimage.o
  HOSTCC  tools/os_support.o
  WRAP    tools/lib/crc32.c
  HOSTCC  tools/lib/crc32.o
  HOSTLD  tools/mkenvimage
  HOSTCC  tools/aisimage.o
  HOSTCC  tools/atmelimage.o
  HOSTCC  tools/fit_common.o
  HOSTCC  tools/fit_image.o
  HOSTCC  tools/image-host.o
  WRAP    tools/boot/image-fit.c
  HOSTCC  tools/boot/image-fit.o
  HOSTCC  tools/image-sig-host.o
  WRAP    tools/boot/image-fit-sig.c
  HOSTCC  tools/boot/image-fit-sig.o
  WRAP    tools/boot/image-cipher.c
  HOSTCC  tools/boot/image-cipher.o
  WRAP    tools/boot/fdt_region.c
  HOSTCC  tools/boot/fdt_region.o
  WRAP    tools/boot/bootm.c
  HOSTCC  tools/boot/bootm.o
  HOSTCC  tools/default_image.o
  WRAP    tools/lib/fdtdec_common.c
  HOSTCC  tools/lib/fdtdec_common.o
  WRAP    tools/lib/fdtdec.c
  HOSTCC  tools/lib/fdtdec.o
  WRAP    tools/boot/image.c
  HOSTCC  tools/boot/image.o
  WRAP    tools/boot/image-host.c
  HOSTCC  tools/boot/image-host.o
  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/lib/md5.o
  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/lib/rc4.o
  HOSTCC  tools/rkcommon.o
  HOSTCC  tools/rkimage.o
  HOSTCC  tools/rksd.o
  HOSTCC  tools/rkspi.o
  HOSTCC  tools/socfpgaimage.o
  HOSTCC  tools/sunxi_egon.o
  WRAP    tools/lib/crc16.c
  HOSTCC  tools/lib/crc16.o
  WRAP    tools/lib/hash-checksum.c
  HOSTCC  tools/lib/hash-checksum.o
  WRAP    tools/lib/sha1.c
  HOSTCC  tools/lib/sha1.o
  WRAP    tools/lib/sha256.c
  HOSTCC  tools/lib/sha256.o
  WRAP    tools/lib/sha512.c
  HOSTCC  tools/lib/sha512.o
  WRAP    tools/common/hash.c
  HOSTCC  tools/common/hash.o
  HOSTCC  tools/ublimage.o
  HOSTCC  tools/zynqimage.o
  HOSTCC  tools/zynqmpimage.o
  HOSTCC  tools/zynqmpbif.o
  WRAP    tools/lib/fdt-libcrypto.c
  HOSTCC  tools/lib/fdt-libcrypto.o
  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
  HOSTCC  tools/lib/ecdsa/ecdsa-libcrypto.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/aes/aes-encrypt.c
  HOSTCC  tools/lib/aes/aes-encrypt.o
  WRAP    tools/lib/aes/aes-decrypt.c
  HOSTCC  tools/lib/aes/aes-decrypt.o
  HOSTCC  tools/dumpimage.o
  HOSTLD  tools/dumpimage
  HOSTCC  tools/mkimage.o
  HOSTLD  tools/mkimage
  HOSTCC  tools/fit_info.o
  HOSTLD  tools/fit_info
  HOSTCC  tools/fit_check_sign.o
  HOSTLD  tools/fit_check_sign
  HOSTCC  tools/proftool
  HOSTCC  tools/relocate-rela
  HOSTCC  tools/fdtgrep.o
  HOSTLD  tools/fdtgrep
  HOSTCC  tools/spl_size_limit
  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/cpu/armv8/cache.o
  AS      arch/arm/cpu/armv8/exceptions.o
  CC      arch/arm/cpu/armv8/exception_level.o
  AS      arch/arm/cpu/armv8/tlb.o
  AS      arch/arm/cpu/armv8/transition.o
  CC      arch/arm/cpu/armv8/fwcall.o
  CC      arch/arm/cpu/armv8/cpu-dt.o
  AS      arch/arm/cpu/armv8/smccc-call.o
  AR      arch/arm/cpu/armv8/built-in.o
  AS      arch/arm/cpu/armv8/start.o
  AS      arch/arm/lib/crt0_64.o
  AS      arch/arm/lib/setjmp_aarch64.o
  AS      arch/arm/lib/relocate_64.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/lib/image.o
  CC      arch/arm/lib/zimage.o
  CC      arch/arm/lib/bdinfo.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/lib/stack.o
  CC      arch/arm/lib/interrupts_64.o
  CC      arch/arm/lib/cache.o
  CC      arch/arm/lib/psci-dt.o
  AR      arch/arm/lib/built-in.o
  AR      arch/arm/lib/lib.a
  AS      arch/arm/lib/crt0_aarch64_efi.o
  CC      arch/arm/lib/reloc_aarch64_efi.o
  CC      arch/arm/mach-rockchip/rk3399/clk_rk3399.o
  CC      arch/arm/mach-rockchip/rk3399/rk3399.o
  CC      arch/arm/mach-rockchip/rk3399/syscon_rk3399.o
  AR      arch/arm/mach-rockchip/rk3399/built-in.o
  CC      arch/arm/mach-rockchip/boot_mode.o
  CC      arch/arm/mach-rockchip/board.o
  CC      arch/arm/mach-rockchip/cpu-info.o
  CC      arch/arm/mach-rockchip/sdram.o
  AR      arch/arm/mach-rockchip/built-in.o
  CC      board/rockchip/evb_rk3399/evb-rk3399.o
  AR      board/rockchip/evb_rk3399/built-in.o
  CC      boot/bootm.o
  CC      boot/bootm_os.o
  CC      boot/pxe_utils.o
  CC      boot/image.o
  CC      boot/image-board.o
  CC      boot/image-fdt.o
  CC      boot/image-fit.o
  AR      boot/built-in.o
  AR      cmd/arm/built-in.o
  CC      cmd/boot.o
  CC      cmd/bootm.o
  CC      cmd/help.o
  CC      cmd/panic.o
  CC      cmd/version.o
  CC      cmd/blk_common.o
  CC      cmd/source.o
  CC      cmd/bdinfo.o
  CC      cmd/blkcache.o
  CC      cmd/bootefi.o
  CC      cmd/bootz.o
  CC      cmd/booti.o
  CC      cmd/console.o
  CC      cmd/dm.o
  CC      cmd/echo.o
  CC      cmd/elf.o
  CC      cmd/exit.o
  CC      cmd/ext4.o
  CC      cmd/ext2.o
  CC      cmd/fat.o
  CC      cmd/fdt.o
  CC      cmd/fs.o
  CC      cmd/itest.o
  CC      cmd/load.o
  CC      cmd/mem.o
  CC      cmd/mii.o
  CC      cmd/mdio.o
  CC      cmd/sleep.o
  CC      cmd/mmc.o
  CC      cmd/legacy-mtd-utils.o
  CC      cmd/net.o
  CC      cmd/part.o
  CC      cmd/pinmux.o
  CC      cmd/pxe.o
  CC      cmd/sf.o
  CC      cmd/sysboot.o
  CC      cmd/time.o
  CC      cmd/test.o
  CC      cmd/unlz4.o
  CC      cmd/unzip.o
  CC      cmd/lzmadec.o
  CC      cmd/usb.o
  CC      cmd/disk.o
  CC      cmd/ximg.o
  CC      cmd/gpt.o
  CC      cmd/nvedit.o
  AR      cmd/built-in.o
  CC      common/init/board_init.o
  AR      common/init/built-in.o
  CC      common/main.o
  CC      common/exports.o
  CC      common/cli_hush.o
  CC      common/autoboot.o
  CC      common/board_f.o
  CC      common/board_r.o
  CC      common/board_info.o
  CC      common/fdt_support.o
  CC      common/miiphyutil.o
  CC      common/usb.o
  CC      common/usb_hub.o
  CC      common/usb_storage.o
  CC      common/splash.o
  CC      common/menu.o
  CC      common/cli_readline.o
  CC      common/cli_simple.o
  CC      common/bouncebuf.o
  CC      common/console.o
  CC      common/dlmalloc.o
  CC      common/malloc_simple.o
  CC      common/hash.o
  CC      common/memsize.o
  CC      common/stdio.o
  CC      common/cli.o
  CC      common/command.o
  CC      common/s_record.o
  CC      common/xyzModem.o
  AR      common/built-in.o
  CC      disk/part.o
  CC      disk/part_dos.o
  CC      disk/part_iso.o
  CC      disk/part_efi.o
  AR      disk/built-in.o
  CC      drivers/adc/adc-uclass.o
  CC      drivers/adc/rockchip-saradc.o
  AR      drivers/adc/built-in.o
  AR      drivers/ata/built-in.o
  AR      drivers/axi/built-in.o
  CC      drivers/block/blk-uclass.o
  CC      drivers/block/blkcache.o
  AR      drivers/block/built-in.o
  AR      drivers/bus/built-in.o
  AR      drivers/cache/built-in.o
  AR      drivers/clk/analogbits/built-in.o
  AR      drivers/clk/imx/built-in.o
  CC      drivers/clk/rockchip/clk_pll.o
  CC      drivers/clk/rockchip/clk_rk3399.o
  AR      drivers/clk/rockchip/built-in.o
  AR      drivers/clk/tegra/built-in.o
  AR      drivers/clk/ti/built-in.o
  CC      drivers/clk/clk-uclass.o
  CC      drivers/clk/clk_fixed_rate.o
  CC      drivers/clk/clk_fixed_factor.o
  AR      drivers/clk/built-in.o
  CC      drivers/core/device.o
  CC      drivers/core/fdtaddr.o
  CC      drivers/core/lists.o
  CC      drivers/core/root.o
  CC      drivers/core/uclass.o
  CC      drivers/core/util.o
  CC      drivers/core/device-remove.o
  CC      drivers/core/simple-bus.o
  CC      drivers/core/dump.o
  CC      drivers/core/regmap.o
  CC      drivers/core/syscon-uclass.o
  CC      drivers/core/of_extra.o
  CC      drivers/core/ofnode.o
  CC      drivers/core/read_extra.o
  AR      drivers/core/built-in.o
  AR      drivers/crypto/aspeed/built-in.o
  CC      drivers/crypto/fsl/sec.o
  AR      drivers/crypto/fsl/built-in.o
  AR      drivers/crypto/hash/built-in.o
  AR      drivers/crypto/rsa_mod_exp/built-in.o
  AR      drivers/crypto/built-in.o
  AR      drivers/dfu/built-in.o
  CC      drivers/firmware/firmware-uclass.o
  CC      drivers/firmware/psci.o
  AR      drivers/firmware/built-in.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/gpio/rk_gpio.o
  AR      drivers/gpio/built-in.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/i2c/rk_i2c.o
  AR      drivers/i2c/built-in.o
  CC      drivers/input/key_matrix.o
  AR      drivers/input/built-in.o
  AR      drivers/iommu/built-in.o
  AR      drivers/mailbox/built-in.o
  AR      drivers/memory/built-in.o
  AR      drivers/misc/built-in.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mmc/mmc-uclass.o
  CC      drivers/mmc/mmc_write.o
  CC      drivers/mmc/dw_mmc.o
  CC      drivers/mmc/rockchip_dw_mmc.o
  CC      drivers/mmc/sdhci.o
  CC      drivers/mmc/rockchip_sdhci.o
  AR      drivers/mmc/built-in.o
  AR      drivers/mtd/nand/built-in.o
  AR      drivers/mtd/onenand/built-in.o
  CC      drivers/mtd/spi/sf-uclass.o
  CC      drivers/mtd/spi/sf_probe.o
  CC      drivers/mtd/spi/spi-nor-ids.o
  CC      drivers/mtd/spi/spi-nor-core.o
  AR      drivers/mtd/spi/spi-nor.o
  AR      drivers/mtd/spi/built-in.o
  AR      drivers/mtd/built-in.o
  AR      drivers/net/mscc_eswitch/built-in.o
  CC      drivers/net/phy/phy.o
  AR      drivers/net/phy/built-in.o
  AR      drivers/net/qe/built-in.o
  AR      drivers/net/ti/built-in.o
  CC      drivers/net/designware.o
  CC      drivers/net/gmac_rockchip.o
  AR      drivers/net/built-in.o
  AR      drivers/pinctrl/broadcom/built-in.o
  AR      drivers/pinctrl/nxp/built-in.o
  CC      drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  CC      drivers/pinctrl/rockchip/pinctrl-rk3399.o
  AR      drivers/pinctrl/rockchip/built-in.o
  CC      drivers/pinctrl/pinctrl-uclass.o
  CC      drivers/pinctrl/pinctrl-generic.o
  AR      drivers/pinctrl/built-in.o
  AR      drivers/power/battery/built-in.o
  AR      drivers/power/fuel_gauge/built-in.o
  AR      drivers/power/mfd/built-in.o
  CC      drivers/power/pmic/pmic-uclass.o
  CC      drivers/power/pmic/rk8xx.o
  AR      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/power/regulator/pwm_regulator.o
  CC      drivers/power/regulator/regulator_common.o
  CC      drivers/power/regulator/fixed.o
  CC      drivers/power/regulator/rk8xx.o
  AR      drivers/power/regulator/built-in.o
  AR      drivers/power/built-in.o
  CC      drivers/pwm/pwm-uclass.o
  CC      drivers/pwm/rk_pwm.o
  AR      drivers/pwm/built-in.o
  CC      drivers/ram/rockchip/sdram_rk3399.o
  CC      drivers/ram/rockchip/sdram_common.o
  AR      drivers/ram/rockchip/built-in.o
  CC      drivers/ram/ram-uclass.o
  AR      drivers/ram/built-in.o
  AR      drivers/reset/built-in.o
  AR      drivers/rtc/built-in.o
  AR      drivers/scsi/built-in.o
  CC      drivers/serial/serial-uclass.o
  CC      drivers/serial/ns16550.o
  AR      drivers/serial/built-in.o
  AR      drivers/smem/built-in.o
  AR      drivers/soc/built-in.o
  AR      drivers/sound/built-in.o
  CC      drivers/spi/spi-uclass.o
  CC      drivers/spi/spi-mem.o
  AR      drivers/spi/built-in.o
  AR      drivers/spmi/built-in.o
  CC      drivers/sysreset/sysreset-uclass.o
  CC      drivers/sysreset/sysreset_rockchip.o
  AR      drivers/sysreset/built-in.o
  AR      drivers/thermal/built-in.o
  AR      drivers/ufs/built-in.o
  AR      drivers/video/bridge/built-in.o
  AR      drivers/video/sunxi/built-in.o
  AR      drivers/video/ti/built-in.o
  AR      drivers/video/built-in.o
  AR      drivers/watchdog/built-in.o
  AR      drivers/built-in.o
  AR      drivers/usb/cdns3/built-in.o
  CC      drivers/usb/common/common.o
  AR      drivers/usb/common/built-in.o
  AR      drivers/usb/dwc3/built-in.o
  AR      drivers/usb/emul/built-in.o
  CC      drivers/usb/eth/usb_ether.o
  CC      drivers/usb/eth/asix.o
  CC      drivers/usb/eth/asix88179.o
  CC      drivers/usb/eth/mcs7830.o
  CC      drivers/usb/eth/smsc95xx.o
  CC      drivers/usb/eth/r8152.o
  CC      drivers/usb/eth/r8152_fw.o
  AR      drivers/usb/eth/built-in.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/ohci-hcd.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/host/ehci-generic.o
  CC      drivers/usb/host/xhci.o
  CC      drivers/usb/host/xhci-mem.o
  CC      drivers/usb/host/xhci-ring.o
  CC      drivers/usb/host/xhci-dwc3.o
  CC      drivers/usb/host/dwc3-of-simple.o
  AR      drivers/usb/host/built-in.o
  AR      drivers/usb/mtu3/built-in.o
  AR      drivers/usb/musb-new/built-in.o
  AR      drivers/usb/musb/built-in.o
  AR      drivers/usb/phy/built-in.o
  AR      drivers/usb/ulpi/built-in.o
  CC      env/common.o
  CC      env/env.o
  CC      env/attr.o
  CC      env/flags.o
  CC      env/callback.o
  CC      env/mmc.o
  AR      env/built-in.o
  CC      fs/ext4/ext4fs.o
  CC      fs/ext4/ext4_common.o
  CC      fs/ext4/dev.o
  AR      fs/ext4/built-in.o
  CC      fs/fat/fat_write.o
  AR      fs/fat/built-in.o
  CC      fs/fs.o
  CC      fs/fs_internal.o
  AR      fs/built-in.o
  AR      lib/crypto/built-in.o
  CC      lib/efi_driver/efi_uclass.o
  CC      lib/efi_driver/efi_block_device.o
  AR      lib/efi_driver/built-in.o
  CC      lib/efi_loader/efi_bootmgr.o
  CC      lib/efi_loader/efi_boottime.o
  CC      lib/efi_loader/efi_helper.o
  CC      lib/efi_loader/efi_console.o
  CC      lib/efi_loader/efi_device_path.o
  CC      lib/efi_loader/efi_device_path_to_text.o
  CC      lib/efi_loader/efi_device_path_utilities.o
  CC      lib/efi_loader/efi_dt_fixup.o
  CC      lib/efi_loader/efi_file.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      lib/efi_loader/efi_root_node.o
  CC      lib/efi_loader/efi_runtime.o
  CC      lib/efi_loader/efi_setup.o
  CC      lib/efi_loader/efi_string.o
  CC      lib/efi_loader/efi_unicode_collation.o
  CC      lib/efi_loader/efi_var_common.o
  CC      lib/efi_loader/efi_var_mem.o
  CC      lib/efi_loader/efi_var_file.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/efi_loader/efi_smbios.o
  CC      lib/efi_loader/efi_load_initrd.o
  AR      lib/efi_loader/built-in.o
  CC      lib/efi_loader/helloworld.o
  AS      lib/efi_loader/efi_crt0.o
  CC      lib/efi_loader/efi_reloc.o
  CC      lib/efi_loader/efi_freestanding.o
  LD      lib/efi_loader/helloworld_efi.so
  OBJCOPY lib/efi_loader/helloworld.efi
  CC      lib/libfdt/fdt.o
  CC      lib/libfdt/fdt_ro.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/libfdt/fdt_strerror.o
  CC      lib/libfdt/fdt_sw.o
  CC      lib/libfdt/fdt_rw.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/libfdt/fdt_addresses.o
  AR      lib/libfdt/built-in.o
  CC      lib/lzma/LzmaDec.o
  CC      lib/lzma/LzmaTools.o
  AR      lib/lzma/built-in.o
  CC      lib/zlib/zlib.o
  AR      lib/zlib/built-in.o
  CC      lib/charset.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      lib/errno_str.o
  CC      lib/fdtdec_common.o
  CC      lib/smbios.o
  CC      lib/ldiv.o
  CC      lib/net_utils.o
  CC      lib/rc4.o
  CC      lib/list_sort.o
  CC      lib/md5.o
  CC      lib/hash-checksum.o
  CC      lib/sha1.o
  CC      lib/sha256.o
  CC      lib/gunzip.o
  CC      lib/lz4_wrapper.o
  CC      lib/fdtdec.o
  CC      lib/qsort.o
  CC      lib/hashtable.o
  CC      lib/errno.o
  CC      lib/display_options.o
  CC      lib/crc32.o
  CC      lib/ctype.o
  CC      lib/div64.o
  CC      lib/hang.o
  CC      lib/linux_compat.o
  CC      lib/linux_string.o
  CC      lib/lmb.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/panic.o
  CC      lib/vsprintf.o
  CC      lib/strto.o
  CC      lib/abuf.o
  CC      lib/date.o
  CC      lib/rtc-lib.o
  CC      lib/elf.o
  AR      lib/built-in.o
  CC      net/arp.o
  CC      net/bootp.o
  CC      net/eth-uclass.o
  CC      net/eth_common.o
  CC      net/net.o
  CC      net/nfs.o
  CC      net/ping.o
  CC      net/tftp.o
  AR      net/built-in.o
  LDS     u-boot.lds
  LD      u-boot
  OBJCOPY u-boot.srec
  OBJCOPY u-boot-nodtb.bin
  RELOC   u-boot-nodtb.bin
  DTC     arch/arm/dts/rk3399-evb.dtb
  DTC     arch/arm/dts/rk3399-ficus.dtb
  DTC     arch/arm/dts/rk3399-firefly.dtb
  DTC     arch/arm/dts/rk3399-gru-bob.dtb
  DTC     arch/arm/dts/rk3399-khadas-edge.dtb
  DTC     arch/arm/dts/rk3399-khadas-edge-captain.dtb
  DTC     arch/arm/dts/rk3399-khadas-edge-v.dtb
  DTC     arch/arm/dts/rk3399-leez-p710.dtb
  DTC     arch/arm/dts/rk3399-nanopc-t4.dtb
  DTC     arch/arm/dts/rk3399-nanopi-m4.dtb
  DTC     arch/arm/dts/rk3399-nanopi-m4-2gb.dtb
  DTC     arch/arm/dts/rk3399-nanopi-m4b.dtb
  DTC     arch/arm/dts/rk3399-nanopi-neo4.dtb
  DTC     arch/arm/dts/rk3399-nanopi-r4s.dtb
  DTC     arch/arm/dts/rk3399-orangepi.dtb
  DTC     arch/arm/dts/rk3399-pinebook-pro.dtb
  DTC     arch/arm/dts/rk3399-puma-haikou.dtb
  DTC     arch/arm/dts/rk3399-roc-pc.dtb
  DTC     arch/arm/dts/rk3399-roc-pc-mezzanine.dtb
  DTC     arch/arm/dts/rk3399-rock-pi-4a.dtb
  DTC     arch/arm/dts/rk3399-rock-pi-4b.dtb
  DTC     arch/arm/dts/rk3399-rock-pi-4c.dtb
  DTC     arch/arm/dts/rk3399-rock960.dtb
  DTC     arch/arm/dts/rk3399-rockpro64.dtb
  DTC     arch/arm/dts/rk3399pro-rock-pi-n10.dtb
  SHIPPED dts/dt.dtb
  CAT     u-boot-dtb.bin
  COPY    u-boot.bin
  SYM     u-boot.sym
  CC      spl/./lib/asm-offsets.s
  UPD     spl/./include/generated/generic-asm-offsets.h
  CC      spl/./arch/arm/lib/asm-offsets.s
  UPD     spl/./include/generated/asm-offsets.h
  CC      spl/arch/arm/mach-rockchip/rk3399/clk_rk3399.o
  CC      spl/arch/arm/mach-rockchip/rk3399/rk3399.o
  CC      spl/arch/arm/mach-rockchip/rk3399/syscon_rk3399.o
  AR      spl/arch/arm/mach-rockchip/rk3399/built-in.o
  CC      spl/arch/arm/mach-rockchip/cpu-info.o
  CC      spl/arch/arm/mach-rockchip/sdram.o
  CC      spl/arch/arm/mach-rockchip/bootrom.o
  CC      spl/arch/arm/mach-rockchip/spl.o
  CC      spl/arch/arm/mach-rockchip/spl-boot-order.o
  AR      spl/arch/arm/mach-rockchip/built-in.o
  CC      spl/arch/arm/cpu/armv8/cpu.o
  CC      spl/arch/arm/cpu/armv8/generic_timer.o
  CC      spl/arch/arm/cpu/armv8/cache_v8.o
  AS      spl/arch/arm/cpu/armv8/cache.o
  AS      spl/arch/arm/cpu/armv8/tlb.o
  AS      spl/arch/arm/cpu/armv8/transition.o
  CC      spl/arch/arm/cpu/armv8/fwcall.o
  CC      spl/arch/arm/cpu/armv8/cpu-dt.o
  AS      spl/arch/arm/cpu/armv8/smccc-call.o
  AR      spl/arch/arm/cpu/armv8/built-in.o
  AS      spl/arch/arm/cpu/armv8/start.o
  AR      spl/arch/arm/cpu/built-in.o
  AS      spl/arch/arm/lib/crt0_64.o
  AS      spl/arch/arm/lib/setjmp_aarch64.o
  CC      spl/arch/arm/lib/spl.o
  CC      spl/arch/arm/lib/zimage.o
  CC      spl/arch/arm/lib/bootm-fdt.o
  CC      spl/arch/arm/lib/bdinfo.o
  CC      spl/arch/arm/lib/sections.o
  CC      spl/arch/arm/lib/stack.o
  CC      spl/arch/arm/lib/interrupts_64.o
  CC      spl/arch/arm/lib/cache.o
  CC      spl/arch/arm/lib/psci-dt.o
  AR      spl/arch/arm/lib/built-in.o
  AR      spl/arch/arm/lib/lib.a
  AS      spl/arch/arm/lib/crt0_aarch64_efi.o
  CC      spl/arch/arm/lib/reloc_aarch64_efi.o
  CC      spl/board/rockchip/evb_rk3399/evb-rk3399.o
  AR      spl/board/rockchip/evb_rk3399/built-in.o
  CC      spl/common/spl/spl.o
  CC      spl/common/spl/spl_fit.o
  CC      spl/common/spl/spl_mmc.o
  CC      spl/common/spl/spl_atf.o
  AR      spl/common/spl/built-in.o
  CC      spl/common/init/board_init.o
  AR      spl/common/init/built-in.o
  CC      spl/boot/image.o
  CC      spl/boot/image-board.o
  CC      spl/boot/image-fdt.o
  CC      spl/boot/image-fit.o
  CC      spl/boot/common_fit.o
  AR      spl/boot/built-in.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/hash.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
  AR      spl/common/built-in.o
  CC      spl/cmd/nvedit.o
  AR      spl/cmd/built-in.o
  AR      spl/env/built-in.o
  CC      spl/lib/libfdt/fdt.o
  CC      spl/lib/libfdt/fdt_ro.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
  AR      spl/lib/libfdt/built-in.o
  CC      spl/lib/hash-checksum.o
  CC      spl/lib/sha1.o
  CC      spl/lib/sha256.o
  CC      spl/lib/fdtdec_common.o
  CC      spl/lib/fdtdec.o
  CC      spl/lib/crc16.o
  CC      spl/lib/net_utils.o
  CC      spl/lib/qsort.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/lmb.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/rand.o
  CC      spl/lib/panic.o
  CC      spl/lib/tiny-printf.o
  CC      spl/lib/strto.o
  CC      spl/lib/abuf.o
  CC      spl/lib/date.o
  CC      spl/lib/rtc-lib.o
  CC      spl/lib/elf.o
  AR      spl/lib/built-in.o
  CC      spl/disk/part.o
  CC      spl/disk/part_dos.o
  CC      spl/disk/part_efi.o
  AR      spl/disk/built-in.o
  CC      spl/drivers/block/blk-uclass.o
  AR      spl/drivers/block/built-in.o
  AR      spl/drivers/clk/analogbits/built-in.o
  AR      spl/drivers/clk/imx/built-in.o
  CC      spl/drivers/clk/rockchip/clk_pll.o
  CC      spl/drivers/clk/rockchip/clk_rk3399.o
  AR      spl/drivers/clk/rockchip/built-in.o
  AR      spl/drivers/clk/tegra/built-in.o
  AR      spl/drivers/clk/ti/built-in.o
  CC      spl/drivers/clk/clk-uclass.o
  CC      spl/drivers/clk/clk_fixed_rate.o
  CC      spl/drivers/clk/clk_fixed_factor.o
  AR      spl/drivers/clk/built-in.o
  CC      spl/drivers/core/device.o
  CC      spl/drivers/core/fdtaddr.o
  CC      spl/drivers/core/lists.o
  CC      spl/drivers/core/root.o
  CC      spl/drivers/core/uclass.o
  CC      spl/drivers/core/util.o
  CC      spl/drivers/core/simple-bus.o
  CC      spl/drivers/core/dump.o
  CC      spl/drivers/core/regmap.o
  CC      spl/drivers/core/syscon-uclass.o
  CC      spl/drivers/core/of_extra.o
  CC      spl/drivers/core/ofnode.o
  CC      spl/drivers/core/read_extra.o
  AR      spl/drivers/core/built-in.o
  AR      spl/drivers/misc/built-in.o
  CC      spl/drivers/mmc/mmc.o
  CC      spl/drivers/mmc/mmc-uclass.o
  CC      spl/drivers/mmc/dw_mmc.o
  CC      spl/drivers/mmc/rockchip_dw_mmc.o
  CC      spl/drivers/mmc/sdhci.o
  CC      spl/drivers/mmc/rockchip_sdhci.o
  AR      spl/drivers/mmc/built-in.o
  AR      spl/drivers/mtd/built-in.o
  AR      spl/drivers/pinctrl/broadcom/built-in.o
  AR      spl/drivers/pinctrl/nxp/built-in.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rockchip-core.o
  CC      spl/drivers/pinctrl/rockchip/pinctrl-rk3399.o
  AR      spl/drivers/pinctrl/rockchip/built-in.o
  CC      spl/drivers/pinctrl/pinctrl-uclass.o
  CC      spl/drivers/pinctrl/pinctrl-generic.o
  AR      spl/drivers/pinctrl/built-in.o
  CC      spl/drivers/ram/rockchip/sdram_rk3399.o
  CC      spl/drivers/ram/rockchip/sdram_common.o
  AR      spl/drivers/ram/rockchip/built-in.o
  CC      spl/drivers/ram/ram-uclass.o
  AR      spl/drivers/ram/built-in.o
  CC      spl/drivers/serial/serial-uclass.o
  CC      spl/drivers/serial/ns16550.o
  AR      spl/drivers/serial/built-in.o
  AR      spl/drivers/soc/built-in.o
  CC      spl/drivers/sysreset/sysreset-uclass.o
  CC      spl/drivers/sysreset/sysreset_rockchip.o
  AR      spl/drivers/sysreset/built-in.o
  AR      spl/drivers/built-in.o
  AR      spl/dts/built-in.o
  CC      spl/fs/fs_internal.o
  AR      spl/fs/built-in.o
  LDS     spl/u-boot-spl.lds
  LD      spl/u-boot-spl
  OBJCOPY spl/u-boot-spl-nodtb.bin
mkdir -p spl/dts/
  FDTGREP spl/dts/dt-spl.dtb
  COPY    spl/u-boot-spl.dtb
  CAT     spl/u-boot-spl-dtb.bin
  COPY    spl/u-boot-spl.bin
  SYM     spl/u-boot-spl.sym
  MKIMAGE u-boot.img
  CC      tpl/./lib/asm-offsets.s
  UPD     tpl/./include/generated/generic-asm-offsets.h
  CC      tpl/./arch/arm/lib/asm-offsets.s
  UPD     tpl/./include/generated/asm-offsets.h
  CC      tpl/arch/arm/mach-rockchip/rk3399/clk_rk3399.o
  CC      tpl/arch/arm/mach-rockchip/rk3399/rk3399.o
  CC      tpl/arch/arm/mach-rockchip/rk3399/syscon_rk3399.o
  AR      tpl/arch/arm/mach-rockchip/rk3399/built-in.o
  CC      tpl/arch/arm/mach-rockchip/sdram.o
  CC      tpl/arch/arm/mach-rockchip/bootrom.o
  CC      tpl/arch/arm/mach-rockchip/tpl.o
  AR      tpl/arch/arm/mach-rockchip/built-in.o
  CC      tpl/arch/arm/cpu/armv8/cpu.o
  CC      tpl/arch/arm/cpu/armv8/generic_timer.o
  CC      tpl/arch/arm/cpu/armv8/cache_v8.o
  AS      tpl/arch/arm/cpu/armv8/cache.o
  AS      tpl/arch/arm/cpu/armv8/tlb.o
  AS      tpl/arch/arm/cpu/armv8/transition.o
  CC      tpl/arch/arm/cpu/armv8/fwcall.o
  CC      tpl/arch/arm/cpu/armv8/cpu-dt.o
  AS      tpl/arch/arm/cpu/armv8/smccc-call.o
  AR      tpl/arch/arm/cpu/armv8/built-in.o
  AS      tpl/arch/arm/cpu/armv8/start.o
  AR      tpl/arch/arm/cpu/built-in.o
  AS      tpl/arch/arm/lib/crt0_64.o
  AS      tpl/arch/arm/lib/setjmp_aarch64.o
  CC      tpl/arch/arm/lib/spl.o
  CC      tpl/arch/arm/lib/zimage.o
  CC      tpl/arch/arm/lib/bootm-fdt.o
  CC      tpl/arch/arm/lib/bdinfo.o
  CC      tpl/arch/arm/lib/sections.o
  CC      tpl/arch/arm/lib/stack.o
  CC      tpl/arch/arm/lib/interrupts_64.o
  CC      tpl/arch/arm/lib/cache.o
  CC      tpl/arch/arm/lib/psci-dt.o
  AR      tpl/arch/arm/lib/built-in.o
  AR      tpl/arch/arm/lib/lib.a
  AS      tpl/arch/arm/lib/crt0_aarch64_efi.o
  CC      tpl/arch/arm/lib/reloc_aarch64_efi.o
  CC      tpl/board/rockchip/evb_rk3399/evb-rk3399.o
  AR      tpl/board/rockchip/evb_rk3399/built-in.o
  CC      tpl/common/spl/spl.o
  CC      tpl/common/spl/spl_bootrom.o
  AR      tpl/common/spl/built-in.o
  CC      tpl/common/init/board_init.o
  AR      tpl/common/init/built-in.o
  CC      tpl/boot/image.o
  CC      tpl/boot/image-board.o
  CC      tpl/boot/image-fdt.o
  CC      tpl/boot/common_fit.o
  AR      tpl/boot/built-in.o
  CC      tpl/common/fdt_support.o
  CC      tpl/common/bouncebuf.o
  CC      tpl/common/console.o
  CC      tpl/common/dlmalloc.o
  CC      tpl/common/malloc_simple.o
  CC      tpl/common/memsize.o
  CC      tpl/common/stdio.o
  CC      tpl/common/cli.o
  CC      tpl/common/command.o
  CC      tpl/common/s_record.o
  CC      tpl/common/xyzModem.o
  AR      tpl/common/built-in.o
  CC      tpl/cmd/nvedit.o
  AR      tpl/cmd/built-in.o
  AR      tpl/env/built-in.o
  CC      tpl/lib/libfdt/fdt.o
  CC      tpl/lib/libfdt/fdt_ro.o
  CC      tpl/lib/libfdt/fdt_wip.o
  CC      tpl/lib/libfdt/fdt_strerror.o
  CC      tpl/lib/libfdt/fdt_sw.o
  CC      tpl/lib/libfdt/fdt_rw.o
  CC      tpl/lib/libfdt/fdt_empty_tree.o
  CC      tpl/lib/libfdt/fdt_addresses.o
  AR      tpl/lib/libfdt/built-in.o
  CC      tpl/lib/hash-checksum.o
  CC      tpl/lib/sha1.o
  CC      tpl/lib/sha256.o
  CC      tpl/lib/fdtdec_common.o
  CC      tpl/lib/fdtdec.o
  CC      tpl/lib/net_utils.o
  CC      tpl/lib/qsort.o
  CC      tpl/lib/hashtable.o
  CC      tpl/lib/errno.o
  CC      tpl/lib/display_options.o
  CC      tpl/lib/ctype.o
  CC      tpl/lib/div64.o
  CC      tpl/lib/hang.o
  CC      tpl/lib/linux_compat.o
  CC      tpl/lib/linux_string.o
  CC      tpl/lib/lmb.o
  CC      tpl/lib/membuff.o
  CC      tpl/lib/slre.o
  CC      tpl/lib/string.o
  CC      tpl/lib/tables_csum.o
  CC      tpl/lib/time.o
  CC      tpl/lib/hexdump.o
  CC      tpl/lib/uuid.o
  CC      tpl/lib/rand.o
  CC      tpl/lib/panic.o
  CC      tpl/lib/tiny-printf.o
  CC      tpl/lib/strto.o
  CC      tpl/lib/abuf.o
  CC      tpl/lib/date.o
  CC      tpl/lib/rtc-lib.o
  CC      tpl/lib/elf.o
  AR      tpl/lib/built-in.o
  AR      tpl/drivers/clk/analogbits/built-in.o
  AR      tpl/drivers/clk/imx/built-in.o
  CC      tpl/drivers/clk/rockchip/clk_pll.o
  CC      tpl/drivers/clk/rockchip/clk_rk3399.o
  AR      tpl/drivers/clk/rockchip/built-in.o
  AR      tpl/drivers/clk/tegra/built-in.o
  AR      tpl/drivers/clk/ti/built-in.o
  CC      tpl/drivers/clk/clk-uclass.o
  CC      tpl/drivers/clk/clk_fixed_rate.o
  CC      tpl/drivers/clk/clk_fixed_factor.o
  AR      tpl/drivers/clk/built-in.o
  CC      tpl/drivers/core/device.o
  CC      tpl/drivers/core/fdtaddr.o
  CC      tpl/drivers/core/lists.o
  CC      tpl/drivers/core/root.o
  CC      tpl/drivers/core/uclass.o
  CC      tpl/drivers/core/util.o
  CC      tpl/drivers/core/simple-bus.o
  CC      tpl/drivers/core/dump.o
  CC      tpl/drivers/core/regmap.o
  CC      tpl/drivers/core/syscon-uclass.o
  CC      tpl/drivers/core/of_extra.o
  CC      tpl/drivers/core/ofnode.o
  CC      tpl/drivers/core/read_extra.o
  AR      tpl/drivers/core/built-in.o
  AR      tpl/drivers/misc/built-in.o
  AR      tpl/drivers/mtd/built-in.o
  CC      tpl/drivers/ram/rockchip/sdram_rk3399.o
  CC      tpl/drivers/ram/rockchip/sdram_common.o
  AR      tpl/drivers/ram/rockchip/built-in.o
  CC      tpl/drivers/ram/ram-uclass.o
  AR      tpl/drivers/ram/built-in.o
  CC      tpl/drivers/serial/serial-uclass.o
  CC      tpl/drivers/serial/ns16550.o
  AR      tpl/drivers/serial/built-in.o
  AR      tpl/drivers/soc/built-in.o
  CC      tpl/drivers/sysreset/sysreset-uclass.o
  CC      tpl/drivers/sysreset/sysreset_rockchip.o
  AR      tpl/drivers/sysreset/built-in.o
  AR      tpl/drivers/built-in.o
  AR      tpl/dts/built-in.o
  CC      tpl/fs/fs_internal.o
  AR      tpl/fs/built-in.o
  LDS     tpl/u-boot-spl.lds
  LD      tpl/u-boot-tpl
  OBJCOPY tpl/u-boot-tpl-nodtb.bin
mkdir -p tpl/dts/
  FDTGREP tpl/dts/dt-tpl.dtb
  COPY    tpl/u-boot-tpl.dtb
  CAT     tpl/u-boot-tpl-dtb.bin
  COPY    tpl/u-boot-tpl.bin
  SYM     tpl/u-boot-tpl.sym
  COPY    u-boot.dtb
  MKIMAGE u-boot-dtb.img
./"arch/arm/mach-rockchip/make_fit_atf.py" \
arch/arm/dts/rk3399-orangepi.dtb > u-boot.its
WARNING: BL31 file bl31.elf NOT found, resulting binary is non-functional
WARNING: Please read Building section in doc/README.rockchip
  MKIMAGE u-boot.itb
  MKIMAGE tpl/u-boot-tpl-rockchip.bin
  CAT     idbloader.img
  CAT     u-boot-rockchip.bin
===================== WARNING ======================
This board uses CONFIG_SPL_FIT_GENERATOR. Please migrate
to binman instead, to avoid the proliferation of
arch-specific scripts with no tests.
====================================================
  CFGCHK  u-boot.cfg
  OFCHK   .config
[tom@trona U-boot]$ 

Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org