public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] FLASH file system
@ 2001-10-14 22:32 Gustav Kälvesten
  0 siblings, 0 replies; 9+ messages in thread
From: Gustav Kälvesten @ 2001-10-14 22:32 UTC (permalink / raw)
  To: 'dominic.ostrowski@3glab.com'
  Cc: 'ecos-discuss@sourceware.cygnus.com'

Hi,

>the original writer of JFFS2, David Woodhouse is now with Cygnus /
>RedHat in Cambridge. His view on porting to eCos was that seperating
>form vfs would be the main challenge. I'm currently having a look at
>this, and I'll probably just pull out the key functionality to put into
>the eCos filesystem framework.
>
>JFFS2 source at http://www.linux-mtd.infradead.org/
>David's paper on JFFS2 at  http://www.infradead.org/~dwmw2/jffs2.pdf .
>
>Dominic

What is the status of this effort?

with kind regards
Gustav Kalvesten

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: [ECOS] FLASH file system
@ 2001-09-05  1:21 Dominic Ostrowski
  0 siblings, 0 replies; 9+ messages in thread
From: Dominic Ostrowski @ 2001-09-05  1:21 UTC (permalink / raw)
  To: andy.simpkins, ecos-discuss

Hi Andy,

the original writer of JFFS2, David Woodhouse is now with Cygnus /
RedHat in Cambridge. His view on porting to eCos was that seperating
form vfs would be the main challenge. I'm currently having a look at
this, and I'll probably just pull out the key functionality to put into
the eCos filesystem framework.

JFFS2 source at http://www.linux-mtd.infradead.org/
David's paper on JFFS2 at  http://www.infradead.org/~dwmw2/jffs2.pdf .

Dominic

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: [ECOS] FLASH file system
@ 2001-09-03  7:38 Simpkins, Andy
  0 siblings, 0 replies; 9+ messages in thread
From: Simpkins, Andy @ 2001-09-03  7:38 UTC (permalink / raw)
  To: Simpkins, Andy; +Cc: eCos-Discuss (E-mail)

On the surface it looks like JFFS2 is just what I am looking for...

Can someone point me in the direction for JFFS2 documentation and source?
All I can find is the red hat announcement on the device and the a build for
use with the 'familiar platform' ipaq.

that should enable me to determine if this is the right thing for me to
pursue.

Has anyone (or is anyone in the process of) ported JFFS2 to eCos.
again the red hat announcement indicated that a port was soon to follow the
Linux release...


Andy

> -----Original Message-----
> From: Simpkins, Andy 
> Sent: 03 September 2001 10:18
> To: 'Andrew Lunn'; Simpkins, Andy
> Cc: eCos-Discuss (E-mail)
> Subject: RE: [ECOS] FLASH file system
> 
> 
> Andrew,
> 
> What I am looking for is something like the following...
> 
> - Ability to read and write files to FLASH
> - Because BLOCK size in flash is typically quite large (>64K) 
> then it is desirable to split blocks into sub-blocks of a 
> more reasonable size.  
> - This now leaves the problem of erasing (as the smallest 
> erase size is 1 block).
> - By leaving 1 Block free space in the file system at all 
> times it is possible to 'juggle' data around (i.e. 
> defragmenter) such that sub-blocks no-longer in use may be 
> freed up for re-use.
> - Obviously this will require 1 (or 2) blocks (possibly of a 
> smaller size) to maintain the FAT.
> 
> 
> Do you or anyone else know of such a module available in open source?
> 
> If not then I shall have to write one.  Cue Red Hat to tell 
> me about what they would like to see me provide :-)
> 
> Andy
> 
> 
> > -----Original Message-----
> > From: Andrew Lunn [ mailto:andrew.lunn@ascom.ch ]
> > Sent: 03 September 2001 09:34
> > To: Simpkins, Andy
> > Cc: eCos-Discuss (E-mail)
> > Subject: Re: [ECOS] FLASH file system
> > 
> > 
> > On Mon, Sep 03, 2001 at 09:25:45AM +0100, Simpkins, Andy wrote:
> > > Hi there,
> > > 
> > > Does anyone know if there is an eCos FLASH file handling 
> > module (i.e. treats
> > > FLASH as a disk)
> > 
> > The ROM FS can run this the FS in FLASH. Its read only. Is 
> > that what you mean?
> > 
> > Or do you mean using the flash as a block device? You open 
> /dev/flash
> > and read blocks and write blocks? Im not sure that would be very
> > efficient. The flash on my device has 256k blocks.
> > 
> >         Andrew
> > 
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread
* RE: [ECOS] FLASH file system
@ 2001-09-03  2:17 Simpkins, Andy
  0 siblings, 0 replies; 9+ messages in thread
From: Simpkins, Andy @ 2001-09-03  2:17 UTC (permalink / raw)
  To: Andrew Lunn, Simpkins, Andy; +Cc: eCos-Discuss (E-mail)

Andrew,

What I am looking for is something like the following...

- Ability to read and write files to FLASH
- Because BLOCK size in flash is typically quite large (>64K) then it is
desirable to split blocks into sub-blocks of a more reasonable size.  
- This now leaves the problem of erasing (as the smallest erase size is 1
block).
- By leaving 1 Block free space in the file system at all times it is
possible to 'juggle' data around (i.e. defragmenter) such that sub-blocks
no-longer in use may be freed up for re-use.
- Obviously this will require 1 (or 2) blocks (possibly of a smaller size)
to maintain the FAT.


Do you or anyone else know of such a module available in open source?

If not then I shall have to write one.  Cue Red Hat to tell me about what
they would like to see me provide :-)

Andy


> -----Original Message-----
> From: Andrew Lunn [ mailto:andrew.lunn@ascom.ch ]
> Sent: 03 September 2001 09:34
> To: Simpkins, Andy
> Cc: eCos-Discuss (E-mail)
> Subject: Re: [ECOS] FLASH file system
> 
> 
> On Mon, Sep 03, 2001 at 09:25:45AM +0100, Simpkins, Andy wrote:
> > Hi there,
> > 
> > Does anyone know if there is an eCos FLASH file handling 
> module (i.e. treats
> > FLASH as a disk)
> 
> The ROM FS can run this the FS in FLASH. Its read only. Is 
> that what you mean?
> 
> Or do you mean using the flash as a block device? You open /dev/flash
> and read blocks and write blocks? Im not sure that would be very
> efficient. The flash on my device has 256k blocks.
> 
>         Andrew
> 

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ECOS] FLASH file system
@ 2001-09-03  1:26 Simpkins, Andy
  2001-09-03  1:34 ` Andrew Lunn
  0 siblings, 1 reply; 9+ messages in thread
From: Simpkins, Andy @ 2001-09-03  1:26 UTC (permalink / raw)
  To: eCos-Discuss (E-mail)

Hi there,

Does anyone know if there is an eCos FLASH file handling module (i.e. treats
FLASH as a disk)

If so can you point me in the right direction...

Many thanks

Andy

^ permalink raw reply	[flat|nested] 9+ messages in thread
* [ECOS] Flash file system
@ 2001-05-18  0:34 james chen
  2001-05-18 12:24 ` Jonathan Larmour
  0 siblings, 1 reply; 9+ messages in thread
From: james chen @ 2001-05-18  0:34 UTC (permalink / raw)
  To: ecos-discuss

Hi,
     Has anyone ported JFFS(Journaling Flash File System, developed by Axis
Communications AB in Sweden) to eCos?
Best Regards,
James


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2001-10-14 22:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-14 22:32 [ECOS] FLASH file system Gustav Kälvesten
  -- strict thread matches above, loose matches on Subject: below --
2001-09-05  1:21 Dominic Ostrowski
2001-09-03  7:38 Simpkins, Andy
2001-09-03  2:17 Simpkins, Andy
2001-09-03  1:26 Simpkins, Andy
2001-09-03  1:34 ` Andrew Lunn
2001-05-18  0:34 [ECOS] Flash " james chen
2001-05-18 12:24 ` Jonathan Larmour
2001-06-03 19:43   ` james chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).