On 4/15/20 5:10 PM, Minas Harutyunyan wrote: > Hi, Hi, > On 4/15/2020 6:55 PM, Marek Vasut wrote: >> On 4/15/20 10:37 AM, Minas Harutyunyan wrote: >>> Hi, >>> >>> On 4/14/2020 4:18 PM, Marek Vasut wrote: >>>> On 4/14/20 9:14 AM, Minas Harutyunyan wrote: >>> >>>> >>>>> 2. debug log >>>> >>>> What kind of debug log ? >>>> >>> Drivers debug log starting from dwc2 loading and connector connecting to >>> device, where issue seen. >> >> How do I enable the one you need ? >> > To enable debug prints from dwc2 use 'make menuconfig': > > Symbol: USB_DWC2_DEBUG [=y] Oh, this one, OK. There you go. Note that there is no further output when I plug in the USB microB cable from a PC. dwc2 49000000.usb-otg: supply vusb_d not found, using dummy regulator dwc2 49000000.usb-otg: supply vusb_a not found, using dummy regulator dwc2 49000000.usb-otg: EPs: 9, dedicated fifos, 952 entries in SPRAM dwc2 49000000.usb-otg: bound driver zero dwc2 49000000.usb-otg: DCFG=0x08100000, DCTL=0x00000002, DIEPMSK=00000000 dwc2 49000000.usb-otg: GAHBCFG=0x00000000, GHWCFG1=0x00000000 dwc2 49000000.usb-otg: GRXFSIZ=0x00000400, GNPTXFSIZ=0x04000400 dwc2 49000000.usb-otg: DPTx[1] FSize=1024, StAddr=0x00000800 dwc2 49000000.usb-otg: DPTx[2] FSize=1024, StAddr=0x00000c00 dwc2 49000000.usb-otg: DPTx[3] FSize=1024, StAddr=0x00001000 dwc2 49000000.usb-otg: DPTx[4] FSize=1024, StAddr=0x00001400 dwc2 49000000.usb-otg: DPTx[5] FSize=1024, StAddr=0x00001800 dwc2 49000000.usb-otg: DPTx[6] FSize=1024, StAddr=0x00001c00 dwc2 49000000.usb-otg: DPTx[7] FSize=1024, StAddr=0x00002000 dwc2 49000000.usb-otg: DPTx[8] FSize=1024, StAddr=0x00002400 dwc2 49000000.usb-otg: ep0-in: EPCTL=0x00008800, SIZ=0x00000000, DMA=0x79daaf9c dwc2 49000000.usb-otg: ep0-out: EPCTL=0x00008000, SIZ=0x00000000, DMA=0xa167db6c dwc2 49000000.usb-otg: ep1-in: EPCTL=0x00001000, SIZ=0x00000000, DMA=0x88ad1397 dwc2 49000000.usb-otg: ep1-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x6c5b357c dwc2 49000000.usb-otg: ep2-in: EPCTL=0x00001800, SIZ=0x00000000, DMA=0xb4639367 dwc2 49000000.usb-otg: ep2-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x503148e2 dwc2 49000000.usb-otg: ep3-in: EPCTL=0x00002000, SIZ=0x00000000, DMA=0x7e275f85 dwc2 49000000.usb-otg: ep3-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x9474575a dwc2 49000000.usb-otg: ep4-in: EPCTL=0x00002800, SIZ=0x00000000, DMA=0xbe22b68d dwc2 49000000.usb-otg: ep4-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xb89ae0de dwc2 49000000.usb-otg: ep5-in: EPCTL=0x00003000, SIZ=0x00000000, DMA=0xa607065a dwc2 49000000.usb-otg: ep5-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0xa8bc774f dwc2 49000000.usb-otg: ep6-in: EPCTL=0x00003800, SIZ=0x00000000, DMA=0xbabafaf5 dwc2 49000000.usb-otg: ep6-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x58ddeb04 dwc2 49000000.usb-otg: ep7-in: EPCTL=0x00004000, SIZ=0x00000000, DMA=0x8b6b00f3 dwc2 49000000.usb-otg: ep7-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x87baf0d9 dwc2 49000000.usb-otg: ep8-in: EPCTL=0x00004800, SIZ=0x00000000, DMA=0xa2c3caca dwc2 49000000.usb-otg: ep8-out: EPCTL=0x00000000, SIZ=0x00000000, DMA=0x67b6afe2 dwc2 49000000.usb-otg: DVBUSDIS=0x000017d7, DVBUSPULSE=000005b8 dwc2 49000000.usb-otg: DWC OTG Controller dwc2 49000000.usb-otg: new USB bus registered, assigned bus number 1 dwc2 49000000.usb-otg: irq 45, io mem 0x49000000 dwc2 49000000.usb-otg: Mode Mismatch Interrupt: currently in Device mode