[Bug 1998513] Re: SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal
Launchpad Bug Tracker
1998513 at bugs.launchpad.net
Tue Feb 7 11:15:21 UTC 2023
This bug was fixed in the package u-boot - 2021.01+dfsg-3ubuntu0~20.04.6
---------------
u-boot (2021.01+dfsg-3ubuntu0~20.04.6) focal; urgency=medium
* Provide RISCV_EFI_BOOT_PROTOCOL (LP: #1998513)
d/p/riscv64/0001-efi_loader-Enable-RISCV_EFI_BOOT_PROTOCOL-support.patch
d/p/riscv64/0001-efi_loader-use-EFI_EXIT-in-efi_riscv_get_boot_hartid.patch
* Add /chosen/boot-hartid to device-tree even if there is no chosen node
(LP: #1998513)
d/p/riscv64/0001-riscv-Fix-arch_fixup_fdt-always-failing-without-chos.patch
-- Heinrich Schuchardt <heinrich.schuchardt at canonical.com> Wed, 11 Jan
2023 19:29:44 +0100
** Changed in: u-boot (Ubuntu Focal)
Status: Fix Committed => Fix Released
--
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 Released
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