Commit Graph

8 Commits

Author SHA1 Message Date
70c8678a5f tool: Add error for write locked
Add a new error for the case of trying to flash when security is enabled
and it is still locked and update the related docs.

Signed-off-by: Tim Crawford <tcrawford@system76.com>
2024-07-15 11:49:32 -06:00
3e154d7f00 Add missing SPDX identifiers 2021-02-22 14:02:18 -07:00
504284bf72 tool: Move read_debug to trait so generic code can use it
Returns error for backends that don't support it.
2021-02-22 08:08:49 -07:00
802bf417cc tool: Use From<T> for slightly neater error handling 2020-12-08 13:46:35 -07:00
726a0e0837 ectool version 0.2.1:
- Add hidapi feature
- Add redox_hwio feature
- Add feature documentation
2020-10-02 09:05:25 -07:00
eff4caa752 Refactor SMFI interface and ectool 2020-10-01 19:35:34 -07:00
657437e1ce Faster flashing with SMFI (#32)
* WIP: support for new flashing API

* Add SPI flashing support to tool

* Add timeouts when flashing with ectool

* Test SPI reading

* Use chunks for SPI commands

* Sanity test of flash size

* Read rom in sectors

* Relocate memmap region, remove PMC3

* Use ectool to flash

* Remove debugging of spi command

* Fix flashing over smfi
2020-02-26 09:04:40 -07:00
08490002b9 Add tool (WIP) 2020-02-20 14:20:16 -07:00