Repository navigation
feat(r528s3-mibox-x1): add nsh_workshop config with ai_agent and ai_hello - #26
Merged
yanxingyu17 merged 1 commit intoDec 3, 2026
Conversation
…ello
A ready-to-flash config for the openvela AI workshop, so students do not
have to edit nsh by hand as described in the MIBOX-X1 AI agent guide.
Delta from nsh:
- ai_agent and its dependencies (EXAMPLES_AI_AGENT_VELA, EVENT_FD,
NETUTILS_WEBCLIENT, OPENSSL_MBEDTLS_WRAPPER, SYSTEM_POPEN, and
MBEDTLS_NET_C no longer disabled), same as the guide's nsh_agent;
- AI_HELLO, the LVGL + velaclaw demo from packages_demos;
- EXAMPLES_LVGLDEMO and LUNCHER_MINI_APP off: they start at boot and
own LVGL, so ai_hello could not create its UI;
- AI_AGENT_WEIXIN off: unused, and without a token it logs
"[weixin] No token, waiting..." every 5 s;
- NSH_LINELEN=256: the default 80 bytes is ~25 CJK characters, too
short for "echo <persona> > /data/ai_hello_persona.txt".
Verified on R528 MIBOX-X1 with DeepSeek: ai_hello shows the three
questions, each tap returns a different answer in 0.9-1.1 s.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Bowen Wang <wangbowen6@xiaomi.com>
yanxingyu17
approved these changes
Dec 3, 2026
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
Add
r528s3-mibox-x1:nsh_workshop, a ready-to-flash config for the openvela AI workshop (hands-on with theai_hellodemo). Today students have to copynshand edit it by hand as described indocs/zh-cn/contest_hk_2026/mibox_x1_ai_agent_guide.md; this gives them a config they can build directly.Delta from
nsh:EXAMPLES_AI_AGENT_VELA,EVENT_FD,NETUTILS_WEBCLIENT,OPENSSL_MBEDTLS_WRAPPER,SYSTEM_POPEN,MBEDTLS_NET_C(no longer disabled)nsh_agentAI_HELLO=yEXAMPLES_LVGLDEMO,LUNCHER_MINI_APPoffrcSand own LVGL, soai_hellocannot create its UIAI_AGENT_WEIXINoff[weixin] No token, waiting...every 5 sNSH_LINELEN=256echo <persona> > /data/ai_hello_persona.txtRelated: open-vela/packages_demos#80 (ai_hello), open-vela/packages_ai_agent#51 #52 #53 #54 (fixes needed for ai_hello to get correct answers). Until #80 is merged,
AI_HELLOis an unknown symbol and is dropped by Kconfig; the rest of the config still builds.Impact
New config only.
nsh,nsh_sdand other boards are unchanged.Testing
Host: Ubuntu 22.04 x86_64, toolchains from the openvela manifest (dev-ai-contest-2026).
Flashed on R528 MIBOX-X1 with PhoenixSuit.
ai_hello &, thenai_agentwithset_wifi/set_llm deepseek: three taps on the screen return three different answers (latency 911-1109 ms). No[weixin]log lines after boot.