This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
regards G.Muruganandam
ecos.table.RedBoot_inits.data.0000do_flash_init
0x00040964 0x4 redboot-Aug8/Firmware0522/bootmonitor/src/build/install/lib/extras.o
0x00040964 _init_tab_0000do_flash_init
.ecos.table.RedBoot_inits.data.0000load_flash_config
0x00040968 0x4 redboot-Aug8/Firmware0522/bootmonitor/src/build/install/lib/extras.o
0x00040968 _init_tab_0000load_flash_config
.ecos.table.RedBoot_inits.data.9999net_init
0x0004096c 0x4 redboot-Aug8
Date: Fri, 08 Aug 2003 15:47:17 -0700
To: Jonathan Larmour <jifl@eCosCentric.com>
From: "G.Muruganandam" <gmuruga@gdatech.com>
Subject: Re: [ECOS] RedBoot + Configuration tool 2.11 question
Cc: Andrew Lunn <andrew@lunn.ch>, eCos Discussion <ecos-discuss@sources.redhat.com>
Hello Jonathan and Andew,
Thanks for providing the step to get the mapfile. I have provided below the part of mapfile generated.
ecos.table.RedBoot_inits.data.0000do_flash_init
0x00040964 0x4 redboot-Aug8/Firmware0522/bootmonitor/src/build/install/lib/extras.o
0x00040964 _init_tab_0000do_flash_init
.ecos.table.RedBoot_inits.data.0000load_flash_config
0x00040968 0x4 redboot-Aug8/Firmware0522/bootmonitor/src/build/install/lib/extras.o
0x00040968 _init_tab_0000load_flash_config
.ecos.table.RedBoot_inits.data.9999net_init
0x0004096c 0x4 redboot-Aug8
At address 0x00040964 there is a do_flash function. I have included a printf statement at the beginning of "do_flash"
function. But I am not seeing that printf getting executed.
Could please let me know what could be missing or wrong?
regards G.Muruganandam
At 08:02 PM 8/8/2003 +0100, Jonathan Larmour wrote:G.Muruganandam wrote:Hello Jonathan, Could please see my comments in-line and reply? regards G.Muruganandam At 04:43 AM 8/8/2003 +0100, Jonathan Larmour wrote:
G.Muruganandam wrote:
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?
Generate a linker map and find out where that entry should have come from. Relink redboot and add -Wl,-Map,mapfile to the link line.
Would it be possible for you to list the steps to do the above step?
In your CDL configuration edit CYGBLD_GLOBAL_LDFLAGS and append -Wl,-Map,mapfile then save and rebuild. Or uncomment and change the user_value for CYGBLD_GLOBAL_LDFLAGS in ecos.ecc in the command line tools if that's what you are using.
When you rebuild redboot, you'll probably find "mapfile" in redboot/current/mapfile in your build tree (or v2_0 instead of current if using eCos 2.0).
Last I knew the intel tools worked (although they may have been updated since I last used them).
I am currently using the Intel's Xscale toolcahin xscale-010827
There are other versions, up to 021022 http://www.intel.com/design/intelxscale/dev_tools/021022/index.htm
Jifl -- eCosCentric http://www.eCosCentric.com/ The eCos and RedBoot experts --[ "You can complain because roses have thorns, or you ]-- --[ can rejoice because thorns have roses." -Lincoln ]-- Opinions==mine
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
-- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |