public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] JFFS2 questions
@ 2003-02-20  8:31 Jani Monoses
  2003-02-20 16:32 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Jani Monoses @ 2003-02-20  8:31 UTC (permalink / raw)
  To: ecos-discuss

Hi
is the readme in jffs2/doc up to date?
It says JFFS2 has only been tested on the iPAQ and that

<QUOTE>
Minor modifications are necessary to the the eCos flash drivers

io/flash/current/src/flash.c

devs/flash/intel/strata/current/src/flash_program_buf.c

to allow byte aligned rather than word aligned writes, and to ensure overwriting an existing
word is successful (these are supplied in jffs2/current/src).
</QUOTE>

thanks
Jani.


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

^ permalink raw reply	[flat|nested] 5+ messages in thread
* [ECOS] jffs2 questions
@ 2009-07-15  8:37 Stanislav Meduna
  2009-07-15  9:47 ` Daniel Morris
  2009-07-15  9:58 ` Sergei Gavrikov
  0 siblings, 2 replies; 5+ messages in thread
From: Stanislav Meduna @ 2009-07-15  8:37 UTC (permalink / raw)
  To: eCos Discussion

Hi,

I am trying to use a JFFS2 filesystem in a serial dataflash
device. I encountered the jffs2_open hanging mysteriously,
so I started to investigate.

1) Reinitializing the filesystem resolved the hang.
   Is it possible that a corrupted filesystem (never
   unmounted in these tests, just powered down)
   causes the jffs to mount, but not open a file? From
   what I have read the unclean unmount should not cause
   this.

2) What is the stack usage of jffs2? Is it upper-bounded,
   or could it depend on the filesystem data? Is there
   an upper limit?

3) If I understand this correctly, jffs2 does not like
   small writes. I need to write a logfile into a flash -
   not too often (life of the flash is not an issue),
   but in small chunks. I thought I should use
   CONFIG_JFFS2_FS_WRITEBUFFER defined by CYGOPT_FS_JFFS2_NAND;
   however, the CDL states
     requires        0
   and I can not enable this. Huh?

4) CDL for CYGOPT_FS_JFFS2_GSTHREAD states
     Leave this off till it's been implemented. And don't
     implement it till icache locking has been made thread-safe.

   http://www.ecoscentric.com/ecospro/doc.cgi/html/ecospro-ref/fs-jffs2-usage.html
   just explains what it is and how it can be used. Does this
   mean that the eCosCentric version has other code than
   is in the CVS, or is just the CDL documentation obsolete?

Thanks
-- 
                                    Stano

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

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

end of thread, other threads:[~2009-07-15  9:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-20  8:31 [ECOS] JFFS2 questions Jani Monoses
2003-02-20 16:32 ` Jonathan Larmour
2009-07-15  8:37 [ECOS] jffs2 questions Stanislav Meduna
2009-07-15  9:47 ` Daniel Morris
2009-07-15  9:58 ` Sergei Gavrikov

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