[BUG] U-boot does not detect emmc card in odroid-c2 for newer U-boot as 2020.04

Jaehoon Chung jh80.chung at samsung.com
Thu Nov 26 04:13:28 CET 2020


Hi,

On 11/19/20 11:39 PM, Otto Meier wrote:
> Hi,
> 
> with these modifications i get:
> 
> U-Boot 2021.01-rc2-00047-g9324c9a823-dirty (Nov 19 2020 - 15:33:00 +0100) odroid-c2
> 
> Model: Hardkernel ODROID-C2
> SoC:   Amlogic Meson GXBB (S905) Revision 1f:c (0:1)
> DRAM:  2 GiB
> MMC:   mmc at 72000: 0, mmc at 74000: 1
> In:    serial
> Out:   serial
> Err:   serial
> Net:   Could not get PHY for ethernet at c9410000: addr -1
> No ethernet found.
> 
> Hit any key to stop autoboot:  0
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> Card did not respond to voltage select! : -110
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = cdff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 00ff2000
> MESON EMMC status = c5ff0000
> MESON EMMC status = 01ff2800
> meson_dm_mmc_send_cmd[226]
> Card did not respond to voltage select! : -110
> MMC Device 2 not found
> no mmc device at slot 2
> starting USB...
> 
> Hope this shed more light on the issue.

Sorry for late. Did you check more? or Is its status same?
If my understanding is correct, it seems that it's working fine with SD-card, right?
When i have checked its register value, resp timeout bit[11] is set. Adnd Bus_fsm is 1100.
I don't know what mean bus_fsm(0x1100)..
According to my understanding, resp_timeout value can be increased with cmd's argument.
Current u-boot is set to 4s. but maximum timeout value is 32.768s.

But i don't think that it's not affected with your target.. Because you mentioned that v2020.04 u-boot is working.
So i'm checking what is different to u-boot v2020.04.

Best Regards,
Jaehoon Chung

> 
> Best regards
> 
> Am 19.11.20 um 12:50 schrieb Jaehoon Chung:
>> Hi, 



More information about the U-Boot mailing list