[Bug 1937277] Re: [SRU] OpenSBI 0.9 backport to Focal

Heinrich Schuchardt 1937277 at bugs.launchpad.net
Thu Aug 12 09:43:33 UTC 2021


Hello Brian,

booting with 
U-Boot 2021.01+dfsg-3ubuntu0~20.04.3 (Jul 30 2021 - 14:38:17 +0000)
fails.

Found 14 disks
** Invalid partition 21 **
Cannot read EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image

The following patches are missing:

3dca77b1dc1b ("efi_loader: partition numbers are hexadecimal")
17f8cda505e3 ("efi_loader: set partition GUID in device path for SIG_TYPE_GUID")

Documentation for flashing U-Boot for the HiFive Unmatched is missing:

70415e1e528d ("board: sifive: add HiFive Unmatched board support")

Generally I would prefer to have the following configuration settings:

CONFIG_CMD_EFIDEBUG=y
CONFIG_CMD_NVEDIT_EFI=y
CONFIG_HEXDUMP=y
# CONFIG_SPL_HEXDUMP is not set

But maybe adjusting these setting is a question of the current release.

Best regards

Heinrich

-- 
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/1937277

Title:
  [SRU] OpenSBI 0.9 backport to Focal

Status in opensbi package in Ubuntu:
  In Progress
Status in u-boot package in Ubuntu:
  New
Status in opensbi source package in Focal:
  Fix Committed
Status in u-boot source package in Focal:
  Fix Committed

Bug description:
  OpenSBI 0.9 backport to Focal

  [Impact]
  * OpenSBI is used to create RISC-V images for various boards and to boot RISC-V virtual machines.
   * Our current 0.8 release lacks a patch for CPU erratum CIP-1200 described in Errata_FU740-C000_20210205 from https://www.sifive.com/boards/hifive-unmatched
   * Bugs in OpenSBI that may lead to crashes have been resolved in v0.9.

  [Test Case]

   * Build U-Boot with new OpenSBI version and boot Focal images with
  this U-Boot installed.

  [Where problems could occur]

   * Parts of the OpenSBI code where restructured, new SBI extensions
  were added. Bugs in the modified code might lead to failure to boot,
  reboot, poweroff or might lead to crashes.

  [Other Info]

  Here are the release notes for OpenSBI Version 0.9:

  This release has:

  Lots of fixes and improvements
  Optimized trap handler for both RV32 and RV64
  Domain support for system-level partitioning
  Device tree based domain configuration
  SBI v0.3 SRST extension
  More detailed boot-time prints
  Makefile option to use toolchain default ISA and ABI

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/opensbi/+bug/1937277/+subscriptions




More information about the foundations-bugs mailing list