help about u-boot on lubbock(another question)
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.
Hongda Zhao
----- Original Message -----
From: "Zhao Hongda" <[email protected]>
To: <[email protected]>
Sent: Tuesday, April 08, 2003 3:46 PM
Subject: help about u-boot on lubbock
Quoted 8 lines
I have just checkouted the u-boot source code from CVS, and:
(use arm-linux-gcc 2.95.3) make lubbock_config makethen I use JFlash(windows) to install u-boot.bin in my lubbock(pxa250) board,
and I use the HyperTerminal as the console tools for inter-action. after power on, I can get the prompt, but if I try to copy RAM data to
Flash
Quoted 11 lines
like:
cp 0xa0008000 0x04000000 1024 u-boot complain that flash not erased, but even I use erase bank 2 to erase the whole bank flash, when I use md 0x04000000to see the value in flash bank 2, I found that the value is same as old, How can I solve this problem, please help me.
Thanks.
Hongda Zhao
Quoted 6 lines · 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
cmd_boot.c +2 -2
@@ -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
Signature · 5 lines
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
It's OK now, Thanks very much.
Hongda Zhao
----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Zhao Hongda" <[email protected]>
Cc: <[email protected]>
Sent: Tuesday, April 08, 2003 1:35 AM
Subject: Re: [U-Boot-Users] Re: help about u-boot on lubbock(another question)
Quoted 2 lines
Quoted 1 line · In message <006a01c2fe23$6edf17a0$fe02a8c0@esd11> you wrote:
when I try to use "loadb
0xa0008000" command to transfer kernel file to
RAM
Quoted 2 lines
Quoted 2 lines
in lubbock,
then use Kermit protocol supported by HyperTerminal in Windows 2000 to
send
Quoted 44 lines
Quoted 3 lines
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.6cmd_boot.c 7 Apr 2003 08:40:10 -0000 1.6 renamed from cmd_boot.c 31 Mar 2003 17:13:13 -0000 1.5 +2
-2@@ -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