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

Heinrich Schuchardt 2068739 at bugs.launchpad.net
Fri Jul 5 08:58:57 UTC 2024


For verifications I biited this image on the Nezha D1:

https://launchpad.net/~ubuntu-
cdimage/+livefs/ubuntu/noble/cpc/+build/647731/+files/livecd.ubuntu-
cpc.disk1.img.xz

grub.cfg has this line
linux        /boot/vmlinuz-6.8.0-36-generic root=LABEL=cloudimg-rootfs ro  efi=debug earlycon=sbi

I observed no issues booting the board.

** Tags removed: verification-needed verification-needed-noble
** Tags added: verification-done verification-done-noble

-- 
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:
  Fix Committed

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