dasharo-issues
dasharo-issues copied to clipboard
Confusing UX when updating heads firmware
Component
Dasharo Tools Suite
Device
NovaCustom NV4x 12th Gen
Dasharo version
v0.9.0
Dasharo Tools Suite version
v1.2.22
Brief summary
It says new heads version is found, then asks me to roll back to UEFI version.
How reproducible
100%
How to reproduce
DTS version v1.2.21
1) Dasharo HCL report - dump hardware information from this device
3) Restore firmware from Dasharo HCL report
4) Edit your DES keys
Logs key : qKB5wkkFT7pnN6f
Download key: w8t9sCGRPk7X5rY
Password : )CT3Lw)a1$fy
5) Check and apply Dasharo firmware updates
8) Stop SSH server
9) Shell
10) Power off system
11) Reboot system
Enter an option: 5
Waiting for network connection ...
Checking if board is Dasharo compatible.
Gathering flash chip and chipset information...
Flash information: vendor="Programmer" name="Opaque flash chip"
Flash size: 32M
Getting platform specific GPG key... Done
AC adapter is connected. Continuing with firmware update.
Checking for the latest Dasharo update available...
Current Dasharo version: 0.9.0
Latest available Dasharo version: 0.9.1
Would you like to switch back to the regular Dasharo firmware? (Y|n) y
Switching back to regular Dasharo firmware v1.7.2
Are you sure you want to proceed with update? (Y|n) n
Expected behavior
I would expect asking me to apply update, not confirm to rollback to another firmware version.
Actual behavior
It says new heads version is found, then asks me to roll back to UEFI version.
Screenshots
No response
Additional context
No response
Solutions you've tried
No response
I would expect asking me to apply update, not confirm to rollback to another firmware version.
So when you reject the update, then the question for rollback should appear?
Has this been addressed in v2.0.0 or later releases?
@artur-rs cc
It's not yet addressed; the issue was removed from the scope of the previous milestones.
@DaniilKl Not sure if this should be separate issue or not but I'd say that currently DTS works even worse when trying to update Heads (without DPP keys)
Heads update log:
*********************************************************
** HARDWARE INFORMATION
*********************************************************
** System Inf.: Notebook V54x_6x_TU
** Baseboard Inf.: Notebook V54x_6x_TU
** CPU Inf.: Intel(R) Core(TM) Ultra 5 125H
*********************************************************
** FIRMWARE INFORMATION
*********************************************************
** BIOS Inf.: 3mdeb Dasharo (coreboot+heads) v0.9.0
*********************************************************
** SSH status: ON IP: 192.168.10.43/24
*********************************************************
** 1) Dasharo HCL report
** 2) Update Dasharo Firmware
** 3) Restore firmware from Dasharo HCL report
** 4) Load your DPP keys
** 6) Transition Dasharo Firmware
** 7) Fuse platform
*********************************************************
R to reboot P to poweroff S to enter shell
K to stop SSH server L to enable sending DTS logs
Enter an option:
2
Gathering flash chip and chipset information...
Flash information: vendor="Programmer" name="Opaque flash chip"
Flash size: 32M
Waiting for network connection ...
Network connection have been established!
Downloading board configs repository...
Checking if board is Dasharo compatible.
Getting platform specific GPG key... Done
Waiting for system clock to be synced ...
AC adapter is connected. Continuing with firmware update.
Dasharo Pro Package version (coreboot + Heads) is also available.
If you are interested, please visit
https://shop.3mdeb.com/product-category/dasharo-pro-package/
Current Dasharo version: 0.9.0
Latest available Dasharo version for your subscription: 1.0.0 (coreboot+Heads)
Downloading Dasharo EC firmware...
Checking Dasharo EC firmware checksum... Verified.
Checking Dasharo EC firmware signature... Verified.
Downloading Dasharo firmware...
Checking Dasharo firmware checksum... Verified.
Checking Dasharo firmware signature... Verified.
Please verify detected hardware!
Board vendor: Notebook
System model: V54x_6x_TU
Board model: V560TU
Does it match your actual specification? (Y|n) y
Following firmware will be used to deploy Dasharo:
Dasharo BIOS firmware:
- link: https://dl.3mdeb.com/open-source-firmware/Dasharo/novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_v1.0.0_btg_provisioned.rom
- hash: 22c644a19d7f883bcf19ca42943c62afe81b2ead697ae883d89200ff5bf23fc0
Dasharo EC firmware:
- link: https://dl.3mdeb.com/open-source-firmware/Dasharo/novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_ec_v1.0.0.rom
- hash: 4f5a2c3a9023b47a9a4e39b539d34689419c48e31abaa310db7db330c4999eb4
You can learn more about this release on: https://docs.dasharo.com/
Do you want to deploy this Dasharo Firmware on your platform (Y|n)
Based on logs, user could assume this would update Heads to version 1.0.0 (which doesn't exist), but instead it'll try to run update with UEFI binary:
Current Dasharo version: 0.9.0
Latest available Dasharo version for your subscription: 1.0.0 (coreboot+Heads)
Dasharo BIOS firmware:
- link: https://dl.3mdeb.com/open-source-firmware/Dasharo/novacustom_v5x0_mtl/novacustom_mtl_igpu/novacustom_v560tu_mtl/uefi/v1.0.0/novacustom_v56x_mtl_igpu_v1.0.0_btg_provisioned.rom
After entering DPP credentials update got stuck on:
+[14:07:34.441]:/usr/sbin/dasharo-deploy:424:prepare_env: handle_fw_switching true
+[14:07:34.442]:/usr/sbin/dts-functions.sh:1011:handle_fw_switching: local _can_switch_to_heads=true
+[14:07:34.442]:/usr/sbin/dts-functions.sh:1013:handle_fw_switching: '[' true == true ']'
+[14:07:34.443]:/usr/sbin/dts-functions.sh:1013:handle_fw_switching: '[' 'Dasharo (coreboot+heads)' '!=' 'Dasharo (coreboot+heads)' ']'
+[14:07:34.443]:/usr/sbin/dts-functions.sh:1057:handle_fw_switching: '[' -n true ']'
+[14:07:34.444]:/usr/sbin/dts-functions.sh:1057:handle_fw_switching: '[' -n dasharo-novacustom-heads/novacustom_v56x_mtl/v0.9.0/novacustom_v56x_mtl_v0.9.0_heads.rom ']'
+[14:07:34.445]:/usr/sbin/dts-functions.sh:1058:handle_fw_switching: local _heads_dpp=1
+[14:07:34.445]:/usr/sbin/dts-functions.sh:1059:handle_fw_switching: curl -sSfI -u '' -H 'X-Requested-With: XMLHttpRequest' dasharo-novacustom-heads/novacustom_v56x_mtl/v0.9.0/novacustom_v56x_mtl_v0.9.0_heads.rom -o /dev/null
We should remove the Dasharo (coreboot+Heads) updates or rollbacks as described here: https://github.com/Dasharo/dasharo-issues/issues/1380, or rework it according to this issue: https://github.com/Dasharo/dasharo-issues/issues/1631 . Lets keep these three issues open. I will add them to our next planning meeting where we will make a decision or try to catch @macpijan, or @pietrushnic remotely.