Add NFS Bootloader Spec support

Sascha Hauer s.hauer at pengutronix.de
Thu Feb 27 16:00:07 EST 2014


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



More information about the barebox mailing list