Skip to content

Prefer U-Boot machine type for CC2 hardware detection - #453

Merged
suchmememanyskill merged 1 commit into
sims/backup-elegoo-txtfrom
sims/use-uboot-machine-type
Oct 30, 2026
Merged

suchmememanyskill merged 1 commit into
sims/backup-elegoo-txtfrom
sims/use-uboot-machine-type

Conversation

@suchmememanyskill

Copy link
Copy Markdown
Contributor

Prefer the U-Boot machine_type saved by the installer when configuring enclosure hardware: centauri-carbon-2 enables it and centauri-2 disables it. Fall back to the existing active-low GPIO check if the setting is missing, unreadable, or unrecognized.

Add the u-boot-fw-utils runtime dependency. CANVAS probing and the first-boot marker behavior are unchanged.

Stacked on #450 (Backup ELEGOO.txt in .swu.sig).

Validation: shell syntax and diff checks passed, plus 14 mocked behavior checks covering both known models, fallback paths, GPIO failures, CANVAS configuration, and init actions. No firmware build or hardware test performed.

@github-actions

Copy link
Copy Markdown

✅ Build Artifacts

Branch: sims/use-uboot-machine-type
Build: 816e303 (merge into sims/backup-elegoo-txt)

Artifact Size
centauri-carbon-2 Firmware 107.11 MB
centauri-carbon-1 Firmware 107.43 MB

View workflow run

@suchmememanyskill
suchmememanyskill marked this pull request as ready for review October 30, 2026 22:07
@suchmememanyskill
suchmememanyskill merged commit 4a41a68 into main Oct 30, 2026
5 checks passed
@suchmememanyskill
suchmememanyskill deleted the sims/use-uboot-machine-type branch October 30, 2026 22:10

This branch was successfully deployed

1 active deployment
approval-given — 816e3035 Deployed Oct 30, 2026 by suchmememanyskill via approve #856
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.

2 participants