OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [ecos-3.0/] [packages/] [fs/] [jffs2/] [current/] [doc/] [readme.txt] - Rev 786

Compare with Previous | Blame | View Log

This package is a port of the JFFS2 flash filing system to eCos. It has been
developed on the Compaq Ipaq, and has not been tested on any other device.

This code is subject to the original licensing terms, and additionally it 
should be noted that this code is still in an early stage of development. 

As this code will write to flash directly, caution should be exercised in
its use. It may cause areas of the flash chips essential to the operation of
the device to become corrupted.


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


Three test files are included jffs2_1.c (which performs the same tests
as used for eCos RamFS), jffs2_2.c (tests is seeking works) and jffs2_3.c
(garbage collection and memory leak detection)

jffs2_2.c requires that a jffs2 filesystem image jffs2.img is present
at the desired mount point.  This image was prepared on Linux with the
tools originating with JFFS2 source from www.infradead.org. Note that
this image is little endian and will only work on little endian
targets. For big endian targets it will be necassary to generate a new
image.

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.