This is the mail archive of the ecos-discuss@sourceware.org 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: running ecos application on redboot


On Fri, Mar 27, 2009 at 03:28:09PM +0200, Atilay Yilmaz wrote:
> Hi, I have been trying running an ecos application in elf format.
> whether or not I set address, it doesn't work:
> 
> RAM: 0x20800000-0x24000000, [0x2081fd80-0x23fed000] available

This tells you what is wrong...


> FLASH: 0x30000000 - 0x30400000, 64 blocks of 0x00010000 bytes each
> RedBoot> load -v -m tftp -h 192.168.3.18 PNIO4ECOS
> *** Abort! Attempt to load ELF data to address: 0x20800054 which i
> s not valid

I presume you have a RAM redboot.  You also appear to have a RAM
application. Both want to load at the same location in RAM. This will
not work. You need to move the application up in memory. 0x20820000
would be a good location.

      Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


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