From: Sam Protsenko
Some UDC controllers may require buffer size to be aligned to
wMaxPacketSize. It's indicated by gadget->quirk_ep_out_aligned_size
field being set to "true" (in UDC driver code). In that case
rx_bytes_expected must be aligned to wMaxPacket size, otherwise stuck on
transaction w
From: Sam Protsenko
And also reformat defconfigs using "make savedefconfig" rule.
Signed-off-by: Sam Protsenko
---
configs/A13-OLinuXino_defconfig | 3 +++
configs/CHIP_defconfig| 3 +++
configs/Cubietruck_defconfig | 3 +++
configs/am335x_baltos_d
From: Sam Protsenko
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig | 1 +
configs/am43xx_evm_qspiboot_defconfig
From: Sam Protsenko
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig | 1 +
configs/am43xx_evm_qspiboot_defconfig
From: Sam Protsenko
While at it, remove obsolete CONFIG_USBDOWNLOAD_GADGET option from some
config headers. This is also probably fixes am335x_baltos board.
Signed-off-by: Sam Protsenko
---
configs/A13-OLinuXino_defconfig | 1 +
configs/CHIP_defconfig| 1 +
conf
From: Sam Protsenko
The description was borrowed from kernel. Definitions were added to
defconfig files in a way that "make savedefconfig" generates exactly
the same file as used defconfig.
Boards using 0 mA as CONFIG_USB_GADGET_VBUS_DRAW value were moved to use
2 mA (as minimal allowed by Kconf
From: Sam Protsenko
Description was borrowed from kernel dwc3 Kconfig.
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig
Hi All,
This patch series move next options to Kconfigs/defconfigs:
- CONFIG_USB_DWC3*
- CONFIG_USB_GADGET_VBUS_DRAW
- CONFIG_USB_GADGET_DUALSPEED
- CONFIG_USB_GADGET_DOWNLOAD
- CONFIG_G_DNL_*
All defconfig files were post-processed via "make savedefconfig" rule to keep
correct order of opt
From: Sam Protsenko
Move CONFIG_USB_GADGET_DUALSPEED option to Kconfig and
make all UDC controllers select USB_GADGET_DUALSPEED:
- add next options to Kconfig selecting USB_GADGET_DUALSPEED:
- USB_GADGET_ATMEL_USBA
- USB_GADGET_DWC2_OTG
- USB_DWC3
- CI_UDC
- make USB_MUSB_GADG
From: Sam Protsenko
The description was borrowed from kernel. Definitions were added to
defconfig files in a way that "make savedefconfig" generates exactly
the same file as used defconfig.
Boards using 0 mA as CONFIG_USB_GADGET_VBUS_DRAW value were moved to use
2 mA (as minimal allowed by Kconf
From: Sam Protsenko
While at it, remove obsolete CONFIG_USBDOWNLOAD_GADGET option from some
config headers. This is also probably fixes am335x_baltos board.
Signed-off-by: Sam Protsenko
---
configs/A13-OLinuXino_defconfig | 1 +
configs/CHIP_defconfig| 1 +
conf
From: Sam Protsenko
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig | 1 +
configs/am43xx_evm_qspiboot_defconfig
Hi All,
This patch series move next options to Kconfigs/defconfigs:
- CONFIG_USB_DWC3*
- CONFIG_USB_GADGET_VBUS_DRAW
- CONFIG_USB_GADGET_DUALSPEED (partially, only for DWC3 platforms for now)
- CONFIG_USB_GADGET_DOWNLOAD
- CONFIG_G_DNL_*
All defconfig files were post-processed via "make sav
From: Sam Protsenko
It's hard to migrate all configs to this option in one patch, as this
option should be selected by UDC controller options, and some of them
are not added to Kconfig yet. So let's first add this option to Kconfig
and then select it for all controllers one by one.
Signed-off-by
From: Sam Protsenko
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig | 1 +
configs/am43xx_evm_qspiboot_defconfig
From: Sam Protsenko
And also reformat defconfigs using "make savedefconfig" rule.
Signed-off-by: Sam Protsenko
---
configs/A13-OLinuXino_defconfig | 3 +++
configs/CHIP_defconfig| 3 +++
configs/Cubietruck_defconfig | 3 +++
configs/am335x_baltos_d
From: Sam Protsenko
Description was borrowed from kernel dwc3 Kconfig.
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_evm_defconfig | 1 +
configs/am43xx_evm_ethboot_defconfig
From: Sam Protsenko
The description was borrowed from kernel, but allowed range was changed
from 2..500 to 0..500, because some boards require this option to be 0.
Definitions were added to defconfig files in a way that
"make savedefconfig" generates exactly the same file as used defconfig.
Sig
From: Sam Protsenko
Also remove CONFIG_USB_GADGET_DUALSPEED from headers that use DWC3
controller, as this option is selected by CONFIG_USB_DWC3.
Signed-off-by: Sam Protsenko
---
configs/am437x_gp_evm_defconfig | 1 +
configs/am437x_sk_evm_defconfig | 1 +
configs/am43xx_ev
From: Sam Protsenko
"buildman" tool revealed that USB_GADGET was enabled by mistake for this
board in process of moving that option to Kconfig. Remove it to bring
things back to correct state.
Signed-off-by: Sam Protsenko
---
configs/socfpga_sr1500_defconfig | 2 --
1 file changed, 2 deletions
From: Sam Protsenko
The description was borrowed from kernel. "tristate" type was changed
to "bool" (I believe we don't support modules for u-boot yet, right?).
CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along
as well.
Definitions were added to defconfig files in a way th
From: Sam Protsenko
This reverts commit c4a2736ca165167aa38228a60354c6a8950d42f8.
---
board/ti/dra7xx/evm.c | 83 ++-
1 file changed, 3 insertions(+), 80 deletions(-)
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index 4e45abf..eb19a6
From: Sam Protsenko
This reverts commit d468b1781abe3975fdbc1695ef1fcfb48b01732b.
---
board/ti/dra7xx/evm.c | 14 --
1 file changed, 14 deletions(-)
diff --git a/board/ti/dra7xx/evm.c b/board/ti/dra7xx/evm.c
index eb19a6d..4f60837 100644
--- a/board/ti/dra7xx/evm.c
+++ b/board/ti/dr
From: Sam Protsenko
This reverts commit 212425b2721bb67273963b7fc517455425948d90.
---
include/configs/dra7xx_evm.h | 5 -
1 file changed, 5 deletions(-)
diff --git a/include/configs/dra7xx_evm.h b/include/configs/dra7xx_evm.h
index c0795ab..6e3a482 100644
--- a/include/configs/dra7xx_evm.h
Hi All,
This series reverts recently added patches that break fastboot command.
I propose to keep it this way until issue is found and fixed.
When I'm trying to run fastboot command, next error occurs:
=> fas 0
data abort
pc : [] lr : [<0020>]
reloc pc : [<8081f25e>
From: Sam Protsenko
The description was borrowed from kernel. "tristate" type was changed
to "bool" (I believe we don't support modules for u-boot yet, right?).
CONFIG_USB_GADGET requires CONFIG_USB to be defined too, so add it along
as well.
Some platforms weren't ported though:
include/co
From: Sam Protsenko
Use 8-bit access instead of 4-bit to speed up eMMC flashing speed.
Signed-off-by: Sam Protsenko
---
include/configs/am57xx_evm.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index d075d61..1ab9498 100644
---
From: Sam Protsenko
Use eMMC (instead of SD card) to store U-Boot environment.
Signed-off-by: Sam Protsenko
---
include/configs/am57xx_evm.h | 12 +++-
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 1ab949
From: Sam Protsenko
serial# variable is used to correctly display device ID in
"fastboot devices".
Signed-off-by: Sam Protsenko
---
board/ti/am57xx/board.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/board/ti/am57xx/board.c b/board/ti/am57xx/board.c
index 042f9ab..751de39 100644
--- a/
Hi All,
This patch series add Fastboot support to TexasInstruments AM57XX EVM board and
improves eMMC support. The most of code was borrowed from DRA7 EVM (since
this board is very similar to DRA7 EVM).
Next commands were tested:
- fastboot devices
- fastboot getvar
- fastboot oem format
From: Sam Protsenko
"fastboot oem format" command reuses "gpt write" command, which in turn
requires correct partitions defined in $partitions variable. This patch
adds such definition of Android partitions for AM57XX EVM board.
By default $partitions variable contains Linux partition table. In
From: Sam Protsenko
Enable fastboot by default for AM57XX EVM.
This is based on following patch modified accordingly:
http://git.omapzoom.org/?p=repo/u-boot.git;a=commit;h=b2e04f92b5d91c708b6fd6b79d2266966ac51f4b
Signed-off-by: Sam Protsenko
---
include/configs/am57xx_evm.h | 11 +++
From: Sam Protsenko
Enable dwc3, dwc3-omap and PHY for dwc3.
Also enable USB gadget.
Signed-off-by: Sam Protsenko
---
include/configs/am57xx_evm.h | 14 ++
1 file changed, 14 insertions(+)
diff --git a/include/configs/am57xx_evm.h b/include/configs/am57xx_evm.h
index 6308cab..9191
From: Sam Protsenko
"fastboot oem format" command reuses "gpt write" command, which in turn
requires correct partitions defined in $partitions variable. This patch
adds such definition of Android partitions for DRA7XX EVM board.
By default $partitions variable contains Linux partition table. In
From: Sam Protsenko
"fastboot oem format" command reuses "gpt write" command, which in turn
requires correct partitions defined in $partitions variable. This patch
adds such definition of Android partitions for DRA7XX EVM board.
While at it, enable CONFIG_RANDOM_UUID to spare user from providing
From: Sam Protsenko
Add defconfig for DRA7XX EVM board intended for Android build.
This defconfig was derived from configs/dra7xx_evm_defconfig. The only
difference for now is that this new config exports Android partition
table via $partitions variable.
Signed-off-by: Sam Protsenko
---
config
From: Sam Protsenko
We need to differentiate somehow if u-boot build is intended for Android
or regular Linux boot. Android requires some specific details from
bootloader, such as enabled fastboot and specific partition table.
Using this option we can check if user chose Android boot and configur
From: Sam Protsenko
In case when usb_composite_register() failed once (for whatever reason),
it will fail further even if all conditions are correct. Example:
=> fastboot 2
Invalid Controller Index
couldn't find an available UDC
g_dnl_register: failed!, error: -19
exit not al
38 matches
Mail list logo