Discuz! Board

标题: 带着linein开机会导致系统无法开机 [打印本页]

作者: zangcf    时间: 2016-4-13 11:47
标题: 带着linein开机会导致系统无法开机
/media/doraemon/works/android/mtk/6572/QPlayer/eng/alps/bootable/bootloader/lk/app/mt_boot/mt_boot.c::
做如下修改::
    /*Append lk boot time to kernel command line*/
    lk_t = ((unsigned int)get_timer(boot_time));
    sprintf(cmdline, "%s%s%d", cmdline, " lk_t=", lk_t);
#ifdef LK_PROFILING
    printf("[PROFILE] ------- boot_time takes %d ms -------- \n", lk_t);
#endif
    if (!has_set_p2u) {
//zcfdebug-- #ifdef USER_BUILD
//zcfdebug--         sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1");
//zcfdebug-- #else
        sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=0");
//zcfdebug-- #endif



作者: zangcf    时间: 2016-4-13 11:49
具体原因未知。




欢迎光临 Discuz! Board (http://47.89.242.157:9000/bbs/discuz/) Powered by Discuz! X3.2