[Bug 1965796] [NEW] missing device-tree fixups
Heinrich Schuchardt
1965796 at bugs.launchpad.net
Mon Mar 21 16:41:07 UTC 2022
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
Foundations Bugs, which is subscribed to grub2 in Ubuntu.
https://bugs.launchpad.net/bugs/1965796
Title:
missing device-tree fixups
Status in grub2 package in Ubuntu:
New
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/1965796/+subscriptions
More information about the foundations-bugs
mailing list