rk3568-reboot命令重启失败
本章主要介绍rk3568在使用reboot命令时出现的卡死情况。
·
本章主要介绍rk3568在使用reboot命令时出现的卡死情况。
1.问题发现
在使用reboot命令进行重启时,进入kernel后会出现卡死的情况。
经过大量实验发现,卡死时有三种日志输出。
分别是
(1)到网口初始化位置停止。
[ 0.264445] lkdtm: No crash points registered, enable through debugfs
[ 0.267993] rk_gmac-dwmac fe010000.ethernet: no regulator found
[ 0.268022] rk_gmac-dwmac fe010000.ethernet: clock input or output? (output).
[ 0.268040] rk_gmac-dwmac fe010000.ethernet: TX delay(0x4f).
[ 0.268055] rk_gmac-dwmac fe010000.ethernet: RX delay(0x26).
[ 0.268072] rk_gmac-dwmac fe010000.ethernet: integrated PHY? (no).
[ 0.273123] rk_gmac-dwmac fe010000.ethernet: init for RGMII
[ 0.273355] rk_gmac-dwmac fe010000.ethernet: User ID: 0x30, Synopsys ID: 0x51
[ 0.273373] rk_gmac-dwmac fe010000.ethernet: DWMAC4/5
[ 0.273389] rk_gmac-dwmac fe010000.ethernet: DMA HW capability register supported
[ 0.273403] rk_gmac-dwmac fe010000.ethernet: RX Checksum Offload Engine supported
[ 0.273415] rk_gmac-dwmac fe010000.ethernet: TX Checksum insertion supported
[ 0.273429] rk_gmac-dwmac fe010000.ethernet: Wake-Up On Lan supported
[ 0.273467] rk_gmac-dwmac fe010000.ethernet: TSO supported
[ 0.273478] rk_gmac-dwmac fe010000.ethernet: Enable RX Mitigation via HW Watchdog Timer
[ 0.273487] rk_gmac-dwmac fe010000.ethernet: TSO feature enabled
(2)到gpu初始化位置停止。
[ 0.260322] panel-simple lvds-panel: Linked as a consumer to regulator.7
[ 0.260380] panel-simple lvds-panel: lvds-panel supply vsp not found, using dummy regulator
[ 0.260431] panel-simple lvds-panel: Linked as a consumer to regulator.0
[ 0.260474] panel-simple lvds-panel: lvds-panel supply vsn not found, using dummy regulator
[ 0.261894] mali fde60000.gpu: Kernel DDK version g7p1-01bet0
[ 0.261991] mali fde60000.gpu: Device initialization Deferred
(3)到pcie初始化位置停止。
2.问题定位
对这三种情况进行组合测试,最终得到只要禁用pcie,即可reboot成功。
3.问题解决
排查出是pcie的问题后,我们推测可能是pcie3.0的phy工作异常。在硬件上关闭外部晶振芯片的时钟后,不关闭pcie也可以正常reboot。
得出结论是硬件问题。修复硬件即可。
更多推荐



所有评论(0)