Re: USB init before using usb_serial_acm gadget?

2022-04-17 Thread Sergey Nazaryev
> So I think the right place to call usb_gadget_initialize is probably > before registering the acm gadget function into acm_stdio_start(). Can > you try this? and submit a follow_up fix patch if working? It's required for `usb_gadget_initialize` to provide a "USB controller index" as an

USB init before using usb_serial_acm gadget?

2022-04-14 Thread Sergey Nazaryev
Hi! As I can see, recently [1] the implementation of USB ACM gadget has been merged into U-boot master. I tried to use it but the problem is that running `setenv stdout usbacm` on my board based on STM32MP157 leads to errors below: STM32MP> setenv stdout usbacm couldn't find an available UDC