Skip to content

Protectli Dasharo on VP2410 - installation manual

Flashing Dasharo firmware can be done from Linux using flashrom with the internal programmer. This document describes the process of building, installing and running flashrom on Ubuntu 20.04.

Build flashrom

Currently, the latest flashrom release lacks support for Comet Lake U internal flashing. Because of this, we need to build flashrom from source.

Install build dependencies:

apt install git build-essential debhelper pkg-config libpci-dev libusb-1.0-0-dev libftdi1-dev meson

Obtain source code:

git clone https://github.com/Dasharo/flashrom -b dasharo-release
cd flashrom

Build flashrom:

sudo make install

Reading flash contents

Always prepare a backup of the current firmware image. To read from the flash and save them to a file (dump.rom), execute the following command:

flashrom -p internal -r dump.rom

Keep the backup for later recovery if needed.

Flashing Dasharo

To flash Dasharo on the platform, execute the following command - replace [path] with the path to the Dasharo image you want to flash, e.g. protectli_vault_glk_v1.0.15.rom.

If stock firmware is currently installed:

flashrom -p internal -w [path]

If Dasharo is currently installed, only the COREBOOT and IFWI partitions of the flash needs to be updated. Flash it using the following command:

flashrom -p internal -w protectli_vault_glk_v1.0.15.rom --fmap -i COREBOOT -i IFWI

This command also preserves Dasharo UEFI settings and the boot order.