RPi4 icon indicating copy to clipboard operation
RPi4 copied to clipboard

Is it possible to save/restore the UEFI configuration

Open offsides opened this issue 3 years ago • 4 comments

It appears that all the configuration in the UEFI setup is saved in the RPI_EFI.fd file, which is replaced any time the UEFI firmware is upgraded. Is it possible to save that data to a separate file, and either manually or (even better) automatically restore it when the firmware is upgraded? Otherwise I have to go into the UEFI setup and turn off the 3GB limit every time I upgrade the UEFI firmware.

Thanks!

offsides avatar Mar 09 '21 19:03 offsides

In my mind the solution to this will be the same as the solution to #102. That said, there has been some talk of actually taking over a bit of the SPI flash for them as well, but AFAIK, we need to get the pi foundation on board with that.

jlinton avatar Mar 30 '21 18:03 jlinton

Yes, read the dmpstore UEFI Shell command manual. It can dump variables to a text file and import them from there.

d3vi1 avatar May 05 '21 16:05 d3vi1

This will no longer be an issue if we save the UEFI variables in SPI EEPROM (#6 )

samerhaj avatar Jul 17 '21 13:07 samerhaj

@samerhaj, also having a way to set them in a file would be quite liberating, because we could pre-prepare the sdcard in advance with the required variables (as-in #210).

rgl avatar May 19 '23 07:05 rgl