grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Daniel Axtens
Subject: Re: [PATCH 0/2] powerpc-ieee1275: support larger core.elf images
Date: Wed, 24 Nov 2021 11:51:56 +1100

Hi Adrian,

Thanks for testing!

> root@ibook-g4-14:/home/glaubitz/grub# grub-install 
> --macppc-directory=/boot/grub --no-nvram
> Installing for powerpc-ieee1275 platform.
> grub-install: warning: cannot open directory `/usr/local/share/locale': No 
> such file or directory.
> grub-install: error: `/usr/local/lib/grub/powerpc-ieee1275/kernel.img' is 
> miscompiled: its start address is 0x200000 instead of 0x800000: ld.gold bug?.
> root@ibook-g4-14:/home/glaubitz/grub#

Fascinating. I saw a similar issue when I only updated the kernel
(Makefile.core.def) and not the utils and fixed it with the change to
offsets.h.

Interestingly you're seeing the issue in reverse: the tools are
expecting the new offset but
/usr/local/lib/grub/powerpc-ieee1275/kernel.img is built with the old
offset.

Could you humour me and:
 - check that your kernel.img in /usr is indeed up to date
 - try grub-install ... -d ./grub-core?

Many thanks!

Kind regards,
Daniel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]