This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: flash and ram file i/o
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: Ian Gilmour <ian dot gilmour at ffei dot co dot uk>
- Cc: "'ecos-discuss at sources dot redhat dot com'" <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 06 Mar 2003 17:57:02 +0000
- Subject: Re: [ECOS] flash and ram file i/o
- References: <334D05460466D311A5E8009027AC7886038809E3@hhmail1.hh.ffei.co.uk>
Ian Gilmour wrote:
What I think I want is a flashfs based on something like romfs but with
write accesses permitted on the flash files, and with fixed (maximum) file
sizes for the flash files, and some means of tagging whether they're binary
or ASCII files. I don't need to be able to dynamically create new flash
files.
Some recent stuff was added to the io/flash layer to support accesses to
the RedBoot FIS entries using e.g. /dev/flash1, although I now notice it
really needs extending for multiple entries. If you want something really
simple that might do. Look at the configuration options for that package.
That doesn't support tagging of ascii/binary though, but you could make a
local modification to yourself to include that in FIS fields i.e.
redboot/current/include/fis.h along with extra magic in flashiodev_init.
Jifl
--
eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss