Skip to content

Add C2/CC2 installer tools - #3

Draft
pdscomp wants to merge 4 commits into
mainfrom
paul/add-c2-cc2
Draft

pdscomp wants to merge 4 commits into
mainfrom
paul/add-c2-cc2

Conversation

@pdscomp

@pdscomp pdscomp commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Adds a touchscreen tools bundle for the Centauri 2 and Centauri Carbon 2, delivered as a stock .zip.sig update that launches the installer GUI without flashing anything.

  • Install COSMOS online (nightly build, release fallback) or from USB, with a boot-slot check that refuses to flash when the boot environment disagrees with the running rootfs
  • Root shell on port 4567, starts immediately and at boot, removes cleanly, survives stock OTA via a printed reinstall step
  • eMMC backup to USB with live byte/percent progress, FAT32 part splitting, and a full gzip integrity check; each run lands in its own dated directory so previous backups are never touched
  • CI builds installer-cc1, installer-cc2, and installer-c2 artifacts and posts one updating comment with the download links

The backup uses a bundled static pigz (pinned musl/zlib/pigz sources, built in CI with caching) because the stock BusyBox gzip ignores -1 and runs at level 9; measured on-device this is ~2.3x faster at compression and ~6.5x faster at the verify pass, with the whole dump+check taking about 6.5 minutes.

The OTA wrapper follows the .zip.sig format used by COSMOS (adapted from James Turton's elegoo-ota.bbclass, OpenCentauri/cosmos 1b6d087a).

Tested on a stock CC2: GUI launch, backup round-trip (7,837,581,312 bytes, byte-exact host-side), root shell install/remove, and download/install failure paths. Host tests cover all scripts under sh and BusyBox ash.

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 6348943 (merge into main)

Artifact Size
installer 3.61 MB
installer-c2 2.06 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: dbd3524 (merge into main)

Artifact Size
installer-c2 2.06 MB
installer-cc2 2.06 MB
installer-cc1 3.61 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 9e3bd13 (merge into main)

Artifact Size
installer-c2 2.77 MB
installer-cc2 2.77 MB
installer-cc1 3.71 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 306eb48 (merge into main)

Artifact Size
installer-cc1 3.71 MB
installer-cc2 2.77 MB
installer-c2 2.77 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 8c6bc19 (merge into main)

Artifact Size
installer-cc1 3.71 MB
installer-c2 2.77 MB
installer-cc2 2.77 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: d3b3f3f (merge into main)

Artifact Size
installer-cc2 2.05 MB
installer-cc1 3.71 MB
installer-c2 2.05 MB

View workflow run

@pdscomp
pdscomp force-pushed the paul/add-c2-cc2 branch 2 times, most recently from b138159 to bc7a628 Compare October 12, 2026 19:42
@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: bc7a628 (merge into main)

Artifact Size
installer-c2 2.05 MB
installer-cc1 3.71 MB
installer-cc2 2.05 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 5198798 (merge into main)

Artifact Size
installer-cc2 2.05 MB
installer-cc1 3.71 MB
installer-c2 2.05 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 71608d2 (merge into main)

Artifact Size
installer-cc1 3.71 MB
installer-c2 2.05 MB
installer-cc2 2.05 MB

View workflow run

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: paul/add-c2-cc2
Build: 50bd99e (merge into main)

Artifact Size
installer-cc2 2.05 MB
installer-cc1 3.71 MB
installer-c2 2.05 MB

View workflow run

@pdscomp pdscomp changed the title C2/CC2 installer track: COSMOS install, root shell, eMMC backup Add C2/CC2 installer tools Oct 13, 2026
@github-actions

Copy link
Copy Markdown

Build artifacts

Build: ae47b6d

View workflow run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant