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: redboot hang problem!!


Hi Eason,

I faced same problem while porting ecos on my target board. I found that Printf was using some different serial port (which is not on my target board) for sending character. When i debugged i found that code is contineously waitting for serial line clear signal of that serial port.

  



Thanks and regards,
Aniket Joshi

Senior Software Engineer
Larsen & Toubro Ltd,
Embedded System & Software (EmSys),
KIADB Industrial Estate Hebbal
Hootagalli, Mysore,
State: Karnataka, 
India
PIN: 570018

Ph:+91-821-2402561 Ext:2765/2773
FAX: +91-821-2403752
http://www.lntemsys.com


>>> Eason Lee <easonlee@gmail.com> 01/12/05 02:00PM >>>
Hi everbody,
   I'm a newbie for redboot. I wanna port the redboot into a
lubbock-like(pxa255) board, however I got some problems. My redboot
hanged at cyg_start(void) in main.c . As below is the hang point..

cyg_start(void) {
....
for (init_entry = __RedBoot_INIT_TAB__; init_entry !=
&__RedBoot_INIT_TAB_END__;  init_entry++) {
         printf("\nCalling __RedBoot_INIT_TAB__ %p/%p\n", init_entry,
init_entry->fun);
         (*init_entry->fun)();
         printf("init start  %p \n\n",__RedBoot_INIT_TAB__);
         printf("init end %p \n\n",&__RedBoot_INIT_TAB_END__);
         printf("KK value %d \n\n",kk);
         kk=kk+1;  ===> hang point
    }
....
}

boot output :

Calling __RedBoot_INIT_TAB__ 0xa000a6fc/0x0000c588

init start  0xa000a6fc

init end 0xa000a700

KK. ====> hang...no output kk value

So, what's such problem?? thanks in advance.

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



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


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