Repository navigation
hi3516ev300_neo: drop two modules its 7.0 kernel never loads, back under the rootfs cap - #2866
Conversation
…der the rootfs cap hi3516ev300_neo has failed on master since 4cc6476: rootfs.squashfs 5124/5120 KB, 4 KB over (run 43742671078). Its last passing build was 5112 KB. Two files it ships are dead weight on a Linux 7.0 board: - open_ive_neo.ko (26 KB). Nothing loads it. HISILICON_OPENSDK_SKIP_UNUSED_EV200 strips it from */extra/, but the 7.0 kernel's Kbuild installs out-of-tree modules into */updates/, so on neo it slipped through. The hook now clears both paths. - /lib/modules/4.9.37/hisilicon/camhi-motor.ko (7.7 KB). This is a prebuilt for the vendor 4.9.37 kernel, which a 7.0 kernel cannot load. It is no longer installed when OPENIPC_VARIANT=neo. Together that is about 12 KB compressed, out of the cap's 5120 KB. Nothing a neo camera loads is removed.
PR Summary by QodoKeep hi3516ev300_neo under its rootfs cap by omitting unused modules
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo
1. Neo image change lacks camera evidence
|
|
On the Qodo review:
|
|
CI: every firmware build passes, including |
`hi3516ev300_neo` has failed on master since 4cc6476 with `rootfs.squashfs: [5124KB/5120KB]`, 4 KB over the cap (run 43742671078, job 132900010437). The last passing master build (c7ee38b, run 43622440726) was 5112 KB. In between, the image grew by about 12 KB, mostly from changes to its packages (majestic-af bump, S95majestic, failsafe) and to majestic itself.
This PR does not trim anything a neo camera uses. It removes two files from the published `openipc.hi3516ev300-nor-neo` image (2026-11-14) that a Linux 7.0 board can never load:
Together that is about 12 KB compressed, which brings the image back to roughly where it last passed. Other boards in the family are unaffected: on 4.9 the module was already stripped from `extra/`, and non-neo builds still install camhi-motor.
Testing. This has not run on a camera; I have no neo board. What I checked: both files are in the published
openipc.hi3516ev300-nor-neoimage (2026-11-14). The image's ownload_hisiliconloadsopen_ive, notopen_ive_neo. No script on the image or in this tree namescamhi-motor.koor/lib/modules/4.9.37. The image's kernel is 7.0.0, so a 4.9.37 module cannot load there. The CIhi3516ev300_neojob is the size check.