Firefly开源社区

打印 上一主题 下一主题

[Linux] sdk编译失败rk3568

14

积分

0

威望

0

贡献

技术小白

积分
14

sdk编译失败rk3568

发表于 2023-1-1 18:20:16      浏览:3069 | 回复:1        打印      只看该作者   [复制链接] 楼主
问题描述及复现步骤:
按照此教程进行操作:


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 is  ROC-RK3568-PC-SE_Error: running gen_v1.3.0b_230101.img
Make update.img? [N|y]
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

日志.log

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

回复

使用道具 举报

2077

积分

10

威望

12

贡献

中级创客

Rank: 4

积分
2077
发表于 2023-1-3 10:52:31        只看该作者  沙发
你是否有下载文件系统并放入ubuntu_rootfs文件夹内?
执行ls -al rockdev/rootfs.img看看这个文件连接到哪里
回复

使用道具 举报

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

本版积分规则

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