userdebug版本开机串口log打开

在/bootable/bootloader/lk/app/mt_boot/mt_boot.c里修改:
if (!has_set_p2u) {
#ifdef USER_BUILD
sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1"); // printk.disable_uart=1 改为0
#else
sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=0 ddebug_query=\"file *mediatek* +p ; file *gpu* =_\"");
#endif

posted @ 2016-10-10 11:02  瘋耔  阅读(809)  评论(0编辑  收藏  举报
跳至侧栏