Repository navigation
docs(contest_hk_2026): add a guide to running the AI Agent on the MIBOX-X1 - #664
Closed
tanghao-xiaomi wants to merge 2 commits into
Closed
tanghao-xiaomi wants to merge 2 commits into
tanghao-xiaomi wants to merge 2 commits into
Conversation
Add a guide on connecting to the R528 MIBOX-X1 board from a Windows computer: the serial cable and DIP switch, the CH340 driver, MobaXterm settings, how to read a successful boot log, joining Wi-Fi, and troubleshooting. Provide zh-cn, zh-hk and en versions, and link the guide from the guide index and the development guide.
…OX-X1 Add an experimental guide for building MIBOX-X1 firmware with ai_agent: the extra options on top of the nsh config, build and pack, getting online, set_llm with a preset or a custom address (using the MiMo Token Plan as the example), reading the log when a request fails, and what has not been verified. Provide zh-cn, zh-hk and en versions, and link the guide from the guide index and the development guide.
Collaborator
Author
|
Superseded by #663, which now contains the AI Agent guide as well. Closing this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #663: the first commit of this branch is the one from #663, so the diff shrinks once #663 is merged. This PR is a draft until then.
Add an experimental guide to running ai_agent on the R528 MIBOX-X1, in zh-cn, zh-hk and en. The default
nshconfig does not include ai_agent, so the guide covers:nsh_agentconfig fromnsh: delete one line, append five lines.build.sh(m nshalways buildsnsh) and packing.set_llmwith a preset or with a custom address. The MiMo Token Plan is the example: its key only works with its dedicated address, and themimopreset returns 401 for it.Sorry, I encountered an error.for an HTTP 401.The guide is linked from the guide index (new row 4, the code submission guide becomes row 5) and from the document index of the development guide.
Impact
zh-cn/contest_hk_2026anden/contest_hk_2026. No other docs are touched.nsh_agentconfig is created by the reader, as described in the guide.Testing
nsh_agentconfig on the current tip ofdev-ai-contest-2026(vendor_allwinnertech at ffb36e18), flashed it to a MIBOX-X1 board, joined Wi-Fi, set a model with a custom address and askedhello. The log showsHandshake OKandllm=ok, and the Agent printed the model's reply (about 3 s).nsh_agentconfig described in the guide (one line removed, five appended) was compared with the config that was built, as sets of lines: identical.ret=0x52isMBEDTLS_ERR_NET_UNKNOWN_HOST, and the clock reset is invela_tls.c.VelaClaw) is clean. markdownlint was not run because it is not installed in this environment.