[ECOS] loading file on redboot

Gary Thomas gary@mlbassoc.com
Tue Mar 15 00:23:00 GMT 2005


On Mon, 2005-03-14 at 10:17 +0530, Rohan Soman wrote:
> Hi,
> 
> i tried loading from RedBoot using TFTP.
> Load was successful, but not go:
> 
>  
> RAM: 0x00100000-0x040f0000, [0x00192670-0x01000000] available
> RedBoot> load -v -h 10.0.0.1 -b 0x00192670 hello
> Using default protocol (TFTP)
> Address offset= 0x0018f670
> Entry point: 0x00192670, address range: 0x00192670-0x0019fef0
> RedBoot> go
> $T0b08:83261900;04:00300000;#bc
> 
> Why did go fail ?

Why did you load it to 0x192670?  eCos code is linked to run at
a fixed address (and I really doubt that this is it!)

Try the command without the -b option and see if it helps.

Also, you didn't provide the answers to my previous questions.  
Obviously, those answers helped you figure out your problem and
sending them to the list might help the next person with similar
issues, so they would be appreciated.

> 
> >You could also download your code via GDB...
> 
> How ?
> 
> -rohan
> 
> 
> 
> 
> 
> 
> 
> On Sun, 13 Mar 2005 11:32:06 -0700, Gary Thomas <gary@mlbassoc.com> wrote:
> > 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
> > ------------------------------------------------------------
> > 
> >
> 
-- 
------------------------------------------------------------
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



More information about the Ecos-discuss mailing list