Using sdmmc3 on a custom carrier with TX2-NX

Hello

I’m trying to get the sdmmc interface working on a custom carrier board. The SoM in use is a TX2 with an onboard emmc.

I have change the status in override@2 to “okay”.

When I boot the system, in the kernel boot log contains this output:
[ 7.272535] mmc1: CMD CRC or end bit error, int mask 0xc0000 [ 7.279823] mmc1: CMD CRC or end bit error, int mask 0x40000 [ 7.287076] mmc1: CMD CRC or end bit error, int mask 0x40000 [ 7.294318] mmc1: CMD CRC or end bit error, int mask 0x40000 [ 7.301533] mmc1: CMD CRC or end bit error, int mask 0x40000 [ 7.308785] mmc1: CMD CRC or end bit error, int mask 0xc0000 [ 7.316059] mmc1: CMD CRC or end bit error, int mask 0xc0000 [ 7.323277] mmc1: CMD CRC or end bit error, int mask 0xc0000 [ 7.330483] mmc1: CMD CRC or end bit error, int mask 0xc0000 [ 7.337814] mmc1: CMD CRC or end bit error, int mask 0x40000

If I issue the following command more /sys/firmware/devicetree/base/sdhci*/status I see the following output

::::::::::::::
/sys/firmware/devicetree/base/sdhci@3400000/status
::::::::::::::
disabled
::::::::::::::
/sys/firmware/devicetree/base/sdhci@3420000/status
::::::::::::::
disabled
::::::::::::::
/sys/firmware/devicetree/base/sdhci@3440000/status
::::::::::::::
okay
::::::::::::::
/sys/firmware/devicetree/base/sdhci@3460000/status
::::::::::::::
okay

Naturally there is no device node.

I am not sure what is going wrong, has anyone ever managed to use sdmmc3 with a TX2? And could someone point me to the steps required to get the sdmmc3 to work with a TX2 please?

Thanks in Advance

Andrew

Is this TX2-NX or TX2?

I am not sure why you want to use such design.
What not just use sdmmc1?
TX2 already enabled sdcard on sdmmc1. The TX2 devkit already has one sdcard slot on sdmmc1.

Thank you for your reply.

The SoM is a TX2 NX.

The carrier is a custom design which uses sdmmc3.

Andrew

Ok, then please check this post.

1 Like

Thank you that has helped solve my problem.

I needed to set vmmc-supply = <&spmic_sd3>;

The SD card now mounts.

I need to add support to enable the card detect signal.

I’m assuing that needs to be done by setting cd -gpios

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