Firefly开源社区

打印 上一主题 下一主题

[Android] rk3399仿照firefly lcd 调试方法调试edp屏幕接口,系统挂掉

137

积分

0

威望

0

贡献

技术小白

积分
137

rk3399仿照firefly lcd 调试方法调试edp屏幕接口,系统挂掉

发表于 2019-1-17 20:44:06      浏览:12672 | 回复:8        打印      只看该作者   [复制链接] 楼主
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)


回复

使用道具 举报

137

积分

0

威望

0

贡献

技术小白

积分
137
发表于 2019-1-25 11:13:39        只看该作者  沙发
顶一下
回复

使用道具 举报

2918

积分

56

威望

46

贡献

高级创客

Rank: 6Rank: 6

积分
2918

优秀版主论坛元老

发表于 2019-1-26 09:34:12        只看该作者  板凳
检查上电时序和硬件连接是否正确
回复

使用道具 举报

137

积分

0

威望

0

贡献

技术小白

积分
137
发表于 2019-1-26 17:18:14        只看该作者  地板
zhansb 发表于 2019-1-26 09:34
检查上电时序和硬件连接是否正确

大哥,我量的我们的板子lcd_en与lcd_rst电平不对,另外我发现firefly的板子在dts里面设的GPIO_ACTIVE_HIGH,这时输出本来应为低电平,但是量的是高电平,板子接口正常,可以显示,搞不明白怎么配dts了!是不是不像参考资料说的那样简单,你们是不是在uboot与kernel改了很多呢?主要应该注意些什么?谢谢。
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2019-11-6 09:41:34        只看该作者  5#
我也碰到这个问题,是几率性的。
回复

使用道具 举报

39

积分

0

威望

0

贡献

技术小白

积分
39
发表于 2019-11-6 09:44:16        只看该作者  6#
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 ...
回复

使用道具 举报

8

积分

0

威望

0

贡献

技术小白

积分
8
发表于 2019-11-6 13:07:27        只看该作者  7#
本帖最后由 13501132347 于 2021-3-15 14:21 编辑

回复

使用道具 举报

68

积分

0

威望

0

贡献

技术小白

积分
68
发表于 2020-8-12 18:27:47        只看该作者  8#
yuanyuantou 发表于 2019-11-6 09:44
U-Boot 2014.10-RK3399-06-g406d420-dirty (Jul 19 2019 - 18:33:18)

CPU: rk3399

大佬解解决没?怎么解决的?
回复

使用道具 举报

52

积分

0

威望

0

贡献

技术小白

积分
52
发表于 2022-9-9 19:52:24        只看该作者  9#
同样问题,没人解答呢。这都过了几年了。
回复

使用道具 举报

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

本版积分规则

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