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.

DRA821U: SPL boot from eMMC could not find eMMC on MMC1: spl: mmc init failed with error: -110

Part Number: DRA821U

Tool/software:

We are applying j7200 based customer board.

My first target is to boot from eMMC chip.

The steps:

  1. Flash tiboot3-j7200_sr2-hs-fs-evm.bin, tispl.bin, u-boot.img to flash. (cmds: sf probe, , tftpupdate, sf update) into spi flash
  2. Setup to boot from flash then enter any key to pause to u-boot console. (SPI flashed binary works fine )
  3. Then write the above 3 bin files to eMMC by using mmc command (mmc command works fine in this part):
    1. mmc dev 0  0;
    2. tftp ${loadaddr} tiboot3-j7200_sr2-hs-fs-evm.bin
    3. mmc write ${loadaddr} 0x0 0x500
    4. and repeat for other two bin files…
    5. <mmc partconf 0 1 1 1> and <mmc bootbus 0 2 0 0> are one time setup.
    6. Verify the write data by emmc read ${loadaddr} 0x0 0x500 and md.b ${loadaddr} 0x500,
    7. The data is ok in eMMC

 

  1. Power off the board and setup the bootup pins: MCU3 = 1/MAIN 0 = 1,others are 0
  2. What I power up and message is below:

           "Trying to boot from MMC1"

           "MMC: no card present"

            "spl: mmc init failed with error: -123"

        3. It seems like trying to get “CD signal”, however we are using eMMC, so I set

           "CONFIG_MMC_BROKEN_CD

        4. After that, I got error:

           "sdhci_send_command: Timeout for status update!"

          "spl: mmc init failed with error: -110"

            

I got no tricks to solve the problem. what i have done:

 1. Reduce eMMC speed to legacy, the speed now is 25MHZ

 2. Disable SPL_MMC_UHS related settings 

 

The device tree setting is as below:

  1. k3-j7200-main.dtsi:

 

  1. k3-j7200-common-proc-board.dts:
  1. k3-j7200-r5-common-proc-board.dts:

 

Help needed:

  1. how should I setup the device tree and config to make it bootup from eMMC?

 

Regards

Ben