[SRU] use earlycon=sbi on the kernel command line
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
livecd-rootfs (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Noble |
Fix Released
|
Undecided
|
Unassigned |
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
Here is the merge request for 24.04 (Noble): /code.launchpad .net/~xypron/ livecd- rootfs/ +git/livecd- rootfs/ +merge/ 467109
https:/