Toybrick

调试mipi屏打开CONFIG_RK32_MIPI_DSI=y内核源码编译错误

cr7jj

中级会员

积分
456
楼主
发表于 2020-4-27 14:49:34    查看: 18405|回复: 1 | [复制链接]    打印 | 只看该作者
TB-RK3399proD Debian10 用官方提供的kernel源码
现调试5寸mipi 屏幕,在config需要打开这些宏
CONFIG_LCD_MIPI=y
CONFIG_MIPI_DSI=y
CONFIG_RK32_MIPI_DSI=y
编译出现错误
  1. drivers/built-in.o:在函数‘rk32_dsi_enable’中:
  2. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1610:对‘rk_fb_get_prmry_screen’未定义的引用
  3. drivers/built-in.o:在函数‘rockchip_3399_grf_config’中:
  4. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1731:对‘rk_mipi_get_dsi_num’未定义的引用
  5. drivers/built-in.o:在函数‘rk32_dsi_enable’中:
  6. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1615:对‘rk_mipi_get_dsi_num’未定义的引用
  7. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1618:对‘rk_mipi_screen_standby’未定义的引用
  8. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1625:对‘rk_mipi_get_dsi_num’未定义的引用
  9. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1630:对‘rk_mipi_get_dsi_num’未定义的引用
  10. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1634:对‘rk_mipi_get_dsi_num’未定义的引用
  11. drivers/built-in.o:在函数‘rk32_mipi_dsi_probe’中:
  12. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2001:对‘rk_fb_get_prmry_screen’未定义的引用
  13. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2038:对‘rk_mipi_get_dsi_lane’未定义的引用
  14. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2039:对‘rk_mipi_get_dsi_lane’未定义的引用
  15. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2040:对‘rk_mipi_get_dsi_clk’未定义的引用
  16. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2060:对‘rk_fb_trsm_ops_register’未定义的引用
  17. /work/kernel-stable/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2074:对‘support_uboot_display’未定义的引用
复制代码
是本身源代码有错误还是需要再打开其他的宏,麻烦帮忙看一下,谢谢
核源码
回复

使用道具 举报

mc_john

新手上路

积分
8
沙发
发表于 2021-10-9 17:16:28 | 只看该作者
您好,您的mipi屏成功了吗?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

产品中心 购买渠道 开源社区 Wiki教程 资料下载 关于Toybrick


快速回复 返回顶部 返回列表