Resetting the BIOS

As the Rock Pi X includes a full UEFI BIOS, it’s inevitable that someone will do something wrong that will make their system unbootable. I have already gotten my self in this situation (still have no idea how), and it seems that I will need to reflash the SPI chip (Winbond W24q64fv).

If there are any other known methods of resetting the BIOS, it would be nice to have them listed. I know the Atomic Pi (which uses the same chipset) had a CMOS reset button (which was the subject of many accidents), I wonder if it’s possible to short certain pins to accomplish the same effect.

There is no Atomic Pi full schematic available, so we are not sure how they implement it. For ROCK Pi X, the bios setting is saved in one section of the SPI flash.

Actually I believe the partial schematic does show how they do it, but it may have had to do with the RTC.

Regardless, are there any other things that can be done?

Perhaps in a future version of the Rock Pi X, it should contain two SPI flash’s, one with the BIOS, and one with settings, so if all goes wrong, one could just short the settings one to keep it from getting read, and then everything would be fine.

I flashed a bad BIOS image and was able to recover my Rock Pi X via a very affordable CH341a programmer off Amazon.

I added some steps here:

Once I flashed, I noticed the BIOS settings were at defaults (I was missing my EFI boot options, for example). So most likely, by flashing a raw BIOS image with a CH341a programmer, you can effectively reset the BIOS settings.

1 Like