All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] powerpc-ieee1275: support larger core.elf images
@ 2021-11-16  3:42 Daniel Axtens
  2021-11-16  3:42 ` [PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB Daniel Axtens
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Daniel Axtens @ 2021-11-16  3:42 UTC (permalink / raw)
  To: grub-devel; +Cc: Daniel Axtens

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



^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2022-05-17 13:31 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-16  3:42 [PATCH 0/2] powerpc-ieee1275: support larger core.elf images Daniel Axtens
2021-11-16  3:42 ` [PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB Daniel Axtens
2021-11-16 15:17   ` Robbie Harwood
2021-11-16 15:31   ` Vladimir 'phcoder' Serbinenko
2021-11-16 16:37     ` Robbie Harwood
2021-11-16 16:48       ` John Paul Adrian Glaubitz
2021-11-16 17:19         ` John Paul Adrian Glaubitz
2021-11-16 18:07           ` Robbie Harwood
2021-11-16 21:02             ` Vladimir 'phcoder' Serbinenko
2021-11-22  9:31     ` John Paul Adrian Glaubitz
2021-11-16  3:42 ` [PATCH 2/2] ieee1275: set real-base in the PowerPC IEEE1275 Note to 32MB Daniel Axtens
2021-11-16  8:25   ` Michael Chang
2021-11-23 16:02 ` [PATCH 0/2] powerpc-ieee1275: support larger core.elf images John Paul Adrian Glaubitz
2021-11-24  0:51   ` Daniel Axtens
2021-11-25  7:53     ` John Paul Adrian Glaubitz
2022-01-14 16:43       ` Robbie Harwood
2022-01-14 16:54         ` John Paul Adrian Glaubitz
2022-01-14 18:30           ` John Paul Adrian Glaubitz
2022-05-17 13:30             ` Daniel Axtens

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.