Re: [PATCH v2] Makefile: Allow to set file systems modules for default_payload.elf

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 02:34:55AM +0100, Paul Menzel wrote: > Dear Daniel, > > On 07.03.19 20:37, Daniel Kiper wrote: > > On Thu, Mar 07, 2019 at 12:16:06PM +0100, Paul Menzel wrote: > > > Date: Wed Mar 6 08:14:28 2019 +0100 > > > > > > By default all file system modules are added to the GRUB core

Re: [PATCH v2 2/2] Add new MSR modules (rdmsr/wrmsr)

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 10:28:06PM +0100, Jesús Diéguez Fernández wrote: > El 7/3/19 a las 20:58, Daniel Kiper escribió: > > On Thu, Mar 07, 2019 at 07:05:20PM +0100, Jesús Diéguez Fernández wrote: > > > > [...] > > > > [...] > > >> - And from a practical point of view, in case that I need to setup

Re: getting KEVS for booting DFly

2019-03-08 Thread Daniel Kiper
I am not familiar with BSD but... On Thu, Mar 07, 2019 at 04:42:47PM +, Artsimovich, Wladislav wrote: > Dear GRUB team, > > I'm interested in getting DragonFlyBSD to boot without a BIOS environment > (e.g. using coreboot / libreboot with the coreboot-grub payload to load the > kernel directl

Re: [PATCH v3 2/2] Add new MSR modules (rdmsr/wrmsr)

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 01:26:37AM +0100, Jesús Diéguez Fernández wrote: > In order to be able to read from and write to model-specific registers, > two new modules are added. They are i386 specific, as the cpuid module. > > rdmsr module registers the command rdmsr that allows reading from a MSR. >

Re: [PATCH v3 02/10] net: dhcp: replace parse_dhcp_vendor() with find_dhcp_option()

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 03:14:08PM +, Andre Przywara wrote: > From: Andrei Borzenkov > > For proper DHCP support we will need to parse DHCP options from a packet > more often and at various places. > > Refactor the option parsing into a new function, which will scan a > packet to find *a parti

Re: [PATCH v3 03/10] net: dhcp: Allow overloading legacy bootfile and name field

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 03:14:09PM +, Andre Przywara wrote: > From: Andrei Borzenkov > > DHCP specifies a special dummy option OVERLOAD, to allow DHCP options to > spill over into the (legacy) BOOTFILE and SNAME fields. > > Parse and handle this option properly. > > Signed-off-by: Andre Przywa

Re: [PATCH v3 03/10] net: dhcp: Allow overloading legacy bootfile and name field

2019-03-08 Thread Andre Przywara
On Fri, 8 Mar 2019 12:34:18 +0100 Daniel Kiper wrote: > On Thu, Mar 07, 2019 at 03:14:09PM +, Andre Przywara wrote: > > From: Andrei Borzenkov > > > > DHCP specifies a special dummy option OVERLOAD, to allow DHCP options to > > spill over into the (legacy) BOOTFILE and SNAME fields. > > > >

Re: [PATCH v3 07/10] net: dhcp: use DHCP options for name and bootfile

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 03:14:13PM +, Andre Przywara wrote: > From: Andrei Borzenkov > > The BOOTP RFC describes the boot file name and the server name as being > part of the integral BOOTP data structure, with some limits on the size > of them. > DHCP extends this by allowing them to be separ

Re: [PATCH v3 03/10] net: dhcp: Allow overloading legacy bootfile and name field

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 11:51:27AM +, Andre Przywara wrote: > On Fri, 8 Mar 2019 12:34:18 +0100 > Daniel Kiper wrote: > > > On Thu, Mar 07, 2019 at 03:14:09PM +, Andre Przywara wrote: > > > From: Andrei Borzenkov > > > > > > DHCP specifies a special dummy option OVERLOAD, to allow DHCP op

Re: [PATCH v3 08/10] net: dhcp: allow receiving DHCP OFFER and ACK packets

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 03:14:14PM +, Andre Przywara wrote: > From: Andrei Borzenkov > > In respone to a BOOTREQUEST packet a BOOTP server would answer with a > BOOTREPLY packet, which ends the conversation for good. > DHCP uses a 4-way handshake, where the initial server respone is an OFFER,

Re: [PATCH v3 08/10] net: dhcp: allow receiving DHCP OFFER and ACK packets

2019-03-08 Thread Andre Przywara
On Fri, 8 Mar 2019 13:01:33 +0100 Daniel Kiper wrote: > On Thu, Mar 07, 2019 at 03:14:14PM +, Andre Przywara wrote: > > From: Andrei Borzenkov > > > > In respone to a BOOTREQUEST packet a BOOTP server would answer with a > > BOOTREPLY packet, which ends the conversation for good. > > DHCP us

Re: [PATCH v3 08/10] net: dhcp: allow receiving DHCP OFFER and ACK packets

2019-03-08 Thread Daniel Kiper
On Fri, Mar 08, 2019 at 12:21:20PM +, Andre Przywara wrote: > On Fri, 8 Mar 2019 13:01:33 +0100 > Daniel Kiper wrote: > > > On Thu, Mar 07, 2019 at 03:14:14PM +, Andre Przywara wrote: > > > From: Andrei Borzenkov > > > > > > In respone to a BOOTREQUEST packet a BOOTP server would answer w

Re: [PATCH v3 00/10] net: bootp: add native DHCPv4 support

2019-03-08 Thread Daniel Kiper
On Thu, Mar 07, 2019 at 03:14:06PM +, Andre Przywara wrote: > A minor rework compared to v2, addressing Daniel's comments on the list. > The former patch 2/9 has been split up to first refactor the > parse_dhcp_vendor() function, then later introduce the OVERLOAD > functionality. The other mino

Re: [PATCH v3 00/10] net: bootp: add native DHCPv4 support

2019-03-08 Thread Andre Przywara
On Fri, 8 Mar 2019 17:03:34 +0100 Daniel Kiper wrote: Hi Daniel, > On Thu, Mar 07, 2019 at 03:14:06PM +, Andre Przywara wrote: > > A minor rework compared to v2, addressing Daniel's comments on the list. > > The former patch 2/9 has been split up to first refactor the > > parse_dhcp_vendor()