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.

Linux/PROCESSOR-SDK-AM335X: UART boot issue

Part Number: PROCESSOR-SDK-AM335X
Other Parts Discussed in Thread: AM3354

Tool/software: Linux

Hello all,

We have designed custom board based on Sitara Am3354 processor and during design of board taken Am335x starter kit and beagle bone as reference.

For board bring up  followed the below steps:

1. DDR leveling -Its working fine able to write  DDR3L registers (0x80000000) and its holding the written value in memory location and also EDMA test script successfully execute and able to get success massage using  code composer studio.

2. Change SPL code as per DDR,Peripheral ,boot media  (board.c,mux.c,ddr-defs.h etc..)

3. After this changes able to compile and build MLO and U-boot binaries.

Now try to boot over UART using following procedure..

http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User's_Guide#Building_U-Boot

-> able to get "CCCC" character on console (teraterm) then transfered “u-boot-spl.bin” using   File Menu select Transfer --> XMODEM --> Send (1K mode)

-> its loaded and following messages appeared  on console

    "U-Boot SPL ,2016.05-00304-gad06f64-dirty <May 18 2017 -12:07:45>"

      Trying to boot from UART

-> Then its shows "CCCC" and then transfered "u-boot.img" using File Menu select Transfer --> YMODEM --> Send (1K mode) as per procedure.

     Its show progress bar for transferring data but after load its not show any message on console as per expected means  "u-boot message and ask for boot the kernel"

Kindly help me to proceed further.

 

Thanks,

Anil

  • After transferring  u-boot-spl.bin using  XMODEM you should not wait for the CCCC... characters to appear. You should immediately send u-boot.img using YMODEM. The wiki link you use for reference is outdated. Here is the current one: processors.wiki.ti.com/.../Linux_Core_U-Boot_User's_Guide
  • Hi Biser,

    As per your suggestion tried to load U-boot.img without waiting of "CCC" character but still same problem means appeared "CCCCCCC" character sequence instead of u-boot massages.

    Also tried following procedure base on TI suggestion .
    e2e.ti.com/.../2045857
    Steps:
    1. sudo apt-get install picocom lrzsz
    2. picocom -b 115200 /dev/ttyUSB0 --send-cmd "sx -vv"
    3. Press "CLT+A" then it shows "****file:
    4. enter the spl name "u-boot-spl.bin" and press enter

    Result: Retry & NAK on sector and finally shows the error "Transfer incomplete *** exit status: 128". Following are the log during SPL transfer.
    ---------------
    CCCCC
    *** file: u-boot-spl.bin
    sx -vv u-boot-spl.bin
    Sending u-boot-spl.bin, 592 blocks: Give your local XMODEM receive command now.
    Xmodem sectors/kbytes sent: 0/ 0kRetry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: NAK on sector
    Retry 0: Retry Count Exceeded

    Transfer incomplete

    *** exit status: 128

    Thanks,
    Anil
  • Hi All,

    This issue was belongs to hardware where UART_ENABLE signal is connected to ground.Now made this signal high and its working fine.

    Thanks for help..

    Thanks,
    Anil