The flashbios
application will detect Protectli-brand host hardware and flash available BIOS images to the BIOS chip. This tool is useful for swapping between AMI and coreboot BIOS, as well as recovering from a bad BIOS configuration.
The flash tool requires the following:
- Protectli Hardware as the machine running the script.
- A Linux-based operating system (use Ubuntu Live USB if you are unsure)
- Python3
Download the latest release, uncompress it, and run the flashbios script
wget https://github.com/protectli-root/protectli-firmware-updater/releases/download/v1.1.49/flashli.tar.gz
tar -zxvf flashli.tar.gz
cd protectli-firmware-updater-1.1.49/
./flashbios
Or clone this repo for the source code and run flashbios. To clone and run:
git clone https://github.com/protectli-root/protectli-firmware-updater.git
cd protectli-firmware-updater
sudo ./flashbios
To obtain a binary, visit the Releases page and select the download you want. The downloaded ZIP (or otherwise compressed file) should be extracted to the host machine however you please (such as by USB thumbdrive). Extract the contents and run ./flashbios
from the CLI.
To create distributable packages, simply run make
. make clean
is also supported for between builds.
make
will simply bundle the required resources into a .tar.gz for easy distribution.
If you wish to build your own flashrom, you can replicate our build with
git checkout https://github.com/flashrom/flashrom.git
cd flashrom
make CONFIG_NOTHING=yes CONFIG_INTERNAL=yes CONFIG_DUMMY=yes