busybox/Ayn/Odin: use proper kernel arg to not hide kernel messages in console

This commit is contained in:
Tomáš Kelemen (vudiq) 2024-05-21 18:02:06 +02:00
parent 08ed2868e9
commit 08d672b54b
No known key found for this signature in database
GPG Key ID: 5CE55E600E0B3B22
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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
}