Repository navigation
Conversation
…and --autoflash Net Boot Recovery now starts with the one-command path: sima-cli connects to a running DevKit over SSH, sets U-Boot to boot from the host, reboots it, flashes the eMMC, and restores the saved U-Boot environment when the session ends. The serial-console steps stay as the manual path for a DevKit that does not boot Linux. Requires sima-cli 2.1.17 or later; behavior read from the v2.1.18 source. The netboot shell's d and q commands are listed. The Korean Step 4 title is fixed so that its text is inside the bold tags. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 6a1f9dc239
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| sima-user@sima-user-machine:~$ sudo ~/.sima-cli/.venv/bin/sima-cli bootimg -v <version> --netboot --devkit <devkit-ip> --autoflash | ||
| ``` | ||
|
|
||
| The command installs eLxr on a Modalix DevKit by default. For Yocto, add `--fwtype yocto`. If you leave out `--devkit`, `sima-cli` looks for DevKits on the network and asks you to choose one. |
There was a problem hiding this comment.
Pass the Modalix and eLxr target flags explicitly
When users copy either automatic command, the omitted target flags do not select the target claimed here: the generated sima-cli bootimg --help lists mlsoc and yocto as the defaults. The examples can therefore prepare incompatible MLSoC/Yocto firmware instead of the intended Modalix/eLxr image; add --boardtype modalix --fwtype elxr to both commands and their translations.
Useful? React with 👍 / 👎.
With --autoflash, sima-cli reboots the device into eMMC; after a manual f it asks whether to reboot. If it cannot reach the device over SSH, it leaves it unchanged. Add the d and q netboot commands. From #110. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Jim Fan <ji.fan@sima.ai>
Refs #92
Summary
Net Boot Recovery now starts with the automatic path that
sima-clisupports: one command sets the DevKit to boot from the network, reboots it, flashes the eMMC, and restores the saved U-Boot environment when the session ends. The serial-console steps stay as the manual path for a DevKit that does not boot Linux.sudo ~/.sima-cli/.venv/bin/sima-cli bootimg -v <version> --netboot --devkit <devkit-ip> --autoflashThis follows feedback from the factory process owner, who asked for the net boot procedure to use the more automated commands with
--autoflash.sima-cli2.1.17 or later; a DevKit that runs Linux and is reachable over SSH), the macOS and Linux commands, whatsima-clidoes after you confirm,qto restore the U-Boot environment, and what happens when automatic setup is not possibled(discover DevKits) andq(end the session) added tocandfSource
The behavior is read from the
sima-clisource at the v2.1.18 release (sima_cli/cli.py,sima_cli/update/netboot.py,sima_cli/update/netboot_device.py).--devkitfirst appears in v2.1.17,--autoflashin v2.1.5.For review
-i(internal Artifactory, SiMa.ai employees only) and-f(daily-mirror fallback for internal eLxr builds), and-v 3.0, which is not released. The page uses-v <version>with%platform_version%as the example.main.Change Type
Risk
Risk notes:
Test Evidence
Docs Impact
Docs notes: SPI flasher recovery and connection diagram in #109.
Migration Impact
Breaking API Change
include/*API / Deprecation Checklist
docs/develop-apps/docs/develop-apps/contribute/start-here/naming.md)Release Hygiene Checklist
scripts/ci/check_naming_and_conflicts.shpassed (core-repo script; not applicable here)scripts/ci/check_artifacts.shpassed (core-repo script; not applicable here)scripts/ci/check_release_policy.shpassed (core-repo script; not applicable here)🤖 Generated with Claude Code