linux reboot flow

kernel_restart

                       ==>>kmsg_dump

                       ==>>machine_restart

                                ==>arm_pm_restart(reboot_mode, cmd);

==> sun8i_restart(char mode, const char *cmd)

  

log:

root@camdroid:/ # reboot
[  256.064771] SysRq : Emergency Remount R/O
[  256.069375] The process is "reboot" (pid 119)
[  256.074455] Emergency Remount complete
[  257.083158] [VFE]vfe_opened_num = 1
[  257.087131] [VFE]mclk off
[  257.160681] [VFE]Vfe Shutdown!
[  257.164160] [audiocodec] headphone_mute_used type err!
[  257.780059] [mmc]: shutdown_mmc: is not card 2, return
[  257.785907] [mmc]: shutdown_mmc: mmc 1 shutdown exit..ok
[  257.791895] [mmc]: shutdown_mmc: is not card 2, return
[  257.797715] [mmc]: shutdown_mmc: mmc 0 shutdown exit..ok
[  257.803684] wdt_enable, write reg 0xf1c20cb8 val 0x000000b0
[  257.900022] LCD_panel_exit: enter sleep
[  258.210269] [DISP] disp_sys_gpio_set_value,line:374:OSAL_GPIO_DevWRITE_ONEPIN_DATA, hdl is NULL
[  258.240052] [alarmtimer] have no shutdown alarm! alarmtimer_shutdown 315
[  258.247574] hci: ERR: sunxi_ohci is disable, need not shutdown
[  258.254180] hci: ERR: sunxi_ehci is disable, need not shutdown
[  258.261285] pmu_shutdown_chgcur = 1000000
[  258.266236] Restarting system.
[  258.269684] [richard] step 1
[  258.272957] [richard] step 2
[  258.276267] 
[  258.277979] Restarting Linux version 3.4.39

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值