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.

AM57x UART boot issue



Hi.

 According this E2E, we tested on AM57 to verify the UART-Boot.

 https://e2e.ti.com/support/arm/sitara_arm/f/791/p/343978/1564775#1564775

 But we failed.

 

 My questions are:

    #1. The AM57 UART-boot procedure should be the same with AM335, right?

    #2. So, the u-boot-spl.bin is the 1st download image and the u-boot.img is the second one?

    #3. Then, when we try to download the u-boot-spl.bin, what's the EVM power state it should be? Power on or Power off?

          (It's very make no sense why the above link address that we need to powe off the EVM while downloading the u-boot-spl.bin.

    #4. Follwing #3, what's the x modem/ y modem / z modem format that we need to set for the u-boot-spl.bin?

    #5. Then, what's the power state of EVM and the format while we need to set for u-boot.img?

BR Rio

 

  • Hi Rio,

    No, the procedure for AM57x devices is different. You should not use the x-modem to transfer the u-boot-spl.bin file, you will need a binary transfer (and you'll need to send the boot message first), so the procedure is:
    1. Perform binary transfer of the boot message: 0xF0030002 -> this tells the board that you will transfer a boot image.
    2. Perform binary transfer of u-boot-spl.bin
    3. Perform xmodem transfer of the u-boot image

    See the following thread, it discusses the uart boot in details:
    e2e.ti.com/.../1887821

    Best Regards,
    Yordan
  • Hi Yordan:

      1. May you tell us "what is the exactly binary transfer"?

      2. What's the tool used for doing "binary transfer"?

      3. where is the exactly file I need to add this compile option?  ==>CONFIG_SPL_YMODEM_SUPPORT

      4. Can we use this wki's UART boot section to boot the AM57?

          is the DRA7 the same with AM57x?

       

    BR Rio

  • Hi,
    1. May you tell us "what is the exactly binary transfer"?

    2. What's the tool used for doing "binary transfer"?


    I've shared the answers for this offline.

    3. where is the exactly file I need to add this compile option? ==>CONFIG_SPL_YMODEM_SUPPORT


    This should be added in include/configs/am57xx_evm.h

    [qutoe] 4. Can we use this wki's UART boot section to boot the AM57?

    is the DRA7 the same with AM57x?[/quote]

    Yes DRA7xx & AM57x devices have similar boot procedures.

    I cannot see which wiki you refer to, but I suppose it is: processors.wiki.ti.com/.../DRA7xx_GLSDK_Software_Developers_Guide

    I've not verified this python script, but looking at its code, I'd say that it is actually the same procedure I've sent you offline (questions 1 & 2), so you can go ahead & try it. It should work.

    Best Regards,
    Yordan
  • Hi all:

     This issue is solved. Thanks for Yordan.

     I wrote a documemt as the attached.

     Enjoy.

    BR Rio

    AM57_UART_Boot_SOP_By_TI_Rio_Final.pdf