Firefly开源社区

标题: rk3399仿照firefly lcd 调试方法调试edp屏幕接口,系统挂掉 [打印本页]

作者: 因科美    时间: 2019-1-17 20:44
标题: rk3399仿照firefly lcd 调试方法调试edp屏幕接口,系统挂掉
1.uboot 报错
LT link start failed!
eDP link training failed (-121)
AUX CH command reply failed!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
AUX CH command reply failed!


2.kernel 报错
[drm:rockchip_dp_bind] *ERROR* failed to find panel
[    3.277390] rockchip-drm display-subsystem: failed to bind ff970000.edp (ops rockchip_dp_component_ops): -517
[    3.277535] rockchip-drm display-subsystem: master bind failed: -517
[    3.282752] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    3.282874] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)



作者: 因科美    时间: 2019-1-25 11:13
顶一下
作者: zhansb    时间: 2019-1-26 09:34
检查上电时序和硬件连接是否正确
作者: 因科美    时间: 2019-1-26 17:18
zhansb 发表于 2019-1-26 09:34
检查上电时序和硬件连接是否正确

大哥,我量的我们的板子lcd_en与lcd_rst电平不对,另外我发现firefly的板子在dts里面设的GPIO_ACTIVE_HIGH,这时输出本来应为低电平,但是量的是高电平,板子接口正常,可以显示,搞不明白怎么配dts了!是不是不像参考资料说的那样简单,你们是不是在uboot与kernel改了很多呢?主要应该注意些什么?谢谢。
作者: yuanyuantou    时间: 2019-11-6 09:41
我也碰到这个问题,是几率性的。
作者: yuanyuantou    时间: 2019-11-6 09:44
U-Boot 2014.10-RK3399-06-g406d420-dirty (Jul 19 2019 - 18:33:18)

CPU: rk3399
cpu version = 0
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 800000000HZ
               aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
               aclk_periph_l0 = 100000000HZ, hclk_periph_l0 = 100000000HZ, pclk_periph_l0 = 50000000HZ
               hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Board:        Rockchip platform Board
Uboot as second level loader
DRAM:  Found dram banks: 1
Adding bank:0000000000200000(000000007fe00000)
Reserve memory for trust os.
dram reserve bank: base = 0x08400000, size = 0x01e00000
128 MiB
SdmmcInit = 0 20
storage init OK!
Using default environment

GetParam
Load FDT from boot image.
power key: bank-0 pin-5
can't find dts node for fixed
usb bc: can find node by path: /dwc-control-usb/usb_bc
pmic:rk808
can't find dts node for pwm1
set pwm voltage ok,pwm_id =2 vol=1000000,pwm_value=33
CPU's clock information:
    aplll = 816000000HZ
    apllb = 24000000HZ
    gpll = 800000000HZ
               aclk_periph_h = 133333333HZ, hclk_periph_h = 66666666HZ, pclk_periph_h = 33333333HZ
               aclk_periph_l0 = 100000000HZ, hclk_periph_l0 = 100000000HZ, pclk_periph_l0 = 50000000HZ
               hclk_periph_l1 = 100000000HZ, pclk_periph_l1 = 50000000HZ
    cpll = 800000000HZ
    dpll = 800000000HZ
    vpll = 24000000HZ
    npll = 24000000HZ
    ppll = 676000000HZ
Can't find dts node for fuel guage cw201x
can't find dts node for ec-battery
Can't find dts node for charger bq25700
SecureBootEn = 0, SecureBootLock = 0

#Boot ver: 2019-04-03#1.09
empty serial no.
normal boot.
checkKey
vbus = 1
no fuel gauge found
no fuel gauge found
delay prepare[200] unprepare[200] enable[200] disable[200]
read logo on state from dts [1]
no fuel gauge found
Using display timing dts
Detailed mode clock 148500 kHz, flags[a]
    H: 1920 2008 2052 2200
    V: 1080 1084 1089 1125
bus_format: 100a
rk lcdc - 0 dclk set: dclk = 148500000HZ, pll select = 1, div = 1
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!

analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Rx Max Link Rate is abnormal :ff !
LT link start failed!
eDP link training failed (-121)
LT link start failed!
eDP link training failed (-121)
analogix_dp_read_byte_from_dpcd: Aux Transaction fail!
Link Training Clock Recovery success
Link Training success!
Timeout of video stream on ok
unable to config video
Hit any key to stop autoboot:  0
Secure Boot state: 0
kernel   @ 0x00280000 (0x01229008)
ramdisk  @ 0x05bf0000 (0x001e07f8)
bootrk: do_bootm_linux...
   Loading Device Tree to 0000000005600000, end 0000000005614881 ... OK
Add bank:0000000000200000, 0000000008200000
Add bank:000000000a200000, 0000000075e00000
WARNING: could not set reg FDT_ERR_BADOFFSET.

Starting kernel ...

作者: 13501132347    时间: 2019-11-6 13:07
本帖最后由 13501132347 于 2021-3-15 14:21 编辑


作者: 大鲸鱼    时间: 2020-8-12 18:27
yuanyuantou 发表于 2019-11-6 09:44
U-Boot 2014.10-RK3399-06-g406d420-dirty (Jul 19 2019 - 18:33:18)

CPU: rk3399

大佬解解决没?怎么解决的?
作者: sizeok    时间: 2022-9-9 19:52
同样问题,没人解答呢。这都过了几年了。




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1