summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/lua/load.lua (unfollow)
Commit message (Collapse)Author
2016-04-08hwstub: port hwstub_shell to the new libraryAmaury Pouly
Also use this opportunity to cleanup support for multiple devices: the shell now supports dynamic changes in the device and will call init() everytime a new device is selected, to prepare a new environment. The shell now honors register width on register read/write. The shell also provides access to variants as follows by creating a subtable under the register using the variant type in UPPER case and having the same layout as a register. For example if register HW.GPIO.DIR has variants "set" and "clr", those can be used like this: HW.GPIO.DIR.SET.write(0xff) HW.GPIO.DIR.CLR.write(0xff00) Change-Id: I943947fa98bce875de0cba4338e8b7196a4c1165
2014-11-28hwstub_shell: add support for call and jumpMarcin Bukat
Change-Id: Ie09d0db21831b79255da858bada7382a08ff4eef Reviewed-on: http://gerrit.rockbox.org/1052 Reviewed-by: Marcin Bukat <marcin.bukat@gmail.com> Tested: Marcin Bukat <marcin.bukat@gmail.com>
2014-11-15hwstub_shell: add atj targetAmaury Pouly
Change-Id: I566694f19dfb110dbf245be7b7f139a4c616e16b Reviewed-on: http://gerrit.rockbox.org/1041 Reviewed-by: Amaury Pouly <amaury.pouly@gmail.com>
2014-06-15hwstub: load rk27xx specific bitsMarcin Bukat
Change-Id: Ie0c68925f933aebeb9b3497800a29de2d69fead2
2014-04-12hwstub: add proper PP supportAmaury Pouly
- 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
2013-11-24hwstub rk27xx portMarcin Bukat
Change-Id: I85ac57117911544b65ccd56eb16303e30be67cab
2013-11-20hwstub: only load stmp files on stmp targetsAmaury Pouly
Change-Id: I9266ec6db457b1d649cbdcb6c9bd1d0f3223b867
2013-08-11hwstub: add stmp clkctrl code and generic register dumperAmaury Pouly
Change-Id: I432853fb4171f07ed23b73dc0499814fe8ce8748
2013-06-13hwstub: introduce lua code for the STMP and Creative ZEN V/MozaicAmaury Pouly
Change-Id: Ice5f509a2e0d2114436d4760f338b9203ef96691