[U-Boot-Users] Serial download, hangs in kermit receive

Hi,
I am porting u-boot to blackfin processor. When i try to use serial download (loadb), it hangs in k_recv() - kermit receive. My serial driver is fine i guess since its able to accept commands. Its not receiving the START_CHAR becoz of which it doesnt go further to receive any packet.
What may be the problem? Plsss help me.
regards vidya

In message DLEALGDPKDCCDOIIPLNFEEJKCDAA.vidya_s@lgsoftindia.com you wrote:
I am porting u-boot to blackfin processor. When i try to use serial download (loadb), it hangs in k_recv() - kermit receive. My serial driver is fine i guess since its able to accept commands. Its not receiving the START_CHAR becoz of which it doesnt go further to receive any packet.
What may be the problem? Plsss help me.
I repeat my questions:
1) Do you really use kermit on the host for the download?
2) Did you really configure kermit as described in the DULG?
If you should answer "no" to one of the questions you know what needs to be changed.
Best regards,
Wolfgang Denk

Hi,
I am porting u-boot to blackfin processor. When i try to use serial download (loadb), it hangs in k_recv() - kermit receive. My serial
driver is
fine i guess since its able to accept commands. Its not receiving the START_CHAR becoz of which it doesnt go further to receive any packet.
What may be the problem? Plsss help me.
Which port your using? Own or the one from blackfin.uclinux.org?
Does everything else work using serial driver?
rick
ps: one recipient is enough...Wolfgang gets your mail anyway (o;

Hi,
No, i am porting u-boot to BF533 processor. The one in blackfin.org is for BF535. I am able to send and receive characters clearly. Thus i feel the serial driver is ok.
I tried to send the file using c-kermit. It says too many retries and fails. I am attaching the statements below. What may be the problem?
LGSI$ loadb 1000 57600
CMD: loadb 1000 57600 444 ## Ready for binary (kermit) download to 0x00001000 at 57600 bps... After set_kerm_bin_mode os_data_addr = 0x1000 Before ;; for loop calling
(Back at localhost.localdomain) ---------------------------------------------------- C-Kermit 8.0.206, 24 Oct 2002, for Red Hat Linux 8.0 Copyright (C) 1985, 2002, Trustees of Columbia University in the City of New York. Type ? or HELP for help. (/root/) C-Kermit>send /home/raj/linux.bin
************************* SEND-class command failed. Packets sent: 2 Retransmissions: 11 Timeouts: 0 Damaged packets: 0 Fatal Kermit Protocol Error: Too many retries
HINTS... If the preceding error message does not explain the failure: . Try changing the remote Kermit's FLOW-CONTROL setting. . Increase the retry limit (see HELP SET RETRY). . Try it again with SET STREAMING OFF. . Try it again with SET PARITY SPACE. . As a last resort, give a ROBUST command and try again. Also: . Be sure the source file has read permission. . Be sure the target directory has write permission. (Use SET HINTS OFF to suppress hints.) *************************
(/root/) C-Kermit>HELP SET RETRY
Syntax: SET RETRY number In Kermit protocol file transfers: How many times to retransmit a particular packet before giving up; 0 = no limit.
(/root/) C-Kermit>SET STREAMING OFF (/root/) C-Kermit>SET PARITY SPACE (/root/) C-Kermit>ROBUST (/root/) C-Kermit>send /home/raj/linux.bin
************************* SEND-class command failed. Packets sent: 2 Retransmissions: 11 Timeouts: 0 Damaged packets: 0 Fatal Kermit Protocol Error: Too many retries
HINTS... If the preceding error message does not explain the failure: . Try changing the remote Kermit's FLOW-CONTROL setting. . Increase the retry limit (see HELP SET RETRY). . Try it again with SET STREAMING OFF. . As a last resort, give a ROBUST command and try again. Also: . Be sure the source file has read permission. . Be sure the target directory has write permission. (Use SET HINTS OFF to suppress hints.) *************************
(/root/) C-Kermit>
Pls help me.
regards vidya
-----Original Message----- From: u-boot-users-admin@lists.sourceforge.net [mailto:u-boot-users-admin@lists.sourceforge.net]On Behalf Of Richard Klingler Sent: Tuesday, March 23, 2004 7:02 PM To: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Serial download, hangs in kermit receive
Hi,
I am porting u-boot to blackfin processor. When i try to use serial download (loadb), it hangs in k_recv() - kermit receive. My serial
driver is
fine i guess since its able to accept commands. Its not receiving the START_CHAR becoz of which it doesnt go further to receive any packet.
What may be the problem? Plsss help me.
Which port your using? Own or the one from blackfin.uclinux.org?
Does everything else work using serial driver?
rick
ps: one recipient is enough...Wolfgang gets your mail anyway (o;
------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id%1470&alloc_id638&op=ick _______________________________________________ U-Boot-Users mailing list U-Boot-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/u-boot-users

Morning...
I'm using the normal supplied routine from cvs version and it even works with minicom, believe it or not (o;
rick
Hi,
No, i am porting u-boot to BF533 processor. The one in blackfin.org
is
for BF535. I am able to send and receive characters clearly. Thus i
feel the
serial driver is ok.
I tried to send the file using c-kermit. It says too many retries
and
fails. I am attaching the statements below. What may be the problem?

In message DLEALGDPKDCCDOIIPLNFKEKCCDAA.vidya_s@lgsoftindia.com you wrote:
I tried to send the file using c-kermit. It says too many retries and fails. I am attaching the statements below. What may be the problem?
Did you configure your "~/.kermrc" file as documented in http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3. ???
(/root/) C-Kermit>send /home/raj/linux.bin
If not, try the following commands instead:
set speed 115200 set carrier-watch off set handshake none set flow-control none robust set file type bin set file name lit set rec pack 1000 set send pack 1000 set window 5 send /bin /home/raj/linux.bin
Best regards,
Wolfgang Denk

Yeah i did it same as mentioned in that section.
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: Wednesday, March 24, 2004 1:48 PM To: Vidya S Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] Serial download, hangs in kermit receive
In message DLEALGDPKDCCDOIIPLNFKEKCCDAA.vidya_s@lgsoftindia.com you wrote:
I tried to send the file using c-kermit. It says too many retries and fails. I am attaching the statements below. What may be the problem?
Did you configure your "~/.kermrc" file as documented in http://www.denx.de/twiki/bin/view/DULG/SystemSetup#Section_4.3. ???
(/root/) C-Kermit>send /home/raj/linux.bin
If not, try the following commands instead:
set speed 115200 set carrier-watch off set handshake none set flow-control none robust set file type bin set file name lit set rec pack 1000 set send pack 1000 set window 5 send /bin /home/raj/linux.bin
Best regards,
Wolfgang Denk
-- Software Engineering: Embedded and Realtime Systems, Embedded Linux Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de "We don't care. We don't have to. We're the Phone Company."
participants (3)
-
Richard Klingler
-
Vidya S
-
Wolfgang Denk