Public bug reported:

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.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: fr-2120 riscv64

** Tags added: riscv64

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

Title:
  missing device-tree fixups

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to