Mmc1: error -84 whilst initialising SD card

Hi Nvidia teams,

We got mmc1 error message on R36.3 BSP with customize carrier board.
When insert SD card, it always show message : “error -84”

Although SD card still can be mounted and do read/write access, but we can not make sure there is no problem on SD card.

Need Nvidia’s feedback to confirm this error message can be ignored ? or we need to add/remove some property on device-tree settings?

PS : we didn’t see this error message on R35.4.1 BSP.

Regards

Is this on NV devkit? Have you tried other sdcard too?

Hi WayneWWW,

Orin Devkit doesn’t have SD card slot, so we can not verify the function on it.
Yes, we tried other sdcard , such as :
image

Regards

Orin AGX devkit has sdcard slot.

Hi WayneWWW,

thank you, we found the sdcard slot on devkit and test it.
It look ok on devkit , didn’t show error -84.

But we notice one difference between devkit and our carrier board
There is message on devkit but not on our carrier board : “Skipping voltage switch”
image

would you please help us to configure out what make it differ ?

Regards

Regards

Please share your board schematic for sdcard part and also device tree.

Hi WayneWWW,
here is our schematic

Device tree.

Hi WayneWWW,

Here is out dts file.
tegra234-dlap411+p3701-0004-adlink.dts.txt (319.0 KB)

Regards

Hi WayneWWW,
Is there any update for this SD card error ??

Regards

Could you share the original part of DT for sdmmc part?

Hi WayneWWW,

Devkit DTB
tegra234-p3737-0000+p3701-0004-nv.zip (36.2 KB)

Customise board DTS

No, I mean the original file. Not in hex. Did you modify anything there?

Hi WayneWWW,

No, we didn’t do any modify on mmc mmc@3400000 . all keeps as same as original setting.

Is this still an issue to support? Any result can be shared?

Hi kayccc,

yes, still an issue on customize board.
doing testing as listed below , may get the result in recent days.

  1. to use customize image + product modul on devkit.
  2. to use devkit module + customize image on customize board.

we are trying to figure out if the error is depend on carrier board ? image ? module ?

PS : customize board + customize image didn’t show any error on JP5 . And, on JP5 , we keep all SD relative setting as devkit does.

Regards

I think the issue of “skipping voltage switch” means that the card is remaining at 3.3V instead of switching to a 1.8V UHS-I mode of operation. That causes performance to be slower. We recently discovered that issue related to this patch that is present in the r36.3 release:

https://nv-tegra.nvidia.com/r/gitweb?p=3rdparty/canonical/linux-jammy.git;a=commit;h=02fc603119c77e3c47645895cb7cf6fd84223d3b

That change has been reverted for the next release. Can you try reverting and rebuilding? Hopefully that will resolve the issues you’re seeing. If the issue is still present, perhaps we need you to clarify which issues are present. There seem to be two that you have mentioned, i.e. error -84 and error -110, so please let us know if one or both are still present after you have rebuilt with that patch reverted. And don’t forget to update the initrd image too! You might also want to check this output:

# cat /sys/kernel/debug/mmc1/ios 
clock:		195250195 Hz
actual clock:	195250195 Hz
vdd:		21 (3.3 ~ 3.4 V)
bus mode:	2 (push-pull)
chip select:	0 (don't care)
power mode:	2 (on)
bus width:	2 (4 bits)
timing spec:	6 (sd uhs SDR104)
signal voltage:	1 (1.80 V)
driver type:	0 (driver type B)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.