Firefly开源社区

[技术讨论] RK3568 Android11 EDP不显示问题

17

积分

0

威望

0

贡献

技术小白

积分
17
发表于 2023-4-11 19:09:45     
  • 固件类型: 自行编译的固件
  • SDK包名称: Firefly-RK356X_Android11.0_git_20210824
  • SDK更新到哪个COMMIT: 0000-00-00 00:00:00
  • SDK修改内容: 修改内容见问题描述
  • Log日志: log.txt
问题描述及复现步骤:
使用官方SDK   Firefly-RK356X_Android11.0_git_20210824   


修改 device/rockchip/rk356x/BoardConfig.mk
#PRODUCT_KERNEL_DTS ?= rk3568-evb1-ddr4-v10
PRODUCT_KERNEL_DTS ?= rk3568-firefly-aioj-edp_M156X40

修改  rk3568-firefly-aioj-edp_M156X40.dtsi

&edp_phy {
    status = "okay";
};

&route_edp {
    status = "okay";
    /*GP Debug xcx*/
    connect = <&vp1_out_edp>; //add by xcx
};

&edp_in_vp0 {
    //status = "okay";
    status = "disable";
};

&edp_in_vp1 {
    //status = "disable";
    status = "okay";

};

使用  ./FFTools/make.sh -d rk3568-firefly-aioj-edp_M156X40 -j12 -l rk3568_firefly_aioj-userdebug 命令编译后,烧录到开发板,hdmi屏幕正常显示,EDP屏幕全程无输出,

使用
  cat /sys/kernel/debug/dri/0/summary  

打印信息如下



Video Port0: ACTIVE
    Connector: HDMI-A-1
        bus_format[100a]: RGB888_1X24
        overlay_mode[0] output_mode[f] color_space[0]
    Display mode: 1920x1080p60
        clk[148500] real_clk[148500] type[48] flag[5]
        H: 1920 2008 2052 2200
        V: 1080 1084 1089 1125
    Cluster0-win0: ACTIVE
        win_id: 4
        format: AB24 little-endian (0x34324241)[AFBC] SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 0
        src: pos[0, 0] rect[1920 x 1080]
        dst: pos[0, 0] rect[1920 x 1080]
        buf[0]: addr: 0x0000000003825000 pitch: 7680 offset: 0
Video Port1: ACTIVE
    Connector: eDP-1
        bus_format[100a]: RGB888_1X24
        overlay_mode[0] output_mode[f] color_space[0]
    Display mode: 1920x1080p60
        clk[140000] real_clk[140000] type[48] flag[a]
        H: 1920 1960 2000 2080
        V: 1080 1096 1104 1120
    Esmart1-win0: ACTIVE
        win_id: 2
        format: AB24 little-endian (0x34324241) SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 2
        src: pos[0, 0] rect[1920 x 42]
        dst: pos[0, 0] rect[1920 x 42]
        buf[0]: addr: 0x00000000027a6000 pitch: 7680 offset: 0
    Esmart1-win1: ACTIVE
        win_id: 2
        format: AB24 little-endian (0x34324241) SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 2
        src: pos[0, 0] rect[1920 x 84]
        dst: pos[0, 996] rect[1920 x 84]
        buf[0]: addr: 0x0000000000f5e000 pitch: 7680 offset: 0
    Cluster1-win0: ACTIVE
        win_id: 6
        format: XB24 little-endian (0x34324258)[AFBC] SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 0
        src: pos[58, 313] rect[1164 x 654]
        dst: pos[0, 0] rect[1920 x 1080]
        buf[0]: addr: 0x0000000002060000 pitch: 5120 offset: 0
    Cluster1-win1: ACTIVE
        win_id: 7
        format: AB24 little-endian (0x34324241)[AFBC] SDR[0] color_space[0] glb_alpha[0xff]
        rotate: xmirror: 0 ymirror: 0 rotate_90: 0 rotate_270: 0
        csc: y2r[0] r2y[0] csc mode[0]
        zpos: 1
        src: pos[0, 0] rect[1920 x 1080]
        dst: pos[0, 0] rect[1920 x 1080]
        buf[0]: addr: 0x0000000000ffc000 pitch: 7680 offset: 0
Video Port2: DISABLED

请问还有哪里可能有问题?




log.txt

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

回复

使用道具 举报

753

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
753
发表于 2023-4-12 09:54:34     
1.  背光是否有亮
2.  dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
3. disable 改成disabled
  1. &edp_in_vp0 {
  2.     //status = "okay";
  3.     status = "disable"; ----->disabled
  4. };
复制代码
回复

使用道具 举报

753

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
753
发表于 2023-4-12 09:54:39     
1.  背光是否有亮
2.  dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
3. disable 改成disabled
  1. &edp_in_vp0 {
  2.     //status = "okay";
  3.     status = "disable"; ----->disabled
  4. };
复制代码
回复

使用道具 举报

17

积分

0

威望

0

贡献

技术小白

积分
17
发表于 2023-4-12 15:06:03     
luwy 发表于 2023-4-12 09:54
1.  背光是否有亮
2.  dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
3. disable 改成di ...

1. 背光不亮
2. 修改后还是没反应
回复

使用道具 举报

753

积分

0

威望

0

贡献

技术大神

Rank: 3Rank: 3

积分
753
发表于 2023-4-12 16:03:52     
一般供电正常的话,就算没有显示,屏幕的背光也会亮的,如果连背光都没亮,检查下屏幕供电、背光供电以及pwm是否正常
回复

使用道具 举报

17

积分

0

威望

0

贡献

技术小白

积分
17
发表于 2023-4-14 08:50:18     
luwy 发表于 2023-4-12 16:03
一般供电正常的话,就算没有显示,屏幕的背光也会亮的,如果连背光都没亮,检查下屏幕供电、背光供电以及pw ...

更新了最新的SDK后解决了

原来的sdk是网盘下的   21年8月的   可能后续有过更新
回复

使用道具 举报

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

本版积分规则

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