Red Hat recently experienced an issue which I narrowed down to using a
grub core.elf image that was too big: the current limit is just under
2MB.

These are two patches that fix the issue and attempt to future proof
the area.

With these patches, the maximum size will be:

 - SLOF, or PFW with the PowerPC IEEE1275 note: just under 8MB
 - PFW without the PowerPC IEEE1275 note: a bit under 4MB

As such, I recommend people building large grub images for Power
systems (such as secure bootable images) build with the PowerPC
IEEE1275 note from now on.

Daniel Axtens (2):
  powerpc-ieee1275: load grub at 8MB, not 2MB
  ieee1275: set real-base in the PowerPC IEEE1275 Note to 32MB

 grub-core/Makefile.core.def | 2 +-
 include/grub/offsets.h      | 2 +-
 util/grub-mkimagexx.c       | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

-- 
2.32.0


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to