Firefly开源社区
标题: RK3568J 配置EDP,没有设备接点,屏幕也无输出 [打印本页]
作者: dvae_wb 时间: 2022-11-9 12:34
标题: RK3568J 配置EDP,没有设备接点,屏幕也无输出
修改vi device/rockchip/.BoardConfig.mk
改成
#!/bin/bash
CMD=`realpath $BASH_SOURCE`
CUR_DIR=`dirname $CMD`
source $CUR_DIR/firefly-rk3568-buildroot.mk
# Kernel dts
#export RK_KERNEL_DTS=rk3568-firefly-aioj
export RK_KERNEL_DTS=rk3568-firefly-aioj-edp-M156X40
# PRODUCT MODEL
export RK_PRODUCT_MODEL=AIO_3568J
重新编译build.sh,编译后有rk3568-firefly-aioj-edp-M156X40.dtb
烧写入板子,EDP无输出,/dev/目录下也没有FB的设备节点,DTS只修改了屏幕Timing,其他没有修改,DTS修改如下:
display-timings {
native-mode = <&timing0>;
timing0: timing0 {
clock-frequency = <138780000>;
hactive = <1920>;
vactive = <1080>;
hfront-porch = <100>;
hsync-len = <20>;
hback-porch = <210>;
vfront-porch = <12>;
vsync-len = <3>;
vback-porch = <36>;
hsync-active = <0>;
vsync-active = <0>;
de-active = <0>;
pixelclk-active = <0>;
};
};
tchip_askquestions
-
-
log.txt
85 Bytes, 下载次数: 0, 下载积分: 灯泡 -1 , 经验 -1
作者: dvae_wb 时间: 2022-11-9 16:04
屏幕已点亮
作者: dvae_wb 时间: 2022-11-9 16:22
目前遇到另一个问题,屏幕在SD卡固件是点亮了,但是烧写到EMMC依然无法点亮,SD卡里uboot的部分log如下:
Rockchip UBOOT DRM driver version: v1.0.1
VOP have 1 active VP
vp0 have layer nr:6[0 2 4 1 3 5 ], primary plane: 4
vp1 have layer nr:0[], primary plane: 0
vp2 have layer nr:0[], primary plane: 0
Using display timing dts
edp@fe0c0000: detailed mode clock 138780 kHz, flags[a]
H: 1920 2020 2040 2250
V: 1080 1092 1095 1131
bus_format: 100e
VOP update mode to: 1920x1080p0, type: eDP0 for VP0
VOP VP0 enable Smart0[500x501->500x501@710x289] fmt[2] addr[0x7df20000]
Link Training success!
烧写到EMMC后,uboot的log如下:
Rockchip UBOOT DRM driver version: v1.0.1
VOP have 1 active VP
vp0 have layer nr:6[0 2 4 1 3 5 ], primary plane: 4
vp1 have layer nr:0[], primary plane: 0
vp2 have layer nr:0[], primary plane: 0
edp@fe0c0000 disconnected
作者: passby 时间: 2023-4-11 17:09
请问问题是怎么解决的?
我现在 cat /sys/kernel/debug/dri/0/summary
显示VOP1已经打开EDP了 但是屏幕完全黑的
欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) |
Powered by Discuz! X3.1 |