Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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.

[FAQ] PROCESSOR-SDK-AM65X: How to boot using UART on AM65X?

Part Number: PROCESSOR-SDK-AM65X

I want to boot uboot from UART on AM65x. Can you please suggest me the procedures/environment setup to be followed. 

  • Hi,

    Please follow the below procedures to boot from UART on AM65x platforms.

    Requirements:

    • TMDX654IDKEVM
    • USB cable
    • Windows/Linux
    • Serial Console
    • Binary files: tiboot3.bin. sysfw.itb, tispl.bin, u-boot.img

    Note: Example shown below is validated using AM65x PG1.0 board using TERATERM (serial console) on WINDOWS OS but same procedure can also be followed on LINUX OS using MINICOM (serial console) with other revisions of boards. While using other revisions, sysfw.itb file will change. Get the latest binaries from linux sdk package at the board-support/prebuilt folder.

    Hardware Setup:

    • Connect 12V power supply to the AM65X board.
    • Do the dip switch setting as below:
      • SW2 – 0000000000
      • SW3 – 0101000000

    • Connect the board(J42) and the PC using USB cable.

     

    • You will see total of four ports enumerated on the PC. These port numbers will be continuous in order (in this case, it is COM 5,6,7,8).

    • OPEN the first port number (MAIN domain) and the second port number (MCU domain) (in this case, COM 5&6 corresponds to MAIN and MCU respectively).
    • Now open setup -> serial_port menu and do the below settings for both the ports:

    Execution:

    • Power on the board, you will see “CCC” printing on MCU console. This will confirm the board UART boot switch setting and USB connection.
    • Follow the below steps from MCU console:
      • Transfer “tiboot3.bin” by going to file->transfer->xmodem->path/to/file.
      • Once that is complete, tranfer the “sysfw.itb” by going to file->transfer->xmodem->path/to/file.
      • Once this is complete, you will see prints on MAIN console.
    • Now, Follow the below steps from MAIN console:
      • Transfer “tispl.bin” by going to file->transfer->xmodem->path/to/file.
      • Once that is complete, tranfer the “u-boot.img” by going to file->transfer->xmodem->path/to/file.
    • After this, uboot will get loaded.
    • Uboot will be waiting for kernel/filesystem after its execution. Therefore, if you put filesystem inside SD and connect the SD, LINUX will be booted on the board.
    • So, in this way, you can load uboot from UART and filesystem from SD and get your linux booted on AM65x board.

    Resource:

    See below video for reference.