This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Why the application run on redboot uncorrectly?
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