# \[ Xavier NX \] SDMMC3 status disable with JETPACK5.0.2

**URL:** <https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453>\
**Category:** Jetson Xavier NX\
**Tags:** device-tree\
**Created:** [December 7, 2022, 1:20pm UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453 "2022-12-07T13:20:08Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 7, 2022, 1:20pm UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/1 "2022-12-07T13:20:08Z")

</div>

hi:  
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_

- 

```
disabled* 
I refer to the following link, but the satus of sdmmc3 is still disabled

```

[[Xavier NX] SDMMC3 status disable](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable/194350)  
But I didn’t find the file in the following picture  
Uploading: image.png…  
The following are my modified configuration files：

There is the final device tree which reverse from the kernel/dtb/tegra194-p3668-all.dtb  
[tegra194-p3668-all-p3509-0000-20221207-2055.dts](https://forums.developer.nvidia.com/uploads/short-url/fqhrSPPTIQJe56POVPafrgpmxap.dts) (386.5 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-p3668-common.dtsi  
[tegra194-p3668-common.dtsi](https://forums.developer.nvidia.com/uploads/short-url/7HdeIBOsIIsDOvtu3PZuGqknlLR.dtsi) (13.7 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-power-tree-p3668.dtsi  
[tegra194-power-tree-p3668.dtsi](https://forums.developer.nvidia.com/uploads/short-url/gDeP44BZ4pSrR6UFfGWX7SbvWYc.dtsi) (1.8 KB)

PATH : hardware/nvidia/platform/t19x/jakku/kernel-dts/common/tegra194-fixed-regulator-p3668.dtsi  
[tegra194-fixed-regulator-p3668.dtsi](https://forums.developer.nvidia.com/uploads/short-url/5nwirLCv2Nix2aRNtK32qi3CoSR.dtsi) (1.9 KB)

Could you please check this problem for me?

Thanks！！

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 7, 2022, 1:44pm UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/2 "2022-12-07T13:44:30Z")

</div>

> [@1481453418](#):
>
> But I didn’t find the file in the following picture  
> Uploading: image.png…

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

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/6/2/620cdbc2fad61f181659a52541059f4514774079.png)  
I modify the discipline reuse through the following files.  
[tegra19x-jetson\_xavier\_nx\_module-gpio-default.dtsi](https://forums.developer.nvidia.com/uploads/short-url/2CLDtiYUHWSn7TmWCinma8rO0U5.dtsi) (2.0 KB)  
[tegra19x-jetson\_xavier\_nx\_module-padvoltage-default.dtsi](https://forums.developer.nvidia.com/uploads/short-url/nIhGjUsAWpzADej6x8lmBaxZqKD.dtsi) (1.3 KB)  
[tegra19x-jetson\_xavier\_nx\_module-pinmux.dtsi](https://forums.developer.nvidia.com/uploads/short-url/WlwQLRdcH42laLGPhCMiYuOPD0.dtsi) (54.3 KB)  
GPIO3\_PP.02 ==\> vmmc-supply  
GPIO3\_PP.02 ==\> cd-gpios  
 ![image](https://global.discourse-cdn.com/nvidia/original/3X/4/f/4f697719d663c892279e24a8ba450d172d6a1769.png)

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 8, 2022, 2:40am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/4 "2022-12-08T02:40:31Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 2:49am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/5 "2022-12-08T02:49:22Z")

</div>

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](https://forums.developer.nvidia.com/uploads/short-url/fqhrSPPTIQJe56POVPafrgpmxap.dts) (386.5 KB)  
The dmesg are as follows：  
[dmesg-2022-12-07.txt](https://forums.developer.nvidia.com/uploads/short-url/yH1av2EdXm3zBcWUdK5YEqP2kNj.txt) (65.6 KB)

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 8, 2022, 2:52am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/6 "2022-12-08T02:52:09Z")

</div>

Suggest to try on jp4.6.1.

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 2:55am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/7 "2022-12-08T02:55:42Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 8, 2022, 3:07am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/8 "2022-12-08T03:07:16Z")

</div>

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…

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 3:23am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/9 "2022-12-08T03:23:13Z")

</div>

The whole dtb path which I put that should be  
Linux\_for\_Tegra/kernel/dtb/  
And the dtb I built path that should be  
build/arch/arm64/boot/dts/\*  
I use the following command to update the device tree  
sudo ./flash.sh -r -k kernel-dtb jetson-xavier-nx-devkit-emmc mmcblk0p1

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 8, 2022, 3:30am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/10 "2022-12-08T03:30:57Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 4:12am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/11 "2022-12-08T04:12:08Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [December 8, 2022, 4:15am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/12 "2022-12-08T04:15:11Z")

</div>

Just forget about jp5. Focus on jp4 now.

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 4:21am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/13 "2022-12-08T04:21:28Z")

</div>

OK. I will try with jp4.6.1.

---

<div class="post-metadata">

**Author:** ![1481453418](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@1481453418](https://forums.developer.nvidia.com/u/1481453418)\
**Post date:** [December 8, 2022, 7:58am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/14 "2022-12-08T07:58:30Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/system/32/68080_2.png) [@system](https://forums.developer.nvidia.com/u/system)\
**Post date:** [December 28, 2022, 4:46am UTC](https://forums.developer.nvidia.com/t/xavier-nx-sdmmc3-status-disable-with-jetpack5-0-2/236453/16 "2022-12-28T04:46:21Z")

</div>

Closed on December 28, 2022, 4:46am UTC

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