From 82c49a0ec004e1bad2975fbd4f8fc27bc9e5df5e Mon Sep 17 00:00:00 2001
From: Qiyang Sun <qs2g22@soton.ac.uk>
Date: Sat, 2 Nov 2024 21:37:18 +0000
Subject: [PATCH] Default quiet boot with runlevel 2

---
 recipes-bsp/bootfiles/rpi-cmdline.bbappend | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/recipes-bsp/bootfiles/rpi-cmdline.bbappend b/recipes-bsp/bootfiles/rpi-cmdline.bbappend
index 4e81ce6..6e4d661 100644
--- a/recipes-bsp/bootfiles/rpi-cmdline.bbappend
+++ b/recipes-bsp/bootfiles/rpi-cmdline.bbappend
@@ -1,8 +1,10 @@
 # enable early console
 # https://www.raspberrypi.com/documentation/computers/configuration.html#enabling-early-console-for-linux
 
-CMDLINE:append = " modules.load=dwc2,g_serial"
-CMDLINE:append = " earlycon=uart8250,mmio32,0x20215040"
+#CMDLINE:append = " modules.load=dwc2,g_serial"
+#CMDLINE:append = " earlycon=uart8250,mmio32,0x20215040"
 #CMDLINE:append = " earlycon=pl011,mmio32,0x20201000"
 
-CMDLINE:append = " init=/usr/sbin/fastinit.sh 3"
+#CMDLINE:append = " init=/usr/sbin/fastinit.sh 3"
+
+CMDLINE = "quiet loglevel=0 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait  logo.nologo net.ifnames=0 modules.load=dwc2,g_serial init=/usr/sbin/fastinit.sh 2"
-- 
GitLab