[U-Boot] Option to send file with y-modem protocol, from U-boot => to target host

A.W.C. bluestream at ymail.com
Thu Dec 7 11:49:51 UTC 2017


When a network connection is not available, U-Boot can be load files via the serial port.

The U-Boot commands for loading files over the UART all have the same options.

Is it possible implement two-way file transfer in xyzModem - use loady, loadb to send files from U-boot to target host?

So instead of using loady to load files,

# Loading with the y-modem protocol
board> loady [load address] [baud rate]

we will use 'sendy'to send files:

# Sending with the y-modem protocol from U-boot to target host

sendy [offset address] [size] [baud rate]
or maybe
sendy /path/to/file/we/want/to/transfer [baud rate]
 
And on target host we use Minicom, TeraTerm or Hyper Terminal to receive files.
How to modify xuzModem.c, cmd_load.c for sending files?


B.Regards,
Alex 


More information about the U-Boot mailing list