How to config 3 for USB 3.0 lane mapping

Hi All:

Our carrier board was designed for config#3.

However, unti now, the USB function still fail after changing to config#3.
Following is what we did for config#3.

  1. Modify some dts/dtsi files based on https://elinux.org/Jetson/TX2_USB
  2. Modify p2771-0000.conf.common based on https://devtalk.nvidia.com/default/topic/1002494/jetson-tx2/usb-lane-mapping/1

Next, we executed devmem2 to dump registers and got following results.

nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02520284 b
/dev/mem opened.
Memory mapped at address 0x7f984f4000.
Value at address 0x2520284 (0x7f984f4284): 0x1
nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02530284 b
/dev/mem opened.
Memory mapped at address 0x7f7db2b000.
Value at address 0x2530284 (0x7f7db2b284): 0x0
nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02540284 b
/dev/mem opened.
Memory mapped at address 0x7fa72fd000.
Value at address 0x2540284 (0x7fa72fd284): 0x0
nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02550284 b
/dev/mem opened.
Memory mapped at address 0x7f844af000.
Value at address 0x2550284 (0x7f844af284): 0x1
nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02560284 b
/dev/mem opened.
Memory mapped at address 0x7f918c9000.
Value at address 0x2560284 (0x7f918c9284): 0x1
nvidia@tegra-ubuntu:/usr/bin$ sudo devmem2 0x02570284 b
/dev/mem opened.
Memory mapped at address 0x7f996de000.
Value at address 0x2570284 (0x7f996de284): 0x2

May you teach us how to do next?

By the way, the SD card was corret original on our carrier board for standard Nvidia’s BSP (for config#2). BUt it became fail if we flash config#3 iamge.
Do you have any idea about it?

Hi,
Please check tips of debugging USB lane mapping:
https://devtalk.nvidia.com/default/topic/1048285/jetson-tx2/how-to-setup-usb-config-4-for-tx2-l4t-28-2-1-/post/5320279/#5320279
https://devtalk.nvidia.com/default/topic/1048285/jetson-tx2/how-to-setup-usb-config-4-for-tx2-l4t-28-2-1-/post/5320806/#5320806

This issue was fixed after remove USB OC pin in DTS file.
Thanks for your kindly support.