[Bug 1998513] Re: SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal
Ćukasz Zemczak
1998513 at bugs.launchpad.net
Thu Jan 26 19:16:43 UTC 2023
This bug mentions in the Impact section running 5.19 kernels on focal,
but from what I see on the cdimage manifests 5.15 is the kernel that the
riscv64 unmatched images use (coming from linux-riscv-5.15). Later it's
also mentioned that 5.15 kernels can possibly be affected. Is my
assumption correct that this might be a problem with the 5.15 kernels
right now?
I'll accept it anyway, but I'd like to have some clarification before
that. Do we know if the change causing potential issues is planned to go
into 5.15? Should we make sure that this new u-boot version is updated
before the affected kernel is upgraded on user machines?
** Changed in: u-boot (Ubuntu Focal)
Status: New => Fix Committed
** Tags added: verification-needed verification-needed-focal
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to u-boot in Ubuntu.
https://bugs.launchpad.net/bugs/1998513
Title:
SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal
Status in u-boot package in Ubuntu:
In Progress
Status in u-boot source package in Focal:
Fix Committed
Bug description:
[ Impact ]
Booting a current kernel (5.19) with U-Boot via UEFI fails in Focal
because the RISCV_EFI_BOOT_PROTOCOL is not provided.
The RISCV_EFI_BOOT_PROTOCOL is used to indicate the boot hart ID. In
previous releases of the kernel the boot hart ID was read from the
/chosen/boot-hartid property in the device-tree.
Add the missing protocol.
U-Boot in Focal cannot add the boot-hartid property if the the device-
tree does not contain a chosen node. This might lead to failure to
boot a 5.15 kernel. Add a patch fixing this.
[ Test Plan ]
* Try booting the SiFive HiFive Unmatched board and QEMU using the
preinstalled server image for Focal.
* Use the Kinetic server install image to install Ubuntu on the
SiFive HiFive Unmatched board and on QEMU and try to boot with the
SRUed U-Boot.
[ Where problems could occur ]
* The two applied patches affect only RISC-V (if there is no syntax
error).
* Booting the Focal Fossa 5.15 kernel would fail if the /chosen/boot-
hartid were not provided.
[ Other Info ]
n/a
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/u-boot/+bug/1998513/+subscriptions
More information about the foundations-bugs
mailing list