public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] port eCos to sh7709s custom board
@ 2002-10-23 22:25 Cho, JinJe (FXKIS.KOR)
  2002-10-24  7:22 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Cho, JinJe (FXKIS.KOR) @ 2002-10-23 22:25 UTC (permalink / raw)
  To: ecos-discuss

Hi, 
I have ported eCos to my sh7709s custom board.
I modified the se77x9 paltform source and cdl. 
I compiled the source with ROM startup mode, and I burned the bin file to
the flash.
When I booted up my board, the code didn't execute "cyg_var_enable_caches"
function which is the first C function and stopped.
I guess my source can't allocate stack, so it don't execute the C function.
If it isn't the problem, what can any other problems be possible?
And what are the soultions to the problems?
I need your help!


JinJe Cho
Research Engineer
System Engineering Center
Fuji Xerox KIS
822-310-8674(Tel)
822-310-8666(Fax)



-- 
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] 2+ messages in thread

* Re: [ECOS] port eCos to sh7709s custom board
  2002-10-23 22:25 [ECOS] port eCos to sh7709s custom board Cho, JinJe (FXKIS.KOR)
@ 2002-10-24  7:22 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2002-10-24  7:22 UTC (permalink / raw)
  To: Cho, JinJe (FXKIS.KOR); +Cc: ecos-discuss

Cho, JinJe (FXKIS.KOR) wrote:
> Hi, I have ported eCos to my sh7709s custom board. I modified the
> se77x9 paltform source and cdl. I compiled the source with ROM startup
> mode, and I burned the bin file to the flash. When I booted up my
> board, the code didn't execute "cyg_var_enable_caches" function which
> is the first C function and stopped. I guess my source can't allocate
> stack, so it don't execute the C function.

Have you put in debugging to check that is definitely the case?

> If it isn't the problem,
> what can any other problems be possible? And what are the soultions to
> the problems? I need your help!

Compare with a known working port e.g. the se77x9 you based it on and
check the changes you made are correct. Just diff -urN may be sufficient.

Check whether you updated the memory layout for your board too

Jifl
-- 
eCosCentric       http://www.eCosCentric.com/       <info@eCosCentric.com>
--[ "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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-10-24 14:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-10-23 22:25 [ECOS] port eCos to sh7709s custom board Cho, JinJe (FXKIS.KOR)
2002-10-24  7:22 ` Jonathan Larmour

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