mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* Add NFS Bootloader Spec support
@ 2014-02-27 21:00 Sascha Hauer
  2014-02-27 21:00 ` [PATCH 1/5] run_command: remove unused flag parameter Sascha Hauer
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Sascha Hauer @ 2014-02-27 21:00 UTC (permalink / raw)
  To: barebox

This series adds support for booting bootloader Spec entries
via NFS. NFS URLs are specified according to rfc2224:

nfs://<host>[:<port>]<url-path>

The port argument is optional.

So 'boot nfs://192.168.2.2//home/sha/nfsroot/generic-v5'

Would look for a bootloader spec entry in the given directory
on the host and start it.

Sascha

----------------------------------------------------------------
Sascha Hauer (5):
      run_command: remove unused flag parameter
      net: constify eth_get_byname argument
      net: remove old nfs support
      net: Add ifup support
      blspec: Add NFS support

 commands/boot.c                       |   2 +-
 commands/exec.c                       |   2 +-
 commands/login.c                      |   2 +-
 commands/time.c                       |   2 +-
 common/Kconfig                        |   1 +
 common/blspec.c                       | 114 +++++-
 common/hush.c                         |   2 +-
 common/menu.c                         |   2 +-
 common/parser.c                       |   2 +-
 common/startup.c                      |   4 +-
 defaultenv/defaultenv-2-base/bin/ifup |  67 ----
 fs/fs.c                               |   2 +-
 include/common.h                      |   3 +-
 include/net.h                         |   7 +-
 net/Kconfig                           |  15 +-
 net/Makefile                          |   2 +-
 net/eth.c                             |   2 +-
 net/ifup.c                            | 179 +++++++++
 net/nfs.c                             | 737 ----------------------------------
 19 files changed, 322 insertions(+), 825 deletions(-)
 delete mode 100644 defaultenv/defaultenv-2-base/bin/ifup
 create mode 100644 net/ifup.c
 delete mode 100644 net/nfs.c

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2014-03-08 16:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-27 21:00 Add NFS Bootloader Spec support Sascha Hauer
2014-02-27 21:00 ` [PATCH 1/5] run_command: remove unused flag parameter Sascha Hauer
2014-02-27 21:00 ` [PATCH 2/5] net: constify eth_get_byname argument Sascha Hauer
2014-02-27 21:00 ` [PATCH 3/5] net: remove old nfs support Sascha Hauer
2014-03-04  4:03   ` Jean-Christophe PLAGNIOL-VILLARD
2014-03-06 16:21     ` Sascha Hauer
2014-03-08 16:54       ` Jean-Christophe PLAGNIOL-VILLARD
2014-02-27 21:00 ` [PATCH 4/5] net: Add ifup support Sascha Hauer
2014-02-27 21:00 ` [PATCH 5/5] blspec: Add NFS support Sascha Hauer

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