You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EDK2 NV variable can not be saved correctly in Flash #148
Hi,
I am trying to debug the EDK2 Uiapp menu using the spl + opensbi + edk2(as opensbi payload) + linux5.15 + busybox boot flow on starfive-VisionFive2. I flash all of them into SDcard and set bootmode to SDIO.
I have noticed that if I save NonVolatile variables (such as BootTimeOut) in Uiapp and then directly reset, the variable saving works fine. However, if I enter linux, power off, and then power on again, the variable is restored to its default value (or erased).
In EDK2, the flash offset for saving NV variables is 0x800000: gJH7110TokenSpaceGuid.PcdSpiVariableOffset|0x00800000
which does not overlap with the mtd partition in the dts:
Activity