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]

Re: RedBoot + Configuration tool 2.11 question


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]