summaryrefslogtreecommitdiff
path: root/utils (follow)
Commit message (Collapse)AuthorAge
...
* qeditor: implement usb device list refresh (if supported)Amaury Pouly2014-09-19
| | | | | | Change-Id: Iaf05cad0e057f767dcde963d194027b2e290dbea Reviewed-on: http://gerrit.rockbox.org/978 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: fix UI to update register/analyser view on each tree/list clickAmaury Pouly2014-09-19
| | | | | | Change-Id: Idaceb7ffaf33c2184a43353dd9d7dee20ac807a9 Reviewed-on: http://gerrit.rockbox.org/972 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: fix horrible out of bound bugAmaury Pouly2014-09-19
| | | | | | Change-Id: I1b34b1cd7be83d90e38559e386d0c6c64797b707 Reviewed-on: http://gerrit.rockbox.org/977 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: when switching type tab, automagically switch view, implement reloadAmaury Pouly2014-09-19
| | | | | | Change-Id: I7360af3b5dd7380151732687d6d8de3dbd503f20 Reviewed-on: http://gerrit.rockbox.org/976 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: avoid memory leak in RegTabAmaury Pouly2014-09-19
| | | | | | Change-Id: Ib7cd87b66c0ceb3d3ff93714709a43e2a97ce79a Reviewed-on: http://gerrit.rockbox.org/975 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: move backend selector to its own class, that's cleanerAmaury Pouly2014-09-19
| | | | | | Change-Id: I7f3fa66a8f67639b4b64cf9f6acc5fb10e227653 Reviewed-on: http://gerrit.rockbox.org/974 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: initialise libusb once in a static ctorAmaury Pouly2014-09-19
| | | | | | Change-Id: Ic93def2b3633c498c9863b0dada3281853be8c6c Reviewed-on: http://gerrit.rockbox.org/973 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* regtoools: Enhance rk27xx description fileMarcin Bukat2014-09-18
| | | | Change-Id: If37551757188d98bcb27f7f469c11cf89bf64f62
* regtools/soc_desc: fix libxml2 misinitAmaury Pouly2014-09-16
| | | | | | | | | | The code did not call xmlInitParser() and would call xmlCleanupParser() each time which is doubly wrong because 1) it's not init 2) all init/cleanup must be done from the main thread. To ensure 2), call it from a static ctor. Change-Id: I3d191bf3b8c0cfc51da78157e88c786636fd3ebf Reviewed-on: http://gerrit.rockbox.org/966 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* rk27xx: Fill UDC block description in regs-rk27xx.xmlMarcin Bukat2014-09-15
| | | | Change-Id: Ia44169bda8f1558c1cbd4c8c0d2d3aaee262c991
* hwstub: small fixup in rk27xx usb driverMarcin Bukat2014-09-11
| | | | Change-Id: Ibf3b91af11041834ce650f663b213bac0113f721
* hwstub: add support for jump/call in libraryAmaury Pouly2014-09-08
| | | | Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
* hwstub: implement jump/call in stubAmaury Pouly2014-09-08
| | | | Change-Id: I876fa012c5ae1509e57f5816a8ed31dc69d62ca0
* hwstub: trivial changesAmaury Pouly2014-09-08
| | | | Change-Id: Iacb1721db1ae59d5f359d244fd68234915e611cf
* sbtools: add option to ignore sha1 errorsAmaury Pouly2014-09-07
| | | | Change-Id: I6bf9e4671e57f8ff3f436660e8ecb561027a036c
* hwstub: fix compile issueAmaury Pouly2014-09-07
| | | | Change-Id: I939c05d3c1319b122fe64bff0f0ea300ecbd1180
* qeditor: add soc panel, to display soc informationAmaury Pouly2014-09-07
| | | | Change-Id: Ie442b82d96fb150c7466f1a274240f9b111fd91e
* qeditor: use hwstub library function to identify devicesAmaury Pouly2014-09-07
| | | | | | The new protocol is interface based, so matching PID:VID is not sufficient Change-Id: I27983a9c3b7db01b8e63b41e885f86d09c362f60
* hwstub: library now check version on openAmaury Pouly2014-09-07
| | | | Change-Id: I672a882ad06780da93c1d811af2b28ff60d07469
* hwstub: add string versionAmaury Pouly2014-09-07
| | | | Change-Id: I919c27eb7ea69fdac7b3a65785a5a6eb3723a80e
* hwstub_shell: add support for set/clr/tog without SCT using read and writeAmaury Pouly2014-09-07
| | | | Change-Id: Ib0a5123e5cc51ee193ef761c36af63467740c670
* hwstub: fix missing \nAmaury Pouly2014-09-07
| | | | Change-Id: I077a38d8a8905b7ad686d0d00b2a8a48bd206ade
* hwstub: fix horrible bugAmaury Pouly2014-09-07
| | | | Change-Id: I8042f692045a23dbb545d840e5169ce4b99fe5d2
* hwstub: don't put revision in the protocol, it's specific to the implementationAmaury Pouly2014-09-07
| | | | Change-Id: I1311a22da41fe977f1613f1e313a864baa03027c
* hwstub: fix library to actually work and compile, still miss some functionsAmaury Pouly2014-09-07
| | | | Change-Id: I968dafb4dca7d674165a43e3a435762fe38ed37f
* hwstub: remove protocol to make it use its own interfaceAmaury Pouly2014-09-07
| | | | | | This way, hwstub can be implemented along with other usb features/interfaces. Change-Id: I7148cab845049cc0a8b8e740fa0d52d3a385eaed
* sbtools: use default transfer size if it cannot be probedAmaury Pouly2014-09-07
| | | | | | | | A older commit removed this ability but it tends to be a problem since the HID driver can prevent probing of transfer size which then needs to be entered by hand on the command line. Change-Id: Ie5a556ffdcc2adec0e1c984810983e19136b6473
* hwpatcher: add generic RKW file patching scriptMarcin Bukat2014-09-02
| | | | | | | | This script is handy hacking tool to patch RKW file with arbitrary binary and put jump into implanted code. It also shows how to use hwstub crc routine. Change-Id: I89b5086dc1ddaca3dbc03df26a85472d8a20d51e
* hwpatcher: add framework for CRC computationAmaury Pouly2014-08-26
| | | | | | Change-Id: Ib78f0fe58db5cec86f043d3e9e1ca14e69297ba0 Reviewed-on: http://gerrit.rockbox.org/911 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com>
* hwpatcher: fix horrible typo in the makefileAmaury Pouly2014-08-13
| | | | Change-Id: I6e8d8ae3a5f6e1111a6b7d910a1a6b94e2733ca6
* rkwtool: The tool to inspect and extract update RKW filesMarcin Bukat2014-08-07
| | | | Change-Id: Ie32d0a597b93d23a7d5946a3d9409572b41b45bc
* rk27load: stage1 dram config fix #2Marcin Bukat2014-07-23
| | | | Change-Id: I5c4cf3dedab26e4cae05496bcae3a2d235d12e2f
* rk27load: fix stage1 dram config bugMarcin Bukat2014-07-23
| | | | Change-Id: I03d44dbd05fcd5dfc0e508020fae7006d8a97505
* Remove empty filesAmaury Pouly2014-06-25
| | | | Change-Id: I44a4a90cddba7d0aed4d5f06934848690d0d32f4
* Introduce hwpatcher, a tool to patch binariesAmaury Pouly2014-06-24
| | | | | | | | | | | | | | | | | | | This tool is a scriptable (lua) tool to patch binaries, it supports: - raw binary - ELF - SB(v1/v2) It also contains some basic routines to parse and generate useful arm/thumb code like jump or register load/store. This is very useful to take a firmware and patch an interrupt vector or some code to jump to an extra payload added to the binary. Examples are provided for several STMP based target which the payload is expected to be hwstub, and also for the Sansa View. A typical patcher usually requires three elements: - the lua patcher itself - the payload (hwstub for example) - (optional) a small stub either to jump properly to the payload or determine under which circumstance to do the jump (hold a key for example) Change-Id: I6d36020a3bc9e636615ac8221b7591ade5f251e3
* hwstub: load rk27xx specific bitsMarcin Bukat2014-06-15
| | | | Change-Id: Ie0c68925f933aebeb9b3497800a29de2d69fead2
* hwstub: Add support for rk27xx lradc blockMarcin Bukat2014-06-15
| | | | Change-Id: I8fe15ad8207ac7098944bb85d6b66b91b9858e8f
* Rework reg description file for rk27xxMarcin Bukat2014-06-15
| | | | Change-Id: I3fc1c6c70c828dca285479eaa168328a2a8fdf2c
* Add RKW build target in rk27xx hwstubMarcin Bukat2014-06-15
| | | | Change-Id: I5ad44916bc1ac5e8a9384db2369f07b137a1a715
* hwstub: fix usb driver for rk27xxMarcin Bukat2014-06-15
| | | | Change-Id: I299e76837715c320987177eaea8459f8f199cb96
* regtools: add new reg dumps from various targetsAmaury Pouly2014-05-25
| | | | Change-Id: I289f03a8404c6aa8ec2ff94a8a0a3118fd3c7456
* qeditor: on Windows it’s not impossible to create a file with AUXDmitry Gamza2014-05-12
| | | | | | Change-Id: Ic7ef01328eccbed4afddb0a09d2afbb6c1f6a28f Reviewed-on: http://gerrit.rockbox.org/811 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
* qeditor: many enhancementAmaury Pouly2014-05-11
| | | | | | | | | | Qeditor has been improved in many ways: - it can now dump all registers, just like the lua DUMPER.dump_all() command - several crash were fixed - when connected to a hwstub command, one can correctly edit individual fields - the code was simplified in several places Change-Id: I092b99ce3a12ff6417552de61d62c65f706bcff0
* regtools: headergen can now output the description in the headersAmaury Pouly2014-05-11
| | | | | | This is useful to provide some documentation in the code. Change-Id: Ib440363d82c47c36fffb9567a2e7f374eaaa5cbc
* regtools: make qeditor aware of PPAmaury Pouly2014-05-11
| | | | Change-Id: I3b4fa625499aa66bb5617971445fa3c1c209134e
* hwstub: add some PP and Sansa View codeAmaury Pouly2014-05-11
| | | | Change-Id: If188a01adee2a0e1c7a46c424a0a9cde9f666831
* hwstub: hwstub_shell can now run files/cmd provides on command lineAmaury Pouly2014-05-11
| | | | Change-Id: Id5cb3bee52b39e2ddec95c646ca9b4a3334bdf92
* qeditor: add support for deletion of itemsAmaury Pouly2014-05-11
| | | | Change-Id: I886e15585bd3bfed3303e4b845cd8960a9461277
* qeditor: fix includeAmaury Pouly2014-05-11
| | | | Change-Id: Ie6013be29729267294c13fd4e86edad3904aa114
* hwstub: fix hwstub_shellAmaury Pouly2014-05-11
| | | | Change-Id: I008a55675054c86fd206cc5248f2bd9475e80b49