[U-Boot] [PATCH v3 0/7] Add support for pxecfg commands

Jason Hobbs jason.hobbs at calxeda.com
Wed Jun 29 18:25:12 CEST 2011


The pxecfg commands provide a near subset of the functionality provided
by the PXELINUX boot loader. This allows U-boot based systems to be
controlled remotely using the same PXE based techniques that many non
U-boot based servers use. To avoid identity confusion with PXELINUX, and
because not all behavior is identical, we call this feature 'pxecfg'.

As an example, support for the pxecfg commands is enabled for the
ca9x4_ct_vxp config.

Additional details are available in the README file added as part of
this patch series.

v2 of this patch series separates the menu code from the pxecfg code,
giving a reusable menu implementation. It also contains various smaller
changes documented in the comment section of the patches.

v3 of this patch series adds a README for the menu, improves the
menu interface, and includes other smaller changes documented
in the comment section of the patches.  The order of patches also
changes, with all of the menu support being added first, followed by
the pxecfg specific patches.

Jason Hobbs (7):
  Add generic, reusable menu code
  cosmetic, main: clean up declarations of abortboot
  common, menu: use abortboot for menu timeout
  cosmetic, main: correct indentation/spacing issues
  common: add run_command2 for running simple or hush commands
  Add pxecfg command
  arm: ca9x4_ct_vxp: enable pxecfg support

 common/Makefile                |    2 +
 common/cmd_pxecfg.c            |  991 ++++++++++++++++++++++++++++++++++++++++
 common/hush.c                  |    2 +-
 common/main.c                  |   62 ++--
 common/menu.c                  |  279 +++++++++++
 doc/README.menu                |  161 +++++++
 doc/README.pxecfg              |  239 ++++++++++
 include/common.h               |    7 +
 include/configs/ca9x4_ct_vxp.h |    5 +
 include/hush.h                 |    2 +-
 include/menu.h                 |   30 ++
 11 files changed, 1744 insertions(+), 36 deletions(-)
 create mode 100644 common/cmd_pxecfg.c
 create mode 100644 common/menu.c
 create mode 100644 doc/README.menu
 create mode 100644 doc/README.pxecfg
 create mode 100644 include/menu.h



More information about the U-Boot mailing list