Re: [Yaffs] YAFFS without OS ?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: manningc2@actrix.co.nz
Date:  
To: Kenton Lau
CC: yaffs
Subject: Re: [Yaffs] YAFFS without OS ?
>  
> Hi, all.
> I want to port YAFFS to a Microblaze(a soft CPU of Xilinx FPGA) based
> system(no OS). The system uses Samsung NAND Flash. I found little
> information of how to port YAFFS without any Operation System.
> Has anyone done with this?


People have run YAFFS on a NIOS, which is similar in concept to a
Microblaze in that both are soft cores.

As Wookey has already posted, you can use the yaffs Direct interface. See
yaffs2/direct in CVS.

YAFFS only uses vanilla C ad has been compiled on a very wide range of
CPUs. I talked to someone who uses a Microblaze (for other, non-YAFFS
purposes) and cannot see any reason why YAFFS would not work on a
Microblaze.

The only "OS feature" you need is a memory allocator (malloc/free or
equivalent), which you should be able to provide in an OS-less
environment.

How much RAM/flash has your system got? System resources are more likely
to be a limitation than the CPU architecture itself.

-- Charles