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.

[TDA4M] EVM cannot boot from SD card

Hello,

We are not able to boot our EVM from the SD card.

We set the proper boot mode on the EVM, installed PSDKRA and PSDKLA, and built vision_apps for the target.

There are two sets of instructions on how to create the SD card:

(1) psdk_rtos_auto_j7_06_00_00_00/psdk_rtos_auto/docs/user_guide/SBL_BOOT.html

(2) psdk_rtos_auto_j7_06_00_00_00/vision_apps/docs/user_guide/RUN_INSTRUCTIONS.html

Initially, we followed only reference 2. But the EVM did not boot properly, so we also looked at reference 1. We built the PDK SBL, and copied the tiboot3.bin and sysfw.bin files on the BOOT partition of the SD card per reference 2. Please refer to the attached screenshots of the final contents of our SD card.

0336.20190829_SDCard_contents.zip

The behavior with both attempts is the same. When we switch on power to the EVM, nothing ever appears on the A72 serial console. We tried waiting for up to 10 minutes, but the expected command prompt does not appear. We can see something on the MCU R5F serial console, but the data is not clear. We retained the same serial port settings for MCU R5F as those for A72, so this may be an issue with the baud rate or something else.

How can we resolve this problem?

Thank you.

  • Hi Sagar,

    can you confirm that your sysboot settings are set to SD Boot Mode as described in psdk_rtos_auto_j7_06_00_00_00/psdk_rtos_auto/docs/user_guide/J7_EVM_SETUP.html

    Also here is a thread with a similar issue, you can check if your case is the same:

    Regards,

    Yordan

  • Hello Yordan,

    As per psdk_rtos_auto_j7_06_00_00_00/psdk_rtos_auto/docs/user_guide/J7_EVM_SETUP.html, we have set the SYSBOOT switches to enable SD Boot mode:

    SW8[1-8] = 1000 0010
    SW9[1-8] = 0000 0000

    I also checked the thread you referred to. The Fusion board is not a part of our EVM setup yet. Currently, we are just attempting to boot the EVM and run Vision demos which do not require active camera input. So this thread is not relevant to our issue.

    I would like to add one observation. We tried checking the logs on serial consoles for all UART ports from all domains. We expected the DMSC console to display something, but it did not. The only console that showed any activity was the MCU R5F console, and even that was not understandable.

    Thank you.

  • Can you share how you have connected the UART cables and which terminal you have selected in the PC?

    Typically you get 6 UART terminals on the PC. You need to connect to the third UART terminal.

    Regards

    Sivaraj R

  • Hello Sivaraj,

    You are right that we get 6 UART ports on the PC.

    We always connect the MCU UART cable first, and the MAIN UART cable second.

    So, we get MCU UART ports - ttyUSB0/1, and MAIN UART ports - ttyUSB2/3/4/5.

    In our attempts:

    (1) the very first time, we just connected to ttyUSB2 --- this is what you have suggested --- there was no output on ttyUSB2

    (2) the second time, we connected to ttyUSB1 and ttyUSB2 --- some character output on ttyUSB1, but no output on ttyUSB2

    (3) the third time, we connected to all ttyUSB ports --- some character output on ttyUSB1, but no output on ttyUSB2, and no output on ttyUSB0/3/4/5.

    Please advise.

    Thank you.

  • Hello,

    Are there any updates on this issue?

    Our problem persists. We are stuck and cannot move ahead.

    Thank you.

  • Can you do a "ls" in the boot partition ? I want to see the files copied in your boot partition.

    Have you configured the UART for 115200 baud rate, 8 data bits, no parity, 1 stop bit ?

    Based on your USB setup you should see output on USB2

    regards
    Kedar

     

  • Hello Kedar,

    Kedar Chitnis said:

    Can you do a "ls" in the boot partition ? I want to see the files copied in your boot partition.

    The image below shows the contents of our boot partition:

    Kedar Chitnis said:

    Have you configured the UART for 115200 baud rate, 8 data bits, no parity, 1 stop bit ?

    Yes, we configured the UART with these settings (115200-8-N-1).

    Please advise further.

    Thank you.

  • Can you please try verifying the SD boot with attached images?

    Configure both MCU UART(J43) and MAIN UART(J44) for 115200-8-N-1. You should see logs on both MCU UART and MAIN UART0 ports. MAIN UART port should show the contents of Board ID EEPROM if the images boot successfully.

    - Pratap.

    3463.tda4m_evm_sd_test_bins.zip

  • Hello Pratap,

    We attempted SD boot with your attached images and suggested UART settings.

    As before, we can see some character output on the MCU UART console, but it does not make any sense.

    The MAIN UART console does not display anything.

    We attempted this with different USB ports and different PCs.

    Nothing works. The problem persists.

    Thank you.

  • Sagar,

    Can you please share the log that you are seeing on MCU UART console. Can you also share the SD card details that you are using.

    - Pratap.

  • Hello Pratap,

    I am attaching a screenshot of whatever is visible on the MCU and MAIN UART consoles.

    We are using a standard SanDisk 16GB SD card.

    Thank you.

  • Hi Sagar,

    Do you see any logs on the second port of MCU UART connector?

    What is the speed class of the SD card?

    - Pratap.

  • Hello Pratap,

    As per your advice, we disassembled and then re-assembled the SOM and the CP boards.

    This resolved our SD boot issue.

    With your pre-built boot images, the EVM was able to boot from the SD card and we were able to see the contents of Board ID EEPROM on the MAIN UART port.

    We the PSDKRA pre-built boot images, the EVM is able to boot from the SD card and we can log in to the system.

    Thank you very much for your support.