Open srcshelton opened 8 months ago
Similarly, with 6.6.20
/ 6f16847710cc0502450788b9f12f0a14d3429668 (untagged but matching https://github.com/raspberrypi/firmware/tree/1.20240306), CONFIG_FB_BCM2708
requires CONFIG_FB_DEVICE
(for dev
in struct fb_info
), despite the Help text for CONFIG_FB_DEVICE
reading:
Say Y here if you want the legacy /dev/fb* device file and interfaces within sysfs anc [sic] procfs. It is only required if you have userspace programs that depend on fbdev for graphics output. This does not affect the framebuffer console. If unsure, say N.
Why are you singling out 6.1 for the USB_DWCOTG dependency problem? For me, the 6.6 kernel is the same.
See #6112. Note that this fixes the rpi-6.6.y tree. rpi-6.1.y is not being developed on, but these patches could be back-ported as being low risk.
Why are you singling out 6.1 for the USB_DWCOTG dependency problem? For me, the 6.6 kernel is the same.
I've not tested USB_DWCOTG
on 6.6 myself, but I'm not meaning to infer the the issue is specific to 6.1.
(When I first filed the bug, I was trying to build a 6.1 kernel. The 6.6 kernel sources still aren't tagged by the looks of things (see https://github.com/raspberrypi/linux/issues/6063), but I've moved on to using them regardless.)
Describe the bug
If
CONFIG_USB_DWCOTG=y
is set butCONFIG_USB=m
, building the6.1.73
/stable_20240124
(and likely previous) kernel(s) fails with:Steps to reproduce the behaviour
Device (s)
Raspberry Pi CM4
System
Kernel
6.1.73
Logs
No response
Additional context
The easy fix would be to make
CONFIG_USB_DWCOTG
depend onCONFIG_USB=y
, but might it be possible to fix the DWC driver code to be able to be built as a module itself, or integrated in such a way that it works if USB support overall is a module?