RK3568 Android11 EDP不显示问题

固件类型:自行编译的固件
SDK包名称:Firefly-RK356X_Android11.0_git_20210824
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

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

tchip_askquestions
log.txt (111 KB)

  1. 背光是否有亮
  2. dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
  3. disable 改成disabled
&edp_in_vp0 {
    //status = "okay";
    status = "disable"; ----->disabled
};
  1. 背光是否有亮
  2. dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
  3. disable 改成disabled
&edp_in_vp0 {
    //status = "okay";
    status = "disable"; ----->disabled
};

luwy 发表于 2023-4-12 09:54

  1. 背光是否有亮
  2. dts 仅供参考, 时序和屏参也会影响显示,要根据屏幕规格书更改
  3. disable 改成di …
  1. 背光不亮
  2. 修改后还是没反应

一般供电正常的话,就算没有显示,屏幕的背光也会亮的,如果连背光都没亮,检查下屏幕供电、背光供电以及pwm是否正常

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

更新了最新的SDK后解决了

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