mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/2] Auto-append ip= option for NFS boot with appendrot
@ 2016-09-19 16:03 Enrico Jorns
  2016-09-19 16:03 ` [PATCH 1/2] net: add linux.bootarg parameter from ifup call Enrico Jorns
  2016-09-19 16:03 ` [PATCH 2/2] fs: nfs: pick up network interface bootargs parameter Enrico Jorns
  0 siblings, 2 replies; 5+ messages in thread
From: Enrico Jorns @ 2016-09-19 16:03 UTC (permalink / raw)
  To: barebox; +Cc: Michael Olbrich, Gavin Schenk, Enrico Jorns, u.kleine-koenig

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-09-21  8:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-19 16:03 [PATCH 0/2] Auto-append ip= option for NFS boot with appendrot Enrico Jorns
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox