missing device-tree fixups

Bug #1965796 reported by Heinrich Schuchardt
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Fix Released

Bug Description

When U-Boot loads a device-tree it makes fixups like adjusting the memory size before booting into Linux. When GRUB loads a device-tree these fixups are missing. On RISC-V the Linux kernel expects the property /chosen/boot-hartidproperty in the device-tree which is set during fixups.

There are two solutions to this:

Either always load the device-tree in U-Boot or call the EFI_DT_FIXUP_PROTOCOL implemented in U-Boot. Calling the protocol seems to be the better solution.

Related branches

tags: added: riscv64
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package grub2 - 2.06-2ubuntu6

grub2 (2.06-2ubuntu6) jammy; urgency=medium

  [ Heinrich Schuchardt ]
  * efivar: check that efivarfs is writeable (LP: #1965288)

  [ Dimitri John Ledkov ]
  * Do not validate kernels twice. (LP: #1964943)

  [ Heinrich Schuchardt ]
  * efi: EFI Device Tree Fixup Protocol (LP: #1965796)
  * fdt: add debug output to devicetree command

 -- Julian Andres Klode <email address hidden> Fri, 25 Mar 2022 16:03:11 +0100

Changed in grub2 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.