This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: running ecos application on redboot
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Atilay Yilmaz <atiyil at gmail dot com>
- Cc: ecos-discuss <ecos-discuss at ecos dot sourceware dot org>
- Date: Fri, 27 Mar 2009 14:53:02 +0100
- Subject: Re: [ECOS] running ecos application on redboot
- References: <4125e7770903270628o2cac4680i95de13f907ecf339@mail.gmail.com>
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