From 6b3e2b5a97a69533bcd3dd7f9a1b3da7189b200e Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 6 Jun 2024 16:19:24 +0200 Subject: [PATCH] riscv64: use earlycon=sbi on command line With current kernel we need to specify the SBI driver for the early console to work. Signed-off-by: Heinrich Schuchardt --- live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg | 2 +- .../ubuntu-cpc/hooks.d/base/riscv64/u-boot-menu/10_cmdline.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg b/live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg index c8cf57d0..39cd1e13 100644 --- a/live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg +++ b/live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg @@ -1,4 +1,4 @@ # Booting on many riscv64 systems is slow. Let the user view progress. # For minimum output use # GRUB_CMDLINE_LINUX_DEFAULT="quiet" -GRUB_CMDLINE_LINUX_DEFAULT="efi=debug earlycon" +GRUB_CMDLINE_LINUX_DEFAULT="efi=debug earlycon=sbi" diff --git a/live-build/ubuntu-cpc/hooks.d/base/riscv64/u-boot-menu/10_cmdline.conf b/live-build/ubuntu-cpc/hooks.d/base/riscv64/u-boot-menu/10_cmdline.conf index 380be66e..231c2c23 100644 --- a/live-build/ubuntu-cpc/hooks.d/base/riscv64/u-boot-menu/10_cmdline.conf +++ b/live-build/ubuntu-cpc/hooks.d/base/riscv64/u-boot-menu/10_cmdline.conf @@ -1 +1 @@ -U_BOOT_PARAMETERS="ro efi=debug earlycon" +U_BOOT_PARAMETERS="ro efi=debug earlycon=sbi"