Error -84 whilst initialising SD CARD in Jetson Nano EMMC custom board

In addition, I cannot hotplug the sd card as well

You can at least share full log and the current dts here.

It is really not helping with parsed log and just “I cannot hotplug”.

tegra210-p3448-0002-p3449-0000-b00.dts (318.9 KB)

lsblk:

diogo-nano@diogonano-desktop:~$ lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
loop0          7:0    0    16M  1 loop
mmcblk0      179:0    0  14,7G  0 disk
├─mmcblk0p1  179:1    0    14G  0 part /
├─mmcblk0p2  179:2    0     1M  0 part
├─mmcblk0p3  179:3    0     6M  0 part
├─mmcblk0p4  179:4    0    80K  0 part
├─mmcblk0p5  179:5    0    64M  0 part
├─mmcblk0p6  179:6    0     1M  0 part
├─mmcblk0p7  179:7    0     6M  0 part
├─mmcblk0p8  179:8    0    80K  0 part
├─mmcblk0p9  179:9    0    64M  0 part
├─mmcblk0p10 179:10   0   192K  0 part
├─mmcblk0p11 179:11   0   256K  0 part
├─mmcblk0p12 179:12   0    63M  0 part
├─mmcblk0p13 179:13   0   512K  0 part
├─mmcblk0p14 179:14   0   256K  0 part
├─mmcblk0p15 179:15   0   256K  0 part
├─mmcblk0p16 179:16   0   300M  0 part
└─mmcblk0p17 179:17   0 185,4M  0 part
mmcblk0boot0 179:32   0     4M  1 disk
mmcblk0boot1 179:64   0     4M  1 disk
mmcblk0rpmb  179:96   0     4M  0 disk
mmcblk1      179:128  0  14,4G  0 disk
└─mmcblk1p1  179:129  0  14,4G  0 part
zram0        252:0    0 495,5M  0 disk [SWAP]
zram1        252:1    0 495,5M  0 disk [SWAP]
zram2        252:2    0 495,5M  0 disk [SWAP]
zram3        252:3    0 495,5M  0 disk [SWAP]

when I try to nount with sudo mount /dev/mmcblk1p1 /mnt/micro i get

mount: /mnt/micro: can't read superblock on /dev/mmcblk1p1.

dmesg.txt (60.6 KB)

Your vmmc supply is still not a always-on one
 Check the regulator. If that one has a GPIO, then it is not always-on.

Also, if hotplug does not work, please check if cd-inverted is really needed for your hardware design.

I have modified the regulator vdd-3v3-sd to be always on. Is this something I can do?

The resulting dts is:
tegra210-p3448-0002-p3449-0000-b00.dts (318.8 KB)

Same errors:
dmesg.txt (57.1 KB)
s

The sd card connector is closed when card is inserted and open when removed.

Also, if hotplug does not work, please check if cd-inverted is really needed for your hardware design.

So do you want to check this?

I have remove cd-inverted and I am still getting the same error when I try to mount

tegra210-p3448-0002-p3449-0000-b00.dts (318.8 KB)

dmesg.txt (58.2 KB)

It is strange because on boot it seems to be able to read the sd card successfully since it reads the partitions.