sdk编译失败rk3568
按照此教程进行操作:1. 编译环境搭建 — Firefly Wiki (t-firefly.com)
进行完毕之后进行按照:
进行操作
在这一步时:
出现如下报错:
Make image ok!
realpath: /home/hyd/linuxsdk/rk356x_linux_release_v1.3.0b_20221213/rockdev/rootfs.img: No such file or directory
basename: extra operand 'gen_file_name'
Try 'basename --help' for more information.
File name isROC-RK3568-PC-SE_Error: running gen_v1.3.0b_230101.img
Make update.img?
start to make update.img...
Resize rootfs partition size
dumpe2fs 1.46.5 (30-Dec-2021)
Usage: dumpe2fs [-bfghimxV] [-o superblock=<num>] [-o blocksize=<num>] device
./mkupdate.sh: line 36: >>9: syntax error: operand expected (error token is ">>9")
Android Firmware Package Tool v2.0
------ PACKAGE ------
Add file: ./package-file
package-file,Add file: ./package-file done,offset=0x800,size=0x11a,userspace=0x1
Add file: ./Image/MiniLoaderAll.bin
bootloader,Add file: ./Image/MiniLoaderAll.bin done,offset=0x1000,size=0x689c0,userspace=0xd2
Add file: ./Image/parameter.txt
parameter,Add file: ./Image/parameter.txt done,offset=0x6a000,size=0x1e2,userspace=0x1
Add file: ./Image/uboot.img
uboot,Add file: ./Image/uboot.img done,offset=0x6a800,size=0x400000,userspace=0x800
Add file: ./Image/misc.img
misc,Add file: ./Image/misc.img done,offset=0x46a800,size=0xc000,userspace=0x18
Add file: ./Image/boot.img
boot,Add file: ./Image/boot.img done,offset=0x476800,size=0x8000000,userspace=0x10000
Add file: ./Image/recovery.img
recovery,Add file: ./Image/recovery.img done,offset=0x8476800,size=0x2045e00,userspace=0x408c
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 1625:
./mkupdate.sh
你是否有下载文件系统并放入ubuntu_rootfs文件夹内?
执行ls -al rockdev/rootfs.img看看这个文件连接到哪里
页:
[1]