Toybrick

标题: 调试mipi屏打开CONFIG_RK32_MIPI_DSI=y内核源码编译错误 [打印本页]

作者: cr7jj    时间: 2020-4-27 14:49
标题: 调试mipi屏打开CONFIG_RK32_MIPI_DSI=y内核源码编译错误
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    时间: 2021-10-9 17:16
您好,您的mipi屏成功了吗?




欢迎光临 Toybrick (https://t.rock-chips.com/) Powered by Discuz! X3.3