August 9, 2018
U-Boot build log for the Nanopi Fire3
[tom@trona u-boot]$ make distclean
CLEAN dts/../arch/arm/dts
CLEAN dts
CLEAN examples/standalone
CLEAN tools/fip_create
CLEAN tools/nexell
CLEAN tools
CLEAN tools/lib tools/common
CLEAN include/bmp_logo.h include/bmp_logo_data.h u-boot.lds u-boot.srec u-boot.map u-boot.bin u-boot.cfg u-boot System.map
CLEAN scripts/basic
CLEAN scripts/kconfig
CLEAN include/config include/generated
CLEAN .config include/autoconf.mk include/autoconf.mk.dep include/config.h
[tom@trona u-boot]$ make s5p6818_nanopi3_defconfig
HOSTCC scripts/basic/fixdep
HOSTCC scripts/kconfig/conf.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/zconf.lex.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
arch/../configs/s5p6818_nanopi3_defconfig:18:warning: override: reassigning to symbol CMD_NET
#
# configuration written to .config
#
[tom@trona u-boot]$ cd configs
[tom@trona configs]$ !vi
vi s5p6818_nanopi3_defconfig
[tom@trona configs]$ cd ..
[tom@trona u-boot]$ make
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/config.h
UPD include/config.h
GEN include/autoconf.mk
GEN include/autoconf.mk.dep
CHK include/config/uboot.release
UPD include/config/uboot.release
CHK include/generated/version_autogenerated.h
UPD include/generated/version_autogenerated.h
CHK include/generated/timestamp_autogenerated.h
UPD include/generated/timestamp_autogenerated.h
CC lib/asm-offsets.s
CHK include/generated/generic-asm-offsets.h
UPD include/generated/generic-asm-offsets.h
CC arch/arm/lib/asm-offsets.s
CHK include/generated/asm-offsets.h
UPD include/generated/asm-offsets.h
HOSTCC tools/fip_create/fip_create.o
HOSTLD tools/fip_create/fip_create
HOSTCC tools/nexell/SECURE_BINGEN.o
HOSTLD tools/nexell/SECURE_BINGEN
HOSTCC tools/nexell/BOOT_BINGEN.o
HOSTLD tools/nexell/BOOT_BINGEN
HOSTCC tools/bmp_logo
HOSTCC tools/gen_eth_addr
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
WRAP tools/common/bootm.c
HOSTCC tools/common/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
HOSTCC tools/fit_common.o
HOSTCC tools/fit_image.o
HOSTCC tools/gpimage.o
HOSTCC tools/gpimage-common.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
HOSTCC tools/imagetool.o
HOSTCC tools/imximage.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
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
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
HOSTCC tools/ublimage.o
HOSTCC tools/zynqimage.o
WRAP tools/lib/libfdt/fdt.c
HOSTCC tools/lib/libfdt/fdt.o
WRAP tools/lib/libfdt/fdt_ro.c
HOSTCC tools/lib/libfdt/fdt_ro.o
WRAP tools/lib/libfdt/fdt_rw.c
HOSTCC tools/lib/libfdt/fdt_rw.o
WRAP tools/lib/libfdt/fdt_strerror.c
HOSTCC tools/lib/libfdt/fdt_strerror.o
WRAP tools/lib/libfdt/fdt_wip.c
HOSTCC tools/lib/libfdt/fdt_wip.o
WRAP tools/lib/libfdt/fdt_region.c
HOSTCC tools/lib/libfdt/fdt_region.o
HOSTCC tools/dumpimage.o
HOSTLD tools/dumpimage
HOSTCC tools/mkimage.o
HOSTLD tools/mkimage
HOSTCC tools/proftool
HOSTCC tools/relocate-rela
HOSTCC tools/fdtgrep.o
HOSTLD tools/fdtgrep
tools/bmp_logo --gen-info ./tools/logos/denx.bmp > include/bmp_logo.h
tools/bmp_logo --gen-data ./tools/logos/denx.bmp > include/bmp_logo_data.h
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/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
LD drivers/net/built-in.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
arch/arm/dts/s5p6818-drone.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-drone.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-drone.dtb: Warning (alias_paths): aliases property 'mmc0' is not a valid node (/mmc0:mmc@c0062000)
arch/arm/dts/s5p6818-drone.dtb: Warning (alias_paths): aliases property 'mmc1' is not a valid node (/mmc1@c0068000)
arch/arm/dts/s5p6818-drone.dtb: Warning (alias_paths): aliases property 'mmc2' is not a valid node (/mmc2@c0069000)
DTC arch/arm/dts/s5p6818-artik710-raptor.dtb
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@1 has a unit name, but no reg property
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@2 has a unit name, but no reg property
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (alias_paths): aliases property 'mmc0' is not a valid node (/mmc0:mmc@c0062000)
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (alias_paths): aliases property 'mmc1' is not a valid node (/mmc1@c0068000)
arch/arm/dts/s5p6818-artik710-raptor.dtb: Warning (alias_paths): aliases property 'mmc2' is not a valid node (/mmc2@c0069000)
DTC arch/arm/dts/s5p6818-avn-ref.dtb
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@0 has a unit name, but no reg property
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (avoid_unnecessary_addr_size): unnecessary #address-cells/#size-cells without "ranges" or child "reg" property in /dp@c0102800
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (alias_paths): aliases property 'mmc0' is not a valid node (/mmc0:mmc@c0062000)
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (alias_paths): aliases property 'mmc1' is not a valid node (/mmc1@c0068000)
arch/arm/dts/s5p6818-avn-ref.dtb: Warning (alias_paths): aliases property 'mmc2' is not a valid node (/mmc2@c0069000)
DTC arch/arm/dts/s5p6818-nanopi3.dtb
arch/arm/dts/s5p6818-nanopi3.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-nanopi3.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-nanopi3.dtb: Warning (avoid_unnecessary_addr_size): unnecessary #address-cells/#size-cells without "ranges" or child "reg" property in /dp@c0102800
arch/arm/dts/s5p6818-nanopi3.dtb: Warning (alias_paths): aliases property 'mmc2' is not a valid node (/mmc2@c0069000)
DTC arch/arm/dts/s5p6818-kick-st.dtb
arch/arm/dts/s5p6818-kick-st.dtb: Warning (unit_address_vs_reg): Node /memory has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-kick-st.dtb: Warning (unit_address_vs_reg): Node /usbhost@c0030000/phy has a reg or ranges property, but no unit name
arch/arm/dts/s5p6818-kick-st.dtb: Warning (unit_address_vs_reg): Node /i2c_gpio@0 has a unit name, but no reg property
arch/arm/dts/s5p6818-kick-st.dtb: Warning (unit_address_vs_reg): Node /rev@0 has a unit name, but no reg property
arch/arm/dts/s5p6818-kick-st.dtb: Warning (avoid_unnecessary_addr_size): unnecessary #address-cells/#size-cells without "ranges" or child "reg" property in /dp@c0102800
arch/arm/dts/s5p6818-kick-st.dtb: Warning (alias_paths): aliases property 'mmc0' is not a valid node (/mmc0:mmc@c0062000)
arch/arm/dts/s5p6818-kick-st.dtb: Warning (alias_paths): aliases property 'mmc1' is not a valid node (/mmc1@c0068000)
arch/arm/dts/s5p6818-kick-st.dtb: Warning (alias_paths): aliases property 'mmc2' is not a valid node (/mmc2@c0069000)
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=0x770D8
file: 'u-boot.bin'
---------------------------
Creating "fip-nonsecure.bin"
Creating "fip-nonsecure.img" (<-- tools/nexell/nsih/nanopi3.txt)
[tom@trona u-boot]$ make install
cp fip-nonsecure.img ../mksd
Have any comments? Questions?
Drop me a line!
Tom's electronics pages / [email protected]