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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs, S. K.
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