Skip to content

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

@TimJTi

Description

@TimJTi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions