[ECOS] RedBoot + Configuration tool 2.11 question

G.Muruganandam gmuruga@gdatech.com
Fri Aug 8 00:08:00 GMT 2003


I did print out   init_entry->fun, it  shows 0xffffffff
It looks like the entries have not been populated with the correct function 
pointers.
Could you please let me know how this can be resolved?

Muruga
At 01:15 AM 8/8/2003 +0200, Andrew Lunn wrote:
> >  for (init_entry = __RedBoot_INIT_TAB__; init_entry !=
> > &__RedBoot_INIT_TAB_END__;  init_entry++) {
> >         printf("Init_entry %x, %x \n",init_entry,&__RedBoot_INIT_TAB_END__
> >         );
> >       (*init_entry->fun)();
> > ======================  hanging point
> >         mon_write_char(0x34);
> >     }
> >
> >
> > I have included a debug statements and printed the value for the table
> > addresses after commenting the line
> > (*init_entry->fun)();
> >
> > Init_entry 40964, 40970
> > 4Init_entry 40968, 40970
> > 4Init_entry 4096c, 40970
> >
> >
> > But if the statement (*init_entry->fun)() is there then the system 
> hangs at
> > the function pointer line.
> >
> > Please let me know  what is the function,  function pointer should 
> point to?
>
>Not that easy to say without the image. Print out init_entry->fun. You can 
>then look
>it up in the symbol table produced from nm.
>
>         Andrew


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



More information about the Ecos-discuss mailing list