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: eCos Discussion <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 8 Aug 2003 20:56:10 +0200
- Subject: Re: [ECOS] RedBoot + Configuration tool 2.11 question
- References: <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> <5.2.1.1.0.20030807170602.024aae10@192.168.200.112> <5.2.1.1.0.20030808114557.024b5858@192.168.200.112>
> >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?
Build redboot as normal. At the end it will say something like
arm-elf-gcc -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/home/lunn/eCos/work-ebsa/install/lib -Ttarget.ld -o /home/lunn/eCos/work-ebsa/install/bin/redboot.elf /home/lunn/eCos/work-ebsa/install/lib/version.o
You need to
cd redboot/current
cut&paste your version of the command and append -Wl,-Map,mapfile
You will then have a file ./mapfile
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