grub-devel
[Top][All Lists]
Advanced

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

Re: EFI Boot on MacPro


From: peter cros
Subject: Re: EFI Boot on MacPro
Date: Mon, 12 Jan 2009 19:40:39 +1100


I tried your 64bit grub.efi, same result - hangs at start (on current imac8,1).
I wonder if you have tested on the current MacBook or MacBook Pro, perhaps Apple have made another change. Also I dont have any info on previous Imac models.

I was able to get a return via grub_main() only by excluding both of the movq lines in the code before the call. Either one hangs it.

Looks to be a problem with grub_efi_image_handle and grub_efi_system_table?
-------------------
kern/x86_64/efi/startup.S

codestart:
    call    EXT_C(grub_main)
    ret
-    movq    %rcx, EXT_C(grub_efi_image_handle)
-    movq    %rdx, EXT_C(grub_efi_system_table)
-----------------
kern/main.c

void
grub_main (void)
{
return;
}
---------------------

Is there anything else I can try?

peter cros



On Mon, Jan 12, 2009 at 4:04 AM, Bean <address@hidden> wrote:
On Mon, Jan 12, 2009 at 12:00 AM, peter cros <address@hidden> wrote:
> It is here - (return  checked in refit efi shell and gui)
> Can't go any further until that is fixed.
>
> kern/x86_64/efi/startup.S
> -----------------------
>
> This hangs -
>
> codestart:
>     movq    %rcx, EXT_C(grub_efi_image_handle)
>     movq    %rdx, EXT_C(grub_efi_system_table)
>  +ret
>     call    EXT_C(grub_main)
>     ret
> -------------------------
>
> This returns -
>
> codestart:
>  +ret
>     movq    %rcx, EXT_C(grub_efi_image_handle)
>     movq    %rdx, EXT_C(grub_efi_system_table)
>     call    EXT_C(grub_main)
>     ret
> --------------------------
>
> Would really like to see the solution for the imac8,1.

Hi,

This is quite strange, it might be caused by the compiler. You can try
my version of grub.efi:

http://grub4dos.sourceforge.net/grub.zip

--
Bean


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


reply via email to

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