Re: [PATCH] arm: implement additional relocations generated by gcc 4.9 at -O3

2015-02-03 Thread Michael Zimmermann
Confirmed working, nice work. Michael On Tue, Feb 3, 2015 at 11:11 PM, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > Go ahead > On 03.02.2015 22:30, Leif Lindholm wrote: >> GCC 4.9 also generates R_ARM_THM_MOVW_ABS_NC and R_ARM_THM_MOVT_ABS, >> as an alternative to ABS32. >> >> Signed-off-by: L

Re: grub-install no bootsector

2015-02-03 Thread Mike Gilbert
On Tue, Feb 3, 2015 at 2:35 PM, Chris Murphy wrote: > Are these two equivalent, or identical? And if so, which is preferred? > > grub2-install --no-bootsector > grub2-install --grub-setup=/bin/true > Yes, they are equivalent. --no-bootsector is preferred for new usage. http://git.savannah.gnu.

[PATCH] efinet: send_card_buffer: check for immediate TX completion

2015-02-03 Thread Martin Wilck
We are seeing grub network errors ("couldn't send network packet") with UEFI PXE over an Emulex CNA. Debugging turned out that the TX code path was running in a timeout waiting for the "recycle buffer" to be returned. Time had an influence on this effect: the menu and all required modules loaded us

Re: [PATCH] arm: implement additional relocations generated by gcc 4.9 at -O3

2015-02-03 Thread Vladimir 'φ-coder/phcoder' Serbinenko
Go ahead On 03.02.2015 22:30, Leif Lindholm wrote: > GCC 4.9 also generates R_ARM_THM_MOVW_ABS_NC and R_ARM_THM_MOVT_ABS, > as an alternative to ABS32. > > Signed-off-by: Leif Lindholm > --- > grub-core/kern/arm/dl.c| 15 +++ > grub-core/kern/arm/dl_helper.c | 39

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-03 Thread Leif Lindholm
On Sat, Jan 31, 2015 at 01:10:02PM +0100, Michael Zimmermann wrote: > What I almost forgot is that you need the following patch to fix > compilation with O2/O3(it fixes warnings): I can verify that this patch works, and makes it possible to compile with gcc 4.9 at -O3 (so is effectively a prerequi

[PATCH] arm: implement additional relocations generated by gcc 4.9 at -O3

2015-02-03 Thread Leif Lindholm
GCC 4.9 also generates R_ARM_THM_MOVW_ABS_NC and R_ARM_THM_MOVT_ABS, as an alternative to ABS32. Signed-off-by: Leif Lindholm --- grub-core/kern/arm/dl.c| 15 +++ grub-core/kern/arm/dl_helper.c | 39 +++ include/grub/arm/reloc.h | 5

grub-install no bootsector

2015-02-03 Thread Chris Murphy
Are these two equivalent, or identical? And if so, which is preferred? grub2-install --no-bootsector grub2-install --grub-setup=/bin/true Thanks, -- Chris Murphy ___ Grub-devel mailing list Grub-devel@gnu.org https://lists.gnu.org/mailman/listinfo/

Re: [PATCH] Add a module for retrieving SMBIOS information

2015-02-03 Thread David Michael
On Mon, Feb 2, 2015 at 5:48 PM, Leif Lindholm wrote: > On Mon, Feb 02, 2015 at 05:01:32PM -0500, David Michael wrote: >> >> There was some interest on help-grub about supporting SMBIOS access >> >> upstream. I've updated the module I wrote a while ago to work with >> >> current GRUB and added doc

Re: [PATCH] Add a module for retrieving SMBIOS information

2015-02-03 Thread David Michael
On Tue, Feb 3, 2015 at 10:04 AM, Prarit Bhargava wrote: > On 02/02/2015 02:26 PM, Prarit Bhargava wrote: >> >> >> On 02/02/2015 12:09 PM, David Michael wrote: >>> On Mon, Feb 2, 2015 at 6:20 AM, Prarit Bhargava wrote: On 02/01/2015 09:05 PM, David Michael wrote: > * grub-core/commands/i3

Re: [PATCH 03/18] x86/boot: use %ecx instead of %eax

2015-02-03 Thread Daniel Kiper
On Tue, Feb 03, 2015 at 10:02:09AM +, Jan Beulich wrote: > >>> On 30.01.15 at 18:54, wrote: > > /* Save the Multiboot info struct (after relocation) for later > > use. */ > > mov $sym_phys(cpu0_stack)+1024,%esp > > -push%ebx > > -callreloc > > +

Re: [PATCH 00/18] x86: multiboot2 protocol support

2015-02-03 Thread Daniel Kiper
On Mon, Feb 02, 2015 at 09:28:49AM +, Jan Beulich wrote: > >>> On 30.01.15 at 18:54, wrote: > > - xen.efi build will not so strongly depend > > on a given GCC and binutils version. > > While I can see the possibility of making the binutils version > dependency go away (by manually creati

GSoC: outdated ideas list?

2015-02-03 Thread Pavel Kretov
Hello everybody. Now GSoC 2015 is going to start at February, 9 and Grub website has a “Summer of code” link on its main page [1], but it states to be updated on 2012/01/05, which is quite a lot ago. So I've checked the Git repo and found that LUKS and fancy menus seem to be already implemented. W

Re: [PATCH] Add a module for retrieving SMBIOS information

2015-02-03 Thread Prarit Bhargava
On 02/02/2015 02:26 PM, Prarit Bhargava wrote: > > > On 02/02/2015 12:09 PM, David Michael wrote: >> On Mon, Feb 2, 2015 at 6:20 AM, Prarit Bhargava wrote: >>> On 02/01/2015 09:05 PM, David Michael wrote: * grub-core/commands/i386/smbios.c: New file. * grub-core/Makefile.core.def (smbi

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-03 Thread Leif Lindholm
On Tue, Feb 03, 2015 at 01:38:06PM +0100, Michael Zimmermann wrote: > I guess with "get in touch offline" you mean via IM? Email is fine. Or I'm leiflindholm on #freenode. > What kind of setup annoys you? The repo is compile-able outside my > build system. The problem is that your repo was creat

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-03 Thread Michael Zimmermann
Hi, I guess with "get in touch offline" you mean via IM? What kind of setup annoys you? The repo is compile-able outside my build system. I guess this is related to picking the new features, because the bug I reported should be reproduce-able with the mainline branch(u should get the error at runt

Re: R_ARM(_THM)_MOVT_ABS(_NC) support

2015-02-03 Thread Leif Lindholm
Hi Michael, Sorry for delay - travelling back from FOSDEM, then catching up on work. On Tue, Feb 03, 2015 at 08:26:58AM +0100, Michael Zimmermann wrote: > I reverted his commits and compiled using O3 and it worked, but: I get > the same error on runtime: > > relocation 0x2f is not implemented ye

Re: [PATCH 02/18] x86/boot/reloc: create generic alloc and copy functions

2015-02-03 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > --- a/xen/arch/x86/boot/reloc.c > +++ b/xen/arch/x86/boot/reloc.c > @@ -33,9 +33,10 @@ asm ( > typedef unsigned int u32; > #include "../../../include/xen/multiboot.h" > > -static void *reloc_mbi_struct(void *old, unsigned int bytes) > +static u32 alloc_struct

Re: [PATCH 03/18] x86/boot: use %ecx instead of %eax

2015-02-03 Thread Jan Beulich
>>> On 30.01.15 at 18:54, wrote: > /* Save the Multiboot info struct (after relocation) for later use. > */ > mov $sym_phys(cpu0_stack)+1024,%esp > -push%ebx > -callreloc > +mov %ecx,%eax > +push%ebx/* Multiboot