grub-devel
[Top][All Lists]
Advanced

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

Re: aarch64: relocation 0x105 is not implemented yet.


From: Leif Lindholm
Subject: Re: aarch64: relocation 0x105 is not implemented yet.
Date: Sun, 29 Dec 2013 14:07:30 +0000

On 29 December 2013 14:01, Andrey Borzenkov <address@hidden> wrote:
> В Вс, 29/12/2013 в 13:09 +0000, Leif Lindholm пишет:
>> Umm, I'm officially going to go make some coffee.
>>
>> On arm64_efi stripflags obviously.
>
> Yes, this works (i.e. - grub-mkimage does not fail). Of course, module
> relocation happens at run time and I do not have hardware or software to
> test it - could you do it? You can download RPM here:
>
> https://api.opensuse.org/build/home:arvidjaar:grub2-next:ARM/openSUSE_Factory/aarch64/grub2/grub2-arm64-efi-2.02~beta2-225.1.aarch64.rpm

Thanks - I'll give it a go tonight (need to leave now).
If you can't wait, you can read my instructions for how to set up
the software model environment:
https://wiki.linaro.org/LEG/Engineering/Kernel/GRUBonAArch64
:)

/
    Leif

> From: Andrey Borzenkov <address@hidden>
> Subject: [PATCH] strip .eh_frame section from kernel
>
> Fixes grub-mkimage error
>
> ./grub-mkimage: error: relocation 0x105 is not implemented yet.
>
> Suggested by Leif Lindholm
>
> ---
>  grub-core/Makefile.core.def | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/grub-core/Makefile.core.def b/grub-core/Makefile.core.def
> index c916246..42443bc 100644
> --- a/grub-core/Makefile.core.def
> +++ b/grub-core/Makefile.core.def
> @@ -66,7 +66,7 @@ kernel = {
>    arm_efi_stripflags       = '--strip-unneeded -K start -R .note -R .comment 
> -R .note.gnu.gold-version';
>
>    arm64_efi_ldflags          = '-Wl,-r,-d';
> -  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R 
> .comment -R .note.gnu.gold-version';
> +  arm64_efi_stripflags       = '--strip-unneeded -K start -R .note -R 
> .comment -R .note.gnu.gold-version -R .eh_frame';
>
>    i386_pc_ldflags          = '$(TARGET_IMG_LDFLAGS)';
>    i386_pc_ldflags          = '$(TARGET_IMG_BASE_LDOPT),0x9000';
> --
> tg: (093dec7..) u/arm64-cmodel-large (depends on: master)
>
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel



reply via email to

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