Hi, I am in the process of building the latest release candidate for the raspberry pi. Compilation of the kernel halts as it comes up with an interactive question about some V4L modules. For now it's not a problem to answer those questions manually which results in a successful build. However our automated process fails as it doesnt answer those questions
Running make target/linux/{clean,compile} V=s comes up with:
...
*
* Restart config...
*
*
* V4L platform devices
*
V4L platform devices (V4L_PLATFORM_DRIVERS) [Y/n/?] y
Marvell 88ALP01 (Cafe) CMOS Camera Controller support (VIDEO_CAFE_CCIC) [N/m/?] n
Cadence Video Devices (VIDEO_CADENCE) [N/y/?] n
Aspeed AST2400 and AST2500 Video Engine driver (VIDEO_ASPEED) [N/m/?] n
Video Multiplexer (VIDEO_MUX) [N/m/?] n
Xilinx Video IP (EXPERIMENTAL) (VIDEO_XILINX) [N/m/?] n
Broadcom BCM283x/BCM271x Unicam video capture driver (VIDEO_BCM2835_UNICAM) [N/m/?] (NEW)
To fix this I searched around and tried to run make kernel_oldconfig which did prompt for a new config item, but not the expected Broadcom driver.
Doing this also doesnt result in a change to the kernel config which I could submit as a patch.
I hope someone can point me in the right direction..
Thanks for the quick reply, the question might indeed be more generic.
Now i've added the broadcom video driver to /target/linux/generic/config-5.15 and this works
I'm not sure though if this is the correct place to make this adjustment?
diff --git a/target/linux/generic/config-5.15 b/target/linux/generic/config-5.15
index 5cac839f59..b3faa65ac3 100644
--- a/target/linux/generic/config-5.15
+++ b/target/linux/generic/config-5.15
@@ -7389,6 +7389,7 @@ CONFIG_VHOST_MENU=y
# CONFIG_VIDEO_WM8775 is not set
# CONFIG_VIDEO_XILINX is not set
# CONFIG_VIDEO_ZORAN is not set
+CONFIG_VIDEO_BCM2835_UNICAM=n
# CONFIG_VIRTIO_BALLOON is not set
# CONFIG_VIRTIO_BLK_SCSI is not set
# CONFIG_VIRTIO_CONSOLE is not set
Edit: i see # CONFIG_VIDEO_BCM2835_UNICAM is not set would do the job as well (probably removes de 'NEW' state and picks the default which is N?).
There is indeed a .config file in the root folder, but it has no configuration for the kernel. To my knowledge this is located in the file I just changed