0
0
mirror of https://git.openwrt.org/openwrt/openwrt.git/ synced 2025-10-06 03:02:55 +02:00

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 <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19714
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Coia Prant
2025-08-08 14:39:03 +00:00
committed by Robert Marko
parent 3e09991c07
commit e59635668d
6 changed files with 6 additions and 8 deletions

View File

@@ -10,9 +10,7 @@
compatible = "unielec,u7981-01-emmc", "mediatek,mt7981";
chosen {
bootargs = "console=ttyS0,115200n1 loglevel=8 \
earlycon=uart8250,mmio32,0x11002000 \
";
bootargs = "console=ttyS0,115200n1 earlycon=uart8250,mmio32,0x11002000";
};
gpio-keys {

View File

@@ -19,7 +19,7 @@
chosen {
stdout-path = "serial0:115200n8";
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 loglevel=8";
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
};
memory {

View File

@@ -19,7 +19,7 @@
chosen {
stdout-path = "serial0:115200n8";
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8 loglevel=8";
bootargs = "earlycon=uart8250,mmio32,0x11002000 console=ttyS0,115200n8";
};
memory {

View File

@@ -24,7 +24,7 @@
chosen {
stdout-path = &serial0;
bootargs = "console=ttyS0,115200n1 loglevel=8 pci=pcie_bus_perf root=PARTLABEL=rootfs";
bootargs = "console=ttyS0,115200n1 pci=pcie_bus_perf root=PARTLABEL=rootfs";
};
memory {

View File

@@ -831,7 +831,7 @@ Signed-off-by: Daniel Golle <daniel@makrotopia.org>
+ "mediatek,mt7988a";
+
+ chosen {
+ bootargs = "console=ttyS0,115200n1 loglevel=8 \
+ bootargs = "console=ttyS0,115200n1 \
+ earlycon=uart8250,mmio32,0x11000000 \
+ pci=pcie_bus_perf";
+ };

View File

@@ -189,7 +189,7 @@ Subject: [PATCH 32/32] WIP: add BPi-R4
/ {
chosen {
stdout-path = "serial0:115200n8";
+ bootargs = "console=ttyS0,115200n1 loglevel=8 pci=pcie_bus_perf ubi.block=0,fit root=/dev/fit0";
+ bootargs = "console=ttyS0,115200n1 pci=pcie_bus_perf ubi.block=0,fit root=/dev/fit0";
+ rootdisk-spim-nand = <&ubi_rootfs>;
};