This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: loading file on redboot


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]