You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

无法加载fbtft模块——OrangePi Zero Buildroot配置问题排查

在OrangePi Zero的Buildroot最小镜像中启用fbtft模块失败求助

已执行的操作

  • 通过make linux-menuconfig在Device Drivers > Graphics Support > Frame Buffer Devices >路径下开启以下编译选项:
    <M> Support for frame buffer devices  --->
    <M> Support for small TFT LCD display modules  --->
    
  • 在Support for small TFT LCD display modules子菜单中启用了<m> FB driver for the ILI9340 LCD Controller
  • Buildroot的.config配置文件包含以下相关项:
    ...
    # BR2_LINUX_KERNEL_EXT_EV3DEV_LINUX_DRIVERS is not set
    BR2_LINUX_KERNEL_EXT_FBTFT=y
    # BR2_LINUX_KERNEL_EXT_AUFS is not set
    ...
    ...
    # BR2_PACKAGE_FAN_CTRL is not set
    BR2_PACKAGE_FBTFT=y
    # BR2_PACKAGE_FCONFIG is not set
    ...
    
  • 构建过程中能看到内核补丁相关的操作脚本执行:
    if [ -e /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/drivers/video/fbdev ]; then dest=drivers/video/fbdev ; else dest=drivers/video ; fi ; mkdir -p /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/fbtft; cp -dpfr /some_path/dev/buildroot/buildroot-2023.02.1/output/build/fbtft-274035404701245e7491c0c6471c5b72ade4d491/* /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/fbtft/ ; echo "source \"${dest}/fbtft/Kconfig\"" >> /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/Kconfig ; echo 'obj-y += fbtft/' >> /some_path/dev/buildroot/buildroot-2023.02.1/output/build/linux-5.15.16/${dest}/Makefile
    

出现的问题

  • 构建完成后再次运行make linux-menuconfig,之前开启的fbtft相关选项全部变回空白
  • 生成的镜像中找不到任何fbtft相关内容,内核日志也无对应模块加载信息
  • 在目标板上执行find /lib/modules/$(uname -r) -type f -name '*.ko*',仅输出:
    /lib/modules/5.15.16/extra/xradio_wlan.ko
    
  • 已经尝试过清理构建目录后重新编译,问题仍然存在

请问我遗漏了什么关键配置?

内容的提问来源于stack exchange,提问作者no more sigsegv

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.19 05:00:41