All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mattijs Korpershoek <mkorpershoek@baylibre.com>
To: Sjoerd Simons <sjoerd@collabora.com>, u-boot@lists.denx.de
Cc: Angus Ainslie <angus@akkea.ca>,
	Aswath Govindraju <a-govindraju@ti.com>,
	Dave Gerlach <d-gerlach@ti.com>, Dhruva Gole <d-gole@ti.com>,
	Georgi Vlaev <g-vlaev@ti.com>, Gowtham Tammana <g-tammana@ti.com>,
	Julien Panis <jpanis@baylibre.com>,
	Kamlesh Gurudasani <kamlesh@ti.com>,
	Kunihiko Hayashi <hayashi.kunihiko@socionext.com>,
	Marek Vasut <marex@denx.de>, Nishanth Menon <nm@ti.com>,
	Simon Glass <sjg@chromium.org>, Suman Anna <s-anna@ti.com>,
	Tom Rini <trini@konsulko.com>,
	Vignesh Raghavendra <vigneshr@ti.com>
Subject: Re: [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x
Date: Wed, 10 May 2023 09:59:16 +0200	[thread overview]
Message-ID: <87bkis4nxn.fsf@baylibre.com> (raw)
In-Reply-To: <20230406185542.1179073-1-sjoerd@collabora.com>

Hi Sjoerd,

Thank you for this series.

On jeu., avril 06, 2023 at 20:55, Sjoerd Simons <sjoerd@collabora.com> wrote:

> This series adds more boot sources for the TI am62x. For that the dts'
> are synced from the upstream ti-next git tree (to add usb nodes), some
> dwc3 glue is and finally the default configuration is tuned to add
> support for DFU and USB (host and gadget)
>
>
> Changes in v2:
> - Update dts sync to v6.3-rc5
> - Switch dwc3 glue to a seperate driver rather then in dwc-generic
> - Minimize config changes to just DFU configuration
> - Only enable usb port 0 DFU in SPL
> - Create a seperate defconfig for R5
>
> Sjoerd Simons (8):
>   omap: timer: add ti,am654-timer compatibility
>   arm: mach-k3: am62: Add timer0 id to the dev list
>   arm: dts: k3-am62: Bump dtsi from linux
>   arm: dts: k3-am625-sk: Enable emmc in SPL
>   usb: dwc3: Add dwc3 glue driver for am62
>   configs: am62: Add configs for enabling USB in U-Boot
>   arm: dts: k3-am625-sk: Enable usb ports in u-boot
>   configs: am62x_evm_*: Enable USB and DFU support

I've tested USB support on AM62x SK EVM for this whole series based on a
public TI integration branch:

https://git.ti.com/cgit/ti-u-boot/ti-u-boot/log/?h=ti-u-boot-2023.04-next

I did not test DFU, however with some small config changes I could test
fastboot support using:

=> fastboot usb 0

Then from host:
$ fastboot devices
$ fastboot flash <partition_label> <image_file>

Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>

>
>  arch/arm/dts/k3-am62-main.dtsi        | 259 +++++++++++++++++++++++---
>  arch/arm/dts/k3-am62-mcu.dtsi         |  49 +++++
>  arch/arm/dts/k3-am62-wakeup.dtsi      |   4 +-
>  arch/arm/dts/k3-am625-r5-sk.dts       |   2 +-
>  arch/arm/dts/k3-am625-sk-u-boot.dtsi  |  27 ++-
>  arch/arm/dts/k3-am625-sk.dts          |  95 +++++-----
>  arch/arm/dts/k3-am625.dtsi            |  52 ++++++
>  arch/arm/mach-k3/am62x/dev-data.c     |   1 +
>  configs/am62x_evm_a53_defconfig       |  35 +++-
>  configs/am62x_evm_r5_usbdfu_defconfig | 116 ++++++++++++
>  drivers/timer/omap-timer.c            |   1 +
>  drivers/usb/dwc3/Kconfig              |  14 ++
>  drivers/usb/dwc3/Makefile             |   1 +
>  drivers/usb/dwc3/dwc3-am62.c          | 127 +++++++++++++
>  include/configs/am62x_evm.h           |  10 +-
>  15 files changed, 701 insertions(+), 92 deletions(-)
>  create mode 100644 configs/am62x_evm_r5_usbdfu_defconfig
>  create mode 100644 drivers/usb/dwc3/dwc3-am62.c
>
> -- 
> 2.40.0

  parent reply	other threads:[~2023-05-10  7:59 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-06 18:55 [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x Sjoerd Simons
2023-04-06 18:55 ` [PATCH v2 1/8] omap: timer: add ti,am654-timer compatibility Sjoerd Simons
2023-04-06 18:55 ` [PATCH v2 2/8] arm: mach-k3: am62: Add timer0 id to the dev list Sjoerd Simons
2023-04-06 18:55 ` [PATCH v2 3/8] arm: dts: k3-am62: Bump dtsi from linux Sjoerd Simons
2023-04-11 14:17   ` Nishanth Menon
2023-04-06 18:55 ` [PATCH v2 4/8] arm: dts: k3-am625-sk: Enable emmc in SPL Sjoerd Simons
2023-09-19  7:35   ` Sverdlin, Alexander
2023-09-19 11:19     ` Nishanth Menon
2023-09-19 11:33       ` Dhruva Gole
2023-04-06 18:55 ` [PATCH v2 5/8] usb: dwc3: Add dwc3 glue driver for am62 Sjoerd Simons
2023-04-07 13:26   ` Mattijs Korpershoek
2023-04-24  2:25   ` Kunihiko Hayashi
2023-04-06 18:55 ` [PATCH v2 6/8] configs: am62: Add configs for enabling USB in U-Boot Sjoerd Simons
2023-04-06 18:55 ` [PATCH v2 7/8] arm: dts: k3-am625-sk: Enable usb ports in u-boot Sjoerd Simons
2023-04-06 18:55 ` [PATCH v2 8/8] configs: am62x_evm_*: Enable USB and DFU support Sjoerd Simons
2023-06-08 21:41   ` Marcel Ziswiler
2023-04-11  5:51 ` [PATCH v2 0/8] Add DFU, emmc and usb boot for TI am62x Ravi Gunasekaran
2023-05-10  7:59 ` Mattijs Korpershoek [this message]
2023-05-31 21:14 ` Tom Rini
2023-06-01  6:37   ` Sjoerd Simons
2023-08-21 16:13     ` Marcel Ziswiler
2023-08-21 18:20       ` Tom Rini
2024-05-29  6:09         ` Dhruva Gole
2024-05-29  9:00           ` Mattijs Korpershoek

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bkis4nxn.fsf@baylibre.com \
    --to=mkorpershoek@baylibre.com \
    --cc=a-govindraju@ti.com \
    --cc=angus@akkea.ca \
    --cc=d-gerlach@ti.com \
    --cc=d-gole@ti.com \
    --cc=g-tammana@ti.com \
    --cc=g-vlaev@ti.com \
    --cc=hayashi.kunihiko@socionext.com \
    --cc=jpanis@baylibre.com \
    --cc=kamlesh@ti.com \
    --cc=marex@denx.de \
    --cc=nm@ti.com \
    --cc=s-anna@ti.com \
    --cc=sjg@chromium.org \
    --cc=sjoerd@collabora.com \
    --cc=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    --cc=vigneshr@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.