|
|
/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
|
|