Hi Jose, 

with uefipayload (tianocore) does the setup variables get saved?

Do we need any changes, I had older coreboot which comes from Intel and also 4.8.1 (Both these payloads) does not save setup variables

change of boot order or secureboot->standara mode/custom mode, i tried some of them 

Do we need a change in CorebootPayloadPkg.fdf  for pointing to correct NVStore Base Address, though gRT->SetVariable from the code works

Regards
Ranga





On Thu, Nov 22, 2018 at 11:21 AM Jose Trujillo <ce.autom@protonmail.com> wrote:
Hello Ranga:

From where you got this information / guide because I will try to do it myself.

Jose.



‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Wednesday, November 21, 2018 7:28 PM, galla rao <galla.rao80@gmail.com> wrote:

Hi All,

am trying to save NVRAM variables which are modifed in Uefi Payload, but i could not save it.   

what is the role of uefi_nvs.bin file?

coreboot/intel/mainboard/intel/bayleybay_fsp/uefi_nvs.bin

 


Even the boot order does not save into NVRAM variables


Can some one help me on this, Base address is given below 


gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase   | 0xFFF60000

  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase | 0xFFF7E000  


  gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase   | 0xFFF80000


In coreboot, i have given the same address


image.png

Thanks & Regards
Ranga