My orin nano information is below:
Model: NVIDIA Orin Nano Developer Kit - Jetpack 5.1.1 [L4T 35.3.1]
NV Power Mode[1]: 7W
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
699-level Part Number: 699-13767-0005-300 K.2
P-Number: p3767-0005
Module: NVIDIA Jetson Orin Nano (Developer kit)
SoC: tegra23x
CUDA Arch BIN: 8.7
Codename: P3768
Platform:
Machine: aarch64
System: Linux
Distribution: Ubuntu 20.04 focal
Release: 5.10.104-tegra
Python: 3.8.10
jtop:
Version: 4.2.1
Service: Active
Libraries:
CUDA: 11.4.315
cuDNN: 8.6.0.166
TensorRT: 8.5.2.2
VPI: 2.2.7
Vulkan: 1.3.204
When our application is forced to exit, we saw the USB error: xHCI host not responding to stop endpoint command. Then all usb devices do not work any more.
Our application uses some USB devices like USB camera, touch screen etc. The syslog is attached, the error happened at about May 20 13:51:31 timestamp.
How to debug this issue and how can we recover from this error to make USB devices work again without reboot?
Some errors are copied below.
8962 May 20 13:51:31 txkj-desktop kernel: [17248.991393] tegra-xusb 3610000.xhci: xHCI host not responding to stop endpoint command.
8963 May 20 13:51:31 txkj-desktop kernel: [17248.999655] tegra-xusb 3610000.xhci: USBSTS:
8964 May 20 13:51:31 txkj-desktop kernel: [17249.004059] tegra-xusb 3610000.xhci: xHCI host controller not responding, assume dead
8965 May 20 13:51:31 txkj-desktop kernel: [17249.012143] tegra-xusb 3610000.xhci: HC died; cleaning up
8966 May 20 13:51:31 txkj-desktop kernel: [17249.017755] tegra-xusb 3610000.xhci: hcd_reinit is disabled or in progress
8967 May 20 13:51:31 txkj-desktop kernel: [17249.017842] usb 1-2: USB disconnect, device number 2
8968 May 20 13:51:31 txkj-desktop kernel: [17249.017849] usb 1-2.1: USB disconnect, device number 4
8969 May 20 13:51:31 txkj-desktop kernel: [17249.018321] usb 2-1: USB disconnect, device number 2 syslog_all_usb_disconn.zip (80.2 KB)
When I used Jetpack 5.1.1, I built uefi bootloader with r35.3.1-updates. Now if I used jetpack 5.1.3, should I use r35.5.0-updates to build uefi?
I saw NVIDIA-Jetson only has r35.3.1-updates combination, can I use this combination and use r35.5.0-updates to pick up edk2-nvidia repo for my r35.5.0 release?
This is edk2-nvidia tags. I can checkout to r35.5.0 tag for edk2-nvidia git repo. But other repo’s like edk2-non-osi, edk2-nvidia-non-osi, edk2-platforms etc has no r35.5.0 tag.
I tried to checkout edk2-nvidia to r35.5.0 and build uefi, but got failure as below.
INFO - Active Platform = /build/nvidia-uefi-r35.3.1-updates/edk2-nvidia/Platform/NVIDIA/Jetson/Jetson.dsc
INFO -
INFO -
INFO - build.py…
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-nvidia/Platform/NVIDIA/Jetson/Jetson.dsc(139): error 000E: File/directory not found in workspace
INFO - MdeModulePkg/Library/VarSetCallbacksLibNull/VarSetCallbacksLibNull.inf is not found in packages path:
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2/BaseTools
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-platforms
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-nvidia
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-nvidia-non-osi
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-non-osi
INFO - /build/nvidia-uefi-r35.3.1-updates/edk2-platforms/Features/Intel/OutOfBandManagement
INFO -
INFO -
INFO - - Failed -
INFO - Build end time: 07:36:25, May.27 2024
INFO - Build total time: 00:00:00
INFO -
INFO - ------------------------------------------------
INFO - --------------Cmd Output Finished---------------
INFO - --------- Running Time (mm:ss): 00:00 ----------
INFO - ----------- Return Code: 0x0000000e ------------
INFO - ------------------------------------------------
ERROR - Build.py #000 from /build/nvidia-uefi-r35.3.1-updates/edk2-nvidia/Platform/NVIDIA/Jetson/Jetson.dsc(139): File/directory not found in workspace
CRITICAL - Build failed