[ECOS] RedBoot_INIT_TAB

Carles Perello carles.perello@ieee.org
Wed Jun 5 06:41:00 GMT 2002


Hello,


While porting redboot to a new sa1110 platform I checked a problem with
the initialization loop:

for (init_entry = __RedBoot_INIT_TAB__; init_entry
!=&__RedBoot_INIT_TAB_END__;  init_entry++) {
         (*init_entry->fun)();
     }

I print the values following Gary's advice: 

RedBoot> +
CALLING 0x000086a8/0x50001b00
BACK
CALLING 0x000086ac/0x500006e4
BACK

however when I do an objdump of the downloaded code:

000086a8 <__CONFIG_options_TAB_END__>:
    86a8:       50001b80        andpl   r1, r0, r0, lsl #23

so..I guess the compiler is working right...which can be the source of
error?

cheers

carles






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