Re: m68k-elf-objcopy does not convert .ELF to .BIN file
- From: "KBG" <karthik.balaguru@xxxxxxxxxxxxxxx>
- Date: 25 Sep 2006 04:48:22 -0700
Hi,
I Would like to share the solution for the problem that i was facing
last week.
This ELF problem is due to the lcf file.
The (RWX) fixed the problem of the 0 byte size binary file.
Initially, i did not have the RWX attributes defined for the FLASH /
RAM memory.
MEMORY
{
flash (RWX) : ORIGIN = 0xFF800000, LENGTH
= 0x00005000
ram (RWX) : ORIGIN = 0x00003000 , LENGTH
= 0x00200000
}
Now, things work fine !!! Thankyou.
Regards,
Karthik Balaguru
larwe wrote:
KBG wrote:
1) I get an Empty BIN file.
But this ELF file for which the generated BIN file is empty , is
getting executed perfectly from RAM via Codewarrior. So, It is really
Yeah, and the one that generates a good BIN file is probably being
compiled for ROM/flash target, right?
2) The files are pretty big.
This wasn't an answer to my question 2, which I have requoted below for
your convenience:
2. objdump the section info for both ELFs and post it here.
.
- References:
- Prev by Date: Re: Small low-cost embedded board for model airplane
- Next by Date: Re: Small low-cost embedded board for model airplane
- Previous by thread: Re: m68k-elf-objcopy does not convert .ELF to .BIN file
- Next by thread: Welcome to Embedworld english edition!
- Index(es):