<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/utils/hwstub/lib, branch 2048sp5</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>hwstub/qeditor: add support for atomic read/writes</title>
<updated>2014-11-18T22:30:44+00:00</updated>
<author>
<name>Marcin Bukat</name>
<email>marcin.bukat@gmail.com</email>
</author>
<published>2014-11-18T22:27:26+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=cd04a5f1aadc8e2ec4e787f5ba4cc8c38a579314'/>
<id>cd04a5f1aadc8e2ec4e787f5ba4cc8c38a579314</id>
<content type='text'>
The current code assumed that READ/WRITE would produce atomic read/writes for
8/16/32-bit words, which in turned put assumption on the memcpy function.
Since some memcpy implementation do not always guarantee such strong assumption,
introduce two new operation READ/WRITE_ATOMIC which provide the necessary
tools to do correct read and write to register in a single memory access.

Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current code assumed that READ/WRITE would produce atomic read/writes for
8/16/32-bit words, which in turned put assumption on the memcpy function.
Since some memcpy implementation do not always guarantee such strong assumption,
introduce two new operation READ/WRITE_ATOMIC which provide the necessary
tools to do correct read and write to register in a single memory access.

Change-Id: I37451bd5057bb0dcaf5a800d8aef8791c792a090
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: add support for jump/call in library</title>
<updated>2014-09-08T09:12:54+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-09-08T09:12:54+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=847106cdb20a0297dc9a10f212f0e3c8e6f3d58c'/>
<id>847106cdb20a0297dc9a10f212f0e3c8e6f3d58c</id>
<content type='text'>
Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ia57ca613609a5e89e41ff927d7fc137c6841046a
</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: library now check version on open</title>
<updated>2014-09-07T15:46:27+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-08-09T16:35:57+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=ac5ba893d70ccec75d83f680cbc66041458f76ea'/>
<id>ac5ba893d70ccec75d83f680cbc66041458f76ea</id>
<content type='text'>
Change-Id: I672a882ad06780da93c1d811af2b28ff60d07469
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I672a882ad06780da93c1d811af2b28ff60d07469
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: fix library to actually work and compile, still miss some functions</title>
<updated>2014-09-07T15:45:21+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-08-04T18:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=43ca127ebfe9766c84a0456dbac5cafd5f4cb451'/>
<id>43ca127ebfe9766c84a0456dbac5cafd5f4cb451</id>
<content type='text'>
Change-Id: I968dafb4dca7d674165a43e3a435762fe38ed37f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I968dafb4dca7d674165a43e3a435762fe38ed37f
</pre>
</div>
</content>
</entry>
<entry>
<title>hwstub: remove protocol to make it use its own interface</title>
<updated>2014-09-07T15:45:10+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2014-05-25T14:06:31+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=12ce7fc2cce5531723ea7d141df80142891989d7'/>
<id>12ce7fc2cce5531723ea7d141df80142891989d7</id>
<content type='text'>
This way, hwstub can be implemented along with other usb features/interfaces.

Change-Id: I7148cab845049cc0a8b8e740fa0d52d3a385eaed
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This way, hwstub can be implemented along with other usb features/interfaces.

Change-Id: I7148cab845049cc0a8b8e740fa0d52d3a385eaed
</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>hwstub: enhance exit protocol and implement on stmp</title>
<updated>2013-07-16T17:29:42+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-07-16T17:29:42+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e5de5e09c1ca6788d155393af0d906a9402ea7bc'/>
<id>e5de5e09c1ca6788d155393af0d906a9402ea7bc</id>
<content type='text'>
Rename STOP command to EXIT, introduce ATEXIT, this gives better
control over the exit of the stub. Add stmp implementation.

Change-Id: I45442c8b88b9330d12ef439417ca5ffa1520477a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rename STOP command to EXIT, introduce ATEXIT, this gives better
control over the exit of the stub. Add stmp implementation.

Change-Id: I45442c8b88b9330d12ef439417ca5ffa1520477a
</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>
<entry>
<title>imxtools: move hwemul to its own directory</title>
<updated>2013-06-12T17:46:04+00:00</updated>
<author>
<name>Amaury Pouly</name>
<email>amaury.pouly@gmail.com</email>
</author>
<published>2013-06-12T17:46:04+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=11da9d23fe323ce452fcd04a10a0ddf78eaa63ea'/>
<id>11da9d23fe323ce452fcd04a10a0ddf78eaa63ea</id>
<content type='text'>
The hwemul is only partly imx specific: the stub is stmp specific
but could be ported to other targets, the computer side and the
protocol are mostly stmp independent (or should be).

Change-Id: If88febffe591b0de86ea11cb740455ba20ddc401
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The hwemul is only partly imx specific: the stub is stmp specific
but could be ported to other targets, the computer side and the
protocol are mostly stmp independent (or should be).

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