From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bm13a-0001Ss-LH for barebox@lists.infradead.org; Mon, 19 Sep 2016 16:04:35 +0000 From: Enrico Jorns Date: Mon, 19 Sep 2016 18:03:47 +0200 Message-Id: <1474301029-22877-1-git-send-email-ejo@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH 0/2] Auto-append ip= option for NFS boot with appendrot To: barebox@lists.infradead.org Cc: Michael Olbrich , Gavin Schenk , Enrico Jorns , u.kleine-koenig@pengutronix.de This patches allow booting from nfs without the need to additionally provide an extra ip= option, such as ip=dhcp to the kernel commandline. This is solved by adding a bootargs property to the network device of the connection used for the NFS boot and appending this to the nfs bootarg string. Note that these patches are based on the 'vsprintf: Add support for printing ipv4 addresses with %pI4' series posted by Sascha. Enrico Jorns (2): net: add linux.bootarg parameter from ifup call fs: nfs: pick up network interface bootargs parameter fs/nfs.c | 8 ++++++++ include/net.h | 1 + net/eth.c | 1 + net/ifup.c | 10 ++++++++++ 4 files changed, 20 insertions(+) -- 2.8.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox