Skip to content

docs(contest_hk_2026): add guides to connecting to the MIBOX-X1 board and running the AI Agent - #663

Merged
tanghao-xiaomi merged 3 commits into
open-vela:dev-ai-contest-2026from
tanghao-xiaomi:hk-connect-board-guide
Nov 27, 2026
Merged

tanghao-xiaomi merged 3 commits into
open-vela:dev-ai-contest-2026from
tanghao-xiaomi:hk-connect-board-guide

Conversation

@tanghao-xiaomi

@tanghao-xiaomi tanghao-xiaomi commented Nov 27, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Add two guides for the R528 MIBOX-X1 board under contest_hk_2026, each in zh-cn, zh-hk and en.

Connecting to the board (serial port and network)

The development board guide covers the serial port in one line. The new guide covers connecting to the board from a Windows computer after flashing:

  • Cabling (port 12 / UART0, DIP4 = ON) and the CH340 driver.
  • MobaXterm serial session settings (1500000, 8N1), with a screenshot of the session settings.
  • How to recognise a successful boot, with a screenshot of the boot log ending in nsh>. The sidebar with other sessions was cropped out of that screenshot.
  • Joining Wi-Fi in STA mode and checking it with ping.
  • A troubleshooting table.

Running the AI Agent on the board (experimental)

The default nsh config does not include ai_agent. The new guide covers:

  • Creating an nsh_agent config from nsh: delete one line, append five lines.
  • Building it with build.sh (m nsh always builds nsh) and packing.
  • Getting online, then set_llm with a preset or with a custom address. The MiMo Token Plan is the example: its key only works with its dedicated address, and the mimo preset returns 401 for it.
  • Reading the log when a request fails. The Agent's own reply can hide the real cause: it reports a request timeout after it resets a stale system clock to 2026-02-28, and Sorry, I encountered an error. for an HTTP 401.
  • What has not been verified (voice, Feishu/WeChat/MQTT, tool calls, config kept after a power cycle, memory use, 5 GHz Wi-Fi).

Both guides are linked from the guide index (new rows 3 and 4; the code submission guide becomes row 5) and from the document index of the development guide.

This PR replaces #664, which is closed.

Impact

  • Six new Markdown files, two new images and six edited files, all under zh-cn/contest_hk_2026 and en/contest_hk_2026. No other docs are touched.
  • No board code is changed. The nsh_agent config is created by the reader, as described in the guide.

Testing

  • Serial settings and the boot log were checked on a real board with MobaXterm (CH340 adapter, 1500000 baud); the log ends in nsh>. The screenshots were taken from that session. Flow control was Xon/Xoff in it, and the guide uses that value.
  • Built the firmware from the nsh_agent config on the current tip of dev-ai-contest-2026 (vendor_allwinnertech at ffb36e18), flashed it, joined Wi-Fi, set a model with a custom address and asked hello. The log shows Handshake OK and llm=ok, and the Agent printed the model's reply (about 3 s).
  • The nsh_agent config described in the guide (one line removed, five appended) was compared with the config that was built, as sets of lines: identical.
  • The Wi-Fi commands are the same as in the development board guide. They were run on a board before the latest driver commits and were not re-run on the current firmware for the connecting guide. The 5 GHz band and reconnecting automatically after power-up are not verified, and the guides say so.
  • Checked in the source: ret=0x52 is MBEDTLS_ERR_NET_UNKNOWN_HOST, and the clock reset is in vela_tls.c.
  • All relative links, images and in-page anchors in the files of the two directories resolve (checked by script). The brand check (VelaClaw) is clean. markdownlint was not run because it is not installed in this environment.
  • The branch is based on the current tip of dev-ai-contest-2026 (f663268).

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.
@tanghao-xiaomi
tanghao-xiaomi requested review from a team as code owners November 27, 2026 03:19
…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.
Add a MobaXterm serial session screenshot and a boot log screenshot to the connecting guide (zh-cn, zh-hk, en). The sidebar with other sessions was cropped out of the boot log screenshot. Use Xon/Xoff for Flow control, which is the setting the screenshots were taken with, and mention None only as something to try when the console seems stuck.
@tanghao-xiaomi tanghao-xiaomi changed the title docs(contest_hk_2026): add a guide to connecting to the MIBOX-X1 board docs(contest_hk_2026): add guides to connecting to the MIBOX-X1 board and running the AI Agent Nov 27, 2026
@tanghao-xiaomi
tanghao-xiaomi merged commit 21061fb into open-vela:dev-ai-contest-2026 Nov 27, 2026
5 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