[ECOS] RedBoot_INIT_TAB

Gary Thomas gary@chez-thomas.org
Wed Jun 5 08:07:00 GMT 2002


On Wed, 2002-06-05 at 08:50, Carles Perello wrote:
> On Wed, 2002-06-05 at 16:40, Gary Thomas wrote:
> 
> > What *is* at 0x50001b00?
> 
> ops sorry not to make myself clear,  I make the printf following the email 
> http://sources.redhat.com/ml/ecos-discuss/2001-05/msg00559.html
> 
> 
> Thus 0x50001b00 is the first printed value of init_entry->fun...which is
> wrong and the system dies if I make the call....

I'm confused.  Your previous message shows what RedBoot is about
to execute, vs an objdump of the same data.  How did you get this RedBoot
image into memory (RAM/ROM/??)?  Things don't seem to be matching?

You might try this change:
    diag_dump_buf(__RedBoot_INIT_TAB__, &__RedBoot_INIT_TAB_END__);
    for (init_entry = __RedBoot_INIT_TAB__; init_entry != &__RedBoot_INIT_TAB_END__;  init_entry++) {
        (*init_entry->fun)();
    }

and compare the output with objdump of the same region.



-- 
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