OpenNuvoton/NUC980-linux-4.4.y

Yaffs2 镜像如何解包

chsdzczp opened this issue · 0 comments

我使用NUC980_Linux_Applications仓库中yaffs2utils软件包,对rootfs进行打包后要如何解包?直接使用命令unyaffs2 xxx.img dirname,文件夹为空
`nuc980@ubuntu:~/tool/NUC980_Linux_Applications/yaffs2utils$ ./unyaffs2 1.img rootfs
unyaffs2 0.2.9_20120815: image extracting tool for YAFFS2.
warning: non-root users.
warning: image size (38348800)is NOT a multiple of (2048 + 64).

scanning image '1.img'... [done]
scanning complete, total objects: 60

building fs tree ... [done]
building complete, total objects: 1

extracting image into 'rootfs'
[======================================================================] 1/1 100%

modify files attributes... [done]

operation complete,
files were extracted into 'rootfs'.
nuc980@ubuntu:/tool/NUC980_Linux_Applications/yaffs2utils$ ls rootfs
nuc980@ubuntu:
/tool/NUC980_Linux_Applications/yaffs2utils$

`