Skip to content

sigmastar: publish the infinity3 NOR bootloaders (msc313e, msc316dc, msc316dm) - #210

Merged
openipc-ai merged 3 commits into
openipcfrom
publish-msc313e
Nov 27, 2026
Merged

openipc-ai merged 3 commits into
openipcfrom
publish-msc313e

Conversation

@openipc-ai

@openipc-ai openipc-ai commented Nov 27, 2026 •

Copy link
Copy Markdown

openipc.org's MSC313E page names u-boot-msc313e-universal.bin, which is
not on firmware's latest, and its MSC316DC and MSC316DM pages name no
bootloader. This branch builds u-boot-msc313e/msc316dc/msc316dm-nor.bin and
qemu_smoke boots them; publishing them lets the pages install them, with
firmware's msc313e_lite, msc316dc_lite and msc316dm_lite
(OpenIPC/firmware#2969) in the plain NOR package.

Their kernel is 3.18, with no MTD split, so they take the fixed slots
only. Checked on OpenIPC/qemu-bench master, each on its own machine, with
this branch's image (0fd04cb) and a local build of firmware's board: the
install openipc.org gives -- the bootloader at 0, uImage at 0x50000,
rootfs at 0x250000, reset -- boots to login, the kernel taking
mtdparts=NOR_FLASH:256k(u-boot),64k(env),2048k(kernel),5120k(rootfs),...

openipc.org's MSC313E page names u-boot-msc313e-universal.bin, which is
not on firmware's latest. This branch builds u-boot-msc313e-nor.bin and
qemu_smoke boots it; publishing it lets the page install it, with
firmware's msc313e_lite (OpenIPC/firmware#2969) in the plain NOR package.

Its kernel is 3.18, with no MTD split, so it takes the fixed slots only.
Checked on OpenIPC/qemu-bench master's msc313e machine with this
branch's image (0fd04cb) and a local msc313e_lite build: the install
openipc.org gives -- the bootloader at 0, uImage at 0x50000, rootfs at
0x250000, reset -- boots to login, the kernel taking
mtdparts=NOR_FLASH:256k(u-boot),64k(env),2048k(kernel),5120k(rootfs),...
@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

Publish the MSC313E NOR bootloader by default

⚙️ Configuration changes ✨ Enhancement 🕐 Less than 10 minutes

Grey Divider

AI Description

• Add MSC313E to the default NOR targets published to OpenIPC/firmware and reported to openipc.org.
• Document that its 3.18 kernel requires fixed NOR slots rather than a split firmware image.
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 build artifacts for one end-to-end SigmaStar distribution behavior: workflow publication to the firmware release and its corresponding report.
  • The three target artifacts are produced by the existing build matrix, and publication is gated by the existing workflow-dispatch path, so these are implementation hops within one bounded integration rather than independent capabilities.
Sources

.github/workflows/build-sigmastar.yml[43-45]

          msc313e msc316dc msc316dm ssc325 ssc333 ssc335 ssc335de ssc337
          ssc337de ssc30kd ssc30kq ssc338q ssc377 ssc377d ssc377de ssc377qe
          ssc378de ssc378qe
Behavioral complexity 🟢 Low 🧩 Straightforward

  • Before, the workflow-dispatch default omitted three targets that were already build and smoke-test matrix entries.
  • After, the default includes those target names, and the existing selection loop uploads matching NOR artifacts.
  • The new correctness condition is that each added name must correspond to the intended artifact; no new algorithm, state machine, ordering protocol, or compatibility interaction is introduced.
Sources

.github/workflows/build-sigmastar.yml[43-45]

          msc313e msc316dc msc316dm ssc325 ssc333 ssc335 ssc335de ssc337
          ssc337de ssc30kd ssc30kq ssc338q ssc377 ssc377d ssc377de ssc377qe
          ssc378de ssc378qe

.github/workflows/build-sigmastar.yml[81-83]

          - { soc: msc313e, files: "output/u-boot-msc313e-nor.bin" }
          - { soc: msc316dc, files: "output/u-boot-msc316dc-nor.bin" }
          - { soc: msc316dm, files: "output/u-boot-msc316dm-nor.bin" }
Potential damage 🟡 Medium 🩹 Recoverable

  • If the changed default causes this publication capability to regress, the affected SigmaStar downloads may be absent or stale.
  • The build and smoke-test jobs already cover the added artifacts, and rerunning or overriding the target list can restore publication.
  • A previously uploaded or reported release asset may require republishing and report correction, so reverting code alone does not repair external state.
  • Republish the affected NOR assets and regenerate the corresponding distribution report; no irreversible effect is supported by the workflow evidence.
Sources

.github/workflows/build-sigmastar.yml[43-45]

          msc313e msc316dc msc316dm ssc325 ssc333 ssc335 ssc335de ssc337
          ssc337de ssc30kd ssc30kq ssc338q ssc377 ssc377d ssc377de ssc377qe
          ssc378de ssc378qe

.github/workflows/build-sigmastar.yml[81-83]

          - { soc: msc313e, files: "output/u-boot-msc313e-nor.bin" }
          - { soc: msc316dc, files: "output/u-boot-msc316dc-nor.bin" }
          - { soc: msc316dm, files: "output/u-boot-msc316dm-nor.bin" }
Assessed commit ac3b01a
Diagram

graph TD
  dispatch["Manual dispatch"] --> build["MSC313E build"] --> smoke["QEMU smoke"] --> publish["Publish targets"] --> latest["Firmware latest"] --> website["openipc.org report"]
Loading
High-Level Assessment

Reusing the existing build, smoke-test, and gated publication path is appropriate: MSC313E already has build and test matrix entries. A separate publishing workflow would duplicate those safeguards without addressing a distinct requirement.

Files changed (1) +4 / -2

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

Include MSC313E in default NOR publishing targets

• Adds msc313e to the workflow-dispatch default target list, allowing a publish run to upload its existing NOR artifact and report it to openipc.org. Clarifies that its 3.18 kernel boots from fixed slots only and cannot split firmware.bin.

.github/workflows/build-sigmastar.yml

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

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

Copy link
Copy Markdown

Code Review by Qodo

🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0) 🎨 UX issues (0) 🔗 Cross-repo conflicts (0) 📜 Skill insights (0)

Grey Divider


Informational

1. Publish contract comment no longer matches msc313e ✓ Resolved
Description
The comment above publish_targets says every listed SoC was booted with firmware's current
packages and the split image from 0x50000 to login. The newly added msc313e entry is booted on fixed
slots only, with a local package, so the stated guarantee is false for one of the listed targets. A
later maintainer could assume msc313e was verified under the same conditions as the rest.

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

…om the rest

Qodo's review of #210: the comment above publish_targets claimed the split
image and install for every target, msc313e included, which was booted on
the fixed slots only with a local msc313e_lite build.
@openipc-ai openipc-ai changed the title sigmastar: publish msc313e's NOR bootloader sigmastar: publish the infinity3 NOR bootloaders (msc313e, msc316dc, msc316dm) Nov 27, 2026
Their openipc.org pages name no bootloader. Like msc313e, each was checked
on its own OpenIPC/qemu-bench machine (msc316dc, msc316dm) with this
branch's image and a local build of firmware's board for it: the
fixed-slot install openipc.org gives boots to login.
@openipc-ai
openipc-ai merged commit 8868c7d into openipc Nov 27, 2026
182 checks passed
openipc-ai added a commit to OpenIPC/website that referenced this pull request Nov 27, 2026
… bootloaders (#629)

OpenIPC/u-boot's build-sigmastar.yml publishes u-boot-msc313e-nor.bin,
u-boot-msc316dc-nor.bin and u-boot-msc316dm-nor.bin to firmware's
`latest` (OpenIPC/u-boot#210), and firmware builds msc313e_lite,
msc316dc_lite and msc316dm_lite since OpenIPC/firmware#2969; the
2026-11-27 nightly published openipc.<soc>-nor-lite.tgz for each. The
three pages pointed at a -universal bootloader that was never published.

Their 3.18 kernel cannot split firmware.bin, so they install the plain
lite package on fixed slots (no nor_split): uImage at 0x50000, rootfs at
0x250000, on 8 MB only, as the builds' size reports say.

- Fixtures: the six assets with their published sizes and digests, and
  the three size reports; availability is `wizard`.
- The msc313e NAND reference image goes: the builder refuses NAND on a
  NOR-only bootloader, and firmware publishes no infinity3 NAND package.
- The -universal macro test uses T40A, which still has one.
- Golden regenerated: exactly the three documents changed.
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