Discussion:
[coreboot] uefi_nvs.bin in coreboot
galla rao
2018-11-21 16:28:03 UTC
Permalink
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: image.png]

Thanks & Regards
Ranga
galla rao
2018-11-23 17:25:53 UTC
Permalink
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
From where you got this information / guide because I will try to do it
myself.
Jose.
‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
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: image.png]
Thanks & Regards
Ranga
Loading...