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.

TDA4VM: tiboot3.bin of SDK7.3 bootting failed using emmc-boot mode

Part Number: TDA4VM

Hi,

When we run the bootloader including tiboot3.bin, tispl.bin, u-boot.img and sysfw.itb in the 7.2 SDK  using EMMC-BOOT mode on our custom board, there is no problem.

After upgrading to SDK 7.3, it cannot be started using EMMC-BOOT mode.But if we use DFU/USB, SDK7.3's bootloader can boot our board.

After consulting the relevant tickets of e2e forum, We made the following attempts:

1) According to :https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1028163/faq-tda4vm-on-7-3-8-0-sdk-how-to-reduce-ddr-speed-to-3733-mts

    We reduced the frequency of DDR to 3733MTS, but the board still fails to start.

2) According to:https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1032456/tda4vm-the-program-run_app_multi_cam-sh-crashes-frequently-in-our-custom-tda4vm-board-using-sdk8-0-is-it-related-to-ddr-lp4-frequency/3818427?tisearch=e2e-sitesearch&keymatch=%252525252520user%25252525253A51195#3818427

We keep the DDR frequency at 4266MTS and do the change according to this suggestion, But the board still fails to start.

3) Reducing the ddr frequency to 3200 or even 3000MTS with the JacintoTm 7 DDRSS Register Configuration Tool, it still can't start.

4)Burnning the files including tispl.bin, u-boot.img and sysfw.itb with SDK7.3 and tiboot3.bin with SDK 7.2 to our board emmc and bootting our board using EMMC-BOOT mode.The TDA4 can be started successfully.It should be caused by the k3-j721e-ddr-evm-lp4-4266.dtsi file in tiboot3.bin.

So,does the JacintoTm 7 DDRSS Register Configuration Tool need to adjust hardware related parameters?Can Ti experts give me some help?

  • Hi,

    So https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1028163/faq-tda4vm-on-7-3-8-0-sdk-how-to-reduce-ddr-speed-to-3733-mts

    reducing the DDR Speed to 3733 MTS is not helping.

    Is the eMMC part on your board different when compared with TDA4VM EVM board?

    What are the changes you made on 7.2 SDK w.r.t eMMC?

    Best Regards,
    Keerthy

  • 1)Is the eMMC part on your board different when compared with TDA4VM EVM board?

    =>The eMMC we used is different from the EVM board.

        We had boot the other our custom board successfully using sdk7 3 bootloader on the same eMMC.Even ddr freq has more than 4266MTS!I


    2)What are the changes you made on 7.2 SDK w.r.t eMMC?

    => We did not change on 7.2 SDK.

    3)Why the SDK V7.2 can be used, but SDK V7.3 can't, and even reducing the DDR frequency to 3200MTS still can't? I doubt whether the  hardware parameters need to match with DDRSS tools on SDK V7.3.

  • Hi Hao,

    Can you share the logs of the commands writing the sysfw.itb, tispl.bin, tiboot3.bin & u-boot.img to eMMC?

    Best Regards,
    Keerthy

  • Hi, Keerthy

    We have made great discoveries.

    When the tiboot3.bin of 7.3 SDK  fails to start, it is found that the PMIC chip TPS65941212 works abnormally through hardware measurement.

    tiboot3.bin may operate the pin of tda4 connected to PMIC abnormally, resulting the OVPGDVR of PMIC is low level.So affecting the power 3V3 of EMMC chip. Therefore, tiboot3.bin cannot continue getting tispl.bin and other firmware from EMMC .

    Hardware troubleshooting may be that the pin level of ii2c has changed, so I want to know 7.3 sdk bootloader updating from 7.2, especially tiboot3.bin, made any changes to these pins of ii2c connected between tda4 and PMIC?

  • Hi,

    Can you replace the main_sdhci0 node in arch/arm/dts/k3-j721e-main.dtsi in 7.3 SDK with the working 7.2 SDK main_sdhci0 node?

    I just want to isolate if changes in eMMC speed modes are not causing any issues?

    - Keerthy

  • Hi,

    According to your suggestion, we did the further investigation, it was found that  if frequency mmc-hs400-1_ 8V is deleted at 7.3 SDK , it cannot be started.

    After replacing the main_sdhci0 node in arch/arm/dts/k3-j721e-main.dtsi in 7.3 SDK with the working 7.2 SDK main_sdhci0 node,TDA4 can boot successfully!

    However, sometimes it fails to start and an error is reported.,mmc fail to send stop cmd

  • However, sometimes it fails to start and an error is reported.,mmc fail to send stop cmd

    You  never observed this issue on 7.2? eMMC device tree changes seem to be causing the issue on your board on 7.3 SDK.

    - Keerthy

  • Yes,the issue had never been observed on 7.2.

  • Can the DDR frequency be increased to 933 or 1066.5 on 7.2?

  • Hi,

    Yes. Please try this: https://e2e.ti.com/support/processors/f/791/t/1016097

    Best Regards,
    Keerthy

  • Hi,

    According to your suggestion, the following error occurred when code chaged on 7.2.

    Fullscreen
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    U-Boot SPL 2020.01-dirty (Jan 17 2022 - 14:55:13 +0800) SDK-V7.2
    SYSFW ABI: 3.1 (firmware rev 0x0014 '20.8.5--v2020.08b (Terrific Lla')
    Trying to boot from MMC1
    fdt_record_loadable: FDT_ERR_BADMAGIC
    ti_sci get failed: -22
    rproc failed to be initialized (-256)
    resetting ...
    ti_sci_get_response: Message receive failed. ret = -110
    Mbox send fail -110
    ti_sci_sysreset_request: reboot_device failed (-110)
    ti_sci_get_response: Message receive failed. ret = -110
    Mbox send fail -110
    ti_sci_sysreset_request: reboot_device failed (-110)
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

    Then my tda4 board gets stuck and cannot be started.

  • Hi Hao,

    This clearly shows that DDR frequency increase is causing the issue. However I am not sure why reducing the frequency back to 3733 in 7.3 SDK
    is not helping your case. Can you try that once more just to double check?

    - Keerthy