[PATCH 2/5] board: ti: j721e: evm: Set "dfu_alt_info" only if interface is SPI Flash

2024-11-23 Thread Siddharth Vadapalli
only when the interface is "sf". Fixes: 9bd6cc292fa8 ("board: j721e: Define capsule update firmware info") Signed-off-by: Siddharth Vadapalli --- board/ti/j721e/evm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/ti/j721e/evm.c b/board/ti/j7

[PATCH 1/5] board: ti: am64x: evm: Set "dfu_alt_info" only if interface is SPI Flash

2024-11-23 Thread Siddharth Vadapalli
only when the interface is "sf". Fixes: 5b84d2de5e6c ("board: am64x: Define capsule update firmware info") Signed-off-by: Siddharth Vadapalli --- board/ti/am64x/evm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/ti/am64x/evm.c b/board/ti/am

[PATCH 5/5] board: ti: j784s4: evm: Set "dfu_alt_info" only if interface is SPI Flash

2024-11-23 Thread Siddharth Vadapalli
nfo" only when the interface is "sf". Fixes: a4d5e5daa847 ("board: sk-am69: Define capsule update firmware info") Signed-off-by: Siddharth Vadapalli --- board/ti/j784s4/evm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/ti/j784s4/evm.c b/boa

[PATCH 4/5] board: ti: am62px: evm: Set "dfu_alt_info" only if interface is SPI Flash

2024-11-23 Thread Siddharth Vadapalli
only when the interface is "sf". Fixes: 0af78a1a729d ("board: am62px: Define capsule update firmware info") Signed-off-by: Siddharth Vadapalli --- board/ti/am62px/evm.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/board/ti/am62px/evm.c b/boa

[PATCH 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-11-26 Thread Siddharth Vadapalli
e expected "mode" of the USB Controller, use that "mode" instead of the one specified in the device-tree. This shall allow the USB Controller to function both as a "Host" and as a "Peripheral" when the "mode" is "otg" in the device-tre

[PATCH 2/2] board: ti: am62ax: env: include environment for DFU

2024-11-26 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Signed-off-by: Siddharth Vadapalli --- board/ti/am62ax/am62ax.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/am62ax/am62ax.env b/board/ti/am62ax/am62ax.env index 97122fb57ba..96d9e1e2797 100644 --- a/board/ti

[PATCH 0/2] AM62A DWC3: Add support for USB DFU boot in OTG mode

2024-11-26 Thread Siddharth Vadapalli
tches in this series, the following device-tree changes will be required to test USB DFU on AM62A (bootph-all property to be added to ensure that USB Controller is present at all stages for DFU Boot): https://gist.github.com/Siddharth-Vadapalli-at-TI/53ba02cb0ff4a09c47e920d08247065f The above devic

Re: [PATCH v2 0/5] EFI Capsule "dfu_alt_info" fixes for TI Boards

2024-11-25 Thread Siddharth Vadapalli
On Mon, Nov 25, 2024 at 07:51:54PM -0600, Jon Humphreys wrote: Hello Jon, [...] > > Hi Siddharth, this is an issue that I also discovered while working on a > separate issue with Collabora, but haven't posted a patch yet. The issue > is that when DFU booting, spl_dfu_cmd() will setup it's own

Re: [PATCH v2 1/5] board: ti: am64x: evm: Set "dfu_alt_info" only if interface is Serial Flash

2024-11-25 Thread Siddharth Vadapalli
On Tue, Nov 26, 2024 at 10:33:30AM +0530, Vignesh Raghavendra wrote: Hello Vignesh, [...] > > + /* > > +* Since the EFI Capsule support is enabled only for Serial Flash, > > +* update the "dfu_alt_info" environment variable only if the > > +* interface happens to be "sf" (Serial Fl

Re: [PATCH 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-01 Thread Siddharth Vadapalli
On Fri, Nov 29, 2024 at 02:28:36PM +0200, Roger Quadros wrote: > > > On 28/11/2024 19:20, Siddharth Vadapalli wrote: [...] > > USB DFU boot utilizes this driver when the "dr_mode" is set to "otg" in > > the device-tree for AM62A. This driver is invoked

[PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-03 Thread Siddharth Vadapalli
ed on the caller of "dwc3_generic_probe()". Ideally, the USB ID pin should be used to determine whether or not the requested role can be enabled. However, that can be implemented in the future as an incremental feature over the current implementation. Signed-off-by: Siddharth Vadapalli

[PATCH v2 2/2] board: ti: am62ax: env: include environment for DFU

2024-12-03 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Signed-off-by: Siddharth Vadapalli --- v1: https://patchwork.ozlabs.org/project/uboot/list/?series=434253&state=%2A&archive=both No changes since v1. board/ti/am62ax/am62ax.env | 1 + 1 file changed, 1 insertion(

[PATCH v2 0/2] AM62A DWC3: Add support for USB DFU boot in OTG mode

2024-12-03 Thread Siddharth Vadapalli
will be required to test USB DFU on AM62A (bootph-all property to be added to ensure that USB Controller is present at all stages for DFU Boot): https://gist.github.com/Siddharth-Vadapalli-at-TI/53ba02cb0ff4a09c47e920d08247065f The above device-tree changes will be made to the Linux device-tree,

Re: [PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-04 Thread Siddharth Vadapalli
On Wed, Dec 04, 2024 at 02:34:56PM +0200, Roger Quadros wrote: > > > On 04/12/2024 12:05, Siddharth Vadapalli wrote: [...] > > Why not do what this patch does? What is the issue with the current > > patch (apart from the checks, which I could retain as well if others >

Re: [PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-04 Thread Siddharth Vadapalli
On Wed, Dec 04, 2024 at 04:36:53PM +0200, Roger Quadros wrote: > > > On 04/12/2024 15:37, Siddharth Vadapalli wrote: > > On Wed, Dec 04, 2024 at 02:34:56PM +0200, Roger Quadros wrote: > >> > >> > >> On 04/12/2024 12:05, Siddharth Vadapalli wrote: >

Re: [PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-04 Thread Siddharth Vadapalli
On Wed, Dec 04, 2024 at 11:57:14AM +0200, Roger Quadros wrote: > > > On 04/12/2024 09:47, Siddharth Vadapalli wrote: > > On Wed, Dec 04, 2024 at 09:32:23AM +0200, Roger Quadros wrote: > >> > >> > >> On 04/12/2024 07:16, Siddharth Vadapalli wrote: >

Re: [PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-03 Thread Siddharth Vadapalli
On Wed, Dec 04, 2024 at 09:32:23AM +0200, Roger Quadros wrote: > > > On 04/12/2024 07:16, Siddharth Vadapalli wrote: > > On Tue, Dec 03, 2024 at 09:23:11PM +0200, Roger Quadros wrote: [...] > >>> +++ b/drivers/usb/dwc3/dwc3-generic.c > >>> @@ -51,7

Re: [PATCH] configs: am62x_evm_*: Fix USB DFU configuration

2024-12-06 Thread Siddharth Vadapalli
On Fri, Dec 06, 2024 at 11:44:38AM +0200, Roger Quadros wrote: > > > On 06/12/2024 11:17, Roger Quadros wrote: > > Hello Siddharth, > > > > On 06/12/2024 09:19, Siddharth Vadapalli wrote: [...] > >> 2. With the understanding that "dr_mode" doesn

Re: [PATCH] configs: am62x_evm_*: Fix USB DFU configuration

2024-12-05 Thread Siddharth Vadapalli
; after "usb start", but the driver won't be probed (absence of "+" in the "Probed" column of "dm tree" output). I just wanted to point this out as a possible fix for other scenarios. Disabling "CONFIG_USB_XHCI_DWC3" seems to be the best c

Re: [PATCH] configs: am62x_evm_*: Fix USB DFU configuration

2024-12-06 Thread Siddharth Vadapalli
On Fri, Dec 06, 2024 at 11:17:28AM +0200, Roger Quadros wrote: > Hello Siddharth, > > On 06/12/2024 09:19, Siddharth Vadapalli wrote: [...] > > While this fixes the issue, I am wondering if the issue lies elsewhere. > > In U-Boot, the compatible "snps,dwc3" is a

[PATCH] usb: xhci-dwc3: Bail out if "dr_mode" is "peripheral"

2024-12-06 Thread Siddharth Vadapalli
Since the compatible "snps,dwc3" can be specified in the device-tree for the Designware USB Controller configured for not only Host and OTG modes of operation, but also for Peripheral mode of operation, bail out if "dr_mode" is "peripheral". Signed-off-by: Siddhart

Re: [PATCH] phy: don't spam console if phys property is absent in device node

2024-12-05 Thread Siddharth Vadapalli
t; Signed-off-by: Roger Quadros Reviewed-by: Siddharth Vadapalli Regards, Siddharth.

Re: [PATCH] configs: am62x_evm_*: Fix USB DFU configuration

2024-12-09 Thread Siddharth Vadapalli
On Mon, Dec 09, 2024 at 02:32:37PM +0200, Roger Quadros wrote: Hello Roger, > On 06/12/2024 12:07, Siddharth Vadapalli wrote: [...] > > Looking at the list of compatibles in dwc3-generic.c and focusing on the > > compatible "ti,keystone-dwc3", I see that this compatib

[PATCH v4 2/7] board: ti: am62px: env: include environment for DFU Boot

2025-02-10 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Also add "usb" to the list of "boot_targets". While at it, add a newline at the end of the file. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Qua

[PATCH v4 0/7] AM62,AM62-LP,AM62A,AM62P,J722S: USB DFU and UMS

2025-02-10 Thread Siddharth Vadapalli
introduced in this series. Regards, Siddharth. Siddharth Vadapalli (7): configs: am62ax_evm_a53_defconfig: enable USB DFU support board: ti: am62px: env: include environment for DFU Boot configs: am62x_r5_usbdfu: extend for AM62Px configs: am62px_evm_a53_defconfig: enable USB DFU support

[PATCH v4 5/7] board: ti: j722s: env: include environment for DFU

2025-02-10 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Signed-off-by: Siddharth Vadapalli --- This patch has been newly introduced in this series. Regards, Siddharth. board/ti/j722s/j722s.env | 1 + 1 file changed, 1 insertion(+) diff --git a/board/ti/j722s/j722s.env b/board

[PATCH v4 6/7] configs: j722s_evm_a53_defconfig: enable USB DFU support

2025-02-10 Thread Siddharth Vadapalli
The USB0 instance of USB on J722S SoC is a Designware USB Controller with the same glue layer (wrapper) as AM62 SoC. In order to support USB DFU boot and USB DFU flash with USB0, enable the corresponding glue layer driver. While at it, sync with savedefconfig. Signed-off-by: Siddharth Vadapalli

[PATCH v4 7/7] configs: am62x_a53_usbdfu: enable USB MASS Storage command

2025-02-10 Thread Siddharth Vadapalli
USB Controller in Gadget mode of operation, other SoCs which include this fragment for DFU functionality can make use of the USB MASS Storage functionality as well. Signed-off-by: Siddharth Vadapalli --- This patch has been newly introduced in this series. Regards, Siddharth. configs

[PATCH v4 4/7] configs: am62px_evm_a53_defconfig: enable USB DFU support

2025-02-10 Thread Siddharth Vadapalli
_a53_defconfig" which are present in the "am62x_a53_usbdfu.config" config fragment that is being included. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Quadros --- v3: https://patchwork.ozlabs.org/project/uboot/cover/20241221025229.361625

[PATCH v4 1/7] configs: am62ax_evm_a53_defconfig: enable USB DFU support

2025-02-10 Thread Siddharth Vadapalli
The config fragment "am62x_a53_usbdfu.config" which adds USB DFU support for AM62x SoC is applicable to the AM62Ax SoC as well. Hence, include it in "am62ax_evm_a53_defconfig" in order to enable support for USB DFU flash and boot. Signed-off-by: Siddharth Vadapalli ---

[PATCH v4 3/7] configs: am62x_r5_usbdfu: extend for AM62Px

2025-02-10 Thread Siddharth Vadapalli
Disable configs which are not required for USB DFU functionality, in order to allow reusing this fragment for AM62Px SoC. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Quadros --- v3: https://patchwork.ozlabs.org/project/uboot/cover

Re: [PATCH v3 0/3] Add support for USB DFU boot on AM62Px

2025-02-10 Thread Siddharth Vadapalli
On Sat, Dec 21, 2024 at 08:22:20AM +0530, Siddharth Vadapalli wrote: > Hello, > > This series add support for USB DFU boot on TI's AM62Px SoC which has > two instances of USB Controllers, of which the USB0 instance of USB > which is a DWC3 USB Controller is used for USB DFU Bo

Re: [PATCH] configs: am62ax_evm_a53_defconfig: enable USB DFU support

2025-02-10 Thread Siddharth Vadapalli
On Wed, Jan 22, 2025 at 05:43:36PM +0530, Siddharth Vadapalli wrote: > The config fragment "am62x_a53_usbdfu.config" which adds USB DFU support > for AM62x SoC is applicable to the AM62Ax SoC as well. Hence, include it > in "am62ax_evm_a53_defconfig" in order to ena

[PATCH] board: ti: am62px: tifs-rm-cfg/rm-cfg: Update DMA resource sharing for CPSW

2025-02-05 Thread Siddharth Vadapalli
s ability to claim the CPSW DMA resources listed above. Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit d6da3dbaef Merge patch series "cmd: Add support for optee commands." of the next branch of U-Boot. Patch has been tested on AM62PX SoC running Linux, ens

[PATCH v2 2/2] configs: j7200_evm_a72_defconfig: Re-enable MUX_MMIO at U-Boot proper

2025-02-01 Thread Siddharth Vadapalli
regression by re-enabling MUX_MMIO. Fixes: 038f6faea9f0 ("configs: j7200_evm_*_defconfig: Add configs for Hyperflash boot") Signed-off-by: Siddharth Vadapalli --- v1: https://patchwork.ozlabs.org/project/uboot/patch/20250127162509.965644-1-s-vadapa...@ti.com/ Changes since v1: - Rephra

[PATCH v2 1/2] configs: j721e_evm_a72_defconfig: Re-enable MUX_MMIO at U-Boot proper

2025-02-01 Thread Siddharth Vadapalli
nfigs: j721e_evm_*_defconfig: Add configs for Hyperflash boot") Signed-off-by: Siddharth Vadapalli --- This patch has been newly introduced in this series and has no v1. configs/j721e_evm_a72_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/j721e_evm_a72_d

[PATCH v2 0/2] FIX: Re-enable MUX_MMIO on J721E/J7200

2025-02-01 Thread Siddharth Vadapalli
-vadapa...@ti.com/ Changes since v1: - Added patch to fix issue on J721E as well. Regards, Siddharth. Siddharth Vadapalli (2): configs: j721e_evm_a72_defconfig: Re-enable MUX_MMIO at U-Boot proper configs: j7200_evm_a72_defconfig: Re-enable MUX_MMIO at U-Boot proper configs

[PATCH 1/4] dfu: do not overwrite "dfu_alt_info"

2024-12-17 Thread Siddharth Vadapalli
function only when "dfu_alt_info" is not defined. Signed-off-by: Jonathan Humphreys Signed-off-by: Siddharth Vadapalli --- drivers/dfu/dfu.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/drivers/dfu/dfu.c b/drivers/dfu/dfu.c index 756569217bb..ab8abae1d8

[PATCH 0/4] Add support for USB DFU boot on AM62Px

2024-12-17 Thread Siddharth Vadapalli
U boot on AM62Px as follows: R5 => am62px_evm_r5_defconfig + am62x_r5_usbdfu.config A53 => am62px_evm_a53_defconfig + am62x_a53_usbdfu.config Series has been tested on AM62P5-SK. Logs validating USB DFU boot on AM62P5-SK with this series: https://gist.github.com/Siddharth-Vadapalli-at-TI/50198ee3348c2db73e0db

[PATCH 2/4] board: ti: am62px: env: include environment for DFU Boot

2024-12-17 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Also add "usb" to the list of "boot_targets". Signed-off-by: Siddharth Vadapalli --- board/ti/am62px/am62px.env | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/board/ti/am62px/a

[PATCH 3/4] configs: am62x_r5_usbdfu: extend for AM62Px

2024-12-17 Thread Siddharth Vadapalli
Disable configs which are not required for USB DFU functionality, in order to allow reusing this fragment for AM62Px SoC. Signed-off-by: Siddharth Vadapalli --- configs/am62x_r5_usbdfu.config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configs/am62x_r5_usbdfu.config b/configs

[PATCH 4/4] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-17 Thread Siddharth Vadapalli
Enable USB0 instance of the USB controller for USB DFU boot functionality which requires the "bootph-all" property in order to have USB enabled at all stages of the USB DFU boot. Signed-off-by: Siddharth Vadapalli --- arch/arm/dts/k3-am62p5-sk-u-boot.dtsi | 10 ++ 1 file c

Re: [PATCH v2 0/5] EFI Capsule "dfu_alt_info" fixes for TI Boards

2024-12-17 Thread Siddharth Vadapalli
On Thu, Nov 28, 2024 at 12:09:41AM -0600, Jon Humphreys wrote: Hello Jon, > Siddharth Vadapalli writes: > > > On Mon, Nov 25, 2024 at 07:51:54PM -0600, Jon Humphreys wrote: > > > > Hello Jon, > > > > [...] > > > >> > >> Hi Siddharth

[PATCH v2 0/5] Add support for USB DFU boot on AM62Px

2024-12-18 Thread Siddharth Vadapalli
be re-used for enabling USB DFU boot on AM62Px as follows: R5 => am62px_evm_r5_defconfig + am62x_r5_usbdfu.config A53 => am62px_evm_a53_defconfig + am62x_a53_usbdfu.config Series has been tested on AM62P5-SK. Logs validating USB DFU boot on AM62P5-SK with this series: https://gist.github.com

[PATCH v2 1/5] board: ti: am62px: env: include environment for DFU Boot

2024-12-18 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Also add "usb" to the list of "boot_targets". While at it, add a newline at the end of the file. Signed-off-by: Siddharth Vadapalli --- v1: https://patchwork.ozlabs.org/project/uboot/patch/2024121713165

[PATCH v2 3/5] configs: am62px_evm_a53_defconfig: enable USB DFU support

2024-12-18 Thread Siddharth Vadapalli
_a53_defconfig" which are present in the "am62x_a53_usbdfu.config" config fragment that is being included. Signed-off-by: Siddharth Vadapalli --- This patch has been newly introduced in this series based on the discussion at: https://patchwork.ozlabs.org/project/uboot/patch/202412171316

[PATCH v2 2/5] configs: am62x_r5_usbdfu: extend for AM62Px

2024-12-18 Thread Siddharth Vadapalli
Disable configs which are not required for USB DFU functionality, in order to allow reusing this fragment for AM62Px SoC. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek --- v1: https://patchwork.ozlabs.org/project/uboot/patch/20241217131658.2920799-4-s-vadapa...@ti.com

[PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-18 Thread Siddharth Vadapalli
Enable USB0 instance of the USB controller for USB DFU boot functionality which requires the "bootph-all" property in order to have USB enabled at all stages of the USB DFU boot. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek --- v1: https://patchwork.ozlabs.o

Re: [PATCH] dfu: Prevent set_dfu_alt_info() from overwriting a previous value

2024-12-17 Thread Siddharth Vadapalli
On Tue, Dec 17, 2024 at 02:48:35PM -0600, Jonathan Humphreys wrote: Hello Jon, Thank you for posting this patch. I will drop the equivalent of this patch when I post the v2 series for: https://patchwork.ozlabs.org/project/uboot/cover/20241217131658.2920799-1-s-vadapa...@ti.com/ > If CONFIG_SET_D

Re: [PATCH 1/4] dfu: do not overwrite "dfu_alt_info"

2024-12-17 Thread Siddharth Vadapalli
On Tue, Dec 17, 2024 at 02:55:13PM -0600, Jon Humphreys wrote: > Siddharth Vadapalli writes: > > > From: Jonathan Humphreys > > > > For use-cases such as USB DFU Boot, "spl_dfu_cmd()" will setup the > > appropriate value for "dfu_alt_info". To f

[PATCH v2 5/5] doc: board: document support for USB DFU boot on AM62Px SoC

2024-12-18 Thread Siddharth Vadapalli
Since USB DFU boot is supported on AM62Px SoC, document the steps required to build the image for USB DFU boot along with the steps to send images using the "dfu-util" tool. Signed-off-by: Siddharth Vadapalli --- This patch has been newly introduced in this series based on the dis

Re: [PATCH 2/4] board: ti: am62px: env: include environment for DFU Boot

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 12:00:08PM +0100, Mattijs Korpershoek wrote: > On mer., déc. 18, 2024 at 15:44, Siddharth Vadapalli > wrote: > > > On Wed, Dec 18, 2024 at 10:57:36AM +0100, Mattijs Korpershoek wrote: > > > > Hello Mattijs, > > > >> Hi Sid

Re: [PATCH 2/4] board: ti: am62px: env: include environment for DFU Boot

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 10:57:36AM +0100, Mattijs Korpershoek wrote: Hello Mattijs, > Hi Siddharth, > > Thank you for the patch. > > On mar., déc. 17, 2024 at 18:46, Siddharth Vadapalli > wrote: > > > Include the TI K3 DFU environment to support DFU Boot and DFU F

Re: [PATCH v2 0/5] Add support for USB DFU boot on AM62Px

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 01:59:37PM +0100, Mattijs Korpershoek wrote: Hello Mattijs, > Hi Siddharth, > > Thank you for the series. > > On mer., déc. 18, 2024 at 18:15, Siddharth Vadapalli > wrote: > > > Hello, > > > > This series add support for US

Re: [PATCH v2 3/5] configs: am62px_evm_a53_defconfig: enable USB DFU support

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 03:47:20PM +0200, Roger Quadros wrote: Hello Roger, > Hi Siddharth, > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: > > The config fragment "am62x_a53_usbdfu.config" which adds USB DFU support > > for AM62x SoC is applicable to the AM6

Re: [PATCH v2 5/5] doc: board: document support for USB DFU boot on AM62Px SoC

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 04:08:01PM +0200, Roger Quadros wrote: Hello Roger, > > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: [...] > > +DFU based boot > > +-- > > + > > +To boot the board over DFU, set the switches to DFU mode and connect t

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-18 Thread Siddharth Vadapalli
On Wed, Dec 18, 2024 at 04:05:47PM +0200, Roger Quadros wrote: Hello Roger, > Hi Siddharth, > > On 18/12/2024 14:45, Siddharth Vadapalli wrote: > > Enable USB0 instance of the USB controller for USB DFU boot functionality > > which requires the "bootph-all" proper

Re: [PATCH v2 3/5] configs: am62px_evm_a53_defconfig: enable USB DFU support

2024-12-19 Thread Siddharth Vadapalli
On Thu, Dec 19, 2024 at 11:38:23AM +0200, Roger Quadros wrote: > Hi Siddharth, > > On 19/12/2024 07:43, Siddharth Vadapalli wrote: > > On Wed, Dec 18, 2024 at 03:47:20PM +0200, Roger Quadros wrote: > > > > Hello Roger, > > > >> Hi Siddharth, > >

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-20 Thread Siddharth Vadapalli
On Fri, Dec 20, 2024 at 08:25:28AM -0600, Tom Rini wrote: > On Fri, Dec 20, 2024 at 10:19:31AM +0530, Siddharth Vadapalli wrote: > > On Thu, Dec 19, 2024 at 11:00:44AM -0600, Tom Rini wrote: > > > > Hello Tom, > > > > > On Thu, Dec 19, 2024 at 1

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-19 Thread Siddharth Vadapalli
On Thu, Dec 19, 2024 at 11:00:44AM -0600, Tom Rini wrote: Hello Tom, > On Thu, Dec 19, 2024 at 11:41:10AM +0200, Roger Quadros wrote: > > > > > > On 19/12/2024 07:50, Siddharth Vadapalli wrote: [...] > > > > > > Please let me know if this patc

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-19 Thread Siddharth Vadapalli
On Fri, Dec 20, 2024 at 10:19:31AM +0530, Siddharth Vadapalli wrote: > On Thu, Dec 19, 2024 at 11:00:44AM -0600, Tom Rini wrote: > > Hello Tom, > > > On Thu, Dec 19, 2024 at 11:41:10AM +0200, Roger Quadros wrote: > > > > > > > > > O

[PATCH v3 3/3] configs: am62px_evm_a53_defconfig: enable USB DFU support

2024-12-20 Thread Siddharth Vadapalli
_a53_defconfig" which are present in the "am62x_a53_usbdfu.config" config fragment that is being included. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Quadros --- v2: https://patchwork.ozlabs.org/project/uboot/patch/20241218124542.351944

[PATCH v3 0/3] Add support for USB DFU boot on AM62Px

2024-12-20 Thread Siddharth Vadapalli
ct/uboot/cover/20241218124542.3519447-1-s-vadapa...@ti.com/ The USB DFU config fragments for AM62x are to be re-used for enabling USB DFU boot on AM62Px as follows: R5 => am62px_evm_r5_defconfig + am62x_r5_usbdfu.config A53 => am62px_evm_a53_defconfig + am62x_a53_usbdfu.config Regards, Siddharth. Si

[PATCH v3 1/3] board: ti: am62px: env: include environment for DFU Boot

2024-12-20 Thread Siddharth Vadapalli
Include the TI K3 DFU environment to support DFU Boot and DFU Flash. Also add "usb" to the list of "boot_targets". While at it, add a newline at the end of the file. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Qu

[PATCH v3 2/3] configs: am62x_r5_usbdfu: extend for AM62Px

2024-12-20 Thread Siddharth Vadapalli
Disable configs which are not required for USB DFU functionality, in order to allow reusing this fragment for AM62Px SoC. Signed-off-by: Siddharth Vadapalli Reviewed-by: Mattijs Korpershoek Reviewed-by: Roger Quadros --- v2: https://patchwork.ozlabs.org/project/uboot/patch

Re: [PATCH v2 4/5] arm: dts: k3-am62p5-sk-u-boot: enable USB0 for USB DFU boot

2024-12-20 Thread Siddharth Vadapalli
On Fri, Dec 20, 2024 at 10:37:49AM -0600, Tom Rini wrote: > On Fri, Dec 20, 2024 at 09:49:46PM +0530, Siddharth Vadapalli wrote: > > On Fri, Dec 20, 2024 at 08:25:28AM -0600, Tom Rini wrote: > > > On Fri, Dec 20, 2024 at 10:19:31AM +0530, Siddharth Vadapalli wrote: > > >

Re: [PATCH v2 1/2] usb: dwc3-generic: set "mode" based on caller of dwc3_generic_probe()

2024-12-03 Thread Siddharth Vadapalli
On Tue, Dec 03, 2024 at 09:23:11PM +0200, Roger Quadros wrote: Hello Roger, > Hi Siddharth, > > > On 03/12/2024 11:37, Siddharth Vadapalli wrote: > > There are only two callers of "dwc3_generic_probe()", namely: > > 1. dwc3_generic_peripheral_prob

[PATCH] configs: am62ax_evm_a53_defconfig: enable USB DFU support

2025-01-22 Thread Siddharth Vadapalli
The config fragment "am62x_a53_usbdfu.config" which adds USB DFU support for AM62x SoC is applicable to the AM62Ax SoC as well. Hence, include it in "am62ax_evm_a53_defconfig" in order to enable support for USB DFU flash and boot. Signed-off-by: Siddharth Vadapalli --- H

[PATCH] configs: j7200_evm_a72_defconfig: Re-enable CONFIG_MUX_MMIO

2025-01-27 Thread Siddharth Vadapalli
p for PCIe, which is done by the drivers/mux/mmio.c driver. Fix this by re-enabling CONFIG_MUX_MMIO. Fixes: 038f6faea9f0 ("configs: j7200_evm_*_defconfig: Add configs for Hyperflash boot") Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit d8a7100d658 Subtre

Re: [PATCH] configs: j7200_evm_a72_defconfig: Re-enable CONFIG_MUX_MMIO

2025-01-28 Thread Siddharth Vadapalli
On Mon, Jan 27, 2025 at 09:53:33PM +0530, Siddharth Vadapalli wrote: +Vaishnav. I had accidentally sent the patch to the wrong email address. > Commit under Fixes which claimed to enable configs for Hyperflash, changed > "CONFIG_MUX_MMIO=y" to "CONFIG_SPL_MUX_MMIO=y"

Re: [PATCH] usb: xhci-dwc3: Bail out if "dr_mode" is "peripheral"

2025-01-16 Thread Siddharth Vadapalli
On Thu, Jan 16, 2025 at 10:36:45AM +0100, Mattijs Korpershoek wrote: > Hi Siddharth, Hello Mattijs, > > On lun., déc. 09, 2024 at 15:20, Roger Quadros wrote: > > > Hi Siddharth, > > > > On 06/12/2024 13:04, Siddharth Vadapalli wrote: [...] > >> diff

Re: [PATCH 2/3] pci: pcie_cdns_ti: Enable PCIe root-complex mode in AM64 SoC

2025-04-22 Thread Siddharth Vadapalli
alunke Reviewed-by: Siddharth Vadapalli > --- > drivers/pci/pcie_cdns_ti.c | 10 ++ > 1 file changed, 10 insertions(+) > > diff --git a/drivers/pci/pcie_cdns_ti.c b/drivers/pci/pcie_cdns_ti.c > index e5bcc6eb53e..9d1d123a18c 100644 > --- a/drivers/pci/pcie_cdn

Re: [PATCH 1/3] pci: pcie_cdns_ti: Include linux/sizes.h header

2025-04-22 Thread Siddharth Vadapalli
ence PCIe Controller") > Signed-off-by: Hrushikesh Salunke Reviewed-by: Siddharth Vadapalli > --- > drivers/pci/pcie_cdns_ti.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/pci/pcie_cdns_ti.c b/drivers/pci/pcie_cdns_ti.c > index 41469a186a3..e5bcc6e

Re: [PATCH 3/3] configs: am64x_evm_a53_defconfig: Enable configs for PCIe support

2025-04-22 Thread Siddharth Vadapalli
able > configs to support NVMe over PCIe. > > Signed-off-by: Hrushikesh Salunke Reviewed-by: Siddharth Vadapalli > --- > configs/am64x_evm_a53_defconfig | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/configs/am64x_evm_a53_defconfig b/configs/am64x

[PATCH] net: ti: am65-cpsw-nuss: invoke phy_config() in driver's .start callback

2025-04-16 Thread Siddharth Vadapalli
programming the CPSW MAC. Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit f892a7f397a Revert "Merge patch series "pxe: Precursor series for supporting read_all() in extlinux / PXE"" of the next branch of U-Boot. Regards, Siddharth. drivers/net/t

[PATCH 2/2] configs: j784s4_evm_a72_defconfig: enable USB DFU boot, DFU flash and UMS

2025-02-18 Thread Siddharth Vadapalli
Enable support for USB DFU boot via USB0 instance of USB on J784S4 SoC which is a Cadence USB Controller. Additionally, enable support for USB DFU flash and USB Mass Storage (UMS) command. While at it, sync with savedefconfig. Signed-off-by: Siddharth Vadapalli --- configs

[PATCH 1/2] configs: j784s4_evm_r5_defconfig: enable USB DFU boot

2025-02-18 Thread Siddharth Vadapalli
The USB0 instance of USB on J784S4 SoC is a Cadence USB Controller and supports USB DFU boot. Enable support for it. Signed-off-by: Siddharth Vadapalli --- configs/j784s4_evm_r5_defconfig | 15 +++ 1 file changed, 15 insertions(+) diff --git a/configs/j784s4_evm_r5_defconfig b

[PATCH 0/2] J784S4: Enable USB DFU boot, DFU flash and UMS configs

2025-02-18 Thread Siddharth Vadapalli
on commit 5c33fb0288 u_boot_pylib: Move gitutil into the library of the next branch of U-Boot. Regards, Siddharth. Siddharth Vadapalli (2): configs: j784s4_evm_r5_defconfig: enable USB DFU boot configs: j784s4_evm_a72_defconfig: enable USB DFU boot, DFU flash and UMS configs

Re: [PATCH 0/2] Enable USB MSC Boot for AM62, AM62A and AM62P

2025-03-03 Thread Siddharth Vadapalli
On Fri, Feb 28, 2025 at 10:11:53AM -0600, Javier Tia wrote: > Hi Siddharth, Hello Javier, > > On Wed, Feb 26, 2025, at 4:35 AM, Siddharth Vadapalli wrote: > > Hello, > > > > This series adds config fragment for enabling USB MSC boot and USB > > Storage dev

Re: [PATCH] usb: dwc3: am62: Use UCLASS_NOP for glue driver

2025-02-27 Thread Siddharth Vadapalli
On Thu, Feb 27, 2025 at 11:19:37AM +0100, Mattijs Korpershoek wrote: > Hi Siddharth, > > Thank you for the the review. > > On jeu., févr. 27, 2025 at 13:44, Siddharth Vadapalli > wrote: > > > On Wed, Feb 26, 2025 at 03:47:11PM +0100, Mattijs Korpershoek w

[PATCH v2 1/2] configs: am62x_r5: introduce fragment for USB MSC boot

2025-03-01 Thread Siddharth Vadapalli
Introduce the config fragment for enabling USB MSC boot. USB MSC boot involves fetching the next stage of the bootloader from a USB Mass Storage device such as a USB Flash Drive with the USB controller on the SoC acting as the USB Host. Signed-off-by: Siddharth Vadapalli --- v1 of this patch is

[PATCH v2 2/2] configs: am62x_a53: introduce fragment for USB MSC boot

2025-03-01 Thread Siddharth Vadapalli
Introduce the config fragment for enabling USB MSC boot. USB MSC boot involves fetching the next stage of the bootloader from a USB Mass Storage device such as a USB Flash Drive with the USB controller on the SoC acting as the USB Host. Signed-off-by: Siddharth Vadapalli --- v1 of this patch is

[PATCH v2 0/2] Enable USB MSC Boot for AM62, AM62A and AM62P

2025-03-01 Thread Siddharth Vadapalli
ig - tispl.bin and u-boot.img => am62px_evm_a53_defconfig + am62x_a53_usbmsc.config The images were flashed to a USB Flash Drive and were connected to the Type-C interface on each of the boards which supports USB MSC Boot. Logs corresponding to this series: 1. AM62A7-SK: https://gist.gith

Re: [PATCH 1/2] configs: am62x_r5: introduce fragment for USB MSC boot

2025-03-01 Thread Siddharth Vadapalli
On Fri, Feb 28, 2025 at 06:59:14PM -0600, Jon Humphreys wrote: Hello Jon, > Siddharth Vadapalli writes: > > > Introduce the config fragment for enabling USB MSC boot. USB MSC boot > > involves fetching the next stage of the bootloader from a USB Mass Storage > > de

Re: [PATCH] configs: am65x_evm_r5_usbdfu_defconfig: Fix USB DFU boot

2025-02-20 Thread Siddharth Vadapalli
tt_supply which is used > by "am654_ddrss" driver. Without it during DFU boot DDRSS initialization > is failing. These configs are enabled in "am65x_evm_r5_defconfig" but > are missing from "am65x_evm_r5_usbdfu_defconfig". > > Signed-off-by: Hru

[PATCH 0/2] Enable USB MSC Boot for AM62, AM62A and AM62P

2025-02-26 Thread Siddharth Vadapalli
_defconfig + am62x_r5_usbmsc.config - tispl.bin and u-boot.img => am62px_evm_a53_defconfig + am62x_a53_usbmsc.config The images were flashed to a USB Flash Drive and were connected to the Type-C interface on each of the boards which supports USB MSC Boot. Logs: 1. AM62A7-SK: https://gis

[PATCH 1/2] configs: am62x_r5: introduce fragment for USB MSC boot

2025-02-26 Thread Siddharth Vadapalli
Introduce the config fragment for enabling USB MSC boot. USB MSC boot involves fetching the next stage of the bootloader from a USB Mass Storage device such as a USB Flash Drive with the USB controller on the SoC acting as the USB Host. Signed-off-by: Siddharth Vadapalli --- configs

[PATCH 2/2] configs: am62x_a53: introduce fragment for USB MSC boot

2025-02-26 Thread Siddharth Vadapalli
Introduce the config fragment for enabling USB MSC boot. USB MSC boot involves fetching the next stage of the bootloader from a USB Mass Storage device such as a USB Flash Drive with the USB controller on the SoC acting as the USB Host. Signed-off-by: Siddharth Vadapalli --- configs

Re: [PATCH] usb: dwc3: am62: Use UCLASS_NOP for glue driver

2025-02-27 Thread Siddharth Vadapalli
n the dwc3-generic-wrapper. > > Signed-off-by: Mattijs Korpershoek The change made in the driver seems good to me, so with the above questions addressed: Reviewed-by: Siddharth Vadapalli > --- > This is a small cleanup intended for next. > > This has been tested on AM62X SK EVM

[PATCH] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-21 Thread Siddharth Vadapalli
rious link-partner PHYs, each with a different timeout, introduce an environment variable named "phy_aneg_timeout" and override "CONFIG_PHY_ANEG_TIMEOUT" with "phy_aneg_timeout". Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit 7598b469c16

Re: [PATCH v2] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-23 Thread Siddharth Vadapalli
On Wed, Jul 23, 2025 at 11:25:50AM +0200, Quentin Schulz wrote: > Hi Siddharth, > > On 7/23/25 8:26 AM, Siddharth Vadapalli wrote: > > The Auto Negotiation procedure between two Ethernet PHYs consists of > > determining the best commonly supported parameters among Speed, >

[PATCH v2] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-22 Thread Siddharth Vadapalli
rious link-partner PHYs, each with a different timeout, introduce an environment variable named "phy_aneg_timeout" and override "CONFIG_PHY_ANEG_TIMEOUT" with "phy_aneg_timeout". Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit 7598b469c16

Re: [PATCH] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-22 Thread Siddharth Vadapalli
On Tue, Jul 22, 2025 at 02:57:33PM +0200, Marek Vasut wrote: > On 7/22/25 8:05 AM, Siddharth Vadapalli wrote: > > The Auto Negotiation procedure between two Ethernet PHYs consists of > > determining the best commonly supported parameters among Speed, > > Duplex Mode and Flow

[PATCH v3] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-24 Thread Siddharth Vadapalli
rious link-partner PHYs, each with a different timeout, introduce an environment variable named "phy_aneg_timeout" and override "CONFIG_PHY_ANEG_TIMEOUT" with "phy_aneg_timeout". Signed-off-by: Siddharth Vadapalli --- Hello, This patch is based on commit 3532f1f5edf

Re: [PATCH] net: phy: Support overriding Auto Negotiation timeout with env variable

2025-07-22 Thread Siddharth Vadapalli
On Tue, Jul 22, 2025 at 10:49:04AM +0200, Quentin Schulz wrote: > Hi Siddarth, > > On 7/22/25 8:05 AM, Siddharth Vadapalli wrote: > > The Auto Negotiation procedure between two Ethernet PHYs consists of > > determining the best commonly supported parameters among Speed, >

[PATCH 00/45] TI SoC based Boards: Increase Aneg Timeout to 20, 000 ms

2025-07-28 Thread Siddharth Vadapalli
ere should be no adverse affect except in cases where a timeout is expected earlier - possibly to initiate the fallback mechanism quickly. Regards, Siddharth. Siddharth Vadapalli (45): configs: am335x_baltos_defconfig: Increase aneg timeout to 2 ms configs: am335x_evm_defconfig: Increase an

[PATCH 02/45] configs: am335x_evm_defconfig: Increase aneg timeout to 20000 ms

2025-07-28 Thread Siddharth Vadapalli
ne earlier), while older Hardware connected to the board that might occasionally take longer than 4,000 ms for the Auto-Negotiation process will benefit from an increased timeout. Signed-off-by: Siddharth Vadapalli --- configs/am335x_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 03/45] configs: am335x_evm_spiboot_defconfig: Increase aneg timeout to 20000 ms

2025-07-28 Thread Siddharth Vadapalli
ne earlier), while older Hardware connected to the board that might occasionally take longer than 4,000 ms for the Auto-Negotiation process will benefit from an increased timeout. Signed-off-by: Siddharth Vadapalli --- configs/am335x_evm_spiboot_defconfig | 1 + 1 file changed, 1 insertion(+) di

[PATCH 04/45] configs: am335x_hs_evm_defconfig: Increase aneg timeout to 20000 ms

2025-07-28 Thread Siddharth Vadapalli
ne earlier), while older Hardware connected to the board that might occasionally take longer than 4,000 ms for the Auto-Negotiation process will benefit from an increased timeout. Signed-off-by: Siddharth Vadapalli --- configs/am335x_hs_evm_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git

[PATCH 05/45] configs: am335x_hs_evm_uart_defconfig: Increase aneg timeout to 20000 ms

2025-07-28 Thread Siddharth Vadapalli
ne earlier), while older Hardware connected to the board that might occasionally take longer than 4,000 ms for the Auto-Negotiation process will benefit from an increased timeout. Signed-off-by: Siddharth Vadapalli --- configs/am335x_hs_evm_uart_defconfig | 1 + 1 file changed, 1 insertion(+) di

<    1   2   3   >