ci(aarch64): install device-tree-compiler + fix zynqmp BSP driver bugs#11443
ci(aarch64): install device-tree-compiler + fix zynqmp BSP driver bugs#11443Copilot wants to merge 5 commits into
Conversation
This is a builtin fdt example BSP Signed-off-by: GuEe-GUI <2991707448@qq.com>
|
|
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: componentsReviewers: @Maihuanyi Changed Files (Click to expand)
🏷️ Tag: kernelReviewers: @GorrayLi @ReviewSun @hamburger-os @lianux-mm @wdfk-prog @xu18838022837 Changed Files (Click to expand)
🏷️ Tag: workflowReviewers: @Rbb666 @kurisaW @supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-06-08 09:49 CST)
📝 Review Instructions
|
The
aarch64CI job fails buildingzynqmp-a53-dfzu2egbecausedtcis missing —zynqmp.dtsnever gets compiled tozynqmp.dtb, and the assembler fails on.incbin "zynqmp.dtb".Changes
CI fix
.github/workflows/bsp_buildings.yml: Addapt-get install device-tree-compilerto the "Install AArch64 ToolChains" step sodtcis available during the scons pre-build phase that compileszynqmp.dts → zynqmp.dtb.zynqmp BSP (merged from PR #11239)
rtconfig.hupdated to enableRT_USING_OFW,RT_USING_BUILTIN_FDT,RT_BUILTIN_FDT_PATH "zynqmp.dtb",RT_USING_DM,RT_USING_SMP, etc.SConstructcallsdtc.dts_to_dtb()to generate the DTB fromzynqmp.dtsat build timelibcpu/aarch64/common/SConscript: staleness check to force rebuild ofbuiltin_fdt_gcc.owhen DTB changesBug fixes in
xilinx_uartps.cmode_reg & 1→mode_reg— masking with1silently discarded all configured parity/stop/data-bit fields before writing toCDNS_UART_MRcdns_uart->clkinstead ofcdns_uart->pclkafterrt_clk_get_by_name(dev, "aper_clk"), making the error path unreachable/* Ting Indicator */→/* Ring Indicator */