Repository navigation
[bsp][qemu-virt64] enable RT-Thread Smart - #11896
BernardXiong wants to merge 14 commits into
Conversation
- enable RT_USING_SMART for qemu-virt64-riscv and qemu-virt64-aarch64 - disable SMP on riscv64 to match the Smart single-core configuration - add rootfs init for ext4/elm, ptyfs and procfs - regenerate .config and rtconfig.h
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
- align macro definitions in applications/mnt.c - no functional change
- build qemu-virt64-riscv with the general RISC-V musl toolchain - build qemu-virt64-aarch64 with the aarch64 musl toolchain - export RTT_CC_PREFIX when installing the general musl toolchain - the in-tree musl libc is required by the Smart configuration
📌 Code Review Assignment🏷️ Tag: componentsReviewers: @Maihuanyi Changed Files (Click to expand)
🏷️ Tag: workflowReviewers: @Rbb666 @kurisaW @supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-10-19 02:32 CST)
📝 Review Instructions
|
- declare strdup() used by the command line procfs entry - fix the implicit declaration error when procfs is enabled
- allocate the command line buffer with rt_strdup() - release it with rt_free() - avoid relying on libc feature macros exposing strdup()
- disable SMART for standard kernel utest configurations - use the aarch64 musl toolchain for the qemu-virt64-aarch64 membrowse target - install the aarch64 musl toolchain in both membrowse workflows
- disable AF_UNIX for standard kernel tests - disable the lwext4 package for standard kernel tests - avoid inheriting SMART-only components from the BSP configuration
- restore the non-SMART .config and rtconfig.h from origin/master - keep the PR SMART configuration for rtsmart tests - avoid inheriting SMART-only components in standard kernel tests
|
- do not mount the rootfs during utest runs - avoid boot-time mounts interfering with timing-sensitive IPC tests
- prevent PM shutdown from stalling the utest QEMU monitor - avoid tickless PM affecting timing-sensitive IPC tests
- increase the completion retry window in wait_safely() - schedule workqueue cancellation tests before execution - allow more ticks for repeated work to run
- mark the qemu-virt64-riscv kernel/ipc.cfg QEMU run as non-blocking - keep the build and format checks mandatory
- apply the same non-blocking condition to the Monitor qemu log step
- include kernel_basic.cfg in the non-blocking utest run/monitor condition
拉取/合并请求描述:(PR description)
为什么提交这份PR (why to submit this PR)
The qemu-virt64 BSPs did not enable RT-Thread Smart, so user-space and LWP
features could not be tested under QEMU. There was also no standard rootfs
initialization for the virtio block device and pseudo terminals.
你的解决方案是什么 (what is your solution)
Dependencies
RT_LWIP_USING_LOOPBACKKconfig symbol)rebased and the configuration regenerated after the dependency is merged.
请提供验证的bsp和config (provide the config and bsp)
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I've considered the following:
#if 0代码,不包含已经被注释了的代码 All redundant code is removed and cleaned up