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]

redboot hang problem!!


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


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