From d89bc826410c84a6007cc04ee6ad95babaea559a Mon Sep 17 00:00:00 2001 From: Yunlong Xiao Date: Sun, 10 Jul 2022 17:36:32 +0800 Subject: [PATCH] disable log uart --- src/bsp/trustzone/atf/v1.2/mt8xxx/Makefile | 6 +++--- .../boot/dts/mediatek/aud8516p1v2_consys_slc_128_yocto.dts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bsp/trustzone/atf/v1.2/mt8xxx/Makefile b/src/bsp/trustzone/atf/v1.2/mt8xxx/Makefile index fd1d7be48..fb4e8f346 100644 --- a/src/bsp/trustzone/atf/v1.2/mt8xxx/Makefile +++ b/src/bsp/trustzone/atf/v1.2/mt8xxx/Makefile @@ -161,7 +161,7 @@ ifneq (${DEBUG}, 0) CFLAGS += -g -gdwarf-2 -O0 ASFLAGS += -g -Wa,--gdwarf-2 # Use LOG_LEVEL_INFO by default for debug builds - LOG_LEVEL := 40 + LOG_LEVEL := 0 else BUILD_TYPE := release $(eval $(call add_define,NDEBUG)) @@ -219,8 +219,8 @@ LDFLAGS += --fatal-warnings -O1 LDFLAGS += --gc-sections #ifneq (${SECURE_OS},teeid) -ASFLAGS += -Werror -CFLAGS += -Werror -Wno-error=pedantic +#ASFLAGS += -Werror +CFLAGS += -Wno-error=pedantic #endif ################################################################################ diff --git a/src/kernel/linux/v4.4/arch/arm64/boot/dts/mediatek/aud8516p1v2_consys_slc_128_yocto.dts b/src/kernel/linux/v4.4/arch/arm64/boot/dts/mediatek/aud8516p1v2_consys_slc_128_yocto.dts index 0a3024068..0987ae264 100644 --- a/src/kernel/linux/v4.4/arch/arm64/boot/dts/mediatek/aud8516p1v2_consys_slc_128_yocto.dts +++ b/src/kernel/linux/v4.4/arch/arm64/boot/dts/mediatek/aud8516p1v2_consys_slc_128_yocto.dts @@ -38,7 +38,7 @@ /* chosen */ chosen { - bootargs = "console=tty0 console=ttyS0,921600n1 earlycon=uart8250,mmio32,0x11005000 ubi.mtd=8 root=ubi0:aud8516p1v2-consys-slc-128-rootfs rootfstype=ubifs vmalloc=496M androidboot.hardware=aud8516p1_linux"; + bootargs = "console=tty0 console=ttyS0,921600n1 ubi.mtd=8 root=ubi0:aud8516p1v2-consys-slc-128-rootfs rootfstype=ubifs vmalloc=496M androidboot.hardware=aud8516p1_linux"; }; version { ver= "101001"; @@ -991,7 +991,7 @@ &uart0 { // pinctrl-names = "default"; // pinctrl-0 = <&uart0_pin>; - status="okay"; + status="disabled"; };