Commit Graph

6 Commits

Author SHA1 Message Date
Jeremy Soller
25a60568d0 Add print command 2020-03-14 21:13:07 -06:00
Jeremy Soller
68b9acd249 Add ability to flash backup rom 2020-02-26 13:43:31 -07:00
Jeremy Soller
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
Jeremy Soller
369a695bd9 Add timeout macro to simplify timeout logic 2020-02-20 21:09:10 -07:00
Jeremy Soller
346775b941 Fix ectool command_finish 2020-02-20 15:01:40 -07:00
Jeremy Soller
08490002b9 Add tool (WIP) 2020-02-20 14:20:16 -07:00