Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-17 Thread Jerry Van Baren
On 07/16/2010 04:41 PM, Scott Wood wrote: On Thu, 15 Jul 2010 22:15:22 -0500 Kim Phillipskim.phill...@freescale.com wrote: u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. The grepenv command this patch adds

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Wolfgang Denk
Dear Kim Phillips, In message 20100715221522.1dd4eecb.kim.phill...@freescale.com you wrote: u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. The grepenv command this patch adds can be used in lieu of printenv to

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Reinhard Meyer (-VC)
Wolfgang Denk schrieb: Dear Kim Phillips, In message 20100715221522.1dd4eecb.kim.phill...@freescale.com you wrote: u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. The grepenv command this patch adds can be

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Wolfgang Denk
Dear Reinhard Meyer (-VC), In message 4c403472.3070...@emk-elektronik.de you wrote: The grepenv command this patch adds can be used in lieu of printenv to facilitate searching. grepenv works like printenv but limits its output only to environment strings (variable name and value pairs)

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Kim Phillips
On Fri, 16 Jul 2010 11:27:03 +0200 Wolfgang Denk w...@denx.de wrote: Dear Kim Phillips, In message 20100715221522.1dd4eecb.kim.phill...@freescale.com you wrote: u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Kim Phillips
On Fri, 16 Jul 2010 12:55:42 +0200 Wolfgang Denk w...@denx.de wrote: Dear Reinhard Meyer (-VC), In message 4c403472.3070...@emk-elektronik.de you wrote: The grepenv command this patch adds can be used in lieu of printenv to facilitate searching. grepenv works like printenv but limits

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Wolfgang Denk
Dear Kim, In message 20100716134252.b053e2dc.kim.phill...@freescale.com you wrote: I'm in the process of resturcturing the whole environment handling. The new implementation will use a hash table for internal storage, so this code would no longer apply then. it would still apply, in

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Wolfgang Denk
Dear Kim Phillips, In message 20100716140256.dd540fe6.kim.phill...@freescale.com you wrote: hmm - it adds ~450bytes text+data on powerpc. Is that the concern? I can make it optional, but, if so, I'd also like to add it to config_cmd_default.h instead of it being added to 100s of board

Re: [U-Boot] [PATCH] common: add a grepenv command

2010-07-16 Thread Scott Wood
On Thu, 15 Jul 2010 22:15:22 -0500 Kim Phillips kim.phill...@freescale.com wrote: u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. The grepenv command this patch adds can be used in lieu of printenv to

[U-Boot] [PATCH] common: add a grepenv command

2010-07-15 Thread Kim Phillips
u-boot environments, esp. when boards are shared across multiple users, can get pretty large and time consuming to visually parse. The grepenv command this patch adds can be used in lieu of printenv to facilitate searching. grepenv works like printenv but limits its output only to environment