[ECOS] load / go in RedBoot

Gary Thomas gthomas@redhat.com
Thu Dec 20 19:28:00 GMT 2001


On Thu, 2001-12-20 at 20:10, Robert Lee wrote:
> Hi,
> 
> I am not sure how to use the load / go commands.  Is
> it true that I can "load" an executable (srec format)
> and then execute it using "go"?  This is what I tried:
> 
> RedBoot> load -b 0x01000000 -h (host IP address)
> /tftpboot/hello
> 
> ELF images not supported
> 
> RedBoot> load -b 0x01000000 -h (host IP address) 
> /tftpboot/hello.srec
> 
> Address offset = 0xb1000000
> Entry point: 0x50000040, address range:
> 0x50000000-0x50008788
> 
> RedBoot> go 0xb1000000
> $T05thread:00000000;0f:e8500050;0d:6c8a0000;#f3
> 
> Then it kept printing some garbage.  Can anybody tell
> me the right way to use load / go commands?  Thank
> you.

This "garbage" is GDB telling you that you're program has
jumped into space :-)

How did you create this program?  On the Assabet with RedBoot,
RAM is at 0x00000000 and ROM/FLASH is at 0x50000000.  Your program
seems to have been built to run from ROM.

Note: the 'go' command is for programs built using eCos or GNUPro
with 'newlib' support.  It is not for stand-alone programs, in general.



More information about the Ecos-discuss mailing list