Part Number: DRA821U
Tool/software:
We are applying j7200 based customer board.
My first target is to boot from eMMC chip.
The steps:
- Flash tiboot3-j7200_sr2-hs-fs-evm.bin, tispl.bin, u-boot.img to flash. (cmds: sf probe, , tftpupdate, sf update) into spi flash
- Setup to boot from flash then enter any key to pause to u-boot console. (SPI flashed binary works fine )
- Then write the above 3 bin files to eMMC by using mmc command (mmc command works fine in this part):
- mmc dev 0 0;
- tftp ${loadaddr} tiboot3-j7200_sr2-hs-fs-evm.bin
- mmc write ${loadaddr} 0x0 0x500
- and repeat for other two bin files…
- <mmc partconf 0 1 1 1> and <mmc bootbus 0 2 0 0> are one time setup.
- Verify the write data by emmc read ${loadaddr} 0x0 0x500 and md.b ${loadaddr} 0x500,
- The data is ok in eMMC
- Power off the board and setup the bootup pins: MCU3 = 1/MAIN 0 = 1,others are 0
- 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:
- k3-j7200-main.dtsi:
- k3-j7200-common-proc-board.dts:
- k3-j7200-r5-common-proc-board.dts:
Help needed:
- how should I setup the device tree and config to make it bootup from eMMC?
Regards
Ben
