[Bug 1998513] [NEW] SRU provide RISCV_EFI_BOOT_PROTOCOL in Focal

Heinrich Schuchardt 1998513 at bugs.launchpad.net
Thu Dec 1 18:35:00 UTC 2022


Public bug reported:

[ 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

** Affects: u-boot (Ubuntu)
     Importance: Undecided
         Status: New

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

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