This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: loading file on redboot
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Rohan Soman <rohan dot soman at gmail dot com>
- Cc: eCos Discussion <ecos-discuss at ecos dot sourceware dot org>
- Date: Sun, 13 Mar 2005 11:32:06 -0700
- Subject: Re: [ECOS] loading file on redboot
- Organization: MLB Associates
- References: <bd4aff39050313073966fb5d37@mail.gmail.com>
On Sun, 2005-03-13 at 21:09 +0530, Rohan Soman wrote:
> Hello,
>
> i tried loading executable images from the host m/c to
> the target from redboot prompt.
>
> 1)
> i issued following command:
>
> load -v -h 10.0.0.1 -m tftp /test
>
> The error msg shors:
>
> Cant find file '/test'
>
> What cud be the reason?
What's the path to "/test" on your TFTP host? Normally, TFTP
file names are relative to the "/tftpboot" directory, so if
your file is in "/tftpboot/test", then you would tell RedBoot
to download just "test"
Of course, this all depends on how your TFTP server is setup.
>
> 2)
> trying to load file from serial line, using minicom
> on host, and y modem protocol,
>
> leads to 'time out'.
You do realize that once you tell RedBoot to load using X-modem
you need to then "break into" minicom and tell it to send the
file? Normally, this would be the keyboard sequence ^A-S,
followed by selecting the actual file to send, etc.
>
> i just cant proceed unless one of these works....
You could also download your code via GDB...
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss