summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/hwstub_load.cpp (follow)
Commit message (Collapse)AuthorAge
* hwstub: port hwstub_load to the new libraryAmaury Pouly2016-04-08
| | | | Change-Id: I7e8ae50907401a9480a0da809a4470f1728d3a57
* hwstub: trivial changesAmaury Pouly2014-09-08
| | | | Change-Id: Iacb1721db1ae59d5f359d244fd68234915e611cf
* hwstub: fix compile issueAmaury Pouly2014-09-07
| | | | Change-Id: I939c05d3c1319b122fe64bff0f0ea300ecbd1180
* utils/hwstub: completely rework the protocol, drop unused featuresAmaury Pouly2014-02-10
| | | | | | | | | | | | | | | | | The protocol has evolved a lot during the 2.x.y lifetime, bringing more features which later got unused. This commit removes all the unused stuff and simplifies everything: - drop the feature mask: everything is mandatory or stalled on error - remove the info request and put all static information in standard USB descriptors which are part of the configuration descriptor (and can be retrieved using the standard GetDescriptor request). - remove the USB interface, we had only one anyway - remove all endpoint descriptors - remove the exit/atexit stuff, it never worked as intended anyway - update the hwstub library and make it able to handle any device - update the tools (mostly renaming and removing of code) Change-Id: I1872bba7f4177fc3891180e8f944aab88f5bde31
* utils/hwstub: fix zen target idAmaury Pouly2013-10-22
| | | | Change-Id: I9199f573a050223a811a8e82e403f113fb876cca
* hwstub: major improvement in the stub and the toolsAmaury Pouly2013-06-13
Fix the stub in many way to correctly detect the STMP family and act upon that. Drop some unused commands and bump version. Rewrite the tool to allows scripting in lua and load the register description from an XML file using the regtools. Introduce a new tool to load and run code using the hwstub (either binary format or Rockbox additive scramble format). Also switch to an optimise version of the memcpy/move/set functions to correctly handle alignement issue (like writing a full word/half-word when possible for registers which is crucial) Change-Id: Id1d5cfe0b1b47e8b43900d32c5cd6eafae6414f6