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

Mate Kukri 2028931 at bugs.launchpad.net
Mon Sep 25 15:18:48 UTC 2023


** Changed in: grub2 (Ubuntu Focal)
     Assignee: (unassigned) => Mate Kukri (mkukri)

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