We are working on custom carrier board for Jetson Nano module.
On our custom board, sometimes 10-second timeout may occur during the detection of an embeded USB-HUB in L4T Cboot, as shown below.
OK: [0002.962] xhci0: 64 bytes context size, 32-bit DMA [0003.002] usbus0: 5.0Gbps Super Speed USB v3.0 [0003.022] uhub0: <Nvidia XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 [0003.672] uhub0: 9 ports with 9 removable, self powered [0004.712] uhub1: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/b.b3, addr 1> on usbus0 [0004.732] uhub1: MTT enabled [0005.512] uhub1: 4 ports with 4 removable, self powered [0006.902] failed to get HID devices [0006.906] failed to init xhci or no usb device attached [0006.913] display_console_ioctl: No display init NG: [0003.015] xhci0: 64 bytes context size, 32-bit DMA [0003.055] usbus0: 5.0Gbps Super Speed USB v3.0 [0003.075] uhub0: <Nvidia XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 [0003.725] uhub0: 9 ports with 9 removable, self powered [0013.055] get polling status timeout [0013.058] failed to init xhci or no usb device attached [0013.066] display_console_ioctl: No display init
For an embeded USB-HUB, it is connected to USB2_D_N/P (Pins 121/123).
connection: USB2_D_N/P => embedded USB_HUB
In addition, when the NG occurs, there may be an additional wait of about 160 seconds before the U-Boot transition.
[0013.613] WARNING: Failed to pass NS DRAM ranges to TOS, err: -7 [0013.619] Updated memory info to DTB [0013.628] set vdd_core voltage to 1075 mv [0013.632] setting 'vdd-core' regulator to 1075000 micro volts [0171.626] failed to get HID devices [0171.646] Found secure-pmc; disable BPMP U-Boot 2016.07-00023-g0614bca5a4-dirty (Jul 29 2020 - 15:20:18 +0900)
Furthermore, if the system is booted to Kernel, a -71 error always occurs and the USB-HUB is not recognized until power reset board.
Starting kernel ... [ 1.017551] tegradc tegradc.1: dpd enable lookup fail:-19 [ 1.523398] Host read timeout at address 545c00c4 [ 1.785582] imx219 7-0010: imx219_board_setup: error during i2c read probe (-121) [ 1.793122] imx219 7-0010: board setup failed [ 1.821274] imx219 8-0010: imx219_board_setup: error during i2c read probe (-121) [ 1.828793] imx219 8-0010: board setup failed [ 1.918284] pca953x 0-0075: failed reading register [ 2.315900] cgroup: cgroup2: unknown option "nsdelegate" [ 2.366007] usb 1-3: device not accepting address 2, error -71 [ 2.698278] usb 1-3: Device not responding to setup address. [ 2.910034] usb 1-3: device not accepting address 3, error -71 [ 3.513521] using random self ethernet address [ 3.526041] using random host ethernet address [ 3.886159] usb 1-3: device descriptor read/64, error -71
About this problem, we checked the waveform of USB D+/D- at the time of CBoot.
The pulse seems to be stretched out in some places like below.
Also, it seems to be resetting the USB several times until it reaches timeout.
Could you tell us how we should address this issue?