===========================================
make: Entering directory '/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot'
GEN /home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/Makefile
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/build/defconfig_hook.py -m /home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/configs/rockchip_rk3399_recovery_defconfig /home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/build/buildroot-config/tristate.config BR2_CONFIG=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.config HOST_GCC_VERSION="7" BUILD_DIR=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/build SKIP_LEGACY= BR2_DEFCONFIG=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/configs/rockchip_rk3399_recovery_defconfig /home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/build/buildroot-config/conf --defconfig=/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig Config.in
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig:65:warning: override: reassigning to symbol BR2_PACKAGE_UPDATE
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig:66:warning: override: reassigning to symbol BR2_PACKAGE_RKSCRIPT
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig:70:warning: override: reassigning to symbol BR2_PACKAGE_EXFAT
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig:71:warning: override: reassigning to symbol BR2_PACKAGE_EXFAT_UTILS
/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.rockchipconfig:73:warning: override: reassigning to symbol BR2_PACKAGE_NTFS_3G
#
# configuration written to /home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/.config
#
make: Leaving directory '/home/zgh/rk3399_linux_release_v2.5.1_20210301/buildroot'
====Start build rockchip_rk3399_recovery====
2021-11-24T09:54:28 >>> Finalizing target directory
2021-11-24T09:54:30 >>> Sanitizing RPATH in target tree
2021-11-24T09:54:31 >>> Copying overlay board/rockchip/rk3399/fs-overlay-64/
2021-11-24T09:54:31 >>> Copying overlay board/rockchip/common/base
2021-11-24T09:54:31 >>> Copying overlay board/rockchip/common/recovery
2021-11-24T09:54:31 >>> Executing post-build script build/post.sh
2021-11-24T09:54:31 >>> Generating root filesystem image rootfs.cpio
2021-11-24T09:54:34 >>> Generating root filesystem image rootfs.ext2
2021-11-24T09:54:35 >>> Generating root filesystem image rootfs.squashfs
2021-11-24T09:54:36 >>> Generating root filesystem image rootfs.tar
Done in 14s
log saved on /home/zgh/rk3399_linux_release_v2.5.1_20210301/br.log
====Build rockchip_rk3399_recovery ok!====
pack recovery.img...done.
you take 0:17.77 to build recovery
====Build recovery ok!====
Running build_recovery succeeded.
Skipping build_ramboot for missing configs: RK_CFG_RAMBOOT.
Running build_all succeeded.
/usr/bin/fakeroot
warning: /home/zgh/rk3399_linux_release_v2.5.1_20210301/ubunturootfs/ubuntu_18.04_arm64_NOGPUVPU_ext4_v2.03-28-g6eebc47_20201204-0948_MINIMAL.img not found!
please set correct RK_ROOTFS_IMG in device/rockchip/.BoardConfig.mk
create parameter...done.
/home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/rk3399/parameter-4.19.txt
0x00002000@0x00004000(uboot),0x00002000@0x00006000(trust),0x00002000@0x00008000(misc),0x00010000@0x0000a000(boot),0x00010000@0x0001a000(recovery),0x00010000@0x0002a000(backup),0x00020000@0x0003a000(oem),0x00c00000@0x0005a000(rootfs),-@0x00c5a000(userdata:grow)
create recovery.img...done.
create misc.img...done.
Source buildroot/build/envsetup.sh
Top of tree: /home/zgh/rk3399_linux_release_v2.5.1_20210301
No available configs for: /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal
Making /home/zgh/rk3399_linux_release_v2.5.1_20210301/rockdev/oem.img from /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal (auto sized)
Making /home/zgh/rk3399_linux_release_v2.5.1_20210301/rockdev/oem.img from /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal with size(17M)
0+0 records in
0+0 records out
0 bytes copied, 2.2429e-05 s, 0.0 kB/s
mke2fs 1.44.1 (24-Mar-2018)
Discarding device blocks: done
Creating filesystem with 17408 1k blocks and 4368 inodes
Filesystem UUID: 162e3adb-726f-4163-b474-296bcd70e013
Superblock backups stored on blocks:
8193
Allocating group tables: done
Writing inode tables: done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.44.1 (24-Mar-2018)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
Source buildroot/build/envsetup.sh
Top of tree: /home/zgh/rk3399_linux_release_v2.5.1_20210301
No available configs for: /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/userdata/userdata_normal
Making /home/zgh/rk3399_linux_release_v2.5.1_20210301/rockdev/userdata.img from /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/userdata/userdata_normal (auto sized)
Making /home/zgh/rk3399_linux_release_v2.5.1_20210301/rockdev/userdata.img from /home/zgh/rk3399_linux_release_v2.5.1_20210301/device/rockchip/userdata/userdata_normal with size(5M)
0+0 records in
0+0 records out
0 bytes copied, 2.2193e-05 s, 0.0 kB/s
mke2fs 1.44.1 (24-Mar-2018)
Discarding device blocks: done
Creating filesystem with 5120 1k blocks and 1280 inodes
Allocating group tables: done
Writing inode tables: done
Copying files into the device: done
Writing superblocks and filesystem accounting information: done
tune2fs 1.44.1 (24-Mar-2018)
Setting maximal mount count to -1
Setting interval between checks to 0 seconds
create uboot.img...done.
create idbloader.img...done.
create trust.img...done.
create loader...done.
create boot.img...done.
Image: image in rockdev is ready
Make image ok!
File name is BOARDCONFIGUBUNTU-GPT
Rename the file? [N|y]Make update.img
start to make update.img...
Resize rootfs partition size
dumpe2fs 1.44.1 (24-Mar-2018)
dumpe2fs: No such file or directory while trying to open /home/zgh/rk3399_linux_release_v2.5.1_20210301/ubunturootfs/Firefly_Ubuntu_18.04.5_LTS_DESKTOP_ext4_202012301242_PYTHON3.5-RKNN-OPENCV.img
./mkupdate.sh: line 37: >>9: syntax error: operand expected (error token is ">>9")
Android Firmware Package Tool v1.66
------ PACKAGE ------
Add file: ./package-file
Add file: ./package-file done,offset=0x800,size=0x28a,userspace=0x1
Add file: ./Image/MiniLoaderAll.bin
Add file: ./Image/MiniLoaderAll.bin done,offset=0x1000,size=0x7194e,userspace=0xe4
Add file: ./Image/parameter.txt
Add file: ./Image/parameter.txt done,offset=0x73000,size=0x20d,userspace=0x1
Add file: ./Image/trust.img
Add file: ./Image/trust.img done,offset=0x73800,size=0x400000,userspace=0x800
Add file: ./Image/uboot.img
Add file: ./Image/uboot.img done,offset=0x473800,size=0x400000,userspace=0x800
Add file: ./Image/misc.img
Add file: ./Image/misc.img done,offset=0x873800,size=0xc000,userspace=0x18
Add file: ./Image/boot.img
Add file: ./Image/boot.img done,offset=0x87f800,size=0x1ea4000,userspace=0x3d48
Add file: ./Image/recovery.img
Add file: ./Image/recovery.img done,offset=0x2723800,size=0x1e80800,userspace=0x3d01
Add file: ./Image/rootfs.img
Error:<AddFile> open file failed,err=2!
------ FAILED ------
Press any key to quit:
ERROR: Running build_updateimg failed!
ERROR: exit code 1 from line 1207:
./mkupdate.sh