[U-Boot] [PATCH v5 00/13] Add PXE support

Jason Hobbs jason.hobbs at calxeda.com
Wed Aug 31 17:37:21 CEST 2011


This patch series adds PXE booting support to U-boot. It adds aseries
of DHCP options to allow U-boot DHCP requests to be compliant with RFC
4578, and a set of commands to provide PXELINUX like behavior.

The pxe 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.

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

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

This patch series adds support for RFC 4578 compliant DHCP request
options, which enhance the ability of DHCP servers to respond
differently to different clients.

As an example, the last patch in this series enables support for the PXE
DHCP options for the ca9x4_ct_vxp config.

v5 of the patch series responds to a couple of comments from Mike
Frysinger, and fixes a checkpatch simple_strtoul warning.
Details are in the individual patch logs.

Jason Hobbs (13):
  Add generic, reusable menu code
  common, menu: use abortboot for menu timeout
  common: add run_command2 for running simple or hush commands
  Add isblank
  cosmetic: remove unneeded curly braces
  Replace space and tab checks with isblank
  README: document standard image variables
  lib: add uuid_str_to_bin for use with bootp and PXE uuid
  Add pxe command
  net: bootp: add PXE/RFC 4578 DHCP options support
  Convert ca9x4_ct_vxp to standard env variables
  arm: ca9x4_ct_vxp: enable pxe command support
  arm: ca9x4_ct_vxp: enable PXE BOOTP options support

 README                               |   19 +
 board/hymod/env.c                    |    9 +-
 common/Makefile                      |    2 +
 common/cmd_pxe.c                     | 1355 ++++++++++++++++++++++++++++++++++
 common/command.c                     |    9 +-
 common/hush.c                        |    2 +-
 common/main.c                        |   75 +-
 common/menu.c                        |  417 +++++++++++
 doc/README.menu                      |  119 +++
 doc/README.pxe                       |  240 ++++++
 drivers/bios_emulator/x86emu/debug.c |    7 +-
 examples/standalone/smc911x_eeprom.c |    5 +-
 include/common.h                     |   13 +
 include/configs/ca9x4_ct_vxp.h       |   19 +-
 include/hush.h                       |    2 +-
 include/linux/ctype.h                |    6 +
 include/menu.h                       |   30 +
 lib/Makefile                         |    1 +
 lib/hashtable.c                      |    4 +-
 lib/uuid.c                           |   85 +++
 net/bootp.c                          |   40 +
 21 files changed, 2402 insertions(+), 57 deletions(-)
 create mode 100644 common/cmd_pxe.c
 create mode 100644 common/menu.c
 create mode 100644 doc/README.menu
 create mode 100644 doc/README.pxe
 create mode 100644 include/menu.h
 create mode 100644 lib/uuid.c



More information about the U-Boot mailing list