From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Re: help about u-boot on lubbock(another question)
Date: Tue, 08 Apr 2003 10:35:44 +0200 [thread overview]
Message-ID: <20030408083549.0CE1BC5877@atlas.denx.de> (raw)
In-Reply-To: Your message of "Tue, 08 Apr 2003 16:06:02 PDT." <006a01c2fe23$6edf17a0$fe02a8c0@esd11>
In message <006a01c2fe23$6edf17a0$fe02a8c0@esd11> you wrote:
> when I try to use "loadb 0xa0008000" command to transfer kernel file to RAM
> in lubbock,
> then use Kermit protocol supported by HyperTerminal in Windows 2000 to send
> the uImage file,
> always timeout, why?
> I can success transfer file using the same procedure with Armboot-1.1.0.
That's probably because of a bug I introduced recently. Please try
applying this patch:
Index: common/cmd_boot.c
===================================================================
RCS file: /cvsroot/u-boot/common/cmd_boot.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- common/cmd_boot.c 31 Mar 2003 17:13:13 -0000 1.5
+++ common/cmd_boot.c 7 Apr 2003 08:40:10 -0000 1.6
@@ -1000,14 +1000,14 @@
for (;;) {
switch (serial_getc ()) {
case START_CHAR: /* start packet */
- break;
+ goto START;
case ETX_CHAR: /* ^C waiting for packet */
return (0);
default:
;
}
}
-
+START:
/* get length of packet */
sum = 0;
new_char = serial_getc ();
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
"The whole problem with the world is that fools and fanatics are
always so certain of themselves, but wiser people so full of doubts."
- Bertrand Russell
next prev parent reply other threads:[~2003-04-08 8:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 23:06 [U-Boot-Users] Re: help about u-boot on lubbock(another question) Zhao Hongda
2003-04-08 8:35 ` Wolfgang Denk [this message]
2003-04-09 0:12 ` Zhao Hongda
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030408083549.0CE1BC5877@atlas.denx.de \
--to=wd@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox