This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: CYG_IO_SET_CONFIG_FLASH_FIS_NAME


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]