From 08d672b54b172766306067454ae748ea2e753dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Kelemen=20=28vudiq=29?= Date: Tue, 21 May 2024 18:02:06 +0200 Subject: [PATCH] busybox/Ayn/Odin: use proper kernel arg to not hide kernel messages in console --- packages/sysutils/busybox/scripts/init | 4 ++-- .../packages/odin-bootloader/files/boot/EFI/debian/grub.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 0e069097b7..e65a55e42f 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -987,9 +987,9 @@ prepare_sysroot() { # Do init tasks to bring up system -if [ ! "$(cat /proc/cmdline | grep -s odin-workaround)" ]; then +if [ ! "$(cat /proc/cmdline | grep -s show_kernel_messages)" ]; then # hide kernel log messages on console - : #echo '1 4 1 7' > /proc/sys/kernel/printk + echo '1 4 1 7' > /proc/sys/kernel/printk fi # run platform_init script if exists diff --git a/projects/Ayn/devices/Odin/packages/odin-bootloader/files/boot/EFI/debian/grub.cfg b/projects/Ayn/devices/Odin/packages/odin-bootloader/files/boot/EFI/debian/grub.cfg index 2255d4ced7..6350c2b82b 100644 --- a/projects/Ayn/devices/Odin/packages/odin-bootloader/files/boot/EFI/debian/grub.cfg +++ b/projects/Ayn/devices/Odin/packages/odin-bootloader/files/boot/EFI/debian/grub.cfg @@ -3,7 +3,7 @@ set timeout="5" menuentry "Lakka" { set gfxpayload=keep - linux /lakka/KERNEL boot=/dev/mmcblk0p1 BOOT_IMAGE=/lakka/KERNEL SYSTEM_IMAGE=/lakka/SYSTEM console=ttyMSM0,115200n8 clk_ignore_unused pd_ignore_unused nofsck fat32-boot firmware.class_path="/usr/lib/firmware" net.ifnames=1 odin-workaround + linux /lakka/KERNEL boot=/dev/mmcblk0p1 BOOT_IMAGE=/lakka/KERNEL SYSTEM_IMAGE=/lakka/SYSTEM console=ttyMSM0,115200n8 clk_ignore_unused pd_ignore_unused nofsck fat32-boot firmware.class_path="/usr/lib/firmware" net.ifnames=1 show_kernel_messages devicetree /lakka/sdm845-ayn-odin.dtb }