public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v5 09/13] Add pxe command
Date: Mon, 17 Oct 2011 22:20:51 +0200	[thread overview]
Message-ID: <20111017202051.0EB19140797D@gemini.denx.de> (raw)
In-Reply-To: <1314805054-16250-10-git-send-email-jason.hobbs@calxeda.com>

Dear "Jason Hobbs",

In message <1314805054-16250-10-git-send-email-jason.hobbs@calxeda.com> you wrote:
> Add pxe command, which is intended to mimic PXELINUX functionality.
> 'pxe get' uses tftp to retrieve a file based on UUID, MAC address or IP
> address. 'pxe boot' interprets the contents of PXELINUX config like file
> to boot using a specific initrd, kernel and kernel command line.
> 
> This patch also adds a README.pxe file - see it for more details on the
> pxe command.
> 
> Signed-off-by: Jason Hobbs <jason.hobbs@calxeda.com>
> ---
> changes in v2:
> - call abortboot directly instead of via a wrapper
> - change the license to GPLv2+
> - cleanup brace usage in multiline statements, conditionals
> - allow bootfile to not exist, or to be a standalone filename
> - try to clarify what's going on with get_relfile
> - try cfg paths one by one instead of building an array
> - refactor getenv/printfs to a new from_env function
> - use the new generic menu code instead of that being integrated
> - drop the ifdef from do_tftp in common.h
> - use a clearer comment wrt to localcmd dup
> - default to no timeout
> 
> changes in v3:
> - use GPLv2+ license for the readme
> - parse and create menu in separate steps
> - adapt to menu interface changes
> 
> changes in v4:
> - rename pxecfg to pxe
> - expose run_command2 externally when using pxe
> - add more comments to common/cmd_pxe.c
> - format_mac_pxe's outbuf is now allocated in its caller
> - get_bootfile_path now takes bootfile_path from caller
> - drop a redundant file not found message
> - make printf messages more informative
> - use sizeof(struct blah) instead of sizeof(*p)
> - use memset to initialize some structs per wd's request
> - use isblank to check for non EOL whitespace
> - switch to standard subcommand handling
> - fix regression where ctrl+c didn't return to command line
> - check for filesize missing after a tftp get
> - only call do_bootm with argc == 4 if fdtaddr != NULL (thanks Ricardo
>   Salveti)
> - use lowercase hex in formatted MAC string (thanks Lo??c Minier)
> - prefix MAC strings with "01-" to indicate Ethernet hwtype (thanks Lo??c
>   Minier)
> - switch to the standard environment variables
> - switch from simple to strict strtoul where possible
> 
> changes in v5:
> - convert another simple_strtoul to strict
> 
>  common/Makefile  |    1 +
>  common/cmd_pxe.c | 1355 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
>  common/main.c    |    2 +
>  doc/README.pxe   |  240 ++++++++++
>  include/common.h |    6 +
>  5 files changed, 1604 insertions(+), 0 deletions(-)
>  create mode 100644 common/cmd_pxe.c
>  create mode 100644 doc/README.pxe

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
I think animal testing is a terrible idea; they get all  nervous  and
give the wrong answers.

  reply	other threads:[~2011-10-17 20:20 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-31 15:37 [U-Boot] [PATCH v5 00/13] Add PXE support Jason Hobbs
2011-08-31 15:37 ` [U-Boot] [PATCH v5 01/13] Add generic, reusable menu code Jason Hobbs
2011-10-17 20:16   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 02/13] common, menu: use abortboot for menu timeout Jason Hobbs
2011-10-17 20:16   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 03/13] common: add run_command2 for running simple or hush commands Jason Hobbs
2011-08-31 16:04   ` Mike Frysinger
2011-10-17 20:17   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 04/13] Add isblank Jason Hobbs
2011-10-17 20:17   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 05/13] cosmetic: remove unneeded curly braces Jason Hobbs
2011-10-17 20:18   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 06/13] Replace space and tab checks with isblank Jason Hobbs
2011-10-17 20:18   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 07/13] README: document standard image variables Jason Hobbs
2011-10-17 20:19   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 08/13] lib: add uuid_str_to_bin for use with bootp and PXE uuid Jason Hobbs
2011-10-17 20:19   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 09/13] Add pxe command Jason Hobbs
2011-10-17 20:20   ` Wolfgang Denk [this message]
2011-08-31 15:37 ` [U-Boot] [PATCH v5 10/13] net: bootp: add PXE/RFC 4578 DHCP options support Jason Hobbs
2011-10-17 20:21   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 11/13] Convert ca9x4_ct_vxp to standard env variables Jason Hobbs
2011-09-09 16:16   ` Matt Waddel
2011-10-17 20:22   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 12/13] arm: ca9x4_ct_vxp: enable pxe command support Jason Hobbs
2011-09-09 16:17   ` Matt Waddel
2011-10-17 20:22   ` Wolfgang Denk
2011-08-31 15:37 ` [U-Boot] [PATCH v5 13/13] arm: ca9x4_ct_vxp: enable PXE BOOTP options support Jason Hobbs
2011-09-09 16:18   ` Matt Waddel
2011-10-17 20:22   ` Wolfgang Denk
2011-09-08 17:23 ` [U-Boot] [PATCH v5 00/13] Add PXE support Jason Hobbs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20111017202051.0EB19140797D@gemini.denx.de \
    --to=wd@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox