This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: CYG_IO_SET_CONFIG_FLASH_FIS_NAME
- From: David Woodhouse <dwmw2 at infradead dot org>
- To: Gary Thomas <gary at mlbassoc dot com>
- Cc: ecos-patches at sources dot redhat dot com
- Date: Mon, 01 Dec 2003 14:36:49 +0000
- Subject: Re: CYG_IO_SET_CONFIG_FLASH_FIS_NAME
- References: <1069945485.5973.10.camel@hades.cambridge.redhat.com> <1070289156.21927.102.camel@hermes>
On Mon, 2003-12-01 at 07:32 -0700, Gary Thomas wrote:
> On Thu, 2003-11-27 at 08:04, David Woodhouse wrote:
> > Allows setting the FIS partition to be used by the flash block device at
> > run time. Which is especially useful given that the current
> > implementation seems to go looking for FIS info before the relevant
> > virtual vectors are set up, and never actually finds the partition it's
> > looking for.
>
> Applied as well. Can you (David) elaborate on the comment about FIS
> info above? I'd like to understand better what's out of order here.
Before adding the '-f' option to my fileio mount command, I was just
configuring it to use the 'jffs2' FIS partition unconditionally...
but it didn't work. I think RedBoot sets up the FIS mangling virtual
vectors _after_ the flashio device is initialised.
Calling the init function later from RedBoot make it work.
Try it -- in RedBoot attempt 'mount -d /dev/flash1 -t jffs2' without
specifying a flash partition, and see it fail (or see it mount the whole
flash -- actually maybe don't try it unless you can jtag).
--
dwmw2