public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] SH3 77x9SE01 Flash problem/solution
@ 2003-04-22 21:06 Rod Campbell
  0 siblings, 0 replies; only message in thread
From: Rod Campbell @ 2003-04-22 21:06 UTC (permalink / raw)
  To: ecos-discuss; +Cc: rupeshs

I have an SH3 7729RSE01 solution engine board that I am trying to port
to ecos 2.0 (the slower speed 7729SE01 baord is already supported).  As
part of my troubleshooting, I replaced the 66 MHz oscillator on my board
with a 33 MHz, making it identical to the 7729SE01 board.

I still had no luck booting up RedBoot til a tip from rupeshs in reply
to an earlier posting of mine (thanks Rupesh) got me started.  The fix
he suggested allowed RedBoot to come up, but without flash support.

Now I think I found the problem with flash support: In the
sh_se77x9_flash.c file, in plf_flash_init(), 
change:	flash_data_t id[2];
to:	flash_data_t id[4];

The function that fills this array (which is _flash_query() in
flash_am29xxxxx.inl) expects that there are 4 array positions, not 2. 
When I made this change and re-compiled, I got flash support in
RedBoot.  I still haven't done the port to the 66 MHz platform, but at
least I have a functioning system to start that task from.
	  


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

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

only message in thread, other threads:[~2003-04-22 19:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-22 21:06 [ECOS] SH3 77x9SE01 Flash problem/solution Rod Campbell

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).