Firefly开源社区

标题: 打包时缺userdata.img [打印本页]

作者: fx_ing    时间: 2023-2-2 15:38
标题: 打包时缺userdata.img
按照编译步骤
./build.sh firefly-rk3399-buildroot.mk

./build.sh
出现问题Add file: ./Image/oem.img done,offset=0x30a00000,size=0x10a6000,userspace=0x214cAdd file: ./Image/userdata.imgError:<AddFile> open file failed,err=2!------ FAILED ------Press any key to quit:ERROR: Running build_updateimg failed!ERROR: exit code 1 from line 1633:    ./mkupdate.sh


新链接了一次镜像:
./mkfirmware.sh
make: Entering directory '/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot'
  GEN     /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/Makefile
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/build/defconfig_hook.py -m /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/configs/rockchip_rk3399_defconfig /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/buildroot-config/tristate.config BR2_CONFIG=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.config HOST_GCC_VERSION="5" BUILD_DIR=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build SKIP_LEGACY= BR2_DEFCONFIG=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/configs/rockchip_rk3399_defconfig /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/build/buildroot-config/conf --defconfig=/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig Config.in
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:71:warning: override: reassigning to symbol BR2_PACKAGE_MPP
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:72:warning: override: reassigning to symbol BR2_PACKAGE_MPP_ALLOCATOR_DRM
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:74:warning: override: reassigning to symbol BR2_PACKAGE_LINUX_RGA
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:144:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VIDEORATE
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:146:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_OGG
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:150:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_BASE_PLUGIN_VORBIS
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:166:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTP
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:168:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTPMANAGER
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:170:warning: override: reassigning to symbol BR2_PACKAGE_GST1_PLUGINS_GOOD_PLUGIN_RTSP
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:232:warning: override: reassigning to symbol BR2_PACKAGE_ROCKCHIP_TEST
/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.rockchipconfig:284:warning: override: reassigning to symbol BR2_PACKAGE_RKWIFIBT
#
# configuration written to /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399/.config
#
make: Leaving directory '/home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot'
Linking parameter.txt from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/rk3399/parameter.txt...
Done linking parameter.txt
Linking uboot.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/u-boot/uboot.img...
./mkfirmware.sh: line 96: "4194304" / 1024 : syntax error: operand expected (error token is ""4194304" / 1024 ")
Linking trust.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/u-boot/trust.img...
./mkfirmware.sh: line 96: "4194304" / 1024 : syntax error: operand expected (error token is ""4194304" / 1024 ")
Linking MiniLoaderAll.bin from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/u-boot/rk3399_loader_v1.26.126.bin...
Done linking MiniLoaderAll.bin
Linking boot.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/kernel/boot.img...
./mkfirmware.sh: line 96: "33789952" / 1024 : syntax error: operand expected (error token is ""33789952" / 1024 ")
Linking recovery.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/buildroot/output/rockchip_rk3399_recovery/images/recovery.img...
./mkfirmware.sh: line 96: "32243712" / 1024 : syntax error: operand expected (error token is ""32243712" / 1024 ")
Linking misc.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/rockimg/misc.img...
Fallback to /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/rockimg/wipe_all-misc.img
./mkfirmware.sh: line 96: "49152" / 1024 : syntax error: operand expected (error token is ""49152" / 1024 ")
Linking rootfs.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/rockdev/rootfs.ext4...
./mkfirmware.sh: line 96: "54" / 1024 : syntax error: operand expected (error token is ""54" / 1024 ")
Packing oem.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal...
Making /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/rockdev/oem.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal (auto sized)
Making /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/rockdev/oem.img from /home/fx/rk3399/rk3399_linux_release_v2.5.1_20210301/device/rockchip/oem/oem_normal with size(17048KB)
mke2fs 1.43.9 (8-Feb-2018)
Discarding device blocks: done                           
Creating filesystem with 17048 1k blocks and 4272 inodes
Filesystem UUID: 5e0874ce-6047-4eeb-b687-2fae82a3a91e
Superblock backups stored on blocks:

tchip_askquestions

log.zip

1.82 KB, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1


作者: 蒸饭机器人    时间: 2023-9-11 16:38
大佬解决了吗





欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1