summaryrefslogtreecommitdiffstats
path: root/utils/hwstub/hwstub_protocol.h
AgeCommit message (Collapse)AuthorFilesLines
2014-05-11qeditor: add support for deletion of itemsAmaury Pouly1-0/+4
Change-Id: I886e15585bd3bfed3303e4b845cd8960a9461277
2014-04-12hwstub: add proper PP supportAmaury Pouly1-0/+10
- drop support for PP500x: it's very different from other PP and although it would be possible to support them, I don't have one to test the code - make sure only the CPU is started - add PP descriptor to report chip ID and revision - add code in shell and lua to support pp (no register description yet) - compile for ARMv4 because PP502x is an ARM7TDMI Change-Id: I36c4e465dfc2cfdfe7433b2f65cc8f6f0720fe62
2014-04-12hwstub: fix error in config descriptor, cleanup some codeAmaury Pouly1-1/+1
Change-Id: I853340ed2c187a044726ca03ec52aed655707e27
2014-04-07Add hwstub support for portal player (manufacturer mode)Amaury Pouly1-0/+1
It is very similar to how e200tool from MrH works but uses the framework of hwstub which is makes it completely trivial since we already have the USB driver written. Change-Id: I61cdc245d3f828c2682bcd6ecfed5a1cc0094139
2014-02-10utils/hwstub: completely rework the protocol, drop unused featuresAmaury Pouly1-72/+48
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
2013-11-24hwstub rk27xx portMarcin Bukat1-0/+1
Change-Id: I85ac57117911544b65ccd56eb16303e30be67cab
2013-07-16hwstub: enhance exit protocol and implement on stmpAmaury Pouly1-10/+22
Rename STOP command to EXIT, introduce ATEXIT, this gives better control over the exit of the stub. Add stmp implementation. Change-Id: I45442c8b88b9330d12ef439417ca5ffa1520477a
2013-07-13hwstub: enhance protocol with more functionsAmaury Pouly1-15/+26
Change-Id: I7944249c2f7ea3e180e7b79ee8ae402d1d0742d3
2013-06-13hwstub: major improvement in the stub and the toolsAmaury Pouly1-0/+129
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