I have been working with a Jetson Orin NX using Jetpack 6.1. Upon trying to track down the cause of 2 bricked systems in the field, I noticed that when dropping power during a UEFI Variable reclaim, the next boot fails and the PC is completely unreachable until the the board is reflashed. I was expecting the uefi FTW to protect against this exact failure, but it does not seem to be helping.
With some testing, after around 600 power cycles, a uefi reclaim is required and I have been able to consistently brick 3 separate units all with the same version of Jetpack 6.1. I have been using a PLC output to control power to the board and run a test that cuts power at 19.5s into the boot. If I let this run around 600 cycles, the computers become corrupt.
When using the backup and restore to get the raw QSPI contents, I noticed several writes of PlatformConfigData. From my analysis, the variable was always different due to a DtbHash of the device tree which was never the same across boots. After changing the firmware, I was able to make PlatformConfigData write only on changes to UEFIVersion or OSHardwareDscription. This tripled the number of boots before uefi reclaim to ~2000.
I noticed there are other variables that get written often including MTC and MemoryTypeInformation. What do these do and is there a way to reduce the frequency of writes to these variables so reclaims can happen less frequently.
Another question: Is there a reason why the uefi FTW is not saving the system on power loss during reclaims?
Are you using the devkit or custom board for Orin NX?
This looks more like a UEFI robustness issue during variable reclaim under power loss, not just normal flash wear.
Reducing the variable updates may lower the reclaim frequency, but it does not fully remove the risk if power is lost during reclaim.
Since JP6.1 / r36.4.0 is already relatively old, we would suggest validating first on r36.5 to check whether the issue is already improved there.
Do you also have an NVIDIA devkit to reproduce a similar issue?
If so, please also use the debug UEFI binary and capture the full UART log so we can collect more messages from the UEFI stage.
Hi Kevin, sorry for the long response. Was out of the office.
Not sure I fully understand exactly what you want. Do you want me to reflash the boards with a different build of the UEFI files with the command below?