Grub UEFI memory allocation patch

2010-04-03 Thread Bernon , Rémi
Hi, I was trying for a few days to enable EFI boot on my laptop, and i've encountered some issues with Grub2. My motherboard is one of the modern Intel chipset motherboard, that come with UEFI v2, and when i tried to boot using grub 1.98, compiled with efi support, there was some memory

Re: Grub UEFI memory allocation patch

2010-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Bernon wrote: I've also found parts of the code in loader/i386/linux.c that were looking for free pages in the memory map, which is already done by the EFI memory allocation function. Actually, i've managed to make it working, by letting EFI find free memory pages and allocate them, but i

Re: Grub UEFI memory allocation patch

2010-04-03 Thread Bernon , Rémi
Actually, I've read the answer you made to someone who had the same memory issue as I had, and I tried the newreloc branch, but it doesn't even build when targeting efi platform. The loader/i386/efi/linux.c file is missing in this branch. I will look for explanation about this part of code, in

Re: Grub UEFI memory allocation patch

2010-04-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Bernon wrote: Actually, I've read the answer you made to someone who had the same memory issue as I had, and I tried the newreloc branch, but it doesn't even build when targeting efi platform. The loader/i386/efi/linux.c file is missing in this branch. It was a mismerge. I've fixed it.

Re: Grub UEFI memory allocation patch

2010-04-03 Thread Bernon , Rémi
That's fine. I suspected that this required a specific kernel configuration, as you have confirmed. I will try again the newreloc branch. Thanks. Regards, Rémi Bernon 2010/4/3 Vladimir 'φ-coder/phcoder' Serbinenko phco...@gmail.com: Bernon wrote: Actually, I've read the answer you made to