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: Disconnect the SDCD line, The board can not boot from SD card.

Part Number: TDA4VM

On our customed board,  SDCD line is removed in the sdmmc circuit.  SD card detection is disabled. In 7.02 version QNX + RTOS, run the board,  there is no ouput log. 

If the SDCD line in sdmmc circuit is disconnected to SOC, what should I do to run the board? 

Thank you.

  • Hongrun,

    SDCD line is needed to detect the card's presence.  What boot mode are you using?

    Try to write a '1' to [7]SDCD and to [6]CDTL in the Host Control 1 Register (Offset 028h).

    Best Regards,

    Shiou Mei

  • SDCD line should be used to detecting the card's presence. But on our customed board,  P23 is used as PCIE2_CLKREQn, not MMC1_SDCD.

    SPL/Uboot boot mode is used for our project. 

    For the SPL/Uboot option, the following binaries are required, which are available as part of the PSDK Linux package:

    R5 bootloader (tiboot3.bin),

    A72 bootloader (tispl.bin),

    U-boot (U-boot.img)

    DMSC System firmware binary (sysfw.itb).

     

    Power on the board, This is no output log. That makes me confused, What should be done?

    Ps: The board works well if SDCD line is connected.

  • Hongrun, 

    What is the boot switch setting you have on the board?  Can you modify the uboot files to write a '1' to [7]SDCD and to [6]CDTL in the MMCSD Host Control 1 Register (Offset 028h)?

    Thanks & REgards,

    Shiou Mei

  • Hi Shiou Mei Huang:

    In board-support/u-boot_build/r5/source/arch/arm/mach-k3/j721e_init.c , I find that board_init_f() is using for u-boot init .and also preloader_console_init() to do serial_init(), that can print uboot log, Like this: 

    U-Boot SPL 2020.01-svn2210 (Apr 26 2021 - 21:39:35 +0800)

    SYSFW ABI: 3.1 (firmware rev 0x0015 '21.1.1--v2021.01a (Terrific Lla')

    and so on.

    Is there any configs can be modified to solving SDCD Issue in j721e_init.c?  What's your suggestion?

  • Hongrun,

    Can you confirm your boot switch settings?  Are you booting from SD card or are you booting from another peripheral?

    Thanks & Regards,

    Shiou Mei