Repository navigation
ak3918ev300_lite_heimvision-pe3020w: drop v4l-utils and two Wi-Fi modules nothing loads - #298
Conversation
…ules nothing loads The image had 20 KB to spare in its 5 MiB root. The next majestic for the EV200/EV300 (audio, HLG, battery, day/night from the ISP: OpenIPC/majestic #417-#423) needs 24 KB more, so it no longer fits. - BR2_PACKAGE_LIBV4L and BR2_PACKAGE_LIBV4L_UTILS: v4l2-compliance, v4l2-ctl, v4l2-dbg, the cec-*, ir-*, rds-ctl, media-ctl, cx18-ctl and ivtv-ctl tools, and the libv4l libraries. Nothing else on the image uses them: majestic does not link libv4l, and no script runs the tools. No other device here selects them. They were also the only reason libstdc++ was kept: the firmware's rootfs script removes it from a musl image unless LIBV4L is set, and only the v4l-utils tools link it. - r8188eu.ko: the staging driver has no alias for this board's RTL8188FU (0bda:f179), which 8188fu drives. - mac80211.ko: 8188fu depends on cfg80211 alone, and the rtl8188fu-generic wlandev entry this board uses loads only 8188fu. | | squashfs (xz) | |---|---| | v4l-utils, libv4l, libstdc++ | -1140 KB | | r8188eu.ko | -148 KB | | mac80211.ko | -124 KB | | root, the current nightly | 4.98 MiB -> 3.58 MiB | Tested on the qemu-bench EV300 twin. It boots this board's nightly with the root repacked without these files, and that majestic. Its test script passed 28 of 28 checks: both streams decode, snapshot, codec list, day/night, the battery API, HLG, and grey night. The same majestic on the untrimmed root is 4 KB over the slot. The twin has no USB Wi-Fi, so 8188fu without mac80211 rests on its modinfo (depends: cfg80211) and on the wlandev script.
PR Summary by QodoPE3020-W: drop v4l-utils, r8188eu and mac80211 to fit root
AI Description
Merge Risk
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can open the rule or relationship behind a finding in one click |
…ules nothing loads (OpenIPC#298) Frees about 1.4 MB of the 5 MiB root (4.98 -> 3.58 MiB on the current nightly), so the next majestic for the EV200/EV300 fits: v4l-utils, libv4l and the libstdc++ they kept (-1140 KB), r8188eu.ko (-148 KB; no alias for this board's RTL8188FU) and mac80211.ko (-124 KB; 8188fu needs cfg80211 alone). Checked on the qemu-bench EV300 twin; Wi-Fi without mac80211 still wants the camera.
The PE3020-W image (#234) had 20 KB to spare in its 5 MiB root. The next majestic for the EV200/EV300 (audio, HLG, battery, day/night from the ISP: OpenIPC/majestic#417–#423) needs 24 KB more, so it no longer fits. This frees about 1.4 MB that nothing on the camera uses.
BR2_PACKAGE_LIBV4L,BR2_PACKAGE_LIBV4L_UTILS:v4l2-compliance,v4l2-ctl,v4l2-dbg,cec-*,ir-*,rds-ctl,media-ctl,cx18-ctl,ivtv-ctl, the libv4l libraries, and libstdc++ with themrootfs_script.shkeeps libstdc++ on a musl image only whileLIBV4L=y, and only the v4l-utils tools link it.r8188eu.ko(excludes list)0bda:f179).8188fudrives it.mac80211.ko(excludes list)8188fudepends oncfg80211alone, and thertl8188fu-genericwlandev entry this board uses loads only8188fu.Root, measured on the current nightly: 4.98 MiB → 3.58 MiB.
Testing
test-anyka-majestic.sh28/28: both streams, snapshot, codec list, day/night, battery API, HLG, grey night.mac80211. The twin has no USB Wi-Fi, so that rests on the module's own dependency list (depends: cfg80211) and on the wlandev script. The HeimVision PE3020-W: AK3918 V300/F37 board findings, 1.5 MiB kernel-slot mismatch and bring-up questions #234 owner is asked to confirmwlan0still associates on this build.