U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC PATCH v2 4/5] dra7x: boot: add dfu bootmode support
Date: Mon, 25 Jul 2016 10:38:19 -0400	[thread overview]
Message-ID: <20160725143819.GO14698@bill-the-cat> (raw)
In-Reply-To: <6C6B28D4DC342643927BEAFCE8707BF6762A5446@DBDE04.ent.ti.com>

On Mon, Jul 25, 2016 at 02:17:35PM +0000, B, Ravi wrote:
> Hi Tom
> 
> >> +++ b/arch/arm/include/asm/arch-omap5/spl.h
> >> @@ -20,7 +20,7 @@
> >>  #define BOOT_DEVICE_QSPI_1	0x0A
> >>  #define BOOT_DEVICE_QSPI_4	0x0B
> >>  #define BOOT_DEVICE_UART	0x43
> >> -#define BOOT_DEVICE_USB		0x45
> >> +#define BOOT_DEVICE_DFU		0x45
> 
> >So you're breaking regular USB gadget support with this change, on these platforms, yes?
> 
> You are correct. This platform does not support BOOT_DEVICE_USB support.
> The BOOT_DEVICE_USB is basically the USBHOST-MSC support (CONFIG_SPL_USB_SUPPORT), i.e, boot from mass storage device.

So, we have 3 SoCs that share these values here, and we need to be
correct for all of them.  What does 0x45 mean, on OMAP5, DRA7xx and
AM57xx, in terms of what, and how, the ROM loaded something in?

> Yes, this platform don't have USBHOST-MSC support, hence BOOT_DEVICE_USB is not valid for this device and removed, and also does not support BOOT_DEVICE_USBETH as well.

When you say platform and device, do you mean SoC, or the specific EVM
you're working with?

> Instead BOOT_DEVICE_DFU  is defined for USB-Gadget-DFU support, i.e, boot from USB-DFU.

It sounds like you're saying here that 0x45, for DRA7xx/AM57xx means
"ROM enumerated a USB gadget (of type what?) and was given a payload".
This is what, on TI platforms, usually happens with 0x45.  Sometimes
it's a USB RNDIS device and bootp (am33xx, am43xx), sometimes it's a
something else (I honestly forget what OMAP4 did, I think it was just a
vendor class self-defined and spec-allowed thing).  What is happening in
this case, and how do we get this first part in?

Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160725/e62d1610/attachment.sig>

  reply	other threads:[~2016-07-25 14:38 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 14:53 [U-Boot] [RFC PATCH v2 0/5] SPL: DFU Support in SPL Ravi Babu
2016-07-21 14:53 ` [U-Boot] [RFC PATCH v2 1/5] spl: dfu: add dfu support " Ravi Babu
2016-07-22 13:41   ` Tom Rini
2016-07-27 14:04     ` B, Ravi
2016-07-27 15:25       ` Tom Rini
2016-07-28  4:09         ` B, Ravi
2016-07-28 13:22           ` Tom Rini
2016-07-21 14:53 ` [U-Boot] [RFC PATCH v2 2/5] common: dfu: saperate the dfu common functionality Ravi Babu
2016-07-22 13:41   ` Tom Rini
2016-07-21 14:53 ` [U-Boot] [RFC PATCH v2 3/5] spl: dfu: adding dfu support functions for SPL-DFU Ravi Babu
2016-07-22 13:41   ` Tom Rini
2016-07-21 14:53 ` [U-Boot] [RFC PATCH v2 4/5] dra7x: boot: add dfu bootmode support Ravi Babu
2016-07-22 13:41   ` Tom Rini
2016-07-25 14:17     ` B, Ravi
2016-07-25 14:38       ` Tom Rini [this message]
2016-07-25 14:53         ` B, Ravi
2016-07-21 14:53 ` [U-Boot] [RFC PATCH v2 5/5] dra7x: configs: enable SPL-DFU support Ravi Babu
2016-07-22 13:42   ` Tom Rini
2016-07-22 13:42 ` [U-Boot] [RFC PATCH v2 0/5] SPL: DFU Support in SPL Tom Rini
2016-07-25 14:40   ` B, Ravi
2016-07-25 14:58     ` Tom Rini
2016-07-25 15:25       ` B, Ravi
2016-07-25 15:34         ` Tom Rini
2016-07-25 15:41           ` B, Ravi

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=20160725143819.GO14698@bill-the-cat \
    --to=trini@konsulko.com \
    --cc=u-boot@lists.denx.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox