Hello,
I’ve been developping a custom board for the Jetson TX1 and I ran into problems to get an SD-card working on the SDIO interface. I get the suspicion that this interface is not enabled in Linux. There is also a SD card connected tot de SDCARD interface and this is perfectly working.
When I look in de sysfs I found there only 3 interfaces available, while the Tegra has four.
ubuntu@tegra-ubuntu:~$ ll /sys/devices/platform/ | grep sdhci
drwxr-xr-x 5 root root 0 Oct 25 09:11 sdhci-tegra.0/
drwxr-xr-x 5 root root 0 Oct 25 09:11 sdhci-tegra.1/
drwxr-xr-x 5 root root 0 Oct 25 09:11 sdhci-tegra.3/
When I inspect the sysfs a bit more I conclude that:
sdhci-tegra.0 is the SDCARD interface
sdhci-tegra.1 is primary WiFi module
sdhci-tegra.3 is the eMMC memory
which corresponds to the OEM product design guide, expect the numbering start at 1 in stead of 0 (SDMMC1 … SDMMC4 )
ubuntu@tegra-ubuntu:~$ tree /sys/bus/mmc/
/sys/bus/mmc/
├── devices
│ ├── mmc0:0001 -> ../../../devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001
│ ├── mmc1:0001 -> ../../../devices/platform/sdhci-tegra.1/mmc_host/mmc1/mmc1:0001
│ └── mmc2:59b4 -> ../../../devices/platform/sdhci-tegra.0/mmc_host/mmc2/mmc2:59b4
├── drivers
│ └── mmcblk
│ ├── bind
│ ├── mmc0:0001 -> ../../../../devices/platform/sdhci-tegra.3/mmc_host/mmc0/mmc0:0001
│ ├── mmc2:59b4 -> ../../../../devices/platform/sdhci-tegra.0/mmc_host/mmc2/mmc2:59b4
│ ├── uevent
│ └── unbind
├── drivers_autoprobe
├── drivers_probe
└── uevent
ubuntu@tegra-ubuntu:/sys/bus/mmc/devices/mmc1:0001/mmc1:0001:2/net$ ll
total 0
drwxr-xr-x 3 root root 0 Oct 25 09:11 ./
drwxr-xr-x 9 root root 0 Oct 25 09:11 ../
drwxr-xr-x 6 root root 0 Oct 25 09:11 wlan0/
Is there a way to enable the missing SDMMC interface in Linux? Or can someone point me towards a direction to look for.