August 14, 2018

U-Boot build log for the Nanopi Fire3

Here the the output from: Some compile errors and other spurious messages were deleted. The idea here is to have a list of the files involved in the build.
  LD      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/exceptions.o
  AS      arch/arm/cpu/armv8/cache.o
  AS      arch/arm/cpu/armv8/tlb.o
  AS      arch/arm/cpu/armv8/transition.o
  CC      arch/arm/cpu/armv8/s5p6818/cpu.o
  LD      arch/arm/cpu/armv8/s5p6818/built-in.o
  LD      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/relocate_64.o
  CC      arch/arm/lib/bootm-fdt.o
  CC      arch/arm/lib/bootm.o
  CC      arch/arm/lib/sections.o
  CC      arch/arm/lib/stack.o
  AS      arch/arm/lib/ccn504.o
  AS      arch/arm/lib/gic_64.o
  CC      arch/arm/lib/interrupts_64.o
  CC      arch/arm/lib/reset.o
  CC      arch/arm/lib/cache.o
  LD      arch/arm/lib/built-in.o
  AR      arch/arm/lib/lib.a
  CC      arch/arm/mach-nexell/clock.o
  CC      arch/arm/mach-nexell/timer.o
  CC      arch/arm/mach-nexell/reset.o
  CC      arch/arm/mach-nexell/nx_gpio.o
  CC      arch/arm/mach-nexell/tieoff.o
  CC      arch/arm/mach-nexell/serial.o
  LD      arch/arm/mach-nexell/built-in.o
  CC      board/s5p6818/nanopi3/board.o
  CC      board/s5p6818/nanopi3/hwrev.o
  CC      board/s5p6818/nanopi3/onewire.o
  CC      board/s5p6818/nanopi3/lcds.o
  LD      board/s5p6818/nanopi3/built-in.o
  CC      common/init/board_init.o
  LD      common/init/built-in.o
  CC      common/main.o
  CC      common/exports.o
  CC      common/hash.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/cmd_boot.o
  CC      common/cmd_bootm.o
  CC      common/bootm.o
  CC      common/bootm_os.o
  CC      common/cmd_help.o
  CC      common/cmd_version.o
  CC      common/env_attr.o
  CC      common/env_callback.o
  CC      common/env_flags.o
  CC      common/env_mmc.o
  CC      common/cmd_source.o
  CC      common/cmd_bdinfo.o
  CC      common/cmd_bmp.o
  CC      common/cmd_console.o
  CC      common/cmd_echo.o
  CC      common/cmd_elf.o
  CC      common/cmd_exit.o
  CC      common/cmd_ext4.o
  CC      common/cmd_fat.o
  CC      common/cmd_fdt.o
  CC      common/fdt_support.o
  CC      common/cmd_gpio.o
  CC      common/cmd_i2c.o
  CC      common/cmd_itest.o
  CC      common/cmd_load.o
  CC      common/cmd_mem.o
  CC      common/miiphyutil.o
  CC      common/cmd_misc.o
  CC      common/cmd_mmc.o
  CC      common/cmd_net.o
  CC      common/cmd_mmc_fdisk.o
  CC      common/cmd_ext4_img_write.o
  CC      common/cmd_sd_recovery.o
  CC      common/cmd_pcmcia.o
  CC      common/cmd_test.o
  CC      common/cmd_usb.o
  CC      common/usb.o
  CC      common/usb_hub.o
  CC      common/usb_storage.o
  CC      common/cmd_fastboot.o
  CC      common/cmd_usbdown.o
  CC      common/cmd_ximg.o
  CC      common/flash.o
  CC      common/splash.o
  CC      common/splash_source.o
  CC      common/cmd_gpt.o
  CC      common/cmd_pmic.o
  CC      common/cmd_regulator.o
  CC      common/cmd_nvedit.o
  CC      common/env_common.o
  CC      common/bouncebuf.o
  CC      common/console.o
  CC      common/dlmalloc.o
  CC      common/malloc_simple.o
  CC      common/image.o
  CC      common/image-fdt.o
  CC      common/image-fit.o
  CC      common/memsize.o
  CC      common/stdio.o
  CC      common/image-sparse.o
  CC      common/fb_mmc.o
  CC      common/cli_simple.o
  CC      common/cli.o
  CC      common/cli_readline.o
  CC      common/command.o
  CC      common/s_record.o
  CC      common/xyzModem.o
  CC      common/cmd_disk.o
  LD      common/built-in.o
  CC      disk/part.o
  CC      disk/part_dos.o
  CC      disk/part_efi.o
  LD      disk/built-in.o
  LD      drivers/adc/built-in.o
  LD      drivers/block/built-in.o
  CC      drivers/core/device.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
  LD      drivers/core/built-in.o
  CC      drivers/crypto/fsl/sec.o
  LD      drivers/crypto/fsl/built-in.o
  LD      drivers/crypto/rsa_mod_exp/built-in.o
  LD      drivers/crypto/built-in.o
  LD      drivers/dfu/built-in.o
  LD      drivers/hwmon/built-in.o
  CC      drivers/input/input.o
  CC      drivers/input/key_matrix.o
  LD      drivers/input/built-in.o
  LD      drivers/memory/built-in.o
  LD      drivers/misc/built-in.o
  CC      drivers/pcmcia/tqm8xx_pcmcia.o
  LD      drivers/pcmcia/built-in.o
  CC      drivers/pwm/pwm-uclass.o
  CC      drivers/pwm/pwm-nexell.o
  LD      drivers/pwm/built-in.o
  LD      drivers/reset/built-in.o
  CC      drivers/rtc/date.o
  LD      drivers/rtc/built-in.o
  LD      drivers/soc/built-in.o
  LD      drivers/sound/built-in.o
  LD      drivers/thermal/built-in.o
  LD      drivers/timer/built-in.o
  LD      drivers/tpm/built-in.o
  LD      drivers/twserial/built-in.o
  CC      drivers/video/dp-uclass.o
  CC      drivers/video/cfb_console.o
  CC      drivers/video/nexell_display.o
  CC      drivers/video/videomodes.o
  LD      drivers/video/bridge/built-in.o
  CC      drivers/video/nexell/s5pxx18_dp.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_dpc.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_mlc.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_disptop.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_disptop_clk.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_lvds.o
  CC      drivers/video/nexell/soc/s5pxx18_soc_hdmi.o
  LD      drivers/video/nexell/soc/built-in.o
  CC      drivers/video/nexell/s5pxx18_dp_rgb.o
  CC      drivers/video/nexell/s5pxx18_dp_lvds.o
  CC      drivers/video/nexell/s5pxx18_dp_hdmi.o
  LD      drivers/video/nexell/built-in.o
  LD      drivers/video/built-in.o
  LD      drivers/watchdog/built-in.o
  LD      drivers/built-in.o
  LD      drivers/dma/built-in.o
  CC      drivers/gpio/gpio-uclass.o
  CC      drivers/gpio/nx_gpio.o
  LD      drivers/gpio/built-in.o
  CC      drivers/i2c/i2c-uclass.o
  CC      drivers/i2c/i2c-gpio.o
  CC      drivers/i2c/nx_i2c.o
  LD      drivers/i2c/built-in.o
  CC      drivers/mmc/dw_mmc.o
  CC      drivers/mmc/mmc.o
  CC      drivers/mmc/nexell_dw_mmc.o
  CC      drivers/mmc/mmc_write.o
  LD      drivers/mmc/built-in.o
  LD      drivers/mtd/built-in.o
  LD      drivers/mtd/onenand/built-in.o
  LD      drivers/mtd/spi/built-in.o
  CC      drivers/net/designware.o
  LD      drivers/net/built-in.o
  CC      drivers/net/phy/phy.o
  LD      drivers/net/phy/built-in.o
  LD      drivers/pci/built-in.o
  LD      drivers/power/built-in.o
  LD      drivers/power/battery/built-in.o
  LD      drivers/power/charger/built-in.o
  LD      drivers/power/fuel_gauge/built-in.o
  LD      drivers/power/mfd/built-in.o
  CC      drivers/power/pmic/pmic-uclass.o
  CC      drivers/power/pmic/axp228.o
  LD      drivers/power/pmic/built-in.o
  CC      drivers/power/regulator/regulator-uclass.o
  CC      drivers/power/regulator/axp228.o
  LD      drivers/power/regulator/built-in.o
  CC      drivers/serial/serial.o
  LD      drivers/serial/built-in.o
  CC      drivers/spi/spi.o
  LD      drivers/spi/built-in.o
  LD      drivers/usb/dwc3/built-in.o
  LD      drivers/usb/emul/built-in.o
  LD      drivers/usb/eth/built-in.o
  CC      drivers/usb/gadget/epautoconf.o
  CC      drivers/usb/gadget/config.o
  CC      drivers/usb/gadget/usbstring.o
  CC      drivers/usb/gadget/nexell_udc_otg_phy.o
  CC      drivers/usb/gadget/dwc2_udc_otg.o
  CC      drivers/usb/gadget/g_dnl.o
  CC      drivers/usb/gadget/f_fastboot.o
  LD      drivers/usb/gadget/built-in.o
  LD      drivers/usb/gadget/udc/built-in.o
  CC      drivers/usb/host/usb-uclass.o
  CC      drivers/usb/host/ehci-hcd.o
  CC      drivers/usb/host/ehci-exynos.o
  LD      drivers/usb/host/built-in.o
  LD      drivers/usb/musb-new/built-in.o
  LD      drivers/usb/musb/built-in.o
  LD      drivers/usb/phy/built-in.o
  LD      drivers/usb/ulpi/built-in.o
  DTC     arch/arm/dts/s5p6818-drone.dtb
  DTC     arch/arm/dts/s5p6818-artik710-raptor.dtb
  DTC     arch/arm/dts/s5p6818-avn-ref.dtb
  DTC     arch/arm/dts/s5p6818-nanopi3.dtb
  DTC     arch/arm/dts/s5p6818-kick-st.dtb
  SHIPPED dts/dt.dtb
  DTB     dts/dt.dtb.S
  AS      dts/dt.dtb.o
  LD      dts/built-in.o
  CC      fs/fs.o
  CC      fs/ext4/ext4fs.o
  CC      fs/ext4/ext4_common.o
  CC      fs/ext4/dev.o
  CC      fs/ext4/ext4_write.o
  CC      fs/ext4/ext4_journal.o
  CC      fs/ext4/crc16.o
  LD      fs/ext4/built-in.o
  CC      fs/fat/fat_write.o
  CC      fs/fat/file.o
  LD      fs/fat/built-in.o
  LD      fs/built-in.o
  CC      lib/libfdt/fdt.o
  CC      lib/libfdt/fdt_ro.o
  CC      lib/libfdt/fdt_rw.o
  CC      lib/libfdt/fdt_strerror.o
  CC      lib/libfdt/fdt_sw.o
  CC      lib/libfdt/fdt_wip.o
  CC      lib/libfdt/fdt_empty_tree.o
  CC      lib/libfdt/fdt_addresses.o
  CC      lib/libfdt/fdt_region.o
  LD      lib/libfdt/built-in.o
  CC      lib/zlib/zlib.o
  LD      lib/zlib/built-in.o
  CC      lib/crc7.o
  CC      lib/crc8.o
  CC      lib/crc16.o
  CC      lib/errno_str.o
  CC      lib/fdtdec_common.o
  CC      lib/fdtdec.o
  CC      lib/gunzip.o
  CC      lib/initcall.o
  CC      lib/lmb.o
  CC      lib/ldiv.o
  CC      lib/md5.o
  CC      lib/net_utils.o
  CC      lib/qsort.o
  CC      lib/rc4.o
  CC      lib/sha1.o
  CC      lib/sha256.o
  CC      lib/strmhz.o
  CC      lib/list_sort.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/membuff.o
  CC      lib/slre.o
  CC      lib/string.o
  CC      lib/time.o
  CC      lib/uuid.o
  CC      lib/rand.o
  CC      lib/vsprintf.o
  CC      lib/panic.o
  CC      lib/strto.o
  LD      lib/built-in.o
  CC      net/checksum.o
  CC      net/arp.o
  CC      net/bootp.o
  CC      net/eth.o
  CC      net/net.o
  CC      net/tftp.o
  LD      net/built-in.o
  LD      test/built-in.o
  CC      test/dm/cmd_dm.o
  LD      test/dm/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
  OBJCOPY u-boot.srec
  OBJCOPY u-boot.bin
start=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_start | cut -f 1 -d ' '); end=$(aarch64-linux-gnu-nm u-boot | grep __rel_dyn_end | cut -f 1 -d ' '); tools/relocate-rela u-boot.bin 0x43C00000 $start $end
  CFG     u-boot.cfg
Firmware Image Package ToC:
---------------------------
- Non-Trusted Firmware BL33: offset=0x60, size=0x79328
  file: 'u-boot.bin'
---------------------------
Creating "fip-nonsecure.bin"
Creating "fip-nonsecure.img" (<-- tools/nexell/nsih/nanopi3.txt)


Have any comments? Questions? Drop me a line!

Tom's electronics pages / tom@mmto.org