+++ b/kernel-3.10/arch/arm64/configs/newmobi6735_65u_v_l1_defconfig
@@ -1095,7 +1095,7 @@ CONFIG_MTK_RAM_CONSOLE_DRAM_ADDR=0x43F00000
# CONFIG_MT_CHRDEV_REG is not set
# CONFIG_MT_LOCK_DEBUG is not set
CONFIG_PRINTK_PROCESS_INFO=y
-CONFIG_MT_PRINTK_UART_CONSOLE=y
+#CONFIG_MT_PRINTK_UART_CONSOLE=y
# CONFIG_MT_ENG_BUILD is not set
CONFIG_RAMDISK_OFFSET=0xF00000
# CONFIG_EARLY_LINUX_PORTING is not set
+++ b/system/core/rootdir/init.rc
@@ -499,15 +499,15 @@ service healthd /sbin/healthd
critical
seclabel u:r:healthd:s0
-service console /system/bin/sh
- class core
- console
- disabled
- user shell
- seclabel u:r:shell:s0
-
-on property:ro.debuggable=1
- start console
+#service console /system/bin/sh
+# class core
+# console
+# disabled
+# user shell
+# seclabel u:r:shell:s0
+
+#on property:ro.debuggable=1
+# start console
# adbd is controlled via property triggers in init.<platform>.usb.rc
+++ b/bootable/bootloader/lk/app/mt_boot/mt_boot.c
@@ -579,9 +579,9 @@ int boot_linux_fdt(void *kernel, unsigned *tags,
if (!has_set_p2u) {
#ifdef USER_BUILD
- sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=0");
+ sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1");
#else
- sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=0 ddebug_query="file *mediatek* +p ; file *gpu* =_"");
+ sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1 ddebug_query="file *mediatek* +p ; file *gpu* =_"");
#endif
/*Append pre-loader boot time to kernel command line*/
@@ -788,7 +788,7 @@ void boot_linux(void *kernel, unsigned *tags,
#ifdef USER_BUILD
sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1");
#else
- sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=0 ddebug_query="file *mediatek* +p ; file *gpu* =_"");
+ sprintf(cmdline,"%s%s",cmdline," printk.disable_uart=1 ddebug_query="file *mediatek* +p ; file *gpu* =_"");
#endif
}
/*Append pre-loader boot reason to kernel command line*/
mt8735 Android5.1 关闭串口log
最新推荐文章于 2022-03-17 09:44:27 发布