This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BOOT from UART



Hi,

I'm working on AM572x GP EVM board.The SDK version is ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106.

I need to Booting U-Boot from the UART.

I have found some resoureces as below:

-http://software-dl.ti.com/processor-sdk-linux/esd/docs/latest/linux/Foundational_Components_U-Boot.html#booting-u-boot-from-the-console-uart

But I have some  error:

antoine@UBUNTU01:~$ picocom -b115200 -d8 -pe -fn -s "sx -kb" /dev/ttyUSB0
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : even
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sx -kb
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready

*** file: /home/antoine/u-boot-spl.bin
sx -kb /home/antoine/u-boot-spl.bin 
Sending /home/antoine/u-boot-spl.bin, 391 blocks: Give your local XMODEM receive command now.
Retry 0: Receiver Cancelled

Transfer incomplete

*** exit status: 128

I found that other people also have the problem:

-https://e2e.ti.com/support/processors/f/791/p/516467/1884780#pi316653=2

About this answer:"Also don't forget to add #define CONFIG_SPL_YMODEM_SUPPORT in beagle_x15.h to include x-modem support in u-boot (this is necessary for UART boot)"

where is this path located in the  ti-processor-sdk-linux-rt-am57xx-evm-06.03.00.106?

Any answer will be best wished.

 

syy

antoine@UBUNTU01:~$ picocom -b115200 -d8 -pe -fn -s "sx -kb" /dev/ttyUSB0
picocom v1.7

port is        : /dev/ttyUSB0
flowcontrol    : none
baudrate is    : 115200
parity is      : even
databits are   : 8
escape is      : C-a
local echo is  : no
noinit is      : no
noreset is     : no
nolock is      : no
send_cmd is    : sx -kb
receive_cmd is : rz -vv
imap is        : 
omap is        : 
emap is        : crcrlf,delbs,

Terminal ready

*** file: /home/antoine/u-boot-spl.bin
sx -kb /home/antoine/u-boot-spl.bin 
Sending /home/antoine/u-boot-spl.bin, 391 blocks: Give your local XMODEM receive command now.
Retry 0: Receiver Cancelled

Transfer incomplete

*** exit status: 128