固件类型:官方提供的固件
固件文件名称:AIO-3399J-buildroot
固件下载地址:编译 Buildroot 固件 — Firefly Wiki
Log日志:aio-3399j-buildroot-打包失败找不到userdata.img.rar
本帖最后由 qiubin2012 于 2023-1-8 10:28 编辑
按照官方链接:编译 Buildroot 固件 — Firefly Wiki
1、下载 Firefly_Linux_SDK 分卷压缩包:rk3399_linux_release_v2.5.1_20210301
2、编译前配置:./build.sh aio-3399j-buildroot.mk
3、全自动编译:./build.sh
在打包环节报错,找不到userdata.img,错误如下所示:
start to make update.img…
Resize rootfs partition size
dumpe2fs 1.42.13 (17-May-2015)
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=0x203a000,userspace=0x4074
Add file: ./Image/recovery.img
Add file: ./Image/recovery.img done,offset=0x28b9800,size=0x1ebc000,userspace=0x3d78
Add file: ./Image/rootfs.img
Add file: ./Image/rootfs.img done,offset=0x4775800,size=0x2c281000,userspace=0x58502
Add file: ./Image/oem.img
Add file: ./Image/oem.img done,offset=0x309f6800,size=0x10a8000,userspace=0x2150
Add file: ./Image/userdata.img
Error: open file failed,err=2!
------ FAILED ------
Press any key to quit:
tchip_askquestions
aio-3399j-buildroot-打包失败找不到userdata.img.rar (47.9 KB)