USB Mobile Network Module Causes UEFI Assertion Error, Preventing System Boot

Hello,

I’m encountering an issue: when connecting a USB-WiFi module or a USB-4G module to the developer kit, the system fails to boot. From the debug logs, I observe the following information:


ASSERT [XhciDxe] /home/tw/Desktop/nvidia-uefi-r35.6.0/edk2/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c(3119):
Interval >= 1 && Interval <= 16
Resetting the system in 5 seconds.
Shutdown state requested 1
Rebooting system …

The USB devices work perfectly if connected after the system has already booted successfully.

Could I avoid this issue by recompiling uefi_Jetson_RELEASE.bin? If so, what modifications should I make?

JP version: Jetpack 5.1.4

Hi,
You may try this to customize UEFI and see if it helps:

Boot Time Optimization — NVIDIA Jetson Linux Developer Guide 1 documentation

Thank you for your reply. I couldn’t find the answer I was looking for on this. Based on the debug log message:
[ASSERT [XhciDxe] /home/tw/Desktop/nvidia-uefi-r35.6.0/edk2/MdeModulePkg/Bus/Pci/XhciDxe/XhciSched.c(3119): Interval >= 1 && Interval <= 16],
do you have any suggestions on which files to modify in order to make the system skip or avoid this assertion error?
Perhaps could you advise which file and what specific content I should change?

You need to modify UEFI source code to remove xhci driver.

Follow this as this one is doing same procedure.

Thank you!
I tried modifying it:
vim XhciSched.c
Comment out line 3119
//ASSERT (Interval >= 1 && Interval <= 16);
Add:
if (Interval < 1) {
Interval = 1;
} else if (Interval > 16) {
Interval = 16;
}
After replacing the generated uefi_Jetson_RELEASE.bin, it can boot up normally.
Not sure if there will be other impacts, will monitor further.