打包固件时出错
开发板:ROC-RK3566-PC屏幕:DM-M10R800 V2 MIPI屏模组
操作如下:
1、./build.sh roc-rk3566-pc-ubuntu.mk
2、./build.sh roc-rk3566-pc-mipi-ubuntu.mk
3、./build.sh
4、./mkfirmware.sh
5、./build.sh updateimg
执行号第5步,出错,过程如下:
processing option: updateimg
File name isROC-RK3566-PC-MIPI_Rk356x_v1.2.3a_220429.img
Rename the file? n
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/dlj/linux/proj/rk356x_linux_release_20211019/ubuntu_rootfs/rk356x_ubuntu_rootfs.img
./mkupdate.sh: line 36: >>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=0x11a,userspace=0x1
Add file: ./Image/MiniLoaderAll.bin
Add file: ./Image/MiniLoaderAll.bin done,offset=0x1000,size=0x701c0,userspace=0xe1
Add file: ./Image/parameter.txt
Add file: ./Image/parameter.txt done,offset=0x71800,size=0x1d9,userspace=0x1
Add file: ./Image/uboot.img
Add file: ./Image/uboot.img done,offset=0x72000,size=0x400000,userspace=0x800
Add file: ./Image/misc.img
Add file: ./Image/misc.img done,offset=0x472000,size=0xc000,userspace=0x18
Add file: ./Image/boot.img
Add file: ./Image/boot.img done,offset=0x47e000,size=0x1ff1400,userspace=0x3fe3
Add file: ./Image/recovery.img
Add file: ./Image/recovery.img done,offset=0x246f800,size=0x1e20400,userspace=0x3c41
Add file: ./Image/rootfs.img
Error:<AddFile> open file failed,err=2!
------ FAILED ------
Press any key to quit:
ubuntu_rootfs目录下的img文件,没有按照规则命名,需要将其命名为rk356x_ubuntu_rootfs.img
页:
[1]