Commit Graph

15 Commits

Author SHA1 Message Date
e2c6fd7b82 ectool 0.1.1 2020-02-27 15:07:16 -07:00
ff01da5f12 Write and erase at the same time to improve speed 2020-02-27 15:05:28 -07:00
d1468da590 Use 1024 byte erase 2020-02-27 14:48:24 -07:00
33cc2a2a76 Better output when flashing EC 2020-02-27 14:46:32 -07:00
6ac21ace9c Set spi target to main 2020-02-27 13:30:33 -07:00
e8dd295daa Parameterize flash_inner 2020-02-27 13:21:59 -07:00
68b9acd249 Add ability to flash backup rom 2020-02-26 13:43:31 -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
f1cf00bdb8 Do not spin in scratch PMC handling 2020-02-24 14:08:16 -07:00
8d0bab01f7 Add more subcommands to tool 2020-02-24 13:42:00 -07:00
d511a57bff Add firmware struct to tool 2020-02-24 10:23:36 -07:00
369a695bd9 Add timeout macro to simplify timeout logic 2020-02-20 21:09:10 -07:00
85e7225e95 License tool as MIT to allow use in firmware-update 2020-02-20 15:26:59 -07:00
346775b941 Fix ectool command_finish 2020-02-20 15:01:40 -07:00
08490002b9 Add tool (WIP) 2020-02-20 14:20:16 -07:00