<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/drivers/usb/gadget, branch v2014.10</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget?h=v2014.10</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/drivers/usb/gadget?h=v2014.10'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2014-10-06T19:07:44Z</updated>
<entry>
<title>usb: gadget: fastboot: terminate commands with NULL</title>
<updated>2014-10-06T19:07:44Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-10-01T21:30:56Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e2140588dd2f3e619f21d9575281b7c7ea771c09'/>
<id>urn:sha1:e2140588dd2f3e619f21d9575281b7c7ea771c09</id>
<content type='text'>
Without NULL termination, various commands will read past the
end of input. In particular, this was noticed with error()
calls in cb_getvar and simple_strtoul() in cb_download.

Since the download callback happens elsewhere, the 4k buffer
should always be sufficient to handle command arguments.

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: fastboot: explicitly set radix of maximum download size</title>
<updated>2014-10-06T12:50:44Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-09-30T19:05:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=84c24f66c2971f2a4149f60228bfc08f29ba9d30'/>
<id>urn:sha1:84c24f66c2971f2a4149f60228bfc08f29ba9d30</id>
<content type='text'>
The processing of the max-download-size variable requires a
radix specifier, or the fastboot host tool will interpret
it as an octal number.

See function get_target_sparse_limit() in file fastboot/fastboot.c
in the AOSP:
        https://android.googlesource.com/platform/system/core/+/master

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: fastboot: add max-download-size variable</title>
<updated>2014-10-06T12:50:44Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-09-30T19:05:40Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c674a6660e9934cf332bb007726997b1c3686bf1'/>
<id>urn:sha1:c674a6660e9934cf332bb007726997b1c3686bf1</id>
<content type='text'>
Current Android Fastboot seems to use 'max-download-size' instead
of 'downloadsize' variable to indicate the maximum size of sparse
segments.

See function get_target_sparse_limit() in file fastboot/fastboot.c
in the AOSP:
	 https://android.googlesource.com/platform/system/core/+/master

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED</title>
<updated>2014-10-06T12:50:44Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-09-29T01:35:14Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e206799370f77097a29577599960b7f123f61b8c'/>
<id>urn:sha1:e206799370f77097a29577599960b7f123f61b8c</id>
<content type='text'>
Force full-speed (12 Mbit/s) operation if CONFIG_USB_GADGET_DUALSPEED
is not defined.

The controller is capable of high-speed (480 Mbit/s) operation,
but some designs may require the use of lower-speed operation.

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: gadget: fastboot: improve download progress bar</title>
<updated>2014-10-06T12:50:43Z</updated>
<author>
<name>Bo Shen</name>
<email>voice.shen@atmel.com</email>
</author>
<published>2014-09-19T06:15:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=23d1d10c4248f1b9f838e512e7f18e600f06b348'/>
<id>urn:sha1:23d1d10c4248f1b9f838e512e7f18e600f06b348</id>
<content type='text'>
When download is ongoing, if the actual size of one transfer
is not the same as BYTES_PER_DOT, which will cause the dot
won't print anymore. Then it will let the user thinking it
is stuck, actually it is transfering without dot printed.

So, improve the method to show the progress bar (print dot).

Signed-off-by: Bo Shen &lt;voice.shen@atmel.com&gt;
Acked-by: Marek Vasut &lt;marex@denx.de&gt;
</content>
</entry>
<entry>
<title>usb: f_mass_storage: set removable flag in do_inquiry based on LUN</title>
<updated>2014-10-06T12:50:43Z</updated>
<author>
<name>Eric Nelson</name>
<email>eric.nelson@boundarydevices.com</email>
</author>
<published>2014-09-20T00:06:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=f9935c87b6c8e81ef8d621bd06d24a78eec8a821'/>
<id>urn:sha1:f9935c87b6c8e81ef8d621bd06d24a78eec8a821</id>
<content type='text'>
Without this flag, tools like Alex Page's USB Image Tool
won't see drives exposed over USB Gadget as removable,
and won't allow access to them.
	http://www.alexpage.de/usb-image-tool/

The code was pulled from the main-line kernel:
	drivers/usb/gadget/function/f_mass_storage.c

Signed-off-by: Eric Nelson &lt;eric.nelson@boundarydevices.com&gt;
</content>
</entry>
<entry>
<title>usb: dfu: add fullspeed support for DFU</title>
<updated>2014-10-06T12:50:43Z</updated>
<author>
<name>Heiko Schocher</name>
<email>hs@denx.de</email>
</author>
<published>2014-09-10T06:55:00Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=9f3b8ed14cef1e277f1362f121e16975bba2026f'/>
<id>urn:sha1:9f3b8ed14cef1e277f1362f121e16975bba2026f</id>
<content type='text'>
DFU now can use also fullspeed.

Signed-off-by: Heiko Schocher &lt;hs@denx.de&gt;
Cc: Tom Rini &lt;trini@ti.com&gt;
Cc: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
Cc: Marek Vasut &lt;marex@denx.de&gt;
Cc: Liu Bin &lt;b-liu@ti.com&gt;
Cc: Lukas Stockmann &lt;lukas.stockmann@siemens.com&gt;
</content>
</entry>
<entry>
<title>usb: dfu: thor: gadget: Remove dead code</title>
<updated>2014-10-06T12:50:43Z</updated>
<author>
<name>Lukasz Majewski</name>
<email>l.majewski@samsung.com</email>
</author>
<published>2014-09-11T13:26:10Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b9c99d32466b90aa2269eca99545f045a23266ab'/>
<id>urn:sha1:b9c99d32466b90aa2269eca99545f045a23266ab</id>
<content type='text'>
This code is not used anymore in the current DFU implementation and
can be safely removed.

Signed-off-by: Lukasz Majewski &lt;l.majewski@samsung.com&gt;
</content>
</entry>
<entry>
<title>cosmetic: replace MIN, MAX with min, max</title>
<updated>2014-09-24T22:30:29Z</updated>
<author>
<name>Masahiro Yamada</name>
<email>yamada.m@jp.panasonic.com</email>
</author>
<published>2014-09-18T04:28:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c79cba37b3b42cf8fbd71babcd8998867f76fead'/>
<id>urn:sha1:c79cba37b3b42cf8fbd71babcd8998867f76fead</id>
<content type='text'>
The macro MIN, MAX is defined as the aliase of min, max,
respectively.

Signed-off-by: Masahiro Yamada &lt;yamada.m@jp.panasonic.com&gt;
</content>
</entry>
<entry>
<title>usb/gadget: fastboot: minor cleanup</title>
<updated>2014-09-24T22:30:27Z</updated>
<author>
<name>Steve Rae</name>
<email>srae@broadcom.com</email>
</author>
<published>2014-08-26T18:47:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=593cbd93f33c38ca3ee9db34b5657a15d2437902'/>
<id>urn:sha1:593cbd93f33c38ca3ee9db34b5657a15d2437902</id>
<content type='text'>
- update static function
- additional debugging statements
- update "fastboot command" information
- add missing include file
- update spelling

Signed-off-by: Steve Rae &lt;srae@broadcom.com&gt;
</content>
</entry>
</feed>
