[Bug 2028931] Re: device tree protocol not always applied

Julian Andres Klode 2028931 at bugs.launchpad.net
Fri Jul 28 13:57:05 UTC 2023


This is fixed in 2.12~rc1-4 (which also happens to work with kernels >
5.8 anyhow) and will be backported to 2.06 at a later point.

** Also affects: grub2 (Ubuntu Jammy)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Mantic)
   Importance: Undecided
       Status: Confirmed

** Also affects: grub2 (Ubuntu Lunar)
   Importance: Undecided
       Status: New

** Also affects: grub2 (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Changed in: grub2 (Ubuntu Mantic)
       Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/2028931

Title:
  device tree protocol not always applied

Status in grub2 package in Ubuntu:
  Fix Committed
Status in grub2 source package in Focal:
  New
Status in grub2 source package in Jammy:
  New
Status in grub2 source package in Lunar:
  New
Status in grub2 source package in Mantic:
  Fix Committed

Bug description:
  [Impact]
  device tree fixups are not applied when grub_fdt_load() has been called before, as that copies the device tree + extra space into a new fdt variable. 

  For example, when a pre-LoadFile2 kernel is being loaded, grub passes
  the initrd via device tree and needs to modify it, for which it calls
  the function. On pre-2.12 loaders, this happens for every kernel on
  arm64 as we do not support LoadFile2 there.

  [Test plan]
  TBD

  [Where problems could occur]
  We're moving the fixup of the device tree to directly after loading it, so that grub can make any modifications to set initrd for example (there are no others yet), later.

  Device tree fixup suddenly working can of course cause regressions if
  the fixups in u-boot are wrong.

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




More information about the foundations-bugs mailing list