This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: port eCos to sh7709s custom board
- From: Jonathan Larmour <jifl at eCosCentric dot com>
- To: "Cho, JinJe (FXKIS.KOR)" <jjcho at kor dot xerox dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 24 Oct 2002 15:20:38 +0100
- Subject: Re: [ECOS] port eCos to sh7709s custom board
- References: <F87CE59B9B6DD611A62F0002A5416BBEC5B897@korhqxchg.kor.xerox.com>
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