[U-Boot-Users] question about standalone application

Wolfgang Denk wd at denx.de
Tue Sep 16 12:05:33 CEST 2003


Dear Queenie,

in message <239A78AC110CD711A1A500D0B7828CD8025D2D5A at zhk08exm01.sps.mot.com> you wrote:
> 
> I'm new to U-Boot.  I'd like to run an application after my custom board is booted up.  In the U-Boot readme file, I learned there is a command called "loads" which will download the *.srec from the host to the board through serial line.  So I want to d
> ownload the hello world demo and see how it works.  I don't know how I should setup my board and my host.

[Please restrict your linelegth to 80 characters or less. Thanks.]

Please read the U-Boot manual for tips how to set up your development
environment. You can find it at
http://www.denx.de/twiki/bin/view/DULG/Manual

> My host run on Windows 2000 and connects to the board using HyperTerminal.  With that, I'm able to see the bootup message.  When I type "loads", it shows the following:

Please note  that  the  recommended  terminal  program  for  S-Record
download  is  the  "cu"  tool (from the UUCP package). other terminal
programs may work, or may not.

>             ## Ready for S-Record download ...
> 
> but the next line "~>examples/hello_world.srec" never comes out.  Must I use Linux as the host?

This is no output line, but the command you enter with "cu" to send a
file to the target. If you use a different terminal program ther  eis
also  a  different  way to start a download. You will have to fighure
this out yourself.

> I downloaded C-Kermit for Linux and Windows XP, too.  But I couldn't set it up correctly.  In Linux, I entered the following commands and expected to see the bootup message as in HyperTerminal, but I didn't.

Instructions how to configure kermit are included with the manual,
please see
http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3.

> set line <my device>
> set speed 115200
> set serial 8N1
> set carrier-watch off
> connect

You missed at least:

	set handshake none
	set flow-control none

> ------_=_NextPart_001_01C37C34.EB871CF0
> Content-Type: text/html
> Content-Transfer-Encoding: base64
> 
> PGh0bWw+DQoNCjxoZWFkPg0KPE1FVEEgSFRUUC1FUVVJVj0iQ29udGVudC1UeXBlIiBDT05URU5U
> PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXMtYXNjaWkiPg0KDQoNCjxtZXRhIG5hbWU9R2VuZXJhdG9y

Grrrghh!!!!


Please do not send base 64 encoded messages.

Please send plain text only.


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
Another megabytes the dust.




More information about the U-Boot mailing list