[ECOS] redboot hang problem!!

Nick Garnett nickg@ecoscentric.com
Thu Jan 13 09:49:00 GMT 2005


Eason Lee <easonlee@gmail.com> writes:

> > > 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);
> 
> If I comment current printf, it will hang at previous printf. It seems
> fine, but ignore some errors at previous procedure so that hang at
> here. How can I do to catch those undectetable errors?
> Thanks in advance!!

What have you done to be able to call printf() here? printf() is in
the C library which should not be  part of the RedBoot
configuration. Adding the C library could have upset all sorts of
things. Reconfigure and rebuild RedBoot without adding any
extra packages, and use diag_printf() for any output.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com      The eCos and RedBoot experts


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



More information about the Ecos-discuss mailing list