This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File system on IDE based flash


On Thu, Jan 13, 2005 at 04:21:52AM -0700, Kondaiah, Dasari (IE10) wrote:
> Hi,
> 
> 
> I am trying to support jfss2 file system on a compact flash.
> 
> flash is not on the board itself, it is a IDE based interface.
> 
> Can any body give me some pointers, how to put the file system on the IDE
> based compact flash.

Take a look at

packages/io/flash/current/src/flashiodev.c

You need to implement this interface to access your IDE device. jffs2
binds onto this interface for accessing the flash devices.

Question: Do you really need jffs2? Would FAT be OK. There is already
a generic IDE disk layer which FAT can use. All you need to do is
provide the HAL_IDE_* functions for your IDE bus and FAT should then
work. This is probably a lot less work than getting jffs2 working.


        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]