public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* 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

* 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  1:26 Simpkins, Andy
@ 2001-09-03  1:34 ` Andrew Lunn
  0 siblings, 0 replies; 9+ messages in thread
From: Andrew Lunn @ 2001-09-03  1:34 UTC (permalink / raw)
  To: Simpkins, Andy; +Cc: eCos-Discuss (E-mail)

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

* Re: [ECOS] Flash file system
  2001-05-18 12:24 ` Jonathan Larmour
@ 2001-06-03 19:43   ` james chen
  0 siblings, 0 replies; 9+ messages in thread
From: james chen @ 2001-06-03 19:43 UTC (permalink / raw)
  To: Jonathan Larmour; +Cc: ecos-discuss

        I have looked the source code of JFFS2, but it is based on linux's
VFS. Now I want to port it to eCos, I don't know how to start it, does I
need port VFS+JFFS2 to eCos or only need to JFFS2 to eCos? any suggestion is
welcom!

Best Regards,
james


----- Original Message -----
From: Jonathan Larmour <jlarmour@redhat.com>
To: james chen <james_ch1@sina.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Saturday, May 19, 2001 3:23 AM
Subject: Re: [ECOS] Flash file system


> james chen wrote:
> >
> > Hi,
> >      Has anyone ported JFFS(Journaling Flash File System, developed by
Axis
> > Communications AB in Sweden) to eCos?
>
> No, and it's not very likely because it's GPL'd and has been superseded by
> JFFS2. Porting _that_ sounds much more interesting, but we have no plans
to
> do that right now. Of course if anyone contributed it, or contracted Red
> Hat to do it, that would do it :-).
>
> <gratuitous advert>
> If people are considering new ports, extensions, customizations, or
> improvements to eCos or RedBoot, and would be interested in Red Hat
helping
> them do this, just e-mail ecos-info@redhat.com to discuss it further.
> </gratuitous advert>
>
> Jifl
> --
> Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
> Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
>
>


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

* Re: [ECOS] Flash file system
  2001-05-18  0:34 [ECOS] Flash " james chen
@ 2001-05-18 12:24 ` Jonathan Larmour
  2001-06-03 19:43   ` james chen
  0 siblings, 1 reply; 9+ messages in thread
From: Jonathan Larmour @ 2001-05-18 12:24 UTC (permalink / raw)
  To: james chen; +Cc: ecos-discuss

james chen wrote:
> 
> Hi,
>      Has anyone ported JFFS(Journaling Flash File System, developed by Axis
> Communications AB in Sweden) to eCos?

No, and it's not very likely because it's GPL'd and has been superseded by
JFFS2. Porting _that_ sounds much more interesting, but we have no plans to
do that right now. Of course if anyone contributed it, or contracted Red
Hat to do it, that would do it :-).

<gratuitous advert> 
If people are considering new ports, extensions, customizations, or
improvements to eCos or RedBoot, and would be interested in Red Hat helping
them do this, just e-mail ecos-info@redhat.com to discuss it further.
</gratuitous advert>

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

^ 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-09-03  2:17 [ECOS] FLASH file system Simpkins, Andy
  -- strict thread matches above, loose matches on Subject: below --
2001-10-14 22:32 Gustav Kälvesten
2001-09-05  1:21 Dominic Ostrowski
2001-09-03  7:38 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).