Received: from list by lists.gnu.org with archive (Exim 4.71) id 1avRiu-0002RK-Uu for mharc-grub-devel@gnu.org; Wed, 27 Apr 2016 11:49:56 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avRit-0002Pm-D7 for grub-devel@gnu.org; Wed, 27 Apr 2016 11:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1avRio-0005RU-Av for grub-devel@gnu.org; Wed, 27 Apr 2016 11:49:55 -0400 Received: from foss.arm.com ([217.140.101.70]:35366) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1avRio-0005QI-5t for grub-devel@gnu.org; Wed, 27 Apr 2016 11:49:50 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1B6AC3A; Wed, 27 Apr 2016 08:34:25 -0700 (PDT) Received: from leverpostej (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id C87843F24D; Wed, 27 Apr 2016 08:34:23 -0700 (PDT) Date: Wed, 27 Apr 2016 16:34:19 +0100 From: Mark Rutland To: Andrei Borzenkov Cc: grub-devel@gnu.org, matthew.t.rivard@intel.com Subject: Re: [PATCH v2] bootp: add native DHCPv4 support Message-ID: <20160427153419.GB7359@leverpostej> References: <1458458983-29281-1-git-send-email-arvidjaar@gmail.com> <1458671180-15616-1-git-send-email-arvidjaar@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1458671180-15616-1-git-send-email-arvidjaar@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 217.140.101.70 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2016 15:49:56 -0000 Hi, On Tue, Mar 22, 2016 at 09:26:20PM +0300, Andrei Borzenkov wrote: > This patch adds support for native DHCPv4 and removes requirement for > BOOTP compatibility support in DHCP server. Sorry for the delay in testing this; I'd meant to take a look at this but it managed to fall off my radar. I've just given this a spin atop of 7a5b301e3adb8e05 ("build: Use AC_HEADER_MAJOR to find device macros"), with a small conflict manually fixed up (I assume that the NULL check for inter still stands). Otherwise, this seems to work perfectly for me in my BOOT-free work environment on an AArch64 UEFI platform: grub> insmod efinet grub> net_ls_cards efinet0 00:02:f7:00:61:79 grub> net_dhcp efinet0 grub> net_default_server=10.1.205.151 grub> linux (tftp)/Image.gz grub> boot EFI stub: Booting Linux Kernel... EFI stub: Using DTB from configuration table EFI stub: Exiting boot services and installing virtual address map... [ 0.000000] Booting Linux on physical CPU 0x100 [ 0.000000] Linux version 4.6.0-rc5-next-20160427+ (mark@leverpostej) (gcc version 5.1.1 20150608 (Linaro GCC 5.1-2015.08) ) #8 SMP PREEMPT Wed Apr 27 14:53:05 BST 2016 ... As previously, I don't have a BOOTP server to hand to test with; sorry for not being able to test that. It would be great to see this committed! Thanks, Mark.