[ Xavier NX ] SDMMC3 status disable with JETPACK5.0.2

I’ve refer some post on this FORUMS about enable the SDMMC3.
But it always disable under the OS as the log below show.
root@ubuntu:/home/nvidia# cat /proc/device-tree/sdhci@3440000/status

There is the final device tree which reverse from the kernel/dtb/tegra194-p3668-all.dtb
tegra194-p3668-all-p3509-0000-20221207-2055.dts (386.5 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi
tegra194-p3668-common.dtsi (13.7 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-power-tree-p3668.dtsi
tegra194-power-tree-p3668.dtsi (1.8 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-fixed-regulator-p3668.dtsi
tegra194-fixed-regulator-p3668.dtsi (1.9 KB)

Could you please check this problem for me?


Because of the network, the image upload failed. I will upload it again.

I modify the discipline reuse through the following files.
tegra19x-jetson_xavier_nx_module-gpio-default.dtsi (2.0 KB)
tegra19x-jetson_xavier_nx_module-padvoltage-default.dtsi (1.3 KB)
tegra19x-jetson_xavier_nx_module-pinmux.dtsi (54.3 KB)
GPIO3_PP.02 ==> vmmc-supply
GPIO3_PP.02 ==> cd-gpios

I would suggest you try to with jetpack4 first if this is your first time doing bring up of sdmmc3.

Also, get some basic knowledge of device tree and linux kernel. Share us the dmesg and your finalized dts file converted back from dtb…

We don’t look into all dtsi files…

Which version of jetpack4 do you suggest?
My finalized dts file converted back from dtb are as follows:
tegra194-p3668-all-p3509-0000-20221207-2055.dts (386.5 KB)
The dmesg are as follows:
dmesg-2022-12-07.txt (65.6 KB)

Suggest to try on jp4.6.1.

thank you!! I will try it with jp4.6.1.

I guess your problem is not how to modify device tree… currently, your issue looks more like your device tree didn’t get updated on the device at all…

The whole dtb path which I put that should be
And the dtb I built path that should be
I use the following command to update the device tree
sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-emmc mmcblk0p1

Default dtb is read from rootfs in jp5. Which means what you just did won’t take effect…

How to update the device tree in jp5? what should I do in Jp5?At the same time,i will try it with jp4.6.1.

Just forget about jp5. Focus on jp4 now.

OK. I will try with jp4.6.1.

I solved it in JP4.6.1.
Thanks for your help again!!!

1 Like

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