<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rockbox/firmware/usbstack, branch working</title>
<subtitle>My Rockbox tree</subtitle>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/'/>
<entry>
<title>Merge branch 'master' into working</title>
<updated>2016-11-06T23:26:48+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-11-06T23:26:48+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=284b250c3b7feeef0bf5b45879922b6d4d51803d'/>
<id>284b250c3b7feeef0bf5b45879922b6d4d51803d</id>
<content type='text'>
Change-Id: Iad54233a3575c0117f88ce7a1e89bfa639760f63
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iad54233a3575c0117f88ce7a1e89bfa639760f63
</pre>
</div>
</content>
</entry>
<entry>
<title>usb_serial: fix send buffer alignment</title>
<updated>2016-08-04T15:57:04+00:00</updated>
<author>
<name>Cástor Muñoz</name>
<email>cmvidal@gmail.com</email>
</author>
<published>2016-08-03T23:39:10+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e3c51e09d131ece29b3356cf9021065ecf7b84f3'/>
<id>e3c51e09d131ece29b3356cf9021065ecf7b84f3</id>
<content type='text'>
Change-Id: Ib2635c905462cd34befa3ca61e5d55c869686b48
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ib2635c905462cd34befa3ca61e5d55c869686b48
</pre>
</div>
</content>
</entry>
<entry>
<title>Introduce new USB driver for Synopsys DesignWare USB OTG core.</title>
<updated>2016-08-02T02:57:49+00:00</updated>
<author>
<name>Cástor Muñoz</name>
<email>cmvidal@gmail.com</email>
</author>
<published>2016-07-31T01:00:43+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=5e305d35c94199241f71a994cf6a691aec49688c'/>
<id>5e305d35c94199241f71a994cf6a691aec49688c</id>
<content type='text'>
Based on g#844 and g#949, it is intended as a replacement for the
current s3c6400x USB driver.

The DesignWare USB OTG core is integrated into many SoC's, however
HW core version and capabilities (mainly DMA mode, Tx FIFO mode,
FIFO size and number of available IN/OUT endpoins) may differ:

CPU       targets        HW ver  DMA  NPTX FIFO  FIFO sz  #IN/OUT
--------  -------------  ------  ---  ---------  -------  -------
as3525v2  sansaclipplus  2.60a   Yes  Dedicated  0x535    4/4
          sansaclipv2
          sansaclipzip
          sansafuzev2
s5l8701   ipodnano2g     2.20a   Yes  Shared     0x500    4/5
s5l8702   ipod6g         2.60a   Yes  Dedicated  0x820    7/7
          ipodnano3g
s5l8720   ipodnano4g     ?       ?    ?          ?        ?

Functionality supported by this driver:
- Device mode, compatible with USB 1.1/2.0 hosts.
- Shared FIFO (USB_DW_SHARED_FIFO) or dedicated FIFOs.
- No DMA (USB_DW_ARCH_SLAVE) or internal DMA mode.
- Concurrent transfers: control, bulk (usb_storage, usb_serial) and
  interrupt (usb_hid).

Actually this driver is not used by any CPU, it will be enabled for
each individual CPU/target in next patches.

Change-Id: I74a1e836d18927a31f6977d71115fb442477dd5f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on g#844 and g#949, it is intended as a replacement for the
current s3c6400x USB driver.

The DesignWare USB OTG core is integrated into many SoC's, however
HW core version and capabilities (mainly DMA mode, Tx FIFO mode,
FIFO size and number of available IN/OUT endpoins) may differ:

CPU       targets        HW ver  DMA  NPTX FIFO  FIFO sz  #IN/OUT
--------  -------------  ------  ---  ---------  -------  -------
as3525v2  sansaclipplus  2.60a   Yes  Dedicated  0x535    4/4
          sansaclipv2
          sansaclipzip
          sansafuzev2
s5l8701   ipodnano2g     2.20a   Yes  Shared     0x500    4/5
s5l8702   ipod6g         2.60a   Yes  Dedicated  0x820    7/7
          ipodnano3g
s5l8720   ipodnano4g     ?       ?    ?          ?        ?

Functionality supported by this driver:
- Device mode, compatible with USB 1.1/2.0 hosts.
- Shared FIFO (USB_DW_SHARED_FIFO) or dedicated FIFOs.
- No DMA (USB_DW_ARCH_SLAVE) or internal DMA mode.
- Concurrent transfers: control, bulk (usb_storage, usb_serial) and
  interrupt (usb_hid).

Actually this driver is not used by any CPU, it will be enabled for
each individual CPU/target in next patches.

Change-Id: I74a1e836d18927a31f6977d71115fb442477dd5f
</pre>
</div>
</content>
</entry>
<entry>
<title>[WIP] DuckyScript plugin</title>
<updated>2016-07-12T16:01:01+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2015-09-24T01:46:54+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=1b80b7ee4a5998784821e278f374c1363e95c7c1'/>
<id>1b80b7ee4a5998784821e278f374c1363e95c7c1</id>
<content type='text'>
Allows a DAP to behave like a USB Rubber Ducky by executing DuckyScript files,
which is a BASIC-like language with facilities for sending keystrokes.

A "crash course" on the language can be found at http://71.71.39.6/ducky.txt

This plugin also implements several extensions to vanilla DuckyScript, some of
which are listed below (see source for complete documentation).

 - variables (multicharacter names via hash map)
 - control flow (JUMP/GOTO, IF) with labels
 - expression parsing when a number is needed
 - non-decimal bases
 - bytecode compilation (on computer only)

The compiler and related tools can be found here:
https://github.com/theunamedguy/ducky

NOTE: Changes some entries in the HID usage tables, but doesn't break anything.

TODO:

 - Finish up manual entry
 - Further documentation?
 - More optimization?
 - Arrays (how?)
 - TEST, TEST, TEST!
   - Some features have only been marginally tested and MIGHT NOT WORK CORRECTLY
 - FASTER TYPING!!!
   - Currently averages ~96 keys/sec
   - Theoretical maximum: 500 keys/sec
   - Of interest: G#1223 (http://gerrit.rockbox.org/r/1223/)

Change-Id: I149ecd08ba124f8b8637a002ee2652dd54a44e58
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allows a DAP to behave like a USB Rubber Ducky by executing DuckyScript files,
which is a BASIC-like language with facilities for sending keystrokes.

A "crash course" on the language can be found at http://71.71.39.6/ducky.txt

This plugin also implements several extensions to vanilla DuckyScript, some of
which are listed below (see source for complete documentation).

 - variables (multicharacter names via hash map)
 - control flow (JUMP/GOTO, IF) with labels
 - expression parsing when a number is needed
 - non-decimal bases
 - bytecode compilation (on computer only)

The compiler and related tools can be found here:
https://github.com/theunamedguy/ducky

NOTE: Changes some entries in the HID usage tables, but doesn't break anything.

TODO:

 - Finish up manual entry
 - Further documentation?
 - More optimization?
 - Arrays (how?)
 - TEST, TEST, TEST!
   - Some features have only been marginally tested and MIGHT NOT WORK CORRECTLY
 - FASTER TYPING!!!
   - Currently averages ~96 keys/sec
   - Theoretical maximum: 500 keys/sec
   - Of interest: G#1223 (http://gerrit.rockbox.org/r/1223/)

Change-Id: I149ecd08ba124f8b8637a002ee2652dd54a44e58
</pre>
</div>
</content>
</entry>
<entry>
<title>support static passwords, hardware-accelerated AES, SHA1</title>
<updated>2016-07-09T19:09:52+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-07-09T19:09:16+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=5fc1b86d596778cf65c844eac2d36f607c870598'/>
<id>5fc1b86d596778cf65c844eac2d36f607c870598</id>
<content type='text'>
Change-Id: Iacb1ac768741f40a7b3ed39eb820bb228bbabd0a
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Iacb1ac768741f40a7b3ed39eb820bb228bbabd0a
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge commit 'refs/changes/24/1324/7' of git://git.rockbox.org/rockbox into working</title>
<updated>2016-07-09T02:07:33+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-07-09T02:07:33+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=2716c64cba0c0772ff9b0064a04710d999b95610'/>
<id>2716c64cba0c0772ff9b0064a04710d999b95610</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>usb-designware: New USB driver for Synopsys DesignWare USB OTG core.</title>
<updated>2016-07-07T22:24:46+00:00</updated>
<author>
<name>Cástor Muñoz</name>
<email>cmvidal@gmail.com</email>
</author>
<published>2016-05-27T20:12:27+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=993a819feacc97a7d15b4aacaf71ca9148204973'/>
<id>993a819feacc97a7d15b4aacaf71ca9148204973</id>
<content type='text'>
Patch Set 1:

This bundle includes:
- USBOTG_DESIGNWARE driver based on g#844 and g#949
- USBOTG_DESIGNWARE for s5l8702 (Classic)
- USBOTG_DESIGNWARE for s5l8701 (Nano2G)
- USBOTG_DESIGNWARE for as3525v2 (enabled on Sansa Zip Clip)
- ALIGNED_BUFFER_QUICK_PATCH (usb_serial.c)

Preliminary version, needs to adjust some things and rework to
optimize in size.

Tested on Linux (USB_STORAGE, USB_HID and USB_SERIAL).

Known issues:
- n2g: panics when USB is extracted and then re-inserted quickly. This
  only happens when "Error accessing playlist control file" is shown
  (RB bug?).

Patch Set 2:

- Enable USBOTG_DESIGNWARE for sansaclipplus, sansaclipv2 and sansafuzev2,
  these targets have never been tested.

- First round of optimizations, mainly tries to homogenize the names of
  the endpoints and other small changes, functionality should be the same
  as in the previous patch set.

Patch Set 3:

- Some rewrite/optimizations, functionality should be the same as in the
  previous patch set.

Patch Set 4:

- n2g: enable EPROTO workaround, EPROTO errors are produced while the
  device is receiving bulk data, they are highly mitigated running the
  PHY @60 MHz. but it seems that occasionally the problem still persists.
  This workaround tries to solve the issue by flushing the Rx FIFO/queue
  that were corrupted by the received data.

- Some minor miscellaneous changes, previous functionality should not be
  affected.

Patch Set 5:

- Changes in commit message.

Patch Set 6:

- Small rewrite/optimizacions including some minor changes, previous
  functionallity should not be affected.

- Add usb_drv_recv_blocking(), not tested.

Patch Set 7:

- Fix panics when USB is extracted and then re-inserted quickly
  ("usb_storage_init_connection(): OOM" panic on Nano2G and Classic).

Change-Id: Iecf21dacc458ba2bdfc93782d3e08b3acdf0720d
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch Set 1:

This bundle includes:
- USBOTG_DESIGNWARE driver based on g#844 and g#949
- USBOTG_DESIGNWARE for s5l8702 (Classic)
- USBOTG_DESIGNWARE for s5l8701 (Nano2G)
- USBOTG_DESIGNWARE for as3525v2 (enabled on Sansa Zip Clip)
- ALIGNED_BUFFER_QUICK_PATCH (usb_serial.c)

Preliminary version, needs to adjust some things and rework to
optimize in size.

Tested on Linux (USB_STORAGE, USB_HID and USB_SERIAL).

Known issues:
- n2g: panics when USB is extracted and then re-inserted quickly. This
  only happens when "Error accessing playlist control file" is shown
  (RB bug?).

Patch Set 2:

- Enable USBOTG_DESIGNWARE for sansaclipplus, sansaclipv2 and sansafuzev2,
  these targets have never been tested.

- First round of optimizations, mainly tries to homogenize the names of
  the endpoints and other small changes, functionality should be the same
  as in the previous patch set.

Patch Set 3:

- Some rewrite/optimizations, functionality should be the same as in the
  previous patch set.

Patch Set 4:

- n2g: enable EPROTO workaround, EPROTO errors are produced while the
  device is receiving bulk data, they are highly mitigated running the
  PHY @60 MHz. but it seems that occasionally the problem still persists.
  This workaround tries to solve the issue by flushing the Rx FIFO/queue
  that were corrupted by the received data.

- Some minor miscellaneous changes, previous functionality should not be
  affected.

Patch Set 5:

- Changes in commit message.

Patch Set 6:

- Small rewrite/optimizacions including some minor changes, previous
  functionallity should not be affected.

- Add usb_drv_recv_blocking(), not tested.

Patch Set 7:

- Fix panics when USB is extracted and then re-inserted quickly
  ("usb_storage_init_connection(): OOM" panic on Nano2G and Classic).

Change-Id: Iecf21dacc458ba2bdfc93782d3e08b3acdf0720d
</pre>
</div>
</content>
</entry>
<entry>
<title>fix</title>
<updated>2016-06-16T03:13:12+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-16T03:13:12+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=43d0ea6dd15cf5f31fe08c76947b686cc8ab77cb'/>
<id>43d0ea6dd15cf5f31fe08c76947b686cc8ab77cb</id>
<content type='text'>
Change-Id: I72d59bb654920b17b031c870f73e8209f9b0cb28
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I72d59bb654920b17b031c870f73e8209f9b0cb28
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'otp' into working</title>
<updated>2016-06-16T03:07:37+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-16T03:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=e8206cf46687c0a4fd8a7d125e148773b85fdef7'/>
<id>e8206cf46687c0a4fd8a7d125e148773b85fdef7</id>
<content type='text'>
Change-Id: Ieeaae330e8330189e87ee6726848178d0b9934e7
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: Ieeaae330e8330189e87ee6726848178d0b9934e7
</pre>
</div>
</content>
</entry>
<entry>
<title>OTP plugin: new features, cleanup</title>
<updated>2016-06-16T02:54:39+00:00</updated>
<author>
<name>Franklin Wei</name>
<email>frankhwei536@gmail.com</email>
</author>
<published>2016-06-13T21:51:47+00:00</published>
<link rel='alternate' type='text/html' href='https://www.franklinwei.com/cgit/rockbox/commit/?id=455001103c47b094234bafc909f63c7dac10c95a'/>
<id>455001103c47b094234bafc909f63c7dac10c95a</id>
<content type='text'>
* "Type Code" feature

* Export feature

* Encryption feature (AES128-CTR)

* Refactor menus

* Should be backwards-compatible with old versions

* Some code by Amaury Pouly

* Adds tiny-AES128-c to plugins/lib

* Security might need to be reviewed before merge

Change-Id: Ie333e429364124fda312e1da01730fe516adffa5
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* "Type Code" feature

* Export feature

* Encryption feature (AES128-CTR)

* Refactor menus

* Should be backwards-compatible with old versions

* Some code by Amaury Pouly

* Adds tiny-AES128-c to plugins/lib

* Security might need to be reviewed before merge

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