Part Number: TDA4VM
Hello
I'm working on custom-designed, TDA4VM-based board. It's highly based off the SK reference design. We're currently migrating our build of processor SDK Linux to 09-02-00-05 which was recently released.
After getting the image, we're unabled to boot linux off emmc. The emmc is visible in uboot and works with older images.
The linux log has the following lines:
[ 2.087754] mmc0: mmc_select_hs200 failed, error -110
[ 2.092801] mmc0: error -110 whilst initialising MMC card
I bisected the linux kernel and found tthat the following commit is where the emmc stops working:
commit 14951df5ad99fdc639e235aee64d8476189b956c
Author: Judith Mendez <jm@ti.com>
Date: Thu Feb 15 11:13:19 2024 -0600
mmc: sdhci_am654: Add missing OTAP/ITAP enable
Currently the OTAP/ITAP delay enable functionality is missing in
the am654_set_clock function which is used for MMC0 on AM62p
and AM64x devices. The OTAP delay is not enabled when timing <
SDR25 bus speed mode. The ITAP delay is not enabled for all bus
speed modes.
Add this OTAP/ITAP delay functionality according to the datasheet
[1] OTAPDLYENA and ITAPDLYENA for MMC0.
[1] https://www.ti.com/lit/ds/symlink/am62p.pdf
Fixes: 8ee5fc0e0b3b ("mmc: sdhci_am654: Update OTAPDLY writes")
Signed-off-by: Judith Mendez <jm@ti.com>
drivers/mmc/host/sdhci_am654.c | 38 ++++++++++++++++++++++----------------
1 file changed, 22 insertions(+), 16 deletions(-)
Please let me know if there's some fix available
Thanks
Paul Schroeder



