Adding UVC support to ConnectCore6UL SBC

Hello.
Im trying to add UVC support to a ConnectCore6UL developement kit.

I followed this tutorial on making temporary changes to the kernel and included support for the UVC class. I touched absolutely nothing else, because, as you might have guessed, Im a complete noob when it comes to compiling kernels.

I then saved the changes, uploaded the zImage file as mentioned in the tutorials and rebooted the device.
Running ls /dev/video* now correctly displays the webcam.

However, wifi won’t load anymore.

[01:14:03:723] Booting Linux on physical CPU 0x0
[01:14:03:726] Linux version 5.15.71-dey+ge794372fba81+p0 (oe-user@oe-host) (arm-dey-linux-gnueabi-gcc (GCC) 11.4.0, GNU ld (GNU Binutils) 2.38.20220708) #1 PREEMPT Mon Nov 20 14:49:48 UTC 2023
[01:14:03:750] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c53c7d
[01:14:03:750] CPU: div instructions available: patching division code
[01:14:03:763] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[01:14:03:763] OF: fdt: Machine model: Digi International ConnectCore 6UL SBC.
[01:14:03:778] Memory policy: Data cache writeback
[01:14:03:778] Reserved memory: created CMA memory pool at 0x8c000000, size 64 MiB
[01:14:03:778] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[01:14:03:795] Zone ranges:
[01:14:03:795]   Normal   [mem 0x0000000080000000-0x000000008fffffff]
[01:14:03:795]   HighMem  empty
[01:14:03:795] Movable zone start for each node
[01:14:03:795] Early memory node ranges
[01:14:03:795]   node   0: [mem 0x0000000080000000-0x000000008fffffff]
[01:14:03:811] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fffffff]
[01:14:03:811] CPU: All CPU(s) started in SVC mode.
[01:14:03:811] Built 1 zonelists, mobility grouping on.  Total pages: 64960
[01:14:03:830] Kernel command line: console=ttymxc4,115200 mtdparts=gpmi-nand:3m(bootloader),1m(environment),1m(safe),12m(linux),14m(recovery),122m(rootfs),-(update) ubi.mtd=linux ubi.mtd=rootfs root=ubi1:rootfs rootfstype=ubifs rw fbcon=logo-pos:center fbcon=logo-count:1
[01:14:03:848] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear)
[01:14:03:848] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[01:14:03:848] mem auto-init: stack:off, heap alloc:off, heap free:off
[01:14:03:864] Memory: 177864K/262144K available (10240K kernel code, 1158K rwdata, 2408K rodata, 1024K init, 396K bss, 18744K reserved, 65536K cma-reserved, 0K highmem)
[01:14:03:881] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[01:14:03:881] rcu: Preemptible hierarchical RCU implementation.
[01:14:03:881] 	Trampoline variant of Tasks RCU enabled.
[01:14:03:881] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.
[01:14:03:896] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[01:14:03:896] Switching to timer-based delay loop, resolution 41ns
[01:14:03:896] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[01:14:03:911] clocksource: mxc_timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[01:14:03:911] Console: colour dummy device 80x30
[01:14:03:926] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=240000)
[01:14:03:926] pid_max: default: 32768 minimum: 301
[01:14:03:926] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[01:14:03:945] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[01:14:03:945] CPU: Testing write buffer coherency: ok
[01:14:03:945] Setting up static identity map for 0x80100000 - 0x80100060
[01:14:03:962] rcu: Hierarchical SRCU implementation.
[01:14:03:962] devtmpfs: initialized
[01:14:03:962] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[01:14:03:962] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[01:14:03:980] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[01:14:03:980] pinctrl core: initialized pinctrl subsystem
[01:14:03:980] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[01:14:03:996] DMA: preallocated 256 KiB pool for atomic coherent allocations
[01:14:03:996] thermal_sys: Registered thermal governor 'step_wise'
[01:14:03:996] cpuidle: using governor menu
[01:14:03:996] CPU identified as i.MX6UL, silicon rev 1.2
[01:14:04:013] vdd3p0: supplied by regulator-dummy
[01:14:04:013] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[01:14:04:013] hw-breakpoint: maximum watchpoint size is 8 bytes.
[01:14:04:013] imx6ul-pinctrl 20e0000.pinctrl: initialized IMX pinctrl driver
[01:14:04:019] SCSI subsystem initialized
[01:14:04:023] usbcore: registered new interface driver usbfs
[01:14:04:026] usbcore: registered new interface driver hub
[01:14:04:029] usbcore: registered new device driver usb
[01:14:04:032] gpio-28 (scl): enforced open drain please flag it properly in DT/ACPI DSDT/board file
[01:14:04:042] i2c i2c-0: IMX I2C adapter registered
[01:14:04:043] mc: Linux media interface: v0.10
[01:14:04:047] videodev: Linux video capture interface: v2.00
[01:14:04:050] pps_core: LinuxPPS API ver. 1 registered
[01:14:04:054] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
[01:14:04:064] PTP clock support registered
[01:14:04:065] Advanced Linux Sound Architecture Driver Initialized.
[01:14:04:072] Bluetooth: Core ver 2.22
[01:14:04:072] NET: Registered PF_BLUETOOTH protocol family
[01:14:04:076] Bluetooth: HCI device and connection manager initialized
[01:14:04:083] Bluetooth: HCI socket layer initialized
[01:14:04:084] Bluetooth: L2CAP socket layer initialized
[01:14:04:090] Bluetooth: SCO socket layer initialized
[01:14:04:094] clocksource: Switched to clocksource mxc_timer1
[01:14:04:098] NET: Registered PF_INET protocol family
[01:14:04:100] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear)
[01:14:04:108] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[01:14:04:113] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[01:14:04:119] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear)
[01:14:04:128] TCP bind hash table entries: 2048 (order: 1, 8192 bytes, linear)
[01:14:04:133] TCP: Hash tables configured (established 2048 bind 2048)
[01:14:04:138] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[01:14:04:144] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[01:14:04:149] NET: Registered PF_UNIX/PF_LOCAL protocol family
[01:14:04:154] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[01:14:04:161] Bus freq driver module loaded
[01:14:04:162] Initialise system trusted keyrings
[01:14:04:165] workingset: timestamp_bits=14 max_order=16 bucket_order=2
[01:14:04:172] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[01:14:04:176] NET: Registered PF_ALG protocol family
[01:14:04:177] Key type asymmetric registered
[01:14:04:181] Asymmetric key parser 'x509' registered
[01:14:04:184] io scheduler mq-deadline registered
[01:14:04:188] io scheduler kyber registered
[01:14:04:190] pfuze100-regulator 0-0008: Full layer: 1, Metal layer: 1
[01:14:04:197] pfuze100-regulator 0-0008: FAB: 0, FIN: 0
[01:14:04:201] pfuze100-regulator 0-0008: pfuze3000 found.
[01:14:04:205] pwm-backlight backlight: supply power not found, using dummy regulator
[01:14:04:211] mxsfb 21c8000.lcdif: supply aux not found, using dummy regulator
[01:14:04:217] Console: switching to colour frame buffer device 160x50
[01:14:04:222] mxsfb 21c8000.lcdif: initialized
[01:14:04:222] imx-sdma 20ec000.sdma: firmware found.
[01:14:04:226] imx-sdma 20ec000.sdma: loaded firmware 3.6
[01:14:04:230] mxs-dma 1804000.dma-apbh: initialized
[01:14:04:233] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 22, base_baud = 5000000) is a IMX
[01:14:04:243] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 61, base_baud = 5000000) is a IMX
[01:14:04:250] 21ec000.serial: ttymxc2 at MMIO 0x21ec000 (irq = 62, base_baud = 5000000) is a IMX
[01:14:04:255] 21f4000.serial: ttymxc4 at MMIO 0x21f4000 (irq = 63, base_baud = 5000000) is a IMX
[01:14:04:265] printk: console [ttymxc4] enabled
[01:14:04:292] brd: module loaded
[01:14:04:308] loop: module loaded
[01:14:04:313] i2c i2c-0: <i2c_imx_set_clk> Changing bitrate to 100000
[01:14:04:337] caam 2140000.crypto: device ID = 0x0a16030000000000 (Era 8)
[01:14:04:344] caam 2140000.crypto: job rings = 3, qi = 0
[01:14:04:376] caam algorithms registered in /proc/crypto
[01:14:04:384] caam 2140000.crypto: caam pkc algorithms registered in /proc/crypto
[01:14:04:393] caam 2140000.crypto: rng crypto API alg registered prng-caam
[01:14:04:399] caam 2140000.crypto: registering rng-caam
[01:14:04:403] Device caam-keygen registered
[01:14:04:417] caam-snvs 20cc000.caam-snvs: violation handlers armed - non-secure state
[01:14:04:426] caam_keyblob caam-keyblob: caam keyblob initialized
[01:14:04:433] nand: device found, Manufacturer ID: 0x01, Chip ID: 0xda
[01:14:04:441] nand: AMD/Spansion S34ML02G2
[01:14:04:442] random: crng init done
[01:14:04:444] nand: 256 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 128
[01:14:04:452] Scanning device for bad blocks
[01:14:04:987] 7 cmdlinepart partitions found on MTD device gpmi-nand
[01:14:04:994] Creating 7 MTD partitions on "gpmi-nand":
[01:14:04:997] 0x000000000000-0x000000300000 : "bootloader"
[01:14:05:002] 0x000000300000-0x000000400000 : "environment"
[01:14:05:010] 0x000000400000-0x000000500000 : "safe"
[01:14:05:016] 0x000000500000-0x000001100000 : "linux"
[01:14:05:023] 0x000001100000-0x000001f00000 : "recovery"
[01:14:05:030] 0x000001f00000-0x000009900000 : "rootfs"
[01:14:05:038] 0x000009900000-0x000010000000 : "update"
[01:14:05:045] gpmi-nand 1806000.nand-controller: driver registered.
[01:14:05:057] CAN device driver interface
[01:14:05:108] pps pps0: new PPS source ptp0
[01:14:05:118] fec 20b4000.ethernet eth0: registered PHC device 0
[01:14:05:125] PPP generic driver version 2.4.2
[01:14:05:129] PPP BSD Compression module registered
[01:14:05:131] PPP Deflate Compression module registered
[01:14:05:137] usbcore: registered new interface driver cdc_ether
[01:14:05:142] usbcore: registered new interface driver cdc_eem
[01:14:05:147] usbcore: registered new interface driver sierra_net
[01:14:05:151] usbcore: registered new interface driver cdc_ncm
[01:14:05:156] usbcore: registered new interface driver qmi_wwan
[01:14:05:161] usbcore: registered new interface driver cdc_mbim
[01:14:05:165] usbcore: registered new interface driver r8153_ecm
[01:14:05:170] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[01:14:05:175] usbcore: registered new interface driver cdc_acm
[01:14:05:180] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[01:14:05:187] usbcore: registered new interface driver cdc_wdm
[01:14:05:191] usbcore: registered new interface driver usb-storage
[01:14:05:196] usbcore: registered new interface driver usbserial_generic
[01:14:05:202] usbserial: USB Serial support registered for generic
[01:14:05:206] usbcore: registered new interface driver option
[01:14:05:211] usbserial: USB Serial support registered for GSM modem (1-port)
[01:14:05:217] usbcore: registered new interface driver qcserial
[01:14:05:221] usbserial: USB Serial support registered for Qualcomm USB modem
[01:14:05:227] usbcore: registered new interface driver sierra
[01:14:05:231] usbserial: USB Serial support registered for Sierra USB modem
[01:14:05:237] usbcore: registered new interface driver usb_ehset_test
[01:14:05:246] Goodix-TS 0-005d: supply AVDD28 not found, using dummy regulator
[01:14:05:254] Goodix-TS 0-005d: supply VDDIO not found, using dummy regulator
[01:14:05:328] Goodix-TS 0-005d: i2c test failed attempt 1: -6
[01:14:05:368] Goodix-TS 0-005d: i2c test failed attempt 2: -6
[01:14:05:528] Goodix-TS 0-005d: i2c test failed attempt 1: -6
[01:14:05:568] Goodix-TS 0-005d: i2c test failed attempt 2: -6
[01:14:05:607] Goodix-TS 0-005d: I2C communication failure: -6
[01:14:05:635] input: mca-som-pwrkey as /devices/platform/soc/2100000.bus/21a0000.i2c/i2c-0/0-007e/mca-som-pwrkey/input/input0
[01:14:05:655] mca-rtc mca-som-rtc: registered as rtc0
[01:14:05:661] mca-rtc mca-som-rtc: setting system clock to 2023-12-30T23:14:05 UTC (1703978045)
[01:14:05:689] i2c_dev: i2c /dev entries driver
[01:14:05:695] pxp-v4l2 pxp-v4l2: video output device registered as /dev/video0
[01:14:05:703] pxp-v4l2 pxp-v4l2: initialized
[01:14:05:706] usbcore: registered new interface driver uvcvideo
[01:14:05:714] Watchdog driver for MCA (timeout=30 sec, nowayout=1, reset (full))
[01:14:05:723] Bluetooth: HCI UART driver ver 2.3
[01:14:05:726] Bluetooth: HCI UART protocol H4 registered
[01:14:05:730] sdhci: Secure Digital Host Controller Interface driver
[01:14:05:734] sdhci: Copyright(c) Pierre Ossman
[01:14:05:737] sdhci-pltfm: SDHCI platform and OF driver helper
[01:14:05:744] sdhci-esdhc-imx 2190000.mmc: could not get ultra high speed state, work on normal mode
[01:14:05:754] usbcore: registered new interface driver usbhid
[01:14:05:760] sdhci-esdhc-imx 2194000.mmc: could not get ultra high speed state, work on normal mode
[01:14:05:770] usbhid: USB HID core driver
[01:14:05:793] max98088 0-0010: revision A
[01:14:05:803] mmc1: SDHCI controller on 2194000.mmc [2194000.mmc] using ADMA
[01:14:05:811] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[01:14:05:819] max98088 0-0010: ASoC: mux External MIC has no paths
[01:14:05:835] NET: Registered PF_LLC protocol family
[01:14:05:840] NET: Registered PF_INET6 protocol family
[01:14:05:847] Segment Routing with IPv6
[01:14:05:851] In-situ OAM (IOAM) with IPv6
[01:14:05:854] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[01:14:05:859] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[01:14:05:865] NET: Registered PF_PACKET protocol family
[01:14:05:870] can: controller area network core
[01:14:05:873] NET: Registered PF_CAN protocol family
[01:14:05:877] can: raw protocol
[01:14:05:877] can: broadcast manager protocol
[01:14:05:880] can: netlink gateway - max_hops=1
[01:14:05:887] Bluetooth: RFCOMM TTY layer initialized
[01:14:05:888] Bluetooth: RFCOMM socket layer initialized
[01:14:05:894] Bluetooth: RFCOMM ver 1.11
[01:14:05:895] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[01:14:05:901] Bluetooth: BNEP filters: protocol multicast
[01:14:05:905] Bluetooth: BNEP socket layer initialized
[01:14:05:908] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[01:14:05:913] Bluetooth: HIDP socket layer initialized
[01:14:05:917] 8021q: 802.1Q VLAN Support v1.8
[01:14:05:918] lib80211: common routines for IEEE802.11 drivers
[01:14:05:924] batman_adv: B.A.T.M.A.N. advanced 2021.3 (compatibility version 15) loaded
[01:14:05:933] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[01:14:05:941] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[01:14:05:950] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[01:14:05:956] mmc0: new high speed SDIO card at address 0001
[01:14:05:963] Loading compiled-in X.509 certificates
[01:14:06:010] cpu: supplied by SW1B
[01:14:06:015] vddsoc: supplied by SW1B
[01:14:06:018] GPIO driver for MCA
[01:14:06:050] mmc1: host does not support reading read-only switch, assuming write-enable
[01:14:06:061] mmc1: new high speed SDXC card at address aaaa
[01:14:06:068] mmcblk1: mmc1:aaaa SN128 119 GiB 
[01:14:06:075]  mmcblk1:
[01:14:06:119] pps pps1: new PPS source ptp1
[01:14:06:125] fec 2188000.ethernet eth1: registered PHC device 1
[01:14:06:132] imx_usb 2184000.usb: No over current polarity defined
[01:14:06:315] ci_hdrc ci_hdrc.1: EHCI Host Controller
[01:14:06:321] ci_hdrc ci_hdrc.1: new USB bus registered, assigned bus number 1
[01:14:06:347] ci_hdrc ci_hdrc.1: USB 2.0 started, EHCI 1.00
[01:14:06:354] hub 1-0:1.0: USB hub found
[01:14:06:358] hub 1-0:1.0: 1 port detected
[01:14:06:363] Tamper driver for MCA
[01:14:06:367] cpu cpu0: failed to disable 696MHz OPP
[01:14:06:373] GPIO driver for MCA
[01:14:06:437] Goodix-TS 0-0014: supply AVDD28 not found, using dummy regulator
[01:14:06:445] Goodix-TS 0-0014: supply VDDIO not found, using dummy regulator
[01:14:06:568] Goodix-TS 0-0014: i2c test failed attempt 1: -6
[01:14:06:608] Goodix-TS 0-0014: i2c test failed attempt 2: -6
[01:14:06:648] usb 1-1: new high-speed USB device number 2 using ci_hdrc
[01:14:06:655] Goodix-TS 0-0014: I2C communication failure: -6
[01:14:06:662] imx_thermal 20c8000.anatop:tempmon: Industrial CPU temperature grade - max:105C critical:100C passive:85C
[01:14:06:674] ubi0: default fastmap pool size: 8
[01:14:06:677] ubi0: default fastmap WL pool size: 4
[01:14:06:683] ubi0: attaching mtd3
[01:14:06:710] ubi0: scanning is finished
[01:14:06:716] ubi0 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 2, need 40
[01:14:06:727] ubi0: attached mtd3 (name "linux", size 12 MiB)
[01:14:06:733] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[01:14:06:737] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[01:14:06:745] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[01:14:06:750] ubi0: good PEBs: 96, bad PEBs: 0, corrupted PEBs: 0
[01:14:06:753] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[01:14:06:761] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 0
[01:14:06:768] ubi0: available PEBs: 0, total reserved PEBs: 96, PEBs reserved for bad PEB handling: 2
[01:14:06:776] ubi0: background thread "ubi_bgt0d" started, PID 161
[01:14:06:781] ubi1: default fastmap pool size: 45
[01:14:06:784] ubi1: default fastmap WL pool size: 22
[01:14:06:788] ubi1: attaching mtd5
[01:14:06:850] hub 1-1:1.0: USB hub found
[01:14:06:854] hub 1-1:1.0: 4 ports detected
[01:14:07:067] ubi1: scanning is finished
[01:14:07:076] ubi1 warning: ubi_eba_init: cannot reserve enough PEBs for bad PEB handling, reserved 38, need 40
[01:14:07:087] ubi1: attached mtd5 (name "rootfs", size 122 MiB)
[01:14:07:094] ubi1: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[01:14:07:100] ubi1: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[01:14:07:105] ubi1: VID header offset: 2048 (aligned 2048), data offset: 4096
[01:14:07:111] ubi1: good PEBs: 976, bad PEBs: 0, corrupted PEBs: 0
[01:14:07:116] ubi1: user volume: 1, internal volumes: 1, max. volumes count: 128
[01:14:07:122] ubi1: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0
[01:14:07:129] ubi1: available PEBs: 0, total reserved PEBs: 976, PEBs reserved for bad PEB handling: 38
[01:14:07:137] ubi1: background thread "ubi_bgt1d" started, PID 162
[01:14:07:142] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[01:14:07:151] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[01:14:07:158] platform regulatory.0: Direct firmware load for regulatory.db failed with error -2
[01:14:07:166] ALSA device list:
[01:14:07:166]   #0: imx-max98088
[01:14:07:169] platform regulatory.0: Falling back to sysfs fallback for: regulatory.db
[01:14:07:178] UBIFS (ubi1:0): Mounting in unauthenticated mode
[01:14:07:182] UBIFS (ubi1:0): background thread "ubifs_bgt1_0" started, PID 167
[01:14:07:226] UBIFS (ubi1:0): UBIFS: mounted UBI device 1, volume 0, name "rootfs"
[01:14:07:235] UBIFS (ubi1:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[01:14:07:243] UBIFS (ubi1:0): FS size: 116944896 bytes (111 MiB, 921 LEBs), max 8191 LEBs, journal size 9023488 bytes (8 MiB, 72 LEBs)
[01:14:07:254] UBIFS (ubi1:0): reserved for root: 0 bytes (0 KiB)
[01:14:07:259] UBIFS (ubi1:0): media format: w4/r0 (latest is w5/r0), UUID C971BCC3-C4A9-4CA3-B1E5-44E8333E4E7C, small LPT model
[01:14:07:270] VFS: Mounted root (ubifs filesystem) on device 0:14.
[01:14:07:275] devtmpfs: mounted
[01:14:07:278] Freeing unused kernel image (initmem) memory: 1024K
[01:14:07:285] Run /sbin/init as init process
[01:14:07:318] usb 1-1.1: new high-speed USB device number 3 using ci_hdrc
[01:14:07:367] INIT: version 3.01 booting
[01:14:07:518] usb 1-1.1: Found UVC 1.00 device USB Camera (0bda:5830)
[01:14:07:535] input: USB Camera: USB Camera as /devices/platform/soc/2100000.bus/2184200.usb/ci_hdrc.1/usb1/1-1/1-1.1/1-1.1:1.0/input/input1
[01:14:07:560] hid-generic 0003:0BDA:5830.0001: device has no listeners, quitting
[01:14:07:932] Starting udev
[01:14:08:064] udevd[197]: starting version 3.2.10
[01:14:08:200] udevd[198]: starting eudev-3.2.10
[01:14:08:694] mtdblock: MTD device 'bootloader' is NAND, please consider using UBI block devices instead.
[01:14:08:710] mtdblock: MTD device 'environment' is NAND, please consider using UBI block devices instead.
[01:14:08:728] mtdblock: MTD device 'recovery' is NAND, please consider using UBI block devices instead.
[01:14:08:754] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[01:14:08:778] mtdblock: MTD device 'safe' is NAND, please consider using UBI block devices instead.
[01:14:10:872] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:11:014] UBIFS (ubi0:0): Mounting in unauthenticated mode
[01:14:11:139] ubi2: default fastmap pool size: 40
[01:14:11:142] ubi2: default fastmap WL pool size: 20
[01:14:11:148] ubi2: attaching mtd6
[01:14:11:229] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "linux", R/O mode
[01:14:11:241] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[01:14:11:368] UBIFS (ubi0:0): FS size: 9904128 bytes (9 MiB, 78 LEBs), max 255 LEBs, journal size 4317184 bytes (4 MiB, 34 LEBs)
[01:14:11:462] UBIFS (ubi0:0): reserved for root: 0 bytes (0 KiB)
[01:14:11:472] UBIFS (ubi0:0): media format: w4/r0 (latest is w5/r0), UUID 9ED36826-EE23-4EAD-8491-6833A28528E3, small LPT model
[01:14:11:546] mmc0: card 0001 removed
[01:14:11:615] mtdblock: MTD device 'linux' is NAND, please consider using UBI block devices instead.
[01:14:12:613] ubi2: scanning is finished
[01:14:12:699] ubi2: attached mtd6 (name "update", size 103 MiB)
[01:14:12:704] ubi2: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[01:14:12:827] ubi2: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[01:14:12:897] ubi2: VID header offset: 2048 (aligned 2048), data offset: 4096
[01:14:12:972] ubi2: good PEBs: 824, bad PEBs: 0, corrupted PEBs: 0
[01:14:12:977] ubi2: user volume: 0, internal volumes: 1, max. volumes count: 128
[01:14:13:088] ubi2: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 2713657606
[01:14:13:104] ubi2: available PEBs: 778, total reserved PEBs: 46, PEBs reserved for bad PEB handling: 40
[01:14:13:284] ubi2: background thread "ubi_bgt2d" started, PID 429
[01:14:13:524] mtdblock: MTD device 'recovery' is NAND, please consider using UBI block devices instead.
[01:14:13:669] sdhci-esdhc-imx 2190000.mmc: could not get ultra high speed state, work on normal mode
[01:14:13:714] mtdblock: MTD device 'update' is NAND, please consider using UBI block devices instead.
[01:14:13:844] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[01:14:13:878] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[01:14:13:934] mtdblock: MTD device 'safe' is NAND, please consider using UBI block devices instead.
[01:14:13:979] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[01:14:14:021] qca65x4: [ERROR] Loading wlan module
[01:14:14:046] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[01:14:14:168] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[01:14:14:249] mmc0: new high speed SDIO card at address 0001
[01:14:14:313] mtdblock: MTD device 'bootloader' is NAND, please consider using UBI block devices instead.
[01:14:14:462] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0
[01:14:14:479] blk_update_request: I/O error, dev mtdblock0, sector 0 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0
[01:14:14:485] Buffer I/O error on dev mtdblock0, logical block 0, async page read
[01:14:15:183] mtdblock: MTD device 'rootfs' is NAND, please consider using UBI block devices instead.
[01:14:15:522] mtdblock: MTD device 'linux' is NAND, please consider using UBI block devices instead.
[01:14:15:588] mtdblock: MTD device 'environment' is NAND, please consider using UBI block devices instead.
[01:14:15:630] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:15:784] mmc0: card 0001 removed
[01:14:15:844] mtdblock: MTD device 'update' is NAND, please consider using UBI block devices instead.
[01:14:15:892] mtdblock: MTD device 'recovery' is NAND, please consider using UBI block devices instead.
[01:14:15:979] squashfs: Unknown parameter 'umask'
[01:14:16:007] FAT-fs (mmcblk1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[01:14:17:841] sdhci-esdhc-imx 2190000.mmc: could not get ultra high speed state, work on normal mode
[01:14:17:884] mmc0: SDHCI controller on 2190000.mmc [2190000.mmc] using ADMA
[01:14:17:909] qca65x4: [ERROR] Loading wlan module
[01:14:17:922] mmc0: queuing unknown CIS tuple 0x01 [d9 01 ff] (3 bytes)
[01:14:17:945] mmc0: queuing unknown CIS tuple 0x1a [01 01 00 02 07] (5 bytes)
[01:14:17:961] mmc0: queuing unknown CIS tuple 0x1b [c1 41 30 30 ff ff 32 00] (8 bytes)
[01:14:17:968] mmc0: queuing unknown CIS tuple 0x14 [] (0 bytes)
[01:14:17:978] mmc0: new high speed SDIO card at address 0001
[01:14:18:063] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:18:188] mmc0: card 0001 removed
[01:14:19:002] ALSA: Restoring mixer settings...
[01:14:19:073] alsa-lib ../../../alsa-lib-1.2.6.1/src/ucm/main.c:1412:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -2
[01:14:19:163] INIT: Entering runlevel: 5
[01:14:19:372] Starting system message bus: dbus.
[01:14:19:511] Starting syslogd/klogd: done
[01:14:19:596] Configuring network interfaces... done.
[01:14:19:849] Starting NetworkManager: done
[01:14:19:901] Starting Xserver
[01:14:20:194] Starting Dropbear SSH server: dropbear.
[01:14:20:355] qca65x4: [ERROR] Loading wlan module
[01:14:20:562] Starting bluetooth hardware: qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:22:996] qca65x4: [ERROR] Loading wlan module
[01:14:23:286] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:23:340] done.
[01:14:25:954] qca65x4: [ERROR] Loading wlan module
[01:14:26:523] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:26:653] Starting bluetooth: bluetoothd.
[01:14:26:935] Resetting bootcount value...  done.
[01:14:27:192] Starting Busybox ACPI daemon: done
[01:14:27:472] starting Busybox HTTP Daemon: httpd... done.
[01:14:27:802] Starting Busybox NTP client/server: done
[01:14:28:311] Starting vsftpd server: done
[01:14:28:825] Starting tcf-agent: qca65x4: [ERROR] Loading wlan module
[01:14:29:462] OK
[01:14:29:572] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:29:801] 
[01:14:29:810] Digi Embedded Yocto 4.0-r4 ccimx6ulsbc /dev/ttymxc4
[01:14:29:817] 
[01:14:29:817] ccimx6ulsbc login: qca65x4: [ERROR] Loading wlan module
[01:14:32:246] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:34:630] qca65x4: [ERROR] Loading wlan module
[01:14:34:815] qca65x4: [WARN] Loading wlan module failed, retrying...
[01:14:37:124] qca65x4: [ERROR] Loading wlan module

I have no clue what I did wrong.

Going to leave my solution here, in case someone else stumbles upon it.
To add UVC (webcam) support, run:

  1. bitbake linux-dey -c menuconfig
    Enable UVC support in device drivers / multimedia support / media drivers :
    Media USB Adapters (y), and under media usb adapters, enable UVC (y) and UVC input events (y).
  2. bitbake linux-dey
  3. bitbake core-image-base
  4. cd to build directory (…)/tmp/deploy/images/ccimx6ulsbc/
  5. ./install_linux_fw_uuu.sh -i core-image-base

Now, ls /dev/video* outputs /dev/video0 /dev/video1 /dev/video2, where the video1 and video2 instances are my webcam.