]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mediatek: remove loglevel in bootargs 19714/head
authorCoia Prant <coiaprant@gmail.com>
Fri, 8 Aug 2025 14:39:03 +0000 (14:39 +0000)
committerRobert Marko <robimarko@gmail.com>
Mon, 11 Aug 2025 08:40:26 +0000 (10:40 +0200)
`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>
target/linux/mediatek/dts/mt7981b-unielec-u7981-01.dtsi
target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8102ax.dts
target/linux/mediatek/dts/mt7981b-zbtlink-zbt-z8103ax.dts
target/linux/mediatek/dts/mt7988a-smartrg-mt-stuart.dtsi
target/linux/mediatek/patches-6.12/188-arm64-dts-mediatek-add-MT7988A-reference-board-devic.patch
target/linux/mediatek/patches-6.12/189-arm64-dts-mediatek-mt7988a-complete-bpi-r4.patch

index ea5ab2d9f2f4c3e8f76a2e12dd316f25cafee407..b9f0bcd7e6571496a88671089fc52be745b8992d 100644 (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 {
index d58ea48fc3b0f05d4bb6a0d0e5b25eb0392bbde4..c0f7fff8010b11acbe4764b525d7c442a493c190 100644 (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 {
index 3dfbbec3cf2ea74afee67d7cd3a6e83e40e5a8f0..67b1eef41183b43adea71cc3eca230dc125543fd 100644 (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 {
index 58d11476ddb73a79c8a12b9080832778591c26be..a0a88047267ba6d7bba7bbac22f5ca2db0070f1b 100644 (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 {
index 204a2cb434952b089939f446f479131f4760a34b..23bc2ea2032b6b0020721efcde6c75bfa3bc7cee 100644 (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";
 +      };
index a2643ea0a30522758cb8edf604a5f531d3749d6c..a8b7a7413489848611702857e2ec735b7b15c071 100644 (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>;
        };