Firefly开源社区

打印 上一主题 下一主题

[Linux] firefly-3399 rk3399-7D85DISPLAY_V00 mipi显示

28

积分

0

威望

0

贡献

技术小白

积分
28
QQ

firefly-3399 rk3399-7D85DISPLAY_V00 mipi显示

发表于 2023-4-26 15:40:17      浏览:4455 | 回复:1        打印      只看该作者   [复制链接] 楼主
  • 固件类型: 自行编译的固件
  • SDK包名称: rk3399_linux_bsp_release_20230328_v2.5.1d
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: --
  • Log日志: log.zip
问题描述及复现步骤:
mak menuconfig 按下图配置


编译内核报错:
CC      init/version.o
  LD      init/built-in.o
drivers/built-in.o: In function `edp_psr_state':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1460: undefined reference to `rk_fb_poll_wait_frame_complete'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1460:(.text+0x5a8b4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_fb_poll_wait_frame_complete'
drivers/built-in.o: In function `rk32_edp_probe':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1762: undefined reference to `rk_fb_get_prmry_screen'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1762:(.text+0x5ac74): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_fb_get_prmry_screen'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1836: undefined reference to `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1836:(.text+0x5aeb0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1850: undefined reference to `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1850:(.text+0x5af24): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1854: undefined reference to `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1854:(.text+0x5af44): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `support_uboot_display'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1860: undefined reference to `rk_fb_trsm_ops_register'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:1860:(.text+0x5af78): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_fb_trsm_ops_register'
drivers/built-in.o: In function `rk32_edp_init_edp':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:133: undefined reference to `rk_fb_get_prmry_screen'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_dp.c:133:(.text+0x5b128): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_fb_get_prmry_screen'
drivers/built-in.o: In function `rk32_dsi_enable':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1610: undefined reference to `rk_fb_get_prmry_screen'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1610:(.text+0x5e0c0): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_fb_get_prmry_screen'
drivers/built-in.o: In function `rockchip_3399_grf_config':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1731: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1731:(.text+0x5e0e4): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_mipi_get_dsi_num'
drivers/built-in.o: In function `rk32_dsi_enable':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1615: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1615:(.text+0x5e12c): relocation truncated to fit: R_AARCH64_CALL26 against undefined symbol `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1618: undefined reference to `rk_mipi_screen_standby'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1618:(.text+0x5e148): additional relocation overflows omitted from the output
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1625: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1630: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1634: undefined reference to `rk_mipi_get_dsi_num'
drivers/built-in.o: In function `rk32_mipi_dsi_probe':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2001: undefined reference to `rk_fb_get_prmry_screen'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2038: undefined reference to `rk_mipi_get_dsi_lane'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2039: undefined reference to `rk_mipi_get_dsi_lane'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2040: undefined reference to `rk_mipi_get_dsi_clk'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2060: undefined reference to `rk_fb_trsm_ops_register'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:2074: undefined reference to `support_uboot_display'
drivers/built-in.o: In function `rockchip_mipi_cmd_mode_refresh':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1674: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1687: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1696: undefined reference to `rk_mipi_get_dsi_num'
drivers/built-in.o: In function `rk32_mipi_power_down_DDR':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1819: undefined reference to `rk_mipi_get_dsi_num'
drivers/built-in.o: In function `rk32_mipi_power_up_DDR':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1827: undefined reference to `rk_mipi_get_dsi_num'
drivers/built-in.o:/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1832: more undefined references to `rk_mipi_get_dsi_num' follow
drivers/built-in.o: In function `rk32_dsi_disable':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1706: undefined reference to `rk_mipi_screen_standby'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1708: undefined reference to `rk_mipi_get_dsi_num'
drivers/built-in.o: In function `rk_mipi_dsi_init':
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1011: undefined reference to `rk_fb_get_prmry_screen_pixclock'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1006: undefined reference to `rk_mipi_get_dsi_num'
/home/dogpi/rk3399_linux_release_v2.5.1_20210301/kernel/drivers/video/rockchip/transmitter/rk32_mipi_dsi.c:1006: undefined reference to `rk_mipi_get_dsi_num'
make: *** [Makefile:1022: vmlinux] Error 1
ERROR: Running build_extboot failed!
ERROR: exit code 2 from line 780:
    make ARCH=$RK_ARCH $RK_KERNEL_DTS.img -j$RK_JOBS


log.zip

2.93 KB, 下载次数: 1, 下载积分: 灯泡 -1 , 经验 -1

回复

使用道具 举报

418

积分

0

威望

0

贡献

技术达人

Rank: 2

积分
418
发表于 2023-4-27 17:08:59        只看该作者  沙发
默认已经打开mipi相关去掉,不需要自己再操作,你的错误是因为使用早期rk支持的mipi驱动,现在全部都是使用drm框架。
回复

使用道具 举报

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

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表