<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/hwstub/tools/hwstub_shell.cpp, branch master</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>hwstub: be more quiet about register description loading failure</title>
<updated>2017-01-24T14:34:20+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-23T21:27:22+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a1d1832049146925400b57c4cd81b0739b674971'/>
<id>a1d1832049146925400b57c4cd81b0739b674971</id>
<content type='text'>
Change-Id: I0edbb838022b71485179edec7361a6c554a1ab11
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0edbb838022b71485179edec7361a6c554a1ab11
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: small fixes to argument processing and usage()</title>
<updated>2017-01-24T14:34:05+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2017-01-17T10:58:56+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=f4091be1d304b3ab996f7ac9f528e9a7fb9cf09b'/>
<id>f4091be1d304b3ab996f7ac9f528e9a7fb9cf09b</id>
<content type='text'>
Change-Id: I3daa5e0c3fa2e7eab6a3d75b4c8aa66254d72f3c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I3daa5e0c3fa2e7eab6a3d75b4c8aa66254d72f3c
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: add support for coprocessor operations</title>
<updated>2017-01-24T14:25:14+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-08-04T16:06:11+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8fabbb008c1a31c809a3d97f22351f141a2bd02d'/>
<id>8fabbb008c1a31c809a3d97f22351f141a2bd02d</id>
<content type='text'>
At the moment the stub only implement them for MIPS.

Change-Id: Ica835a0e9c70fa5675c3d655eae986e812a47de8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At the moment the stub only implement them for MIPS.

Change-Id: Ica835a0e9c70fa5675c3d655eae986e812a47de8
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: various cleanups</title>
<updated>2016-12-12T10:35:16+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-12-12T10:23:20+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=8e82839fe29c8f5d5180a0cd9e7561c0d74dfabe'/>
<id>8e82839fe29c8f5d5180a0cd9e7561c0d74dfabe</id>
<content type='text'>
- hwstub load now properly stops reading the log when the device returns a 0
  size buffer instead of STALLing
- add debug output option to hwstub_load
- correctly report transfered size on write error
- add some debug error message in usb code so that some errors can be diagnosed
  more easily
- add a batch mode to hwstub_shell to disable the interactive shell
- increase usb control timeout to 1sec, 100ms was really tight
- cap usb buffer size to ~4000 bytes because libusb has a hardwired limit of
  4096 bytes for control transfers

Change-Id: Id3200ab99ce70a7a3b09ce7faeaafa4a0fac64c7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- hwstub load now properly stops reading the log when the device returns a 0
  size buffer instead of STALLing
- add debug output option to hwstub_load
- correctly report transfered size on write error
- add some debug error message in usb code so that some errors can be diagnosed
  more easily
- add a batch mode to hwstub_shell to disable the interactive shell
- increase usb control timeout to 1sec, 100ms was really tight
- cap usb buffer size to ~4000 bytes because libusb has a hardwired limit of
  4096 bytes for control transfers

Change-Id: Id3200ab99ce70a7a3b09ce7faeaafa4a0fac64c7
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub/tools: fix compilation of shell against lua5.3</title>
<updated>2016-11-20T20:36:54+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-11-20T20:33:25+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ce966d3d280f8475f18ee6b01af5829d12918344'/>
<id>ce966d3d280f8475f18ee6b01af5829d12918344</id>
<content type='text'>
The unsigned function were deprecated and hidden begind a compat flag. Since
they will get removed in the next version, I simply reimplemented them, those
are mostly casts anyway.

Change-Id: Ie5db81d7c8589b1e5e9b45a2a4ed41919aa07387
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The unsigned function were deprecated and hidden begind a compat flag. Since
they will get removed in the next version, I simply reimplemented them, those
are mostly casts anyway.

Change-Id: Ie5db81d7c8589b1e5e9b45a2a4ed41919aa07387
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub_shell: fix a horrible bug</title>
<updated>2016-11-06T20:59:50+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-11-06T20:59:50+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=3b7e7cb535582542b1dbebd87348a0fbf4f344bb'/>
<id>3b7e7cb535582542b1dbebd87348a0fbf4f344bb</id>
<content type='text'>
Change-Id: I4ac259e6cd7b707ca725c6ba1c526f5aeed56b71
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I4ac259e6cd7b707ca725c6ba1c526f5aeed56b71
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: fix compile and linking ordering</title>
<updated>2016-10-22T13:55:33+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-10-22T13:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=fed083cf06628b8912e3a355ad2c7c671e208ce3'/>
<id>fed083cf06628b8912e3a355ad2c7c671e208ce3</id>
<content type='text'>
Change-Id: I0acd3db2f644f4521da715d4931315bdb7548eae
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I0acd3db2f644f4521da715d4931315bdb7548eae
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: port hwstub_shell to the new library</title>
<updated>2016-04-08T17:38:18+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-02-07T21:46:58+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=f6c61eb11a13f7a5141a980f56b9a14b3309c449'/>
<id>f6c61eb11a13f7a5141a980f56b9a14b3309c449</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>soc_desc: new version of the desc file format</title>
<updated>2015-09-11T14:40:19+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-12-14T10:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1cada1f8339d6b5f8506277f80e62aaef77ab774'/>
<id>1cada1f8339d6b5f8506277f80e62aaef77ab774</id>
<content type='text'>
Fix qeditor to use the old soc_desc_v1.
Port hwstub_shell to the new description format.

Change-Id: I9fefbff534bfaa5c3603bb3dd8307a2b76e88cfc
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix qeditor to use the old soc_desc_v1.
Port hwstub_shell to the new description format.

Change-Id: I9fefbff534bfaa5c3603bb3dd8307a2b76e88cfc
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: Add completion and some pretty printing to the shell</title>
<updated>2015-06-28T15:55:17+00:00</updated>
<author>
<name>Marcin Bukat</name>
<email>marcin.bukat@gmail.com</email>
</author>
<published>2015-06-28T15:51:43+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e70ea5d21ff1aca5b8c534da8f3a1ccadd330a2e'/>
<id>e70ea5d21ff1aca5b8c534da8f3a1ccadd330a2e</id>
<content type='text'>
This uses slightly hacked luaprompt to provide all the goodis.
See https://github.com/dpapavas/luaprompt for original.

Change-Id: Iedddb79abae5809299322bc215722dd928c35cca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This uses slightly hacked luaprompt to provide all the goodis.
See https://github.com/dpapavas/luaprompt for original.

Change-Id: Iedddb79abae5809299322bc215722dd928c35cca
</pre>
</div>
</content>
</entry>
</feed>
