[U-Boot-Users] Loading hello_world over tftp

Chris Elston elston at radstone.co.uk
Thu Mar 6 16:37:11 CET 2003


Thanks Wolfgang!

Maybe the Makefile should generate the flat binary too?

> -----Original Message-----
> From: Wolfgang Denk [mailto:wd at denx.de]
> Sent: 06 March 2003 15:35
> To: Chris Elston
> Cc: U-Boot Mailing List (E-mail)
> Subject: Re: [U-Boot-Users] Loading hello_world over tftp 
> 
> 
> In message 
> <A1DD009E87CDD2119E940008C7334DA402249BB1 at ns.radstone.co.uk> 
> you wrote:
> > Can anyone tell me how to load hello_world over tftp?  I've 
> been trying
> > various methods for an hour now to no avail!  I can load 
> the hello_world ELF
> > image and execute it with bootelf - but this seems too 
> complicated to load
> > such a simple program.
> 
> On the host:
> 
> 	bash$ objcopy -O binary examples/hello_world 
> /tftpboot/hello_world.bin
> 
> On the target:
> 
> 	=> tftp 40000 /tftpboot/hello_world.bin
> 	=> go 40004
> 
> 
> Best regards,
> 
> Wolfgang Denk
> 
> -- 
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> "Most people would like to be delivered  from  temptation  but  would
> like it to keep in touch."                             - Robert Orben
> 
> ______________________________________________________________
> __________
> This e-mail has been scanned for all viruses by Star Internet. The
> service is powered by MessageLabs. For more information on a proactive
> anti-virus service working around the clock, around the globe, visit:
> http://www.star.net.uk
> ______________________________________________________________
> __________
> 

________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________




More information about the U-Boot mailing list