[U-Boot-Users] Loadb issue

Wolfgang Denk wd at denx.de
Wed Jul 19 15:40:25 CEST 2006


Please don't top post/full quote. Follow the netiquette.
See for example http://www.netmeister.org/news/learn2quote.html

In message <bcbf88170607190619g6420e096s3127632b358fa191 at mail.gmail.com> you wrote:
>
>  I am sending a log herewith with some of the commands' execution as well as
> the .kermrc file that I am using.

> ------=_Part_131115_18620348.1153315176549
> Content-Type: text/html; charset=ISO-8859-1
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline

And STOP sending HTML!!!!

> PEGASUS # loadb 0x60008000 115200
> ## Ready for binary (kermit) download to 0x60008000 at 115200 bps...
>  
> 
> from HOST PC
> [root at localhost s3c24x0_uboot_dev]# cat ../hello_world > /dev/ttyS0
> [root at localhost s3c24x0_uboot_dev]#

This cannot work. The "loadb" command expects that you  transfer  the
data  using  kermit  binary  protocol, not just dumping some raw data
over the line.

> 
> NOTE: got some junk data when cat the binary file....seems like u-boot is
> trying to print the data it is receiving, on the console
> 
> 
> 
> 
> +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
> 
> When used with kermit:
...
> (/root/) C-Kermit>send /home/banajit/pegasus/s3c24x0_uboot_dev/u-boot.bin

Kermit *binary* protocol means that you should send in *binary* mode,
so have to use the "/bin" option.

All this is written in good detail in the manual, so please RTFM!!!
See http://www.denx.de/wiki/view/DULG/UBootCmdGroupDownload

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
God grant me the senility to accept the things I cannot  change,  The
frustration  to  try to change things I cannot affect, and the wisdom
to tell the difference.




More information about the U-Boot mailing list