Our own designed circuit board, TX1 USB can be used, but TX2 USB can not be used

hi,What is the reason


You should probably start by seeing what device tree changes are needed. Every carrier can require a different device tree.

Hi,
If your custom board is with same USB HW as developer kit, probably you don’t apply
[url]Jetson/TX2 USB - eLinux.org

For further investigation you need to check oem design guide and adaptation guide to modify device tree accordingly.

[ 5.948325] tegra-xotg xotg: usb2 phy is not available yet
[ 5.948554] tegra-usb-cd usb_cd: otg phy is not available yet
[ 5.949065] tegra-xudc-new 3550000.xudc: usb2 phy is not available yet
[ 5.949261] tegra186-padctl 3520000.pinctrl: padctl mmio start 0x000000000352 0000 end 0x0000000003520fff
[ 5.949267] tegra186-padctl 3520000.pinctrl: ao mmio start 0x0000000003540000 end 0x0000000003540fff
[ 5.949305] tegra186-padctl 3520000.pinctrl: FUSE_SKU_USB_CALIB_0 0x2eb894
[ 5.949308] tegra186-padctl 3520000.pinctrl: FUSE_USB_CALIB_EXT_0 0x9
[ 5.950082] tegra186-padctl 3520000.pinctrl: using UTMI port 0 for otg
[ 5.952159] Wake76 for irq=199
[ 5.952160] Wake77 for irq=199
[ 5.952161] Wake78 for irq=199
[ 5.952162] Wake79 for irq=199
[ 5.952162] Wake80 for irq=199
[ 5.952163] Wake81 for irq=199
[ 5.952163] Wake82 for irq=199
[ 5.952349] xhci-tegra 3530000.xhci: can’t get usb3-0 phy (-517)
[ 6.078571] systemd[1]: Started Braille Device Support.
[ 6.085216] systemd[1]: Created slice User and Session Slice.
[ 6.092075] systemd[1]: Reached target Slices.
[ 6.099331] systemd[1]: Starting Create list of required static device nodes for the current kernel…
[ 6.110514] systemd[1]: Listening on Journal Audit Socket.
[ 6.118235] systemd[1]: Starting Journal Service…
[ 6.124354] systemd[1]: Created slice system-getty.slice.
[ 6.132689] systemd[1]: Mounted Debug File System.
[ 6.139084] systemd[1]: Started Load Kernel Modules.
[ 6.145597] systemd[1]: Started Remount Root and Kernel File Systems.
[ 6.154594] systemd[1]: Started Create list of required static device nodes f or the current kernel.
[ 6.177183] systemd[1]: Started Journal Service.
[ 6.233036] systemd-journald[276]: Received request to flush runtime journal from PID 1
[ 6.283327] random: nonblocking pool is initialized
[ 6.475656] tegra-pcie 10003000.pcie-controller: 4x1, 1x1 configuration
[ 6.483690] Wake76 for irq=199
[ 6.484120] tegra-pcie 10003000.pcie-controller: PCIE: Enable power rails
[ 6.484526] tegra-pcie 10003000.pcie-controller: probing port 0, using 4 lane s
[ 6.485900] tegra-pcie 10003000.pcie-controller: probing port 2, using 1 lane s
[ 6.512093] Wake77 for irq=199
[ 6.512094] Wake78 for irq=199
[ 6.512094] Wake79 for irq=199
[ 6.512095] Wake80 for irq=199
[ 6.512096] Wake81 for irq=199
[ 6.512096] Wake82 for irq=199
[ 6.512453] tegra-xotg xotg: usb2 phy is not available yet
[ 6.512712] tegra-usb-cd usb_cd: otg phy is not available yet
[ 6.513272] tegra-xudc-new 3550000.xudc: usb2 phy is not available yet
[ 6.513603] tegra186-padctl 3520000.pinctrl: padctl mmio start 0x000000000352 0000 end 0x0000000003520fff
[ 6.513609] tegra186-padctl 3520000.pinctrl: ao mmio start 0x0000000003540000 end 0x0000000003540fff
[ 6.513643] tegra186-padctl 3520000.pinctrl: FUSE_SKU_USB_CALIB_0 0x2eb894
[ 6.513646] tegra186-padctl 3520000.pinctrl: FUSE_USB_CALIB_EXT_0 0x9
[ 6.515537] tegra186-padctl 3520000.pinctrl: using UTMI port 0 for otg
[ 6.521953] Wake76 for irq=199
[ 6.521954] Wake77 for irq=199
[ 6.521955] Wake78 for irq=199
[ 6.521956] Wake79 for irq=199
[ 6.521957] Wake80 for irq=199
[ 6.521957] Wake81 for irq=199
[ 6.521958] Wake82 for irq=199
[ 6.522437] xhci-tegra 3530000.xhci: can’t get usb3-0 phy (-517)
[ 6.643878] dhd_module_init in
[ 6.648333] tegra_net_perf_init: cannot get wifi sclk
[ 6.654384] found wifi platform device bcmdhd_wlan
[ 6.668073] gpio tegra-gpio-aon wake69 for gpio=59(FF:3)
[ 6.674062] wifi_platform_get_country_code_map: could not get country_code_ma p
[ 6.682807] wifi_plat_dev_drv_probe:platform country code map is not availabl e
[ 6.691948] Power-up adapter ‘DHD generic adapter’
[ 6.699356] wifi_platform_set_power = 1
[ 6.734314] cfg80211: World regulatory domain updated:
[ 6.740306] cfg80211: DFS Master region: unset
[ 6.740306] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[ 6.740310] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 6.740312] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[ 6.740313] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[ 6.740316] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[ 6.740320] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[ 6.740322] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[ 6.740323] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[ 6.740325] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[ 6.905761] wifi_platform_bus_enumerate device present 1
[ 6.913622] Wake76 for irq=199
[ 6.917643] Wake77 for irq=199
[ 6.919762] tegra-pcie 10003000.pcie-controller: link 0 down, retrying
[ 6.928864] Wake78 for irq=199
[ 6.930090] wifi_platform_bus_enumerate device present 0
[ 6.930843] F1 signature read @0x18000000=0x17214354
[ 6.934689] F1 signature OK, socitype:0x1 chip:0x4354 rev:0x1 pkg:0x2
[ 6.935175] DHD: dongle ram size is set to 786432(orig 786432) at 0x180000
[ 6.935230] wifi_platform_prealloc: failed to alloc static mem section 7
[ 6.935236] wifi_platform_get_mac_addr
[ 6.935753] CFG80211-ERROR) wl_setup_wiphy : Registering Vendor80211
[ 6.979667] Wake79 for irq=199
[ 6.979668] Wake80 for irq=199
[ 6.979671] Wake81 for irq=199
[ 6.979672] Wake82 for irq=199
[ 6.979933] tegra-xotg xotg: usb2 phy is not available yet
[ 6.984140] tegra-usb-cd usb_cd: otg phy is not available yet
[ 6.984700] tegra-xudc-new 3550000.xudc: usb2 phy is not available yet
[ 6.984919] tegra186-padctl 3520000.pinctrl: padctl mmio start 0x0000000003520000 end 0x0000000003520fff
[ 6.984925] tegra186-padctl 3520000.pinctrl: ao mmio start 0x0000000003540000 end 0x0000000003540fff
[ 6.984963] tegra186-padctl 3520000.pinctrl: FUSE_SKU_USB_CALIB_0 0x2eb894
[ 6.984966] tegra186-padctl 3520000.pinctrl: FUSE_USB_CALIB_EXT_0 0x9
[ 6.985874] tegra186-padctl 3520000.pinctrl: using UTMI port 0 for otg
[ 6.989519] Wake76 for irq=199
[ 6.989520] Wake77 for irq=199
[ 6.989521] Wake78 for irq=199
[ 6.989522] Wake79 for irq=199
[ 6.989523] Wake80 for irq=199
[ 6.989523] Wake81 for irq=199
[ 6.989524] Wake82 for irq=199
[ 6.989766] xhci-tegra 3530000.xhci: can’t get usb3-0 phy (-517)
[ 6.990055] Wake76 for irq=199
[ 6.990056] Wake77 for irq=199
[ 6.990057] Wake78 for irq=199
[ 6.990057] Wake79 for irq=199
[ 6.990058] Wake80 for irq=199
[ 6.[ 7.970505] gk20a 17000000.gp10b: railgate is disabled.
[ 8.092976] CPU1: shutdown
[ 8.095792] psci: CPU1 killed.
[ 8.127024] CPU2: shutdown
[ 8.129757] psci: CPU2 killed.
[ 8.285742] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 8.703014] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 9.114268] tegra-pcie 10003000.pcie-controller: link 2 down, retrying
[ 9.122985] tegra-pcie 10003000.pcie-controller: link 2 down, ignoring
[ 9.129663] tegra-pcie 10003000.pcie-controller: PCIE: no end points detected
[ 9.138976] tegra-pcie 10003000.pcie-controller: PCIE: Disable power rails
[ 9.546301] fuse init (API version 7.23)
[ 9.924777] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready

Above is our serial port printing information

Hi,
Is your custom board same as develoer kit? One USB3 Type A and one USB2 micro AB?

I uploaded the circuit diagram of the USB part of the hardware schematic. Please see if there is any problem?

Yes,One USB3 Type A and one USB2 micro AB

Please apply Jetson/TX2 USB - eLinux.org and rebuild dtb. It fixes the error:

[ 5.952349] xhci-tegra 3530000.xhci: can't get usb3-0 phy (-517)

Thank you, the problem has been solved.