Firmware update
The following documentation describes the process of Dasharo open-source firmware update. If your device is currently flashed with the proprietary firmware please refer to the Initial deployment documentation.
The update process may be different, depending on the currently installed Dasharo firmware version.
For simplicity of the process we recommend using Dasharo Tools Suite.
Before starting the update procedure be sure to disable Dasharo BIOS Boot medium lock and Secure Boot:
- Power on the device.
- While the device is booting, hold the
DELETEkey to enter the UEFI Setup Menu. - Enter the
Dasharo System Featuresmenu using the arrow keys and Enter. - Enter the Dasharo Security Options submenu.
- Verify the state of the
Lock the BIOS boot mediumoption - if the option is chosen, pressSpaceand thenF10to save the changes. - Go back to the main menu using the
ESCkey. - Enter the
Device Managermenu. - Enter the Secure Boot Configuration submenu.
- Verify that the
Current Secure Boot Statefield says Disabled - if not, unselect theAttempt Secure Bootoption below then pressF10to save the changes. - Reboot the device to properly apply the changes.
The settings of all the above options can be restored after a firmware update.
Updating Dasharo
flashrom -p internal -w protectli_<variant>_v<version>.rom --fmap -i COREBOOT
Updating to Dasharo v1.2.0
Due to the major changes, such as ME update, and firmware layout adjustments (to store the boot logo), flashing of the whole firmware is required:
flashrom -p internal -w protectli_vp46xx_v1.2.0.rom
Updating to Dasharo v1.0.18 or v1.0.19 or v1.1.0
From v1.0.18 Dasharo firmware is rebased on the more up-to-date revision of coreboot.
If the current version of the firmware on the device is older than v1.0.18 or you are migrating from proprietary firmware the whole flash chip should be flashed as described in Initial Deployment.
If the current version of the firmware on the device is v1.0.18 and it should
be updated to v1.0.19 or v1.1.0, only the WP_RO and RW_SECTION_A
should be flashed. To do this the following command should be used:
flashrom -p internal -w protectli_vault_cml_v1.0.19.rom --fmap -i WP_RO -i RW_SECTION_A
Updating on Dasharo v1.0.16 or v1.0.17
Only the RW_SECTION_A partition of the flash needs to be updated. Flash it
using the following command:
flashrom -p internal -w protectli_vault_cml_v1.0.16.rom --fmap -i RW_SECTION_A
This command also preserves Dasharo UEFI settings and the boot order.
Updating on older Dasharo versions
In this case, the whole bios region must be updated.
flashrom -p internal -w protectli_vault_cml_v1.0.13.rom --ifd -i bios
Updating Dasharo
flashrom -p internal -w protectli_vp66xx_v<version>.rom --fmap -i RW_SECTION_A
Updating minor versions v1.x.y (e.g. from v1.0.x to v1.1.0)
Full binary should be flashed:
flashrom -p internal -w [path]
Updating patch version v1.0.x/v1.1.x
Only the COREBOOT and IFWI partition of the flash needs to be updated.
Flash it using the following command:
flashrom -p internal -w [path] --fmap -i COREBOOT -i IFWI
This command also preserves Dasharo UEFI settings and the boot order.
Updating minor versions v1.x.y
Both WP_RO and RW_SECTION_A partitions of the flash needs to be updated.
Flash it using the following command:
flashrom -p internal -w [path] --fmap -i RW_SECTION_A -i WP_RO
This command also preserves current Dasharo UEFI settings and the boot order.
Updating patch version v1.0.x
Only the RW_SECTION_A partition of the flash needs to be updated. Flash it
using the following command:
flashrom -p internal -w [path] --fmap -i RW_SECTION_A
This command also preserves Dasharo UEFI settings and the boot order.
Updating minor versions v1.x.y
Both WP_RO and RW_SECTION_A partitions of the flash needs to be updated.
Flash it using the following command:
flashrom -p internal -w [path] --fmap -i RW_SECTION_A -i WP_RO
This command also preserves current Dasharo UEFI settings and the boot order.
Updating patch version v1.0.x
Only the RW_SECTION_A partition of the flash needs to be updated. Flash it
using the following command:
flashrom -p internal -w [path] --fmap -i RW_SECTION_A
This command also preserves Dasharo UEFI settings and the boot order.
Updating Dasharo
flashrom -p internal -w protectli_vp32xx_v<version>.rom --fmap -i RW_SECTION_A
This command also preserves Dasharo UEFI settings and the boot order.