This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Run Redboot from flash
- From: Nick Garnett <nickg at ecoscentric dot com>
- To: "Ricardo Andrino" <ricardo_andrino at web dot de>
- Cc: "GaryThomas" <gary at mlbassoc dot com>, ecos-discuss at sources dot redhat dot com
- Date: 12 Dec 2003 14:11:09 +0000
- Subject: Re: [ECOS] Run Redboot from flash
- References: <200312121345.hBCDjvQ02512@mailgate5.cinetic.de>
"Ricardo Andrino" <ricardo_andrino@web.de> writes:
> Ok i can see now the famous ecos world!!!
> What i have done is to convert the hello.elf file into hello.bin,
> because the .elf file needs more memory that is available. Then
> Redbbot> load -r -m xmodem -b 0x0000c000, send the hello.bin and
> then Redboot>go 0x0000c000 or 0x0000c040, i can't remember now, and
> Hello Ecos world!!
>
> Thats problem is that if you use load -m xmodem without -b option
> the program is downloaded anywhere.Then a RAM application desnt't
> run from 0x00020000 does it?
>
> Ok thank you all of you for all, i will have a good weekend!!!
If you converted it to an SRecord file rather than a straight binary,
you should be able to load that using "load -m x".
I suspect that the problem may be in the .debug sections which have to
be loaded and disposed of before loading the actual code. Try running
arm-elf-strip on the ELF file and then load the stripped executable.
That ought to work.
--
Nick Garnett eCos Kernel Architect
http://www.ecoscentric.com The eCos and RedBoot experts
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss