Dasharo / dasharo-issues

The Dasharo issue tracker
https://dasharo.com/
24 stars 0 forks source link

DTS 2.0.0-rc3 not able to handle proprietary EC (eg. after a failed EC sync update) #966

Open akoskoronka opened 1 month ago

akoskoronka commented 1 month ago

Component

Dasharo Tools Suite, EC firmware

Device

NovaCustom V54 14th Gen

Dasharo version

v0.9.0

Dasharo Tools Suite version

2.0.0-rc3

Test case ID

No response

Brief summary

dasharo_ectool cannot connect to the proprietary EC, updater script also fails since it cannot sense AC charger required for flashing.

How reproducible

100%

How to reproduce

Boot DTS 2.0.0-rc3 on device running proprietary EC and try to update firmware (downgrade to any upgradable), or run dasharo_ectool info from shell.

Expected behavior

Proprietary EC should be detected during update and updating should be offered.

Actual behavior

Updater script stuck with "Warning: AC adapter must be connected before performing firmware update. Please connect the AC adapter and press 'C' to continue, or 'Q' to quit.". Running dasharo_ectool info in shell results in "failed to connect to EC: WouldBlock" error message.

Screenshots

No response

Additional context

ecfix.sh was provided as a workaround.

Solutions you've tried

No response

miczyg1 commented 1 month ago

@akoskoronka dasharo_ectool is not supposed to work with proprietary EC if I am correct. @mkopec please confirm.

To flash the proprietary EC, the flashrom with ite_ec programmer is the way to go.

mkopec commented 1 month ago

dasharo_ectool is not supposed to work with proprietary EC if I am correct.

Correct, when proprietary EC is installed, flashrom ite_ec must be used.