How to use NX emmc module with a SD card

I want to use emmc module’s sd card function, but now it isn’t use. So how can i config to use?
kernel.log (61.1 KB)
tegra194-p3668-common.dtsi (11.6 KB)

1 Like

Hello,

Please check this post.

I config with your reply to kernel dts,but I can’t find the sdcard info when system power up.
kernel.log (59.2 KB)
tegra194-p3668-common.dtsi (11.9 KB)

Looks like the card is not getting detect at all.

  1. Are you sure the power source is stable?

  2. Please check if the device tree is really as your expectation by checking /proc/device-tree.

Now i can find sd card device ,but can’t use. This is error message.

[ 25.037517] mmc1: Data timeout error
[ 25.037641] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 25.037775] sdhci: Sys addr: 0x00000008 | Version: 0x00000505
[ 25.037879] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000008
[ 25.037987] sdhci: Argument: 0x01dacb80 | Trn mode: 0x0000003b
[ 25.038092] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000017
[ 25.038199] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 25.038306] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 25.038415] sdhci: Timeout: 0x00000008 | Int stat: 0x00000000
[ 25.038523] sdhci: Int enab: 0x02ff008b | Sig enab: 0x02fc008b
[ 25.038629] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 25.038738] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18002f73
[ 25.038845] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 25.039286] sdhci: Host ctl2: 0x0000308b
[ 25.039583] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe410
[ 25.040107] sdhci: ===========================================
[ 25.040661] mmcblk1: error -110 sending status command, retrying
[ 25.043104] mmcblk1: error -110 sending status command, retrying
[ 25.049008] mmcblk1: error -110 sending status command, aborting
[ 25.054839] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 46
[ 25.267570] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 46
[ 25.308206] mmc1: Data CRC error
[ 25.308327] sdhci: =========== REGISTER DUMP (mmc1)===========
[ 25.308453] sdhci: Sys addr: 0x00000020 | Version: 0x00000505
[ 25.308561] sdhci: Blk size: 0x00007200 | Blk cnt: 0x00000014
[ 25.308667] sdhci: Argument: 0x01dac800 | Trn mode: 0x0000003b
[ 25.308775] sdhci: Present: 0x01fb0000 | Host ctl: 0x00000017
[ 25.308883] sdhci: Power: 0x00000001 | Blk gap: 0x00000000
[ 25.308988] sdhci: Wake-up: 0x00000000 | Clock: 0x00000007
[ 25.309097] sdhci: Timeout: 0x00000008 | Int stat: 0x00000000
[ 25.309210] sdhci: Int enab: 0x02ff008b | Sig enab: 0x02fc008b
[ 25.309318] sdhci: AC12 err: 0x00000000 | Slot int: 0x00000000
[ 25.309424] sdhci: Caps: 0x3f6cd08c | Caps_1: 0x18002f73
[ 25.309530] sdhci: Cmd: 0x0000123a | Max curr: 0x00000000
[ 25.309967] sdhci: Host ctl2: 0x0000300b
[ 25.310266] sdhci: ADMA Err: 0x00000000 | ADMA Ptr: 0x00000000ffefe410
[ 25.310754] sdhci: ===========================================
[ 25.311337] mmcblk1: error -110 sending status command, retrying
[ 25.313405] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 46
[ 25.313454] mmcblk1: error -110 sending status command, retrying
[ 25.319310] mmcblk1: error -110 sending status command, aborting
[ 25.325172] sdhci-tegra 3440000.sdhci: Tuning done, restoring the best tap value : 46
[ 25.425852] nvgpu: 17000000.gv11b nvgpu_nvhost_syncpt_init:291 [INFO] syncpt_unit_base 6000000

  1. Which jetpack version are you using?

  2. Please always attach the full log.

This error only occur one time, but always can’t detect sd card.
kernel.log (58.9 KB)
tegra194-p3668-common.dtsi (11.9 KB)

Why do you paste a log without any error?

And where is your reply to above question?

Sorry, the error is occur one time,but the error log don’t save. But the error don’t appear when restart. now it always can’t detect sd card.

Hi, the error occur again , this is the error log.

kernel.log (59.4 KB)

And which jetpack are you using??

Tegra186_Linux_R32.4.4_aarch64.

Could you share the board schematic too? For the sd part.

This problem is resolved, thank you.

Would you like to share how you resolve this issue?

This problem is related with one of signal config.

1 Like

Hi,
It can’t detect sd card when insert sd power on. But plug in and out sd cart , it can detect sd card.

And your board schematic please?

We are checked, this problem is related with tf power supply. Thanks.

1 Like