public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
@ 2008-08-26 16:17 Peter Tyser
  2008-08-26 16:31 ` Ben Warren
  2008-08-27  5:46 ` Ben Warren
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Tyser @ 2008-08-26 16:17 UTC (permalink / raw)
  To: u-boot

cmd_net.c command descriptions were updated to describe the optional
hostIPaddr argument.  The dhcp command help message was also updated
to more closely reflect the other commands in cmd_net.c

Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
---

 common/cmd_net.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/common/cmd_net.c b/common/cmd_net.c
index 79e910c..af691a4 100644
--- a/common/cmd_net.c
+++ b/common/cmd_net.c
@@ -39,8 +39,8 @@ int do_bootp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(
 	bootp,	3,	1,	do_bootp,
-	"bootp\t- boot image via network using BootP/TFTP protocol\n",
-	"[loadAddress] [bootfilename]\n"
+	"bootp\t- boot image via network using BOOTP/TFTP protocol\n",
+	"[loadAddress] [[hostIPaddr:]bootfilename]\n"
 );
 
 int do_tftpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
@@ -62,7 +62,7 @@ int do_rarpb (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 U_BOOT_CMD(
 	rarpboot,	3,	1,	do_rarpb,
 	"rarpboot- boot image via network using RARP/TFTP protocol\n",
-	"[loadAddress] [bootfilename]\n"
+	"[loadAddress] [[hostIPaddr:]bootfilename]\n"
 );
 
 #if defined(CONFIG_CMD_DHCP)
@@ -73,8 +73,8 @@ int do_dhcp (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
 
 U_BOOT_CMD(
 	dhcp,	3,	1,	do_dhcp,
-	"dhcp\t- invoke DHCP client to obtain IP/boot params\n",
-	"\n"
+	"dhcp\t- boot image via network using DHCP/TFTP protocol\n",
+	"[loadAddress] [[hostIPaddr:]bootfilename]\n"
 );
 #endif
 
-- 
1.5.4.3

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

* [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
  2008-08-26 16:17 [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions Peter Tyser
@ 2008-08-26 16:31 ` Ben Warren
  2008-08-26 17:16   ` Peter Tyser
  2008-08-27  5:46 ` Ben Warren
  1 sibling, 1 reply; 5+ messages in thread
From: Ben Warren @ 2008-08-26 16:31 UTC (permalink / raw)
  To: u-boot

Hi Peter,

Peter Tyser wrote:
> cmd_net.c command descriptions were updated to describe the optional
> hostIPaddr argument.  The dhcp command help message was also updated
> to more closely reflect the other commands in cmd_net.c
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
>   
I'm too lazy to check if this is different from the patch that you sent 
previously (8/13 or so).  I imagine you want this one applied and the 
other discarded?

regards,
Ben

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

* [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
  2008-08-26 16:31 ` Ben Warren
@ 2008-08-26 17:16   ` Peter Tyser
  2008-08-26 20:30     ` Ben Warren
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Tyser @ 2008-08-26 17:16 UTC (permalink / raw)
  To: u-boot

Hi Ben,

On Tue, 2008-08-26 at 09:31 -0700, Ben Warren wrote:
> Hi Peter,
> 
> Peter Tyser wrote:
> > cmd_net.c command descriptions were updated to describe the optional
> > hostIPaddr argument.  The dhcp command help message was also updated
> > to more closely reflect the other commands in cmd_net.c
> >
> > Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> > ---
> >   
> I'm too lazy to check if this is different from the patch that you sent 
> previously (8/13 or so).  I imagine you want this one applied and the 
> other discarded?

The content of this patch is identical to the previous patch sent on
8/13.  However, the email on 8/13's title included "[RFC]" and in it I
made the following comment:

"Not sure if "boot" is the proper word to use in the command definitions
since the downloaded images are only booted if "autostart=yes", and
the majority of board configs don't have autostart set to yes.
I'd vote for changing the descriptions to "load image via...".
If a new, more granular bootm command is in the works,
it seems like even less people will autoboot an image
directly before doing some additional bootm commands to prep
for booting an OS. Do others have an opinion?"

No one seemed to bite as far as changing the wording of the commands, so
I re-sent the same patch without the [RFC] and cleaned up the commit
message to make it a formal patch.  So you're right, this patch should
be applied and the previous one on 8/13 discarded.

Thanks,
Peter

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

* [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
  2008-08-26 17:16   ` Peter Tyser
@ 2008-08-26 20:30     ` Ben Warren
  0 siblings, 0 replies; 5+ messages in thread
From: Ben Warren @ 2008-08-26 20:30 UTC (permalink / raw)
  To: u-boot

Peter Tyser wrote:
> Hi Ben,
>
> On Tue, 2008-08-26 at 09:31 -0700, Ben Warren wrote:
>   
>> Hi Peter,
>>
>> Peter Tyser wrote:
>>     
>>> cmd_net.c command descriptions were updated to describe the optional
>>> hostIPaddr argument.  The dhcp command help message was also updated
>>> to more closely reflect the other commands in cmd_net.c
>>>
>>> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
>>> ---
>>>   
>>>       
>> I'm too lazy to check if this is different from the patch that you sent 
>> previously (8/13 or so).  I imagine you want this one applied and the 
>> other discarded?
>>     
>
> The content of this patch is identical to the previous patch sent on
> 8/13.  However, the email on 8/13's title included "[RFC]" and in it I
> made the following comment:
>
> "Not sure if "boot" is the proper word to use in the command definitions
> since the downloaded images are only booted if "autostart=yes", and
> the majority of board configs don't have autostart set to yes.
> I'd vote for changing the descriptions to "load image via...".
> If a new, more granular bootm command is in the works,
> it seems like even less people will autoboot an image
> directly before doing some additional bootm commands to prep
> for booting an OS. Do others have an opinion?"
>
> No one seemed to bite as far as changing the wording of the commands, so
> I re-sent the same patch without the [RFC] and cleaned up the commit
> message to make it a formal patch.  So you're right, this patch should
> be applied and the previous one on 8/13 discarded.
>   
Good deal.  I'm hoping to get a few hours tonight to catch up.

regards,
Ben

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

* [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions
  2008-08-26 16:17 [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions Peter Tyser
  2008-08-26 16:31 ` Ben Warren
@ 2008-08-27  5:46 ` Ben Warren
  1 sibling, 0 replies; 5+ messages in thread
From: Ben Warren @ 2008-08-27  5:46 UTC (permalink / raw)
  To: u-boot

Peter Tyser wrote:
> cmd_net.c command descriptions were updated to describe the optional
> hostIPaddr argument.  The dhcp command help message was also updated
> to more closely reflect the other commands in cmd_net.c
>
> Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
> ---
>   
Applied to net repo.

Thanks for cleaning this up!
Ben

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

end of thread, other threads:[~2008-08-27  5:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-26 16:17 [U-Boot] [PATCH] Standardize bootp, tftpboot, rarpboot, dhcp, and nfs command descriptions Peter Tyser
2008-08-26 16:31 ` Ben Warren
2008-08-26 17:16   ` Peter Tyser
2008-08-26 20:30     ` Ben Warren
2008-08-27  5:46 ` Ben Warren

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