Repository navigation
build: a fixed-slot package that no longer fits is skipped, not fatal - #2666
Conversation
Boards on the split layout that still ship the fixed-slot package beside it fail their whole build when the uImage outgrows 1983K or the rootfs outgrows its 5 or 8 MiB slot. That is how hi3518ev300 lite broke the nightly before #2656. On the 2026-10-22 nightly, the next ones are close: the gk7205v200, gk7205v300 and gk7605v100 lite rootfs are 20K short of 5120K, hi3516ev200 lite 24K and gk7202v300 lite 32K, growing 16-32K a month. The fixed-slot package is the extra on these boards. A build whose uImage or rootfs no longer fits its slot now ships the split package alone, with a ::warning:: saying which sizes outgrew which slots. The split package is checked and built exactly as before. Cameras on fixed slots then upgrade to the split layout: sysupgrade falls back to the -split package, and defib and the site's installer install it. Tested on a gk7205v500 lite build's images (TARGET with its .config): with the real sizes (uImage 1934K, rootfs 5044K) make repack builds both packages as before; with the rootfs padded to 5130K it prints "::warning::gk7205v500 lite: uImage 1934KB/1983KB, rootfs.squashfs 5130KB/5120KB outgrow the fixed slots; shipping the split package only" and builds the -split package alone.
PR Summary by QodoSkip oversized fixed-slot NOR packages while retaining split packages
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
Code Review by Qodo
1. Fixed-slot cameras lack boot evidence
|
From review: it named both images whenever either one did not fit. It now lists the uImage, the rootfs or both, each with its size and slot. Tested on a gk7205v500 lite build's images: rootfs padded to 5130K -> 'rootfs.squashfs 5130KB/5120KB outgrew the fixed slot'; uImage padded to 1990K -> 'uImage 1990KB/1983KB ...'; both -> both, comma-separated. The -split package alone in each case.
Boards on the split NOR layout that still ship the fixed-slot package beside it fail their whole build when the uImage outgrows 1983K or the rootfs outgrows its 5 or 8 MiB slot. That is how hi3518ev300 lite broke the nightly before #2656.
The next ones are close (2026-10-22 nightly):
On these boards the fixed-slot package is the extra. A build whose uImage or rootfs no longer fits its slot now ships the split package alone, with a
::warning::saying which sizes outgrew which slots. The split package is checked and built exactly as before. Cameras on fixed slots then upgrade to the split layout: sysupgrade falls back to the-splitpackage, and defib and the site's installer install it (OpenIPC/website#505 drops a plain package once a newer build published only the split one). The build workflow already takes the-splitpackage for its Telegram upload when no plain one exists, as on hi3516cv6xx.Tested on a gk7205v500 lite build's images (a
TARGETwith its.config):make repackbuilds both packages, as before;::warning::gk7205v500 lite: uImage 1934KB/1983KB, rootfs.squashfs 5130KB/5120KB outgrow the fixed slots; shipping the split package only, and onlyopenipc.gk7205v500-nor-lite-split.tgzis built.