[Bug 2068739] Re: [SRU] use earlycon=sbi on the kernel command line

Andreas Hasenack 2068739 at bugs.launchpad.net
Thu Jun 27 13:28:06 UTC 2024


I was going to ask to test on non riscV64 systems, to be sure we are not
regressing that, but I see in the diff that this option is added only in
what looks like a riscv64-only path:

  live-build/ubuntu-cpc/hooks.d/base/riscv64/grub/10_cmdline.cfg

So it's ok without that extra step in the test case.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to livecd-rootfs in Ubuntu.
https://bugs.launchpad.net/bugs/2068739

Title:
  [SRU] use earlycon=sbi on the kernel command line

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Noble:
  New

Bug description:
  [ Impact ]

  On RISC-V boards we have specified 'earlycon' on the command line to
  provide early kernel log output. This does not work with current
  kernels.

  We have to specify 'earlycon=sbi' to use the kernel driver for the SBI
  debug console extension which is available since OpenSBI v1.3.

  
  [ Test Plan ]

  To reproduce the problem append 'console=ttyS0' to the kernel command
  line. This will result in writing at 9600 baud in the 'late' console
  while the early console is expected at 115200 baud.

  With 'earlycon=sbi' the early messages are shown.

  For testing the Nezha D1 board can be used with our preinstalled
  server image.

  [ Where problems could occur ]

  The early console might not work and users might see messages late.

  [ Other Info ]
   
  n/a

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/2068739/+subscriptions




More information about the foundations-bugs mailing list