public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] 2 flash chips on ixp425
@ 2005-03-31 16:49 alfred hitch
  0 siblings, 0 replies; only message in thread
From: alfred hitch @ 2005-03-31 16:49 UTC (permalink / raw)
  To: ecos-discuss

Hi,

We have 16M *2 on our ixp425 based board , CS0 and CS1 on expansion
bus respectively.

We are able to run our system well with just one flash detection and
letting files   be with defaulted ixdp425
config(ixdp425_strataflash.inl etc as 16MB)

But, now when I am trying to get redboot to see both the flash'es ..
board isnt coming up ..

I was just grep'ing thru the source code and I see that the
flash_query function .. is calling / probing only from flash_base ..
and so would effectively get only one flash detected ??

I think we need to get it to querry at the end of first base + found
size also for further devices ??
much like we need to do in linux code ??

1) Anything else apart from changing BASE_MASK in ixdp425_strataflash.inl ?? 
2) CYGNUM_FLASH_DEVICES is when u have 2 devices on same line ? to
emulate 32 bit say from 2*16 ? so I dont need to change that do I ?
can some one explain what does this mean actually .. 
3) changes for 2nd flash probe ?? make another query .. havent gone
thru all the related code, will it work as in flash_base.end variables
etc if I update, will that be good enough ..

Anyone who has already done this kind of thing in redboot.

Cheers,
Alfred

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-31  8:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-31 16:49 [ECOS] 2 flash chips on ixp425 alfred hitch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).