[U-Boot] at91, usb, dfu: add dfu support for at91 boards

Heiko Schocher hs at denx.de
Wed Nov 5 08:30:48 CET 2014


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)?

Any hints, ideas?

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list