# AGX Xavier doesn't recognize UFS sd card

**URL:** <https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213>\
**Category:** Jetson AGX Xavier\
**Tags:** boot\
**Created:** [August 7, 2022, 2:36pm UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213 "2022-08-07T14:36:41Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 7, 2022, 2:36pm UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/1 "2022-08-07T14:36:42Z")

</div>

I flashed my AGX Xavier to Jetpack 5.0 a few days ago. And added a nvme SSD card for storage.  
However, my UFS sd card cannot be recognized now. It works fine before.  
I cannot see it under /dev or use GParted.  
[log.txt](https://forums.developer.nvidia.com/uploads/short-url/y9L5mwgmArH1lninpZDc9Gu8n3s.txt) (137.3 KB)  
The log of dmesg is attached here.  
Another thing is that I saw this in the log and don’t understand what happened.

 ![image](https://global.discourse-cdn.com/nvidia/original/3X/8/d/8d5fb477c07e6d5dfee90d482e337b45134d6784.png)

Can someone help?

## Best

update: I rebooted the machine and attached another dmesg log  
[log-2.txt](https://forums.developer.nvidia.com/uploads/short-url/26qagecowEtIUeddjtYFQ0SFbSz.txt) (78.5 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:** [August 8, 2022, 2:19am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/3 "2022-08-08T02:19:49Z")

</div>

1. Is this the nv devkit or some custom board? And you use the sd slot for your UFS card?

2. If you flash back to jp4, then it would work?

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 8, 2022, 2:46am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/4 "2022-08-08T02:46:48Z")

</div>

Hi Wayne,  
Yes, it is the NV devkit and I am using the sd slot for the UFS card.  
Unfortunately, I cannot roll back to Jetpack4 anymore as my host machine is Ubuntu20.04 which only supports Jatpack5.0. The previous jetpack was flashed by another student who already left our group.  
The UFS card works fine before for the same board.  
Another thing to mention is that I forgot to take the UFS out when I flash the board. Does it matter?

Thanks!

---

<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:** [August 8, 2022, 2:47am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/5 "2022-08-08T02:47:51Z")

</div>

Does not matter.

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 8, 2022, 2:51am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/7 "2022-08-08T02:51:27Z")

</div>

Then would the AGX Xavier supports nvme SSD and UFS at the same time?  
The only 2 changes I can think of are:

1. Add a nvme card
2. upgrade to Jetpack 5.0  
And can you find any clue in the dmesg log?

---

<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:** [August 8, 2022, 2:53am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/8 "2022-08-08T02:53:51Z")

</div>

Could you go to this node and share me the result?

> nvidia@nvidia:/proc/device-tree/ufshci@2450000$ cat status

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 8, 2022, 2:55am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/9 "2022-08-08T02:55:14Z")

</div>

It shows ‘disabled’

---

<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:** [August 8, 2022, 2:55am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/10 "2022-08-08T02:55:29Z")

</div>

Looks like we find the reason. Will check.

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 9, 2022, 4:34pm UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/11 "2022-08-09T16:34:44Z")

</div>

Hi Wayne,  
Hope you are doing well!  
Do you know how to turn on this？

---

<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:** [August 12, 2022, 11:37am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/12 "2022-08-12T11:37:48Z")

</div>

Hi,

Could you directly enable that ufs node in the device tree and try?

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 12, 2022, 1:00pm UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/13 "2022-08-12T13:00:14Z")

</div>

Sure. May I know which file and how to modify it to enable the UFS?

---

<div class="post-metadata">

**Author:** ![Chulan\_Zhang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@Chulan\_Zhang](https://forums.developer.nvidia.com/u/Chulan_Zhang)\
**Post date:** [August 16, 2022, 5:02pm UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/14 "2022-08-16T17:02:44Z")

</div>

Hi Wayne,  
Just want to follow up on this as I don’t know how to enable the ufs node even after searching around.  
Could you help provide some specific steps that I can do?

Thanks!

---

<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:** [August 17, 2022, 1:48am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/15 "2022-08-17T01:48:25Z")

</div>

Hello,

Do you have the experience of building device tree, replace old one and flash it?

Because the issue here is just one line change, so I think the issue here feel like you don’t modify device tree before?

---

<div class="post-metadata">

**Author:** ![pengcheng](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/pengcheng/32/295668_2.png) [@pengcheng](https://forums.developer.nvidia.com/u/pengcheng)\
**Post date:** [August 17, 2022, 3:56am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/16 "2022-08-17T03:56:18Z")

</div>

To be honest, I don’t have any experience related to the device trees. May I know what specific steps I should do?

Thanks!

---

<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:** [August 17, 2022, 4:00am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/17 "2022-08-17T04:00:20Z")

</div>

There are multiple ways to do that. The simplest way here is to check /boot/extlinux/extlinux.conf and see which dtb file is in use.

Go to that path, use dtc tool to de-compile the dtb binary back to dts source. Open that source, go to the ufs controller, set the status from “disabled” to “okay”, then compile the dts back to dtb. Replace the old file.

And then reboot.

---

<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:** [September 7, 2022, 4:02am UTC](https://forums.developer.nvidia.com/t/agx-xavier-doesnt-recognize-ufs-sd-card/223213/19 "2022-09-07T04:02:49Z")

</div>

Closed on September 7, 2022, 4:02am UTC

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