Skip to content

Commit e596356

Browse files
rbqvqrobimarko
authored andcommitted
mediatek: remove loglevel in bootargs
`loglevel=8` causes the kernel to output all logs, including debug logs, at boot time It is enabled by default on the upstream eval board because it is aimed at developer debugging. Most devices reference the eval board directly without modification, and the debug log should be hidden at release Signed-off-by: Coia Prant <[email protected]> Link: openwrt/openwrt#19714 Signed-off-by: Robert Marko <[email protected]>
1 parent 3e09991 commit e596356

6 files changed

+6
-8
lines changed

target/linux/mediatek/dts/mt7981b-unielec-u7981-01.dtsi

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
compatible = "unielec,u7981-01-emmc", "mediatek,mt7981";
1111

1212
chosen {
13-
bootargs = "console=ttyS0,115200n1 loglevel=8 \
14-
earlycon=uart8250,mmio32,0x11002000 \
15-
";
13+
bootargs = "console=ttyS0,115200n1 earlycon=uart8250,mmio32,0x11002000";
1614
};
1715

1816
gpio-keys {

target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
chosen {
2121
stdout-path = "serial0:115200n8";
22-
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 loglevel=8";
22+
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
2323
};
2424

2525
memory {

target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8103ax.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
chosen {
2121
stdout-path = "serial0:115200n8";
22-
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 loglevel=8";
22+
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
2323
};
2424

2525
memory {

target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525
chosen {
2626
stdout-path = &serial0;
27-
bootargs = "console=ttyS0,115200n1 loglevel=8 pci=pcie_bus_perf root=PARTLABEL=rootfs";
27+
bootargs = "console=ttyS0,115200n1 pci=pcie_bus_perf root=PARTLABEL=rootfs";
2828
};
2929

3030
memory {

target/linux/mediatek/patches-6.12/188-arm64-dts-mediatek-add-MT7988A-reference-board-devic.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -831,7 +831,7 @@ Signed-off-by: Daniel Golle <[email protected]>
831831
+ "mediatek,mt7988a";
832832
+
833833
+ chosen {
834-
+ bootargs = "console=ttyS0,115200n1 loglevel=8 \
834+
+ bootargs = "console=ttyS0,115200n1 \
835835
+ earlycon=uart8250,mmio32,0x11000000 \
836836
+ pci=pcie_bus_perf";
837837
+ };

target/linux/mediatek/patches-6.12/189-arm64-dts-mediatek-mt7988a-complete-bpi-r4.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Subject: [PATCH 32/32] WIP: add BPi-R4
189189
/ {
190190
chosen {
191191
stdout-path = "serial0:115200n8";
192-
+ bootargs = "console=ttyS0,115200n1 loglevel=8 pci=pcie_bus_perf ubi.block=0,fit root=/dev/fit0";
192+
+ bootargs = "console=ttyS0,115200n1 pci=pcie_bus_perf ubi.block=0,fit root=/dev/fit0";
193193
+ rootdisk-spim-nand = <&ubi_rootfs>;
194194
};
195195

0 commit comments

Comments
 (0)