[ECOS] Why the application run on redboot uncorrectly?

Nick Garnett nickg@ecoscentric.com
Tue Nov 25 11:00:00 GMT 2003

Andrew Lunn <andrew@lunn.ch> writes:

> >           RedBoot> load -v -r -h MyHost -m TFTP -b 0x800040 hello.elf
> > the tftp transportation looks like correct because the informations 
> > displayed on screen is normal. Of course my executable application Hello is 
> > under the directory /tftpboot on my host PC.
> Read:
> http://ecos.sourceware.org/docs-latest/ref/download-command.html
> -r does not make sense for an elf file. You also don't need -b 0x80040
> with elf files.

Also, since you are just starting, use GDB to download and run
programs initially. It's much easier and you will get better feedback
when things go wrong.

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

More information about the Ecos-discuss mailing list