[ECOS] RedBoot + Configuration tool 2.11 question

Jonathan Larmour jifl@eCosCentric.com
Fri Aug 8 19:02:00 GMT 2003


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



More information about the Ecos-discuss mailing list