Skip to content

sigmastar: publish ssr621q to firmware latest - #218

Merged
dimerr merged 1 commit into
openipcfrom
sigmastar-publish-ssr621q
Nov 27, 2026
Merged

dimerr merged 1 commit into
openipcfrom
sigmastar-publish-ssr621q

Conversation

@dimerr

@dimerr dimerr commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

This adds ssr621q to the default publish_targets of build-sigmastar.yml. It is NOR only, like the other targets.

The SSR621Q, SigmaStar's Infinity2M NVR SoC, now has the whole stack:

  • Its split firmware, openipc.ssr621q-nor-lite-split.tgz, is already on OpenIPC/firmware latest.
  • sigmastar: ssr621q: the IPL from a Xiongmai NVR #212 gives u-boot-ssr621q-nor.bin the IPL that sets up the real chip's DDR for bond 0x1B. The SDK's IPL hung on the board.
  • The NVR app, vigil, is in the firmware.

openipc.org can install the SSR621Q only once u-boot-ssr621q-nor.bin is on latest and reported. OpenIPC/website#635 moves SSR621Q to WIP and names that file. build-sigmastar.yml on openipc is already on the site's allowlist.

Tested in qemu-bench ssr621q with bond 0x1B (OpenIPC/qemu-bench#392): the image built from openipc-sigmastar at #212 boots the split firmware.bin from 0x50000 to openipc-ssr621q login:. It has not run on silicon yet: the board that hung on the old IPL needs reflashing first.

CLAUDE.md still said publish was commented out behind PUBLISH_GLOB. It now describes publish_targets.

Nothing is published until build-sigmastar.yml is dispatched with publish=true.

The SSR621Q NVR now has the whole stack. Its split firmware is on
latest, and #212 gives its U-Boot the IPL that sets the
real chip's DDR up (bond 0x1B). Without u-boot-ssr621q-nor.bin on
latest, openipc.org can only link the firmware. ssr621q joins
publish_targets' default, NOR only like the others.

CLAUDE.md still described publish as commented out behind
PUBLISH_GLOB. It now describes the publish_targets input.
@qodo-free-for-open-source-projects

qodo-free-for-open-source-projects Bot commented Nov 27, 2026 •

Copy link
Copy Markdown

PR Summary by Qodo

Add SSR621Q NOR image to SigmaStar firmware publishing targets

⚙️ Configuration changes 📝 Documentation 🕐 Less than 10 minutes

Grey Divider

AI Description

• Add SSR621Q to the default NOR targets published to OpenIPC/firmware latest when publishing is
 dispatched.
• Document the current publishing behavior, NAND exclusion, and openipc.org workflow allowlisting.
Merge Risk 🟢 Low

Blast radius 🟢 Low 💥 1 capability

  • 1 affected end-to-end capability after fault-specific containment; implementation boundaries do not widen its functional scope.
  • The changed default selects one additional end-to-end delivery behavior: publishing the ssr621q NOR artifact.
  • The build matrix supplies that artifact and the publish job validates and uploads it, so these are producer and consumer hops of one bounded publication integration rather than separate capabilities.
Behavioral complexity 🟢 Low 🧩 Straightforward

  • Before, the dispatch default selected the existing list of NOR publication targets; after, it includes ssr621q.
  • The new correctness condition is that the ssr621q build artifact must exist and be selected as a NOR image, which the existing validation and artifact contract already enforce.
  • No new algorithm, state machine, concurrency protocol, or transformation is introduced.
Potential damage 🟡 Medium 🩹 Recoverable

  • If this publication behavior regresses, SSR621Q users may lack the intended NOR bootloader download or receive a failed publication.
  • The source shows artifact validation and upload, but no evidence that an already-published release is automatically repaired; republishing or replacement is required.
  • No persistent device-state corruption is established by the changed default itself.
  • Reverting stops future default selections, but any incorrect or missing release asset requires republishing or replacing the external release artifact.
Assessed commit 862da05
Diagram

graph TD
  D["Manual dispatch"] --> B["Build NOR image"] --> Q["QEMU smoke"] --> P{"Publish enabled?"} --> T["SSR621Q selected"] --> F["Firmware latest"] --> W["openipc.org"]
Loading
High-Level Assessment

Extending the existing NOR-only publish_targets default is the appropriate approach: it uses the established build, smoke-test, upload, and reporting path without changing NAND handling or publishing automatically. A separate SSR621Q workflow would duplicate that path without a clear benefit.

Files changed (2) +13 / -12

Documentation (1) +8 / -10
CLAUDE.mdCorrect SigmaStar publishing documentation +8/-10

Correct SigmaStar publishing documentation

• Replaces the obsolete description of disabled, PUBLISH_GLOB-limited publishing with the current publish_targets behavior. Clarifies that the workflow is allowlisted by openipc.org and that NAND images are excluded from 'latest'.

CLAUDE.md

Other (1) +5 / -2
build-sigmastar.ymlInclude SSR621Q in default NOR publishing targets +5/-2

Include SSR621Q in default NOR publishing targets

• Adds ssr621q to the workflow dispatch default for publish_targets and records the split-firmware and IPL rationale. Publishing still requires an explicit publish=true dispatch; the existing NAND exclusion remains unchanged.

.github/workflows/build-sigmastar.yml

@qodo-free-for-open-source-projects

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)

Grey Divider

Great, no issues found!

Qodo reviewed your code and found no material issues that require review

Grey Divider

Tip of the day
💡 Did you know, you can commit Qodo's fix in one click with committable suggestions (GitHub & GitLab)

More tips ↗ | Customize Qodo ↗ | Qodo docs ↗

Grey Divider

Qodo Logo

@dimerr
dimerr merged commit c981328 into openipc Nov 27, 2026
109 checks passed
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