This is the mail archive of the ecos-discuss@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: port eCos to sh7709s custom board


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


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