public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [patch #4/6] Hush parser update.
@ 2004-04-16 16:55 Pantelis Antoniou
  2004-04-18  9:57 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Pantelis Antoniou @ 2004-04-16 16:55 UTC (permalink / raw)
  To: u-boot

Wolfgang hi.

This is a resend of my previous patch with the parantheses conditionalized
on CONFIG_HUSH_OLD_PARSER_COMPATIBLE.

Regards

Pantelis

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hush.diff
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040416/c283cf06/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hush.diffstat
Url: http://lists.denx.de/pipermail/u-boot/attachments/20040416/c283cf06/attachment-0001.txt 

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

* [U-Boot-Users] [patch #4/6] Hush parser update.
  2004-04-16 16:55 [U-Boot-Users] [patch #4/6] Hush parser update Pantelis Antoniou
@ 2004-04-18  9:57 ` Wolfgang Denk
  2004-04-19  9:43   ` Pantelis Antoniou
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2004-04-18  9:57 UTC (permalink / raw)
  To: u-boot

In message <4080101B.4040202@intracom.gr> you wrote:
> 
> This is a resend of my previous patch with the parantheses conditionalized
> on CONFIG_HUSH_OLD_PARSER_COMPATIBLE.

Thanks, added  -  except  for  the  CONFIG_HUSH_OLD_PARSER_COMPATIBLE
stuff.

I'm sorry, I understand exactly what you are trying to acchieve,  but
I  think  this is the wrong way of doing it. The main problem is that
the simple command parser was implemented wrong. I really repent that
I didn't fix this right from the beginning.

I cannot allow that this gets added to the hush shell, because  oncve
added we would never get rid of it again.


If you are interested in a compatible handling of the environment,  I
think  we should fix the simple parser to accept the ${var} notation,
too. For some transitional period we  could  allow  both  $(var)  and
${var}, before finally switching the simple parser to ${var} only.

If you are more concerned about updates of existing  devices  to  new
versions  of U-Boot, I think we should solve the problem differently,
for example by implementing a standalone application that can convert
the environment from the old format to the new one.

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Four thousand throats may be cut in one night by a running man.
	-- Klingon Soldier, "Day of the Dove", stardate unknown

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

* [U-Boot-Users] [patch #4/6] Hush parser update.
  2004-04-18  9:57 ` Wolfgang Denk
@ 2004-04-19  9:43   ` Pantelis Antoniou
  2004-04-22 14:54     ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Pantelis Antoniou @ 2004-04-19  9:43 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

>In message <4080101B.4040202@intracom.gr> you wrote:
>
>>This is a resend of my previous patch with the parantheses conditionalized
>>on CONFIG_HUSH_OLD_PARSER_COMPATIBLE.
>>
>
>Thanks, added  -  except  for  the  CONFIG_HUSH_OLD_PARSER_COMPATIBLE
>stuff.
>
>I'm sorry, I understand exactly what you are trying to acchieve,  but
>I  think  this is the wrong way of doing it. The main problem is that
>the simple command parser was implemented wrong. I really repent that
>I didn't fix this right from the beginning.
>
>I cannot allow that this gets added to the hush shell, because  oncve
>added we would never get rid of it again.
>
>
>If you are interested in a compatible handling of the environment,  I
>think  we should fix the simple parser to accept the ${var} notation,
>too. For some transitional period we  could  allow  both  $(var)  and
>${var}, before finally switching the simple parser to ${var} only.
>
>If you are more concerned about updates of existing  devices  to  new
>versions  of U-Boot, I think we should solve the problem differently,
>for example by implementing a standalone application that can convert
>the environment from the old format to the new one.
>
>
Yeah I understand where you're coming from.

Anyway here is a patch that fixes the simple parser to also accept the
${var} notation.
Also attach is a patch for our boards that takes it into account, plus
a few other minor fixes.

We probably gonna keep internally the CONFIG_HUSH_OLD_PARSER_COMPATIBLE
for a few months until we update (manually) all the boards.

>Best regards,
>
>Wolfgang Denk
>
>
Regards

Pantelis

-------------- next part --------------
A non-text attachment was scrubbed...
Name: simple-parser.diff
Type: text/x-patch
Size: 956 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040419/8a2f13e6/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: intracom.diff
Type: text/x-patch
Size: 4947 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040419/8a2f13e6/attachment-0001.bin 

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

* [U-Boot-Users] [patch #4/6] Hush parser update.
  2004-04-19  9:43   ` Pantelis Antoniou
@ 2004-04-22 14:54     ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2004-04-22 14:54 UTC (permalink / raw)
  To: u-boot

In message <40839F44.70802@intracom.gr> you wrote:
>
> Anyway here is a patch that fixes the simple parser to also accept the
> ${var} notation.
> Also attach is a patch for our boards that takes it into account, plus
> a few other minor fixes.

Added, thanks. But please  prepare  pre-formatted  CHANGELOG  entries
next time!

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
The human race is a race of cowards; and I am not  only  marching  in
that procession but carrying a banner.                   - Mark Twain

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

end of thread, other threads:[~2004-04-22 14:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-16 16:55 [U-Boot-Users] [patch #4/6] Hush parser update Pantelis Antoniou
2004-04-18  9:57 ` Wolfgang Denk
2004-04-19  9:43   ` Pantelis Antoniou
2004-04-22 14:54     ` Wolfgang Denk

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