-
Notifications
You must be signed in to change notification settings - Fork 233
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
uefi: patch eventual crash that stops device from booting #1734
base: kirkstone
Are you sure you want to change the base?
uefi: patch eventual crash that stops device from booting #1734
Conversation
With r35.5.0, after some hundreds of reboots, it was observed that the EFI variable data would become corrupted without recovering. The patch fix: reset the meas buffer after computing the first measurement Already applied to 35.6.0, combined with these two, led to the device successfully booting without clearing the EFI variables. Signed-off-by: Sarah Newman <sarah.newman@bluerivertech.com>
This is 100% untested with jetpack 5.1.4 |
Before patch 1:
Grep showing module load order versus abort:
The first patch “FvbWrite: Return EFI_NOT_READY when VarInt is null” hides the issue, but it didn't seem entirely correct because everything needed should be initialized by that stage. The second patch “Move StandaloneMm.common.fdf.inc before FaultTolerantWriteStandaloneMm.inf” prevents calling FvbWrite before VarInt is initialized and would boot to Linux on the first boot, but then would fail validation on subsequent boots:
“fix: reset the meas buffer after computing the first measurement” from Girish Mahadevan gmahadevan@nvidia.com fixes the “more than 2 valid measurements found” when applied to Jetpack 5.1.3. That patch is already in Jetpack 5.1.4+. |
With r35.5.0, after some hundreds of reboots, it was observed that the EFI variable data would become corrupted without recovering.
The patch
fix: reset the meas buffer after computing the first measurement
Already applied to 35.6.0, combined with these two,
led to the device successfully booting without clearing the
EFI variables.