[Yaffs] extracting yaffs2 contents from NAND partition dump

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: roy basavaraju
Date:  
To: yaffs
Subject: [Yaffs] extracting yaffs2 contents from NAND partition dump
Hi Charles/All,

I have limited knowledge on yaffs2 internal implementation, but have good
clarity on yaffs2 image format(created by mkyaffs2image )

I have done some experiment on my target device as follows :

case 1: I have mounted a yaffs partition from userspace utility and
created/stored some filesystem contents

case 2: I have flashed a yaffs2 image (which is craeted by mkyaffs2tool) on
another yaffs2 partition

i took the dump from both partitions(this i have done perfectly) and tried
to unyaffs (using unyaffs tool) those images.

in 2nd case i able to unyaffs whole partition without loosing any content.

but in 1st case, i failed to do it. I found that the data is not alligned as
mkyaffs2image format.


Can anyone please confirm, is it possible to extract by reading the
contents (created from userspace) from yaffs2 partition dump as in
1st case?

please note that my intention is not to get the files from adb, i want to
extract the contents by reading image from NAnd partition, which i able to
do in 2nd case.


BRs,
/Ram