Re: [ipxe-devel] gunzip downloaded image?

2018-06-18 Thread Michael Brown
On 18/06/18 21:01, Jarrod Johnson wrote: So grub can boot a gzipped kernel, I was wondering if there's a syntax I'm missing to acheive the same end in ipxe? There's no support for gunzipping a downloaded image, sorry. We do have code for the underlying decompression algorithm (used in e.g. PN

Re: [ipxe-devel] gunzip downloaded image?

2018-06-18 Thread Geert Stappers
On Mon, Jun 18, 2018 at 04:01:44PM -0400, Jarrod Johnson wrote: > So grub can boot a gzipped kernel, I was wondering if there's a syntax I'm > missing to acheive the same end in ipxe? Please elaborate what you want to achieve. Groeten Geert Stappers -- Leven en laten leven _

[ipxe-devel] gunzip downloaded image?

2018-06-18 Thread Jarrod Johnson
So grub can boot a gzipped kernel, I was wondering if there's a syntax I'm missing to acheive the same end in ipxe? ___ ipxe-devel mailing list ipxe-devel@lists.ipxe.org https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel

Re: [ipxe-devel] [PATCH] rndis: register netdev with MAC filled

2018-06-18 Thread Geert Stappers
On Fri, Jun 08, 2018 at 01:51:42PM +0300, Roman Kagan wrote: > On Fri, Jun 08, 2018 at 12:14:00PM +0200, Geert Stappers wrote: > > On Fri, Jun 01, 2018 at 09:59:01AM +0300, Roman Kagan wrote: > > > register_netdev expects ->hw_addr and ->ll_addr to be already filled, so > > > move it towards the en

[ipxe-devel] [PATCH] [efi] Guard strncpy with gcc warning ignore pragma

2018-06-18 Thread Bernhard M. Wiedemann
From: Bruce Rogers Using gcc 8 with the -Wstringop-truncation option, and with warnings treated as errors, the following error is emitted: util/elf2efi.c:494:2: error: 'strncpy' specified bound 8 equals destination size [-Werror=stringop-truncation] strncpy ( ( char * ) new->hdr.Name, name, si

Re: [ipxe-devel] [PATCH] [efi] Use memcpy to handle efi header name

2018-06-18 Thread Michael Brown
On 18/06/18 13:09, Christian Nilsson wrote: I send an identical patch (except the message of course) on May 15th. And there were different solutions on the mailing list as well. Michael, can we commit a fix for this, please? This is probably the 3rd thread about this, so let's go back to the o

Re: [ipxe-devel] [PATCH] [efi] Use memcpy to handle efi header name

2018-06-18 Thread Christian Nilsson
On 18 June 2018 at 13:55, Christian Hesse wrote: > "Bernhard M. Wiedemann" on Mon, 2018/06/18 13:43: >> strncpy will copy 8 chars into a buffer of size 8 >> which does not leave space for the terminating null byte, >> thus gcc8 failed compilation with >> >> In function 'process_section', >>

Re: [ipxe-devel] [PATCH] [efi] Use memcpy to handle efi header name

2018-06-18 Thread Christian Hesse
"Bernhard M. Wiedemann" on Mon, 2018/06/18 13:43: > strncpy will copy 8 chars into a buffer of size 8 > which does not leave space for the terminating null byte, > thus gcc8 failed compilation with > > In function 'process_section', > inlined from 'elf2pe.isra.4' at util/elf2efi.c:913:25:

[ipxe-devel] [PATCH] [efi] Use memcpy to handle efi header name

2018-06-18 Thread Bernhard M. Wiedemann
strncpy will copy 8 chars into a buffer of size 8 which does not leave space for the terminating null byte, thus gcc8 failed compilation with In function 'process_section', inlined from 'elf2pe.isra.4' at util/elf2efi.c:913:25: util/elf2efi.c:497:2: error: 'strncpy' specified bound 8 equ

[ipxe-devel] [PATCH] sfc: Add support for X25xx adapters

2018-06-18 Thread Martin Habets
The first adapters in this family are X2522-10, X2522-25, X2541 and X2542. These no longer use PCI BAR 0 for I/O, but use that for memory. In other words, BAR 2 on SFN8xxx adapters now becomes BAR 0. --- src/drivers/net/sfc/efx_common.c | 12 +--- src/drivers/net/sfc/sfc_hunt.c |2