This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: RedBoot + Configuration tool 2.11 question
- From: Andrew Lunn <andrew at lunn dot ch>
- To: "G.Muruganandam" <gmuruga at gdatech dot com>
- Cc: Jonathan Larmour <jifl at eCosCentric dot com>,eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 8 Aug 2003 01:15:19 +0200
- Subject: Re: [ECOS] RedBoot + Configuration tool 2.11 question
- References: <5.2.1.1.0.20030729150907.023957f8@192.168.200.112> <5.2.1.1.0.20030729123923.023ae088@192.168.200.112> <5.2.1.1.0.20030729115126.00ac1038@192.168.200.112> <5.2.1.1.0.20030729115126.00ac1038@192.168.200.112> <5.2.1.1.0.20030729123923.023ae088@192.168.200.112> <5.2.1.1.0.20030729150907.023957f8@192.168.200.112> <5.2.1.1.0.20030730093911.023a2358@192.168.200.112> <5.2.1.1.0.20030730101642.023bbb58@192.168.200.112> <5.2.1.1.0.20030730112246.023ad850@192.168.200.112> <5.2.1.1.0.20030807152832.00ac6e80@192.168.200.112>
> 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