[U-Boot-Users] Serial transfer using loads

Hi All,
I am using C-Kermit to communicate with my board. I have tried to transfer a over the serial prompt. But the syntax of loads looks weird.
loads [ off ] - load S-Record file over serial line with offset 'off'
So where so we specify the file name?? When I type in loads, the following appears:
## Ready for S-Record download ...
This is fine. But then I am not able to type the filename ( In the manual - "Hello World" example, "~>examples/hello_world.srec" appears after the above line. Where does it come from? ) Where do we specify the filename??
Thanks & Regards, Midhun Agnihotram, Ahmedabad 382481. India. Mob: +91-9979509691

In message 4dde4acb0706070659l744b0024sfdb9a5294d1f7717@mail.gmail.com you wrote:
I am using C-Kermit to communicate with my board. I have tried to transfer a over the serial prompt. But the syntax of loads looks weird.
Please make sure to read the manual. Kermit is fine, but for S-Record download you better use "cu".
loads [ off ] - load S-Record file over serial line with offset 'off'
So where so we specify the file name?? When I type in loads, the following appears:
## Ready for S-Record download ...
Correct. U-Boot is just the receiving end. It does not know (and does not need to know) anything about such things as files or so. It just reads incoming data from the serial line.
This is fine. But then I am not able to type the filename ( In the manual - "Hello World" example, "~>examples/hello_world.srec" appears after the above line. Where does it come from? ) Where do we specify the filename??
In the sending command in your terminal emulation, as shown in the manual. Try "man cu", and you will see:
~> file Send a file to the remote system. This just dumps the file over the communication line. It is assumed that the remote system is expecting it.
That's exactly what U-Boot does.
Best regards,
Wolfgang Denk

Hi,
I am sorry to bother you people again. But I am facing a problem with the serial connection too. I am now using cu. The screen buffer dump is as below:
/home/midhun/uboot-build/examples > cu S0@115200 Connected. => loads ## Ready for S-Record download ... ~>hello_world.srec 1 R R R R R R R R R [timed out looking for echo] [connected]
I guess it is timing out. My config files (/etc/uucp/sys and /etc/uucp/port) are exactly as said in the Manual (I copied and pasted them into the respective files). The cu variables are as below:
~v escape ~ delay true eol \015\025\003\017\004\023\021\022 binary true binary-prefix \026 echocheck false echonl \015 timeout 30 kill \025 resend 10 eofwrite \004 eofread $ verbose true
I am using Fedora Core 6 as my host. I have disabled SElinux and the firewall too. Any idea as to why this is happening?? [timed out looking for echo] ?? Is the variable echocheck related to the error?? It is set to false as it is. Is there anything that I am missing??
Thanks & Regards, Midhun Agnihotram, Ahmedabad 382481. India. Mob: +91-9979509691
participants (2)
-
Midhun Agnihotram
-
Wolfgang Denk