Ar71xx arch how to support device tree

I'm add MkuImageDTBLzma ,PatchKernelDTBlzm and so on script macro
but no sysupgrade.bin file in bin dir ,no error

cp -fpR /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root.orig-ar71xx
Create '/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/etc/filesystems'.
Add 'ntfs-3g' to known filesystems.
/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/etc/init.d/qcmbr: line 9: /lib/functions.sh: No such file or directory
./etc/init.d/qcmbr: line 9: /lib/functions.sh: No such file or directory
sed -i "s/Installed-Time: .*/Installed-Time: 1516222843/" /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/usr/lib/opkg/status
rm -rf /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/tmp/*
rm -f /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/usr/lib/opkg/lists/*
rm -f /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/usr/lib/opkg/info/*.postinst*
rm -f /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/usr/lib/opkg/info/*.prerm*
make[2]: Leaving directory '/opt/openwrt/openwrt'
make[2]: Entering directory '/opt/openwrt/openwrt'
make[3]: Entering directory '/opt/openwrt/openwrt/target/linux'
make[4]: Entering directory '/opt/openwrt/openwrt/target/linux/ar71xx'
rm -f /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/localversion
/opt/openwrt/openwrt/scripts/kconfig.pl  + + /opt/openwrt/openwrt/target/linux/generic/config-4.4 /opt/openwrt/openwrt/target/linux/ar71xx/config-4.4 /opt/openwrt/openwrt/target/linux/ar71xx/generic/config-default > /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target
awk '/^(#[[:space:]]+)?CONFIG_KERNEL/{sub("CONFIG_KERNEL_","CONFIG_");print}' /opt/openwrt/openwrt/.config >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target
echo "# CONFIG_KALLSYMS_EXTRA_PASS is not set" >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target
echo "# CONFIG_KALLSYMS_ALL is not set" >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target
echo "CONFIG_KALLSYMS_UNCOMPRESSED=y" >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target
/opt/openwrt/openwrt/scripts/package-metadata.pl kconfig /opt/openwrt/openwrt/tmp/.packageinfo /opt/openwrt/openwrt/.config 4.4 > /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.override
/opt/openwrt/openwrt/scripts/kconfig.pl 'm+' '+' /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.target /dev/null /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.override > /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set
mv /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.old
grep -v INITRAMFS /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.old > /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set
echo 'CONFIG_INITRAMFS_SOURCE=""' >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set
echo '# CONFIG_INITRAMFS_FORCE is not set' >> /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set
rm -rf /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/modules
cmp -s /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.prev || { cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config; cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.prev; }
export MAKEFLAGS= ; [ -d /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/user_headers ] || make -C /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111 HOSTCFLAGS="-O2 -I/opt/openwrt/openwrt/staging_dir/host/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Jan 17 21:00:43 2018" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/opt/openwrt/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.4.111 CC="mips-openwrt-linux-uclibc-gcc" INSTALL_HDR_PATH=/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/user_headers headers_install
grep '=[ym]' /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.config.set | LC_ALL=C sort | mkhash md5 > /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.vermagic
touch /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.configured
rm -f /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/init
make -C /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111 HOSTCFLAGS="-O2 -I/opt/openwrt/openwrt/staging_dir/host/include  -Wall -Wmissing-prototypes -Wstrict-prototypes" CROSS_COMPILE="mips-openwrt-linux-uclibc-" ARCH="mips" KBUILD_HAVE_NLS=no KBUILD_BUILD_USER="" KBUILD_BUILD_HOST="" KBUILD_BUILD_TIMESTAMP="Wed Jan 17 21:00:43 2018" KBUILD_BUILD_VERSION="0" HOST_LOADLIBES="-L/opt/openwrt/openwrt/staging_dir/host/lib" CONFIG_SHELL="bash" V=''  cmd_syscalls= KERNELRELEASE=4.4.111 CC="mips-openwrt-linux-uclibc-gcc" all modules
make[5]: Entering directory '/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111'
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
  CHK     include/generated/asm-offsets.h
  CALL    scripts/checksyscalls.sh
  CHK     include/generated/compile.h
  CC      arch/mips/lib/ashldi3.o
  LD      arch/mips/lib/built-in.o
  LINK    vmlinux
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/generated/compile.h
  KSYM    .tmp_kallsyms1.o
  KSYM    .tmp_kallsyms2.o
  LD      vmlinux
  SORTEX  vmlinux
  SYSMAP  System.map
  CC      arch/mips/boot/compressed/../../lib/ashldi3.o
  CC      arch/mips/boot/compressed/dummy.o
  OBJCOPY arch/mips/boot/compressed/vmlinux.bin
  XZKERN  arch/mips/boot/compressed/vmlinux.bin.z
  OBJCOPY arch/mips/boot/compressed/piggy.o
  LD      vmlinuz
  STRIP	  vmlinuz
  Building modules, stage 2.
  MODPOST 94 modules
make[5]: Nothing to be done for 'modules'.
make[5]: Leaving directory '/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111'
cmp -s /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/vmlinux /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.debug || { mips-openwrt-linux-uclibc-objcopy -O binary -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/vmlinux /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux; mips-openwrt-linux-uclibc-objcopy -R .reginfo -R .notes -R .note -R .comment -R .mdebug -R .note.gnu.build-id -S /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/vmlinux /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.elf; cp -fpR /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/vmlinux /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.debug;  }
touch /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/.image
make -C image compile install TARGET_BUILD=
make[5]: Entering directory '/opt/openwrt/openwrt/target/linux/ar71xx/image'
make[5]: Nothing to be done for 'compile'.
mkdir -p /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/tmp
/opt/openwrt/openwrt/staging_dir/host/bin/lzma e /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux -lc1 -lp2 -pb2  /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma
rm -rf /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader
export MAKEFLAGS= ;make V=ss -C lzma-loader KDIR=/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic LOADER=loader-generic.elf KERNEL_CMDLINE="" LZMA_TEXT_START=0x80a00000 LOADADDR=0x80060000 LOADER_DATA="/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma" BOARD="generic" compile loader.elf
make[6]: Entering directory '/opt/openwrt/openwrt/target/linux/ar71xx/image/lzma-loader'
mkdir /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader
cp -fpR ./src/* /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader/
touch /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader/.prepared
make -C /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader CROSS_COMPILE="mips-openwrt-linux-uclibc-" \
	LZMA_TEXT_START=0x80a00000 \
	LOADADDR=0x80060000 \
	LOADER_DATA=/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma \
	FLASH_OFFS= \
	FLASH_MAX= \
	BOARD="generic" \
	clean all
make[7]: Entering directory '/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader'
rm -f loader *.elf *.bin *.o
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -D__ASSEMBLY__ -c -o head.o head.S
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o loader.o loader.c
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o cache.o cache.c
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o board.o board.c
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o printf.o printf.c
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -c -o LzmaDecode.o LzmaDecode.c
mips-openwrt-linux-uclibc-ld -r -b binary --oformat elf32-tradbigmips -T lzma-data.lds -o data.o /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma
mips-openwrt-linux-uclibc-gcc -D__KERNEL__ -Wall -Wstrict-prototypes -Wno-trigraphs -Os -fno-strict-aliasing -fno-common -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -ffunction-sections -pipe -mlong-calls -fno-common -ffreestanding -fhonour-copts -nostartfiles -mabi=32 -march=mips32r2 -Wa,-32 -Wa,-march=mips32r2 -Wa,-mips32r2 -Wa,--trap -D_LZMA_PROB32 -flto -DLZMA_WRAPPER=1 -DLOADADDR=0x80060000 -DCONFIG_BOARD_GENERIC -static -Wl,--gc-sections -Wl,-no-warn-mismatch -Wl,-e,startup -T loader.lds -Wl,-Ttext,0x80a00000 -flto -fwhole-program -o loader head.o loader.o cache.o board.o printf.o LzmaDecode.o data.o
mips-openwrt-linux-uclibc-objcopy -O binary -R .reginfo -R .note -R .comment -R .mdebug -R .MIPS.abiflags -S loader loader.bin
mips-openwrt-linux-uclibc-ld -r -b binary --oformat elf32-tradbigmips -o loader2.o loader.bin
mips-openwrt-linux-uclibc-ld -e startup -T loader2.lds -Ttext 0x80060000 -o loader.elf loader2.o
make[7]: Leaving directory '/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader'
cp -fpR /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/lzma-loader/loader.elf /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/loader-generic.elf
make[6]: Leaving directory '/opt/openwrt/openwrt/target/linux/ar71xx/image/lzma-loader'
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.elf /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-vmlinux.elf
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-vmlinux.bin
dd if=/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma of=/opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-vmlinux.lzma bs=65536 conv=sync
20+1 records in
21+0 records out
1376256 bytes (1.4 MB) copied, 0.0008793 s, 1.6 GB/s
mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma  -e 0x80060000 -n 'MIPS OpenWrt Linux-4.4.111' -d /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-uImage-lzma.bin
Image Name:   MIPS OpenWrt Linux-4.4.111
Created:      Wed Jan 17 21:00:43 2018
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1318403 Bytes = 1287.50 kB = 1.26 MB
Load Address: 80060000
Entry Point:  80060000
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/loader-generic.elf /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-vmlinux-lzma.elf
mkdir -p /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/tmp
/opt/openwrt/openwrt/staging_dir/host/bin/mksquashfs4 /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs -nopad -noappend -root-owned -comp xz -Xpreset 9 -Xe -Xlc 0 -Xlp 2 -Xpb 2  -b 256k -p '/dev d 755 0 0' -p '/dev/console c 600 0 0 5 1' -processors 1 -fixed-time 1516222843
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs, block size 262144.
Pseudo file "/dev" exists in source filesystem "/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx/dev".
Ignoring, exclude it (-e/-ef) to override.
[==========================================================================================================================================================================================\] 1243/1243 100%
Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, no xattrs
	duplicates are removed
Filesystem size 10484.61 Kbytes (10.24 Mbytes)
	33.58% of uncompressed filesystem size (31224.71 Kbytes)
Inode table size 11818 bytes (11.54 Kbytes)
	22.58% of uncompressed inode table size (52332 bytes)
Directory table size 16222 bytes (15.84 Kbytes)
	48.22% of uncompressed directory table size (33641 bytes)
Number of duplicate files found 19
Number of inodes 1573
Number of files 1185
Number of fragments 55
Number of symbolic links  251
Number of device nodes 1
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 136
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs-raw
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs-64k
/opt/openwrt/openwrt/staging_dir/host/bin/padjffs2 /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs-64k 64
padding image to 00a40000
/opt/openwrt/openwrt/staging_dir/host/bin/padjffs2 /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs 4 8 16 64 128 256
padding image to 00a3e000
padding image to 00a40000
dd if=/opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/root.squashfs of=/opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-root.squashfs bs=128k conv=sync
82+1 records in
83+0 records out
10878976 bytes (11 MB) copied, 0.0892966 s, 122 MB/s
/opt/openwrt/openwrt/staging_dir/host/bin/opkg --offline-root /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/root-ar71xx --add-arch all:100 --add-arch mips_24kc:200 list-installed > /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-e600g.manifest
make[5]: Leaving directory '/opt/openwrt/openwrt/target/linux/ar71xx/image'
make[4]: Leaving directory '/opt/openwrt/openwrt/target/linux/ar71xx'
make[3]: Leaving directory '/opt/openwrt/openwrt/target/linux'
make[2]: Leaving directory '/opt/openwrt/openwrt'
export MAKEFLAGS= ;make -w -r package/index
make[2]: Entering directory '/opt/openwrt/openwrt'

this logs

It is a bit more complicated than that.
There was apparently first steps toward devicetree in ar71xx, but that support was removed a few weeks ago with:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=d04056e5ea64debd69b075f2fc9ed6a44a2f57a2

That was not yet really functional, but that gives a hint about some things required for devicetree support.

mkimage -A mips -O linux -T kernel -a 0x80060000 -C lzma  -e 0x80060000 -n 'MIPS OpenWrt Linux-4.4.111' -d /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux.bin.lzma /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-uImage-lzma.bin
Image Name:   MIPS OpenWrt Linux-4.4.111
Created:      Wed Jan 17 21:00:43 2018
Image Type:   MIPS Linux Kernel Image (lzma compressed)
Data Size:    1347147 Bytes = 1315.57 kB = 1.28 MB
Load Address: 80060000
Entry Point:  80060000
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/loader-generic.elf /opt/openwrt/openwrt/bin/targets/ar71xx/generic-uClibc/openwrt-ar71xx-generic-vmlinux-lzma.elf
mkdir -p /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/tmp
cp /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/vmlinux /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/tmp/vmlinux-e600g-rev-1.05
/opt/openwrt/openwrt/staging_dir/host/bin/patch-dtb /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/tmp/vmlinux-e600g-rev-1.05 /opt/openwrt/openwrt/build_dir/target-mips_24kc_uClibc/linux-ar71xx_generic/linux-4.4.111/arch/mips/boot/dts/qca/e600g-rev-1.05.dtb
DT size used is default of 16KB
DTB not found

dts file not compile. how to fix it?