Hello All:
I am sorry about the delay.
are you able to tell what's reading/writing the EFI variables? what are the few lines right before the loop starts?
Loading driver at 0x0007FB1B000 EntryPoint=0x0007FB1E34A EmuVariableRuntimeDxei InstallProtocolInterface: BC62157E-3E33-4FEC-9920-2D3B36D750DF 7F8AC018 ProtectUefiImageCommon - 0x7F8AD640 - 0x000000007FB1B000 - 0x0000000000004FC0 PROGRESS CODE: V03040002 I0 Initialize buffer from 0x40000 bytes of flash Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0 Found variable: key size: 0x0, val size: 0 Added variable: 0x0, val size: 0
You probably have the edk2 side smmstore support added? And maybe not the very latest coreboot side driver installed (Arthur pushed some important fixes recently)?
SMMSTORE was one of the reasons Patrick, thank you, I am glad to see this has been merged. Also the Tianocore smmstore patches were added into MrChromebox repository... Thank you Matt.
I am using the default old smmstore driver from coreboot's 4.10 because this project has compilation errors in 4.11.
This problem has been resolved. 3 issues were preventing tianocore from booting correctly:
1.- A driverless ATA device. 2.- SMMSTORE was disabled. 3.- LPC had issues and must be running continously.
Now I got a reliable and fast booting to UEFI with persistent settings.
Thank you for your help. Jose Trujillo.