[ECOS] Binary file generation revisited
Thu Jan 3 17:53:00 GMT 2002
> 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.
> 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.
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
More information about the Ecos-discuss