[Bug 1998513] Re: SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal
Heinrich Schuchardt
1998513 at bugs.launchpad.net
Wed Jan 11 18:18:12 UTC 2023
Thank you Dave for identifying this bug in upstream U-Boot. I now have
created
[PATCH 1/1] efi_loader: use EFI_EXIT in efi_riscv_get_boot_hartid
https://lists.denx.de/pipermail/u-boot/2023-January/504464.html
I will amend the debdiff.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1998513
Title:
SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal
Status in u-boot package in Ubuntu:
In Progress
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 Ubuntu-sponsors
mailing list