USB0 on custom carrier board (micro USB) not working with JetPack 5.0.2

Dear NVidia Team

When flashing a custom carrier board of the Jetson AGX Xavier Module with JetPack 5.0.2, the USB0 port does not work anymore (no /dev/ttyACM0 device on host). We used the same modifications as for JetPack 4.6, where it works fine. For a test, we changed the mode of the usb2-0 node to “device”, but this does not work with the error "invalid value device for “mode”. According to the bring-up guide, this mode should be possible. What are we missing? If we use the settings of JetPack 4.6 for xhci, xusb and xudc, we get that the property “usb-role-switch” is missing. There is no mention of this in the Adaption Guide. Can you help us?
Here is the device tree, which worked with JetPack 4.6:
tegra194-p2888-0001-brla3-13x-0000-common.dtsi (8.4 KB)

Thank you.

Please read the new adaptation guide. Since the kernel change, you should not think device tree in jp4.6 would work in kernel 5.10 anymore.

Hi WayneWWW

As mentioned, we have read the new adaptation guide: https://docs.nvidia.com/jetson/archives/l4t-archived/l4t-3261/index.html#page/Tegra%20Linux%20Driver%20Package%20Development%20Guide/adaptation_and_bringup_xavier.html#wwpID0E0LK0HA

There is no mention of the property “usb-role-switch”, which seems necessary.

Hi,

The point is, the link you just posted is still rel-32.6 document…

Hi WayneWWW

Then NVidia should change the link on the page Jetson Linux 35.1 | NVIDIA Developer as this leads to the old bringup guide.
We found the new guide: Jetson Module Adaptation and Bring-Up: Jetson AGX Xavier Series — Jetson Linux<br/>Developer Guide 34.1 documentation

For us the easiest way would be to change USB0 to “device” mode, but as mentioned, this leads to the error “invalid value device for mode”. Any idea what is missing.

Hi WayneWWW

We were able to solve this by looking at the device tree of the Xavier NX.

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