[LCA2019 Chat] Headless RPi setup

Wes Cilldhaire wes at sol1.com.au
Tue Jan 29 07:04:24 AEDT 2019



----- On 26 Jan, 2019, at 7:17 PM, martin f krafft madduck at madduck.net wrote:
> On the Pi I just get the message

> "udc-core: couldn't find an available UDC - added [g_cdc] to list
> of pending drivers."

> which the article says means that I didn't enable the dwc2 properly.

> But hey:

> # grep dwc /proc/cmdline
> 8250.nr_uarts=0 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416
> bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:3B:08:DD
> vc_mem.mem_base=0x1ec00000 vc_mem.mem_size=0x20000000
> dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1
> root=PARTUUID=9a617d9a-02 rootfstype=ext4 elevator=deadline
> fsck.repair=yes rootwait modules-load=dwc2,g_cdc
> ^^^^^^^^^^

You need to add the dtoverlay=dwc2 line in config.txt as well so the device actually appears in the device tree for the module to find.

Yes, I overlooked this step too initially, something about its position in the instructions seems to make one's mind skip over it :)
(null)


More information about the Chat mailing list