Even after adding both lines dtoverlay=dwc2 and dtoverlay=dwc2,dr_mode=host the device boots fine with an r8152 USB NIC attached (and the network comes up).
Can you enable 2nd stage debugging (uart_2ndstage=1 in config.txt)?
You should see on the serial console if the overlay is loaded twice:
Even after adding both lines dtoverlay=dwc2 and dtoverlay= dwc2,dr_ mode=host the device boots fine with an r8152 USB NIC attached (and the network comes up).
Can you enable 2nd stage debugging (uart_2ndstage=1 in config.txt)?
You should see on the serial console if the overlay is loaded twice:
MESS:00: 00:02.775986: 0: brfs: File read: 2129 bytes 00:02.783554: 0: brfs: File read: /mfs/sd/ overlays/ dwc2.dtbo 00:02.795064: 0: Loaded overlay 'dwc2' 00:02.808943: 0: brfs: File read: 801 bytes 00:02.812798: 0: brfs: File read: /mfs/sd/ overlays/ dwc2.dtbo 00:02.824888: 0: Loaded overlay 'dwc2' 00:02.827544: 0: dtparam: dr_mode=host
MESS:00:
MESS:00:
MESS:00:
MESS:00:
MESS:00:
MESS:00: