Re: [Yaffs] How can I mount yaffs2 on ubuntu 12.04

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: S. K.
Date:  
To: yaffs@lists.aleph1.co.uk
Subject: Re: [Yaffs] How can I mount yaffs2 on ubuntu 12.04




Hello Charles!
Thanks for your answer.

I did it all without any problem. How can I be sure that yaffs has been mounted. I mean where can I see this change, where can I study its mounted code and how can I change the code for example and check it?

I have mnt folder in filesystem. it just contains lost+found folder. Is there anything wrong?
I thought yaffs2 will be added to my devices like a usb or flappy. But it doesnt. Could you help me more?



________________________________
From: Charles Manning <>
To: ; S. K. <>
Sent: Sunday, May 6, 2012 11:57 PM
Subject: Re: [Yaffs] How can I mount yaffs2 on ubuntu 12.04

On Saturday 05 May 2012 07:31:03 S. K. wrote:
> Hi everyone!
>
> I have already became familiar with yaffs. I try to compile and mount it on
> ubuntu 12.04 and have no flash for this work so, I prefer using it`s nand
> emulator. Can you help me? I am not good at linux and need some help about
> what I have to do(exactly) step by step.


Fetch yaffs code from git.

cd yaffs2

Build yaffs2multi.ko:
make


As root do  the following:

sudo -s
Install nandsim:
linuix-tests/initnandsim 128MiB-2048
cat /proc/mtd
Install yaffsmodule:
insmod yaffs2multi.ko
cat /proc/filesystems
mkdir /mnt
mount -t yaffs2 /dev/mtdblock0 /mnt

-- CHarles