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

Heinrich Schuchardt 2068739 at bugs.launchpad.net
Fri Jun 7 14:20:13 UTC 2024


Public bug reported:

[ 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

** Affects: livecd-rootfs (Ubuntu)
     Importance: Undecided
         Status: New

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