public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Flash file system
@ 2001-05-18  0:34 james chen
  2001-05-18  2:25 ` [ECOS] Additional serial drivers & file systems & redboot for i386 targets Teng Chee Wan Philip
  2001-05-18 12:24 ` [ECOS] Flash file system Jonathan Larmour
  0 siblings, 2 replies; 11+ 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] 11+ messages in thread

* [ECOS] Additional serial drivers & file systems & redboot for i386 targets
  2001-05-18  0:34 [ECOS] Flash file system james chen
@ 2001-05-18  2:25 ` Teng Chee Wan Philip
  2001-05-18 13:23   ` Jonathan Larmour
  2001-05-18 12:24 ` [ECOS] Flash file system Jonathan Larmour
  1 sibling, 1 reply; 11+ messages in thread
From: Teng Chee Wan Philip @ 2001-05-18  2:25 UTC (permalink / raw)
  To: ecos-discuss

Hi,

I have a few questions about the i386 PC:

1.  The i386 PC target has 2 serial ports.  I would like to add a serial I/O 
card to it to get more serial I/O ports and write a serial I/O driver for it.  
What would be the neatest way to do it?  The serial I/O card needs some 
additional initialisation to 'activate' it.  Do I modify 
packages/io/serial/v1_3_1/i386/pc_serial.c and the corresponding .cdl file 
directly?  I hope to use the configuration tool to enable or disable the driver 
depending on whether the serial card is installed or not.

2.  I read some exchanges about having a DOS Filesystem on ECOS.  Personally, I 
felt this will be useful, esp for my application where I need to store large 
amount of data on harddisks.  Is this coming in the foreseeable future?  
Meanwhile, is there any way I can make use of the harddisk to store my data 
under ECOS?  Using raw filesystems(if any)or other formats?

3.  Is redboot supported on i386 target?  I can't find any.  Is there any reason 
why redboot is not supported?  Or are we just waiting for someone to develop it?

regards,
Philip Teng


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

* Re: [ECOS] Flash file system
  2001-05-18  0:34 [ECOS] Flash file system james chen
  2001-05-18  2:25 ` [ECOS] Additional serial drivers & file systems & redboot for i386 targets Teng Chee Wan Philip
@ 2001-05-18 12:24 ` Jonathan Larmour
  2001-06-03 19:43   ` james chen
  1 sibling, 1 reply; 11+ 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] 11+ messages in thread

* Re: [ECOS] Additional serial drivers & file systems & redboot for i386 targets
  2001-05-18  2:25 ` [ECOS] Additional serial drivers & file systems & redboot for i386 targets Teng Chee Wan Philip
@ 2001-05-18 13:23   ` Jonathan Larmour
  0 siblings, 0 replies; 11+ messages in thread
From: Jonathan Larmour @ 2001-05-18 13:23 UTC (permalink / raw)
  To: Teng Chee Wan Philip; +Cc: ecos-discuss

Teng Chee Wan Philip wrote:
> 
> Hi,
> 
> I have a few questions about the i386 PC:
> 
> 1.  The i386 PC target has 2 serial ports.  I would like to add a serial I/O
> card to it to get more serial I/O ports and write a serial I/O driver for it.
> What would be the neatest way to do it?  The serial I/O card needs some
> additional initialisation to 'activate' it.  Do I modify
> packages/io/serial/v1_3_1/i386/pc_serial.c and the corresponding .cdl file
> directly?  I hope to use the configuration tool to enable or disable the driver
> depending on whether the serial card is installed or not.

Sounds about right.
 
> 2.  I read some exchanges about having a DOS Filesystem on ECOS.  Personally, I
> felt this will be useful, esp for my application where I need to store large
> amount of data on harddisks.  Is this coming in the foreseeable future?
> Meanwhile, is there any way I can make use of the harddisk to store my data
> under ECOS?  Using raw filesystems(if any)or other formats?

As far as I know, there's no effort currently to provide a DOS filesystem
_publically_ for eCos. I know some people out there have written their own.

> 3.  Is redboot supported on i386 target?  I can't find any.  Is there any reason
> why redboot is not supported?  Or are we just waiting for someone to develop it?

It has been developed. It's a long story, but if you search the mail
archives at http://sources.redhat.com/ml/ecos-discuss you'll find patches
from Fabrice Gautier. Note that they may not apply well to the current CVS
so you may have to check out CVS from an earlier date.

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] 11+ messages in thread

* Re: [ECOS] Flash file system
  2001-05-18 12:24 ` [ECOS] Flash file system Jonathan Larmour
@ 2001-06-03 19:43   ` james chen
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* RE: [ECOS] FLASH file system
@ 2001-10-14 22:32 Gustav Kälvesten
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* RE: [ECOS] FLASH file system
@ 2001-09-05  1:21 Dominic Ostrowski
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* RE: [ECOS] FLASH file system
@ 2001-09-03  7:38 Simpkins, Andy
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* RE: [ECOS] FLASH file system
@ 2001-09-03  2:17 Simpkins, Andy
  0 siblings, 0 replies; 11+ 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] 11+ messages in thread

* Re: [ECOS] FLASH file system
  2001-09-03  1:26 [ECOS] FLASH " Simpkins, Andy
@ 2001-09-03  1:34 ` Andrew Lunn
  0 siblings, 0 replies; 11+ 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] 11+ 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; 11+ 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] 11+ messages in thread

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

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-18  0:34 [ECOS] Flash file system james chen
2001-05-18  2:25 ` [ECOS] Additional serial drivers & file systems & redboot for i386 targets Teng Chee Wan Philip
2001-05-18 13:23   ` Jonathan Larmour
2001-05-18 12:24 ` [ECOS] Flash file system Jonathan Larmour
2001-06-03 19:43   ` james chen
2001-09-03  1:26 [ECOS] FLASH " Simpkins, Andy
2001-09-03  1:34 ` Andrew Lunn
2001-09-03  2:17 Simpkins, Andy
2001-09-03  7:38 Simpkins, Andy
2001-09-05  1:21 Dominic Ostrowski
2001-10-14 22:32 Gustav Kälvesten

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).