grub-devel
[Top][All Lists]
Advanced

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

Re: EFI Boot on MacPro


From: Bean
Subject: Re: EFI Boot on MacPro
Date: Mon, 12 Jan 2009 17:31:18 +0800

On Mon, Jan 12, 2009 at 4:40 PM, peter cros <address@hidden> wrote:
>
> 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?

Hi,

I have tested it on my macbook (brought last year) and it works
without issue. I don't know about later modals, but they shouldn't be
too different. Anyway, this looks like a memory problem, perhaps you
can define some global variable in startup.S and main.c, and test if
it halts when writing to it from within the same file.

BTW, is refit working ok ?

-- 
Bean




reply via email to

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