u-boot-at91 icon indicating copy to clipboard operation
u-boot-at91 copied to clipboard

SAMA5D2 usb device - for gadget/dfu/rndis, anything!

Open TimJTi opened this issue 1 year ago • 0 comments

I simply cannot get u-boot to coerce the usb device port (usba) on my board to do anything. Host PC does not see a connect.

usb start reports no working controllers , unless I enable EHCI support plus Atmel EHCI support. But if it is setting it as USB Host device I have to assume usb device can't co-exist,

The board is custom, but is, to all intents and purposes, the same as a som1 EV board, but I have added the following to the dts:

usb0: usb@00300000 {
  pinctrl-names = "default";
  pinctrl-0 = <&pinctrl_usba_vbus>;
  status = "okay";
};

The USB port does work - I can use sam-ba to set the buregs, flash code, etc. via usb.

I have tried driver model, none-driver model (saying it's atmel usba). Anything and everything I can think of including looking at as many defconfigs and other boards as I can.

It has me stumped - does anyone know the magic incantations (e.g. Kconfig settings) to get this to work?

TimJTi avatar Jun 23 '23 16:06 TimJTi