UEFI not detecting USB Sticks
We are using a bootable usb flash memory stick to run our Production Testing software from so that the test software can be independent of the Application software that is tegra-flashed onto the eMMC of the Orin.
We have seen an intermittent issue related to USB Flash Memory stick detection in the UEFI bootloader that has now become a major reliability problem in our Production workflow.
This occurs with a variety of different brands, sizes, and types e.g. USB2.0 and 3.2
What is happening is that the UEFI is not detecting the USB stick at all so it will not then boot from the USB stick.
This happens with either a cold boot power on or warm boot where the Orin is reset but not power cycled.
If I interrupt the boot with the F11 key and enter the EUFI shell there is no USB stick detected.
When we allow the UEFI to boot our Linux Application software from the internal eMMC we find that the USB stick is detected by Linux and that we can read and write from the USB stick without issue.
The USB is powered from our USB port, and we have confirmed that power is present at the USB at boot time.
We are using the USB0 interface on the Orin, Pins F12 and F13.
Unfortunately, the problem is only occurring in our Production Facility, so I only have remote access, and we have not been able to reproduce the problem with any of our local units.
This is the version of UEFI we are running:
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
When things are operating correctly, I can view the USB stick as an fs device in the UEFI shell, and the units boot from the EFI partition on the bootable USB stick.
We have had no issues over 100’s of boots and 100’s of different Orin modules up until recently when device being tested in our Production fixture would no longer boot from USB.
Is there any debugging we can do in the UEFI shell to help understand what is happening?
Are there any conditions that must be met or limitations we should know about so that USB flash drive devices can be detected by the UEFI bootloader on the Orin AGX module?

