Commit Graph
35 Commits
Author SHA1 Message Date
OpenIPC AI teamandGitHub a5882d5e80 package: stop selecting jsonfilter, mirroring firmware #2304 (#128)
OpenIPC/firmware dropped BR2_PACKAGE_JSONFILTER from every one of its
defconfigs in #2304, once the WebUI stopped calling it. builder's defconfigs are
its own files, so 97 of them kept selecting it. jsonfilter selects JSON_C and
LIBUBOX, and on a device that enables neither uqmi-openipc nor wifibroadcast-ng
nothing else selects libubox, so it and jsonfilter shipped for nothing.

That is what has had three devices over their rootfs cap:

    hi3518ev200_lite_switcam-hs303      rootfs 5124KB/5120KB   -4KB
    ssc333_lite_babysense-see-hd-ip206  rootfs 5124KB/5120KB   -4KB
    ssc333_lite_meari-speed-6s          rootfs 5128KB/5120KB   -8KB

all three red on the nightly, meari since 2026-08-24. Bisecting meari across
firmware revisions lands on #2301, which added 408 bytes to the comment-stripped
sysupgrade script -- these images had no headroom left at all, and 408 bytes of
a genuine bug fix was enough to push one over a 4KB padding step. The fix is to
give them headroom, not to give back the bug fix.

Measured on ssc333_lite_meari-speed-6s, built the way builder.sh builds it --
devices/<item>/ copied over a firmware checkout at master, clean tree both times:

    before   rootfs.squashfs 5128KB/5120KB   size exceeded by: 8KB
    after    rootfs.squashfs 5096KB/5120KB   24KB spare

-32KB, from /usr/bin/jsonfilter (18068 raw) and /usr/lib/libubox.so (30404 raw).
json-c does NOT go: majestic lists it in MAJESTIC_DEPENDENCIES, so buildroot
builds and installs it whether or not BR2_PACKAGE_JSON_C is set. Only the two
files above leave the image.

Two consumers genuinely need jsonfilter and both keep it:

  * devices/apfpv's own etc/init.d/S99msposd reads majestic's config.json
    through it, and ssc338q_apfpv and ssc378qe_apfpv do not enable
    wifibroadcast-ng. Those two keep the symbol, with the reason written above
    the line -- the same undeclared-runtime-dependency trap firmware #2305 had
    to fix, and the reason this is 95 defconfigs and not 97.

  * every other FPV device enables wifibroadcast-ng, whose Config.in selects
    BR2_PACKAGE_JSONFILTER (added by #2305) for the same script. They keep it
    without saying so.

LTE devices keep libubox through uqmi-openipc, which selects it independently.

Nothing else in this repository calls jsonfilter: grepping devices/ and
package/ finds only that one S99msposd line, and firmware's own tree has no
caller left outside wifibroadcast-ng.
2026-08-25 20:29:47 +03:00
Ystinia 8f67509025 Strip down some profiles 2026-06-03 21:33:35 +02:00
Signor Pellegrino (from Citadel PC) 3fcb27018d The selector BR2_OPENIPC_SNS_MODEL=os02g10 is now working, and it is no longer necessary to forcibly delete unnecessary .ko and .bin sensor files. 2026-04-11 18:33:42 +03:00
viktorxda a72e0ea177 Sync firmware changes 2026-04-08 18:04:31 +02:00
Signor Pellegrino (from Citadel PC) 4b2b5ff66c Add WireGuard to some SigmaStar profiles 2025-07-27 17:34:40 +03:00
Signor Pellegrino (from Citadel PC) c847c72e87 Experimental add 1W support to some devices 2025-03-22 17:32:02 +03:00
cronyx badff74a0a remove unneeded 2025-02-20 02:35:55 +03:00
cronyx 71348d60d7 remove unneeded 2025-02-20 02:00:05 +03:00
Signor Pellegrino (from Citadel PC) 6f80a9f674 Up 2025-01-30 00:37:12 +03:00
Signor Pellegrino (from Citadel PC) f2e97e0db5 update custom info for uniview-c1l-2wn-g 2025-01-26 18:49:39 +03:00
cronyx 17a0655c71 fix exclude lists for ssc335de 2025-01-19 13:28:24 +03:00
cronyx 256e3611d5 update uniview-c1l-2wn-g 2025-01-18 18:02:53 +03:00
cronyx ff02fcc9a3 new iq file 2025-01-15 20:01:20 +03:00
cronyx 768d60854c add iq file 2025-01-08 21:27:12 +03:00
viktorxdaandGitHub 5fcb9a01a1 Sync firmware changes (#32) 2024-10-26 00:36:47 +03:00
Signor PellegrinoandGitHub 589b106cb3 Update ssc335de_lite_uniview-c1l-2wn-g_defconfig, enable mqtt 2024-06-12 23:12:24 +03:00
Viktor 6d241f805d Sync firmware changes 2024-04-07 18:27:43 +02:00
Viktor d9fc45c4d1 Sync firmware changes 2024-03-18 12:31:11 +01:00
Signor Pellegrino (from Citadel PC) 1bb08528a4 Strip unused kernel modules 2024-02-21 01:22:38 +03:00
Signor Pellegrino (from Citadel PC) 38854a1799 Strip unused sensors 2024-02-20 23:56:28 +03:00
Signor Pellegrino (from Citadel PC) b1f39de410 Sort by name majestic packages 2024-02-17 15:35:38 +03:00
Viktor dfef2788ee Sync firmware changes 2024-02-16 14:43:47 +01:00
cronyx 4763681bcc cleanup 2024-02-08 17:21:10 +03:00
Viktor 61ca753bc9 Sync firmware changes 2024-02-08 03:34:35 +01:00
Signor Pellegrino (from Citadel PC) 907669eb42 Remove unused files 2024-02-04 22:25:58 +03:00
Viktor f83b59b517 Sync firmware changes 2024-01-24 14:50:49 +01:00
viktorxdaandGitHub 65d4fd35a2 Sync changes with firmware (#6) 2024-01-21 06:45:20 +01:00
cronyx 125feea40c update exclude files 2024-01-05 13:31:22 +03:00
cronyx f5ca556e4b rename web package 2024-01-04 13:01:40 +03:00
Signor Pellegrino (from Citadel PC) f8e8087287 Add colorToGray mode for some SigmaStar devices 2023-12-18 03:00:24 +03:00
Signor Pellegrino (from Citadel PC) e226d8d6ee Add QUIRC package 2023-12-10 14:05:55 +03:00
Signor Pellegrino (from Citadel PC) dc91076297 Remove NFS modules 2023-12-10 14:04:49 +03:00
Signor Pellegrino (from Citadel PC) 088fd4a3fc Update customizer.sh for uniview-c1l-2wn-g 2023-12-05 22:16:11 +03:00
Signor Pellegrino (from Citadel PC) 3b77702954 Add customizer.sh for uniview-c1l-2wn-g 2023-12-05 20:29:26 +03:00
Signor Pellegrino (from Citadel PC) aa92a2295a Rename some devices 2023-12-05 20:24:00 +03:00