Re: [Yaffs] How to mount a yaffs2 partition on linux ubuntu …

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: Matthieu Regnery
Date:  
To: yaffs
Subject: Re: [Yaffs] How to mount a yaffs2 partition on linux ubuntu 11.04
Hi all,

I'm also trying to mount a YAFFS2 dump (Samsung GalaxyS2) on ubuntu and I
only managed to see the lost+found directory.
Here is what I've done, following Luca's posts:
- recompile the kernel with yaffs enable
- load modules (mtdblock, mtd, nandsim)
- nandwrite my image on /dev/mtd0 (-p only ; error with -o : is this a sign
?)
- mount /dev/mtdblock0

Then I tried to replace in my kernel the drivers/mtd/nand directory with
the one I got from samsung GalaxyS2 sources.
Same result.

Then I tried to replace the whole mtd directory but then I can't even load
mtdblock module...

I checked my dump : Page 2048 Bytes + 64 bytes of spare area.

Someone has already succeeded in mounting a YAFFS2 dump on ubuntu ?

thanks for any help

Matthieu