Skip to content

Integrate u-boot-seco-rk/ap/e09-fix-mmc-delays-low-temp

GitBot requested to merge u-boot-seco-rk/ap/e09-fix-mmc-delays-low-temp into kirkstone

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/1ac04d1195697837128f93a56ad561f044b0f642

[DRIVER] dw-mmc: spl: modify the timeout for reading data to 50ms

Based on a patch suggested by rockchip after having issues testing E09 at -37°C: boot failed with the following error:

MMC error: The cmd index is 16, ret is -110.....
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid GPT ***
MMC error: The cmd index is 16, ret is -110.....
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***
MMC error: The cmd index is 16, ret is -110.....
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid GPT ***
MMC error: The cmd index is 16, ret is -110.....
*** ERROR: Can't read MBR header ***
part_get_info_efi: *** ERROR: Invalid Backup GPT ***

Original commit message:

KOWIN's EMMC has a timeout issue and needs to be increased. bug: [2024-05-07_16:55:54:251]MMC error: The cmd index is 18, ret is -110 [2024-05-07_16:55:54:282]MMC error: The cmd index is 7, ret is -110 [2024-05-07_16:55:54:297]MMC error: The cmd index is 7, ret is -110

--

Commit: https://git.seco.com/edgehog/bsp/rockchip/u-boot-seco-rk/-/commit/1a439c591b1c354afa51844fc82fb26896698bc5

mmc: dw_mmc: set cmd/data timeout according to register

The previous implementation set the timeout to 10s as as a minimum, change it to reasonable value that is depends on register value.

Signed-off-by: Ziyuan Xu xzy.xu@rock-chips.com Change-Id: I964a0d98f8849da79dede76db1638b939ad7999d

Merge request reports

Loading