[PATCH 1/2] powerpc-ieee1275: load grub at 8MB, not 2MB

2021-11-15 Thread Daniel Axtens
RHEL9.0 builds were failing to boot with bizzare errors about module licensing. This was first reported under PFW but reproduces under SLOF. What is going wrong? Much debugging later, it turned out that this was because their image was greater than 2MB - 16KB in size: - Th

[PATCH 2/2] ieee1275: set real-base in the PowerPC IEEE1275 Note to 32MB

2021-11-15 Thread Daniel Axtens
Background -- Figuring out how to lay out memory in powerpc OpenFirmware is a bit of a complicate dance. Firstly, firmware needs to reserve a little bit of space for things like interrupt vectors that live at a fixed address. This is usually 0x4000 bytes. PFW calls this "stage 1" (of the

[PATCH 0/2] powerpc-ieee1275: support larger core.elf images

2021-11-15 Thread 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

Re: [PATCH 0/2] ieee1275/powerpc: implement ofpath to enable hint feature for FC and dm devices

2021-11-15 Thread Javier Martinez Canillas
Hello Diego, On 11/20/20 19:43, Diego Domingos wrote: > The grub-ofpathname and hint feature for ieee1275 are not working since there > is no code implemented to get the information needed about fibre channel > devices and device mapper. > > This patch series implements the codes for both group