<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/hwstub/tools/hwstub_load.cpp, branch wolf3d</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<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: implement EXEC command over net</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-02T14:37:30+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a36694eb4a1905ec45593ceff2fc20d7eff7c8d8'/>
<id>a36694eb4a1905ec45593ceff2fc20d7eff7c8d8</id>
<content type='text'>
Apparently I completely forgot to implement it so using hwstub over net would
just fail all EXEC commands :-s

Change-Id: I0d0506cbbce9b86c9a4f19036dacc922d1e51338
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Apparently I completely forgot to implement it so using hwstub over net would
just fail all EXEC commands :-s

Change-Id: I0d0506cbbce9b86c9a4f19036dacc922d1e51338
</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: port hwstub_load to the new library</title>
<updated>2016-04-08T17:37:59+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2016-02-07T21:45:29+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=a2f4c5201d78b9f351834b0512623eeac622280f'/>
<id>a2f4c5201d78b9f351834b0512623eeac622280f</id>
<content type='text'>
Change-Id: I7e8ae50907401a9480a0da809a4470f1728d3a57
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I7e8ae50907401a9480a0da809a4470f1728d3a57
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: trivial changes</title>
<updated>2014-09-08T08:50:48+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-09-08T08:50:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6cc057f180acfa90d673f03709801388ec415dee'/>
<id>6cc057f180acfa90d673f03709801388ec415dee</id>
<content type='text'>
Change-Id: Iacb1721db1ae59d5f359d244fd68234915e611cf
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iacb1721db1ae59d5f359d244fd68234915e611cf
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: fix compile issue</title>
<updated>2014-09-07T15:46:53+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-09-07T10:11:43+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=6957966c861498861008b27349dfbe209973a02f'/>
<id>6957966c861498861008b27349dfbe209973a02f</id>
<content type='text'>
Change-Id: I939c05d3c1319b122fe64bff0f0ea300ecbd1180
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I939c05d3c1319b122fe64bff0f0ea300ecbd1180
</pre>
</div>
</content>
</entry>
<entry>
<title>utils/hwstub: completely rework the protocol, drop unused features</title>
<updated>2014-02-10T22:14:24+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-02-03T23:10:41+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=c17d30f20466861a244c603665c580feb7758abf'/>
<id>c17d30f20466861a244c603665c580feb7758abf</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>utils/hwstub: fix zen target id</title>
<updated>2013-10-21T22:35:32+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-10-21T22:35:32+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=cec5ac7bf7d7edb7768db3f222bc30bb9ba623c1'/>
<id>cec5ac7bf7d7edb7768db3f222bc30bb9ba623c1</id>
<content type='text'>
Change-Id: I9199f573a050223a811a8e82e403f113fb876cca
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I9199f573a050223a811a8e82e403f113fb876cca
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: major improvement in the stub and the tools</title>
<updated>2013-06-13T00:25:15+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-06-13T00:02:53+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=c5357940ab0108b4102442d07825c44d5be0d22f'/>
<id>c5357940ab0108b4102442d07825c44d5be0d22f</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
</feed>
