| 267abc62 | 10-Dec-2014 |
Rob Herring <robh@kernel.org> |
fastboot: add support for continue command
The fastboot continue command is defined to exit fastboot and continue autoboot. This commit implements the continue command and the exiting of fastboot on
fastboot: add support for continue command
The fastboot continue command is defined to exit fastboot and continue autoboot. This commit implements the continue command and the exiting of fastboot only. Subsequent u-boot commands can be processed after exiting fastboot. Autoboot should implement a boot script such as "fastboot; mmc read <...>; bootm" to fully implement the fastboot continue function.
Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Lukasz Majewski <l.majewski@samsung.com> [TestHW: Exynos4412-Trats2]
show more ...
|
| fe1b28c9 | 10-Dec-2014 |
Rob Herring <robh@kernel.org> |
usb, g_dnl: generalize DFU detach functions
In order to add detach functions for fastboot, make the DFU detach related functions common so they can be shared.
Signed-off-by: Rob Herring <robh@kerne
usb, g_dnl: generalize DFU detach functions
In order to add detach functions for fastboot, make the DFU detach related functions common so they can be shared.
Signed-off-by: Rob Herring <robh@kernel.org> Tested-by: Lukasz Majewski <l.majewski@samsung.com> [TestHW: Exynos4412-Trats2]
show more ...
|
| 481a11c5 | 04-Nov-2014 |
Marek Vasut <marex@denx.de> |
usb: s3c-otg: Allow custom gusbcfg
Allow passing in a custom configuration of the gusbcfg register via platform data.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com
usb: s3c-otg: Allow custom gusbcfg
Allow passing in a custom configuration of the gusbcfg register via platform data.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Acked-by: Pavel Machek <pavel@denx.de> Cc: Stefan Roese <sr@denx.de> Reviewed-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| 40ff06b9 | 04-Nov-2014 |
Marek Vasut <marex@denx.de> |
usb: s3c-otg: Encapsulate PHY control
Encapsulate the Samsung PHY control and its register accesses into the otg_phy_init() and otg_phy_off() functions.
Signed-off-by: Marek Vasut <marex@denx.de> C
usb: s3c-otg: Encapsulate PHY control
Encapsulate the Samsung PHY control and its register accesses into the otg_phy_init() and otg_phy_off() functions.
Signed-off-by: Marek Vasut <marex@denx.de> Cc: Chin Liang See <clsee@altera.com> Cc: Dinh Nguyen <dinguyen@opensource.altera.com> Cc: Vince Bridgers <vbridger@altera.com> Cc: Stefan Roese <sr@denx.de> Acked-by: Pavel Machek <pavel@denx.de> Acked-by: Lukasz Majewski <l.majewski@samsung.com> Tested-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|
| e2140588 | 01-Oct-2014 |
Eric Nelson <eric.nelson@boundarydevices.com> |
usb: gadget: fastboot: terminate commands with NULL
Without NULL termination, various commands will read past the end of input. In particular, this was noticed with error() calls in cb_getvar and si
usb: gadget: fastboot: terminate commands with NULL
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 <eric.nelson@boundarydevices.com>
show more ...
|
| 84c24f66 | 30-Sep-2014 |
Eric Nelson <eric.nelson@boundarydevices.com> |
usb: gadget: fastboot: explicitly set radix of maximum download size
The processing of the max-download-size variable requires a radix specifier, or the fastboot host tool will interpret it as an oc
usb: gadget: fastboot: explicitly set radix of maximum download size
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 <eric.nelson@boundarydevices.com>
show more ...
|
| c674a666 | 30-Sep-2014 |
Eric Nelson <eric.nelson@boundarydevices.com> |
usb: gadget: fastboot: add max-download-size variable
Current Android Fastboot seems to use 'max-download-size' instead of 'downloadsize' variable to indicate the maximum size of sparse segments.
S
usb: gadget: fastboot: add max-download-size variable
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 <eric.nelson@boundarydevices.com>
show more ...
|
| e2067993 | 29-Sep-2014 |
Eric Nelson <eric.nelson@boundarydevices.com> |
usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED
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
usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED
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 <eric.nelson@boundarydevices.com>
show more ...
|
| 23d1d10c | 19-Sep-2014 |
Bo Shen <voice.shen@atmel.com> |
usb: gadget: fastboot: improve download progress bar
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
usb: gadget: fastboot: improve download progress bar
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 <voice.shen@atmel.com> Acked-by: Marek Vasut <marex@denx.de>
show more ...
|
| f9935c87 | 20-Sep-2014 |
Eric Nelson <eric.nelson@boundarydevices.com> |
usb: f_mass_storage: set removable flag in do_inquiry based on LUN
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 acc
usb: f_mass_storage: set removable flag in do_inquiry based on LUN
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 <eric.nelson@boundarydevices.com>
show more ...
|
| 9f3b8ed1 | 10-Sep-2014 |
Heiko Schocher <hs@denx.de> |
usb: dfu: add fullspeed support for DFU
DFU now can use also fullspeed.
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek
usb: dfu: add fullspeed support for DFU
DFU now can use also fullspeed.
Signed-off-by: Heiko Schocher <hs@denx.de> Cc: Tom Rini <trini@ti.com> Cc: Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de> Cc: Liu Bin <b-liu@ti.com> Cc: Lukas Stockmann <lukas.stockmann@siemens.com>
show more ...
|
| 06fa91cd | 27-Aug-2014 |
Bo Shen <voice.shen@atmel.com> |
USB: gadget: s3c: get rid of debug compile warning
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. --->8--- warning: 'flags' is used uni
USB: gadget: s3c: get rid of debug compile warning
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. --->8--- warning: 'flags' is used uninitialized in this function [-Wuninitialized] ---8<---
Signed-off-by: Bo Shen <voice.shen@atmel.com>
show more ...
|
| f9abd4b4 | 27-Aug-2014 |
Bo Shen <voice.shen@atmel.com> |
USB: gadget: atmel: get rid of debug compile warning
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. --->8--- warning: 'flags' is used u
USB: gadget: atmel: get rid of debug compile warning
When enable debug option to compile, it will give the following warning, this patch is used to get rid of it. --->8--- warning: 'flags' is used uninitialized in this function [-Wuninitialized] ---8<---
Signed-off-by: Bo Shen <voice.shen@atmel.com>
show more ...
|
| 842ef9a9 | 25-Aug-2014 |
Stephen Warren <swarren@nvidia.com> |
usb: ci_udc: implement dfu_usb_get_reset
This allows the USB code to determine whether a USB bus reset was issued, which in turn allows the code to differentiate between a detach (return to shell pr
usb: ci_udc: implement dfu_usb_get_reset
This allows the USB code to determine whether a USB bus reset was issued, which in turn allows the code to differentiate between a detach (return to shell prompt) and a board reset/reboot request.
Signed-off-by: Stephen Warren <swarren@nvidia.com>
show more ...
|
| f2ec4e34 | 25-Aug-2014 |
Lukasz Majewski <l.majewski@samsung.com> |
udc: dfu: s3c_udc: Provide function to check if USB reset was asserted
New dfu_usb_get_reset() method is necessary to distinct two different use cases of dfu-util program. This method checks if the
udc: dfu: s3c_udc: Provide function to check if USB reset was asserted
New dfu_usb_get_reset() method is necessary to distinct two different use cases of dfu-util program. This method checks if the USB bus reset has been really performed after DFU DETACH.
Without this function the previous DFU behavior is preserved.
Signed-off-by: Lukasz Majewski <l.majewski@samsung.com>
show more ...
|