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: Binary file generation revisited


harri.siirtola@vtt.fi wrote:
> 
> Hi,
> I asked this a while ago. The problem is, generating a binary image to be
> FLASHed results to a huge output file. arm-elf-size gives 53708 bytes and,
> as I wrote before:
> 
>  >> and if I execute "arm-elf-objcopy -O binary myfile.out myfile.bin",
>  >> myfile.bin is >15 megabytes!!!
> 
>  >Upgrade your binutils.
>  >Jifl
> 
> I upgraded to snapshot 011227 with no luck. Result is 15 770 156 bytes...
> is there something special about makefiles when building a ROM image (other
> than suppressing debug info)?

It looks like I may have been mistaking your problem with a known bug in
some versions of binutils.

What does "arm-elf-objdump -h" on the *ELF* version of the file (i.e.
myfile.out) say? In particular, look at the LMA - that should indicate some
section with an address about 16Mb away from the rest.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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