From: Enrico Jorns <ejo@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Michael Olbrich <m.olbrich@pengutronix.de>,
Gavin Schenk <g.schenk@eckelmann.de>,
Enrico Jorns <ejo@pengutronix.de>,
u.kleine-koenig@pengutronix.de
Subject: [PATCH 0/2] Auto-append ip= option for NFS boot with appendrot
Date: Mon, 19 Sep 2016 18:03:47 +0200 [thread overview]
Message-ID: <1474301029-22877-1-git-send-email-ejo@pengutronix.de> (raw)
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
next reply other threads:[~2016-09-19 16:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-19 16:03 Enrico Jorns [this message]
2016-09-19 16:03 ` [PATCH 1/2] net: add linux.bootarg parameter from ifup call Enrico Jorns
2016-09-21 8:33 ` Sascha Hauer
2016-09-19 16:03 ` [PATCH 2/2] fs: nfs: pick up network interface bootargs parameter Enrico Jorns
2016-09-19 16:19 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1474301029-22877-1-git-send-email-ejo@pengutronix.de \
--to=ejo@pengutronix.de \
--cc=barebox@lists.infradead.org \
--cc=g.schenk@eckelmann.de \
--cc=m.olbrich@pengutronix.de \
--cc=u.kleine-koenig@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox