URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Details |
Compare with Previous |
View Log
Line No. |
Rev |
Author |
Line |
1 |
27 |
unneback |
This package is a port of the JFFS2 flash filing system to eCos. It has been
|
2 |
|
|
developed on the Compaq Ipaq, and has not been tested on any other device.
|
3 |
|
|
|
4 |
|
|
This code is subject to the original licensing terms, and additionally it
|
5 |
|
|
should be noted that this code is still in an early stage of development.
|
6 |
|
|
|
7 |
|
|
As this code will write to flash directly, caution should be exercised in
|
8 |
|
|
its use. It may cause areas of the flash chips essential to the operation of
|
9 |
|
|
the device to become corrupted.
|
10 |
|
|
|
11 |
|
|
|
12 |
|
|
Minor modifications are necessary to the the eCos flash drivers
|
13 |
|
|
|
14 |
|
|
io/flash/current/src/flash.c
|
15 |
|
|
|
16 |
|
|
devs/flash/intel/strata/current/src/flash_program_buf.c
|
17 |
|
|
|
18 |
|
|
to allow byte aligned rather than word aligned writes, and to ensure overwriting an existing
|
19 |
|
|
word is successful (these are supplied in jffs2/current/src).
|
20 |
|
|
|
21 |
|
|
|
22 |
|
|
Two test files are included fileio1.c (which performs the same tests as used for eCos RamFS),
|
23 |
|
|
and romfileio1.c (tests as eCos RomFS).
|
24 |
|
|
|
25 |
|
|
romfileio1.c requires that a jffs2 filesystem image jffs2.img is present at the desired mount point.
|
26 |
|
|
This image was prepared on Linux with the tools originating with JFFS2 source from
|
27 |
|
|
www.infradead.org
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.