Firefly开源社区

打印 上一主题 下一主题

[Linux] 打包时缺userdata.img

21

积分

0

威望

0

贡献

技术小白

积分
21

打包时缺userdata.img

发表于 2023-2-2 15:38:28      浏览:4474 | 回复:1        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: rk3399_linux_release_v2.5.1_20210301
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容:
  • Log日志: log.zip
问题描述及复现步骤:
按照编译步骤
./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:

log.zip

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

回复

使用道具 举报

45

积分

0

威望

0

贡献

技术小白

积分
45
发表于 2023-9-11 16:38:58        只看该作者  沙发
大佬解决了吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表