From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] at91, usb, dfu: add dfu support for at91 boards
Date: Wed, 05 Nov 2014 08:56:11 +0100 [thread overview]
Message-ID: <5459D81B.80208@denx.de> (raw)
In-Reply-To: <5459D45B.3070300@atmel.com>
Hello Bo,
Am 05.11.2014 08:40, schrieb Bo Shen:
> Hi Heiko,
>
> On 11/05/2014 03:30 PM, Heiko Schocher wrote:
>> Hello all,
>>
>> I have a request for implementing DFU support an at91 based boards
>> (in this case for the siemens at91 boards corvus, taurus both in
>> mainline).
>>
>> I found in include/configs/sama5d3xek.h
>>
>> /* USB */
>> #define CONFIG_CMD_USB
>>
>> #ifdef CONFIG_CMD_USB
>> #define CONFIG_USB_ATMEL
>> #define CONFIG_USB_ATMEL_CLK_SEL_UPLL
>> #define CONFIG_USB_OHCI_NEW
>> #define CONFIG_SYS_USB_OHCI_CPU_INIT
>> #define CONFIG_SYS_USB_OHCI_REGS_BASE ATMEL_BASE_OHCI
>> #define CONFIG_SYS_USB_OHCI_SLOT_NAME "sama5d3"
>> #define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 3
>> #define CONFIG_DOS_PARTITION
>> #define CONFIG_USB_STORAGE
>> #endif
>>
>> /* USB device */
>> #define CONFIG_USB_GADGET
>> #define CONFIG_USB_GADGET_DUALSPEED
>> #define CONFIG_USB_GADGET_ATMEL_USBA
>> #define CONFIG_USB_ETHER
>> #define CONFIG_USB_ETH_RNDIS
>> #define CONFIG_USBNET_MANUFACTURER "Atmel SAMA5D3xEK"
>>
>> So, if I am correct, that USB gadget support should work on at91 (and
>> so DFU support should not be to hard to implement)?
>
> The usb gadget driver for AT91 series, now it just support UDPHS gadget while not UDP gadget.
> So, for the corvus board, it use at91sam9m10g45 which has UDPHS. So it will be easily. For the taurus board, it uses at91sam9260, it needs more work to do, need porting the gadget driver from Linux.
>
> For DFU supports on sama5d3xek board.
> https://github.com/linux4sam/u-boot-at91/commit/5030c6a0b4199243d54d87d01f76e8d6a2c057f3
Thanks for this perfect info!
bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
prev parent reply other threads:[~2014-11-05 7:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-05 7:30 [U-Boot] at91, usb, dfu: add dfu support for at91 boards Heiko Schocher
2014-11-05 7:40 ` Bo Shen
2014-11-05 7:56 ` Heiko Schocher [this message]
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=5459D81B.80208@denx.de \
--to=hs@denx.de \
--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