public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefano Babic <sbabic@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command
Date: Sat, 11 Aug 2012 19:44:02 +0200	[thread overview]
Message-ID: <502699E2.3040407@denx.de> (raw)
In-Reply-To: <50245F64.9090407@boundarydevices.com>

On 10/08/2012 03:09, Eric Nelson wrote:

>> How difficult would it be for someone to implement a general "alias"
>> command ?
>> ie. 'alias bootto "resetmode $1 && reset"'
>>
> 
> It's usually a customer that asks the "How hard would it be?" question,
> but you can almost get there like this:
> 
>     U-Boot> set mynewcommand "echo Hello"
>         U-Boot> $mynewcommand
>     Hello
>     U-Boot> $mynewcommand World
>     Hello World

This does not work: you should issue "run $mynewcommand World"

And this let me slowly remember at:

http://www.denx.de/wiki/U-Boot/TaskHandleVarsLikeCommands

I completely forgotten this issue, and I have never update the status of
my patch. Is ther estill some interest on this or have I missed
something and now is the behavior in shell as in your example ?

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic at denx.de
=====================================================================

  reply	other threads:[~2012-08-11 17:44 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-09  1:26 [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command Troy Kisky
2012-08-09  1:26 ` [U-Boot] [PATCH V3 2/3] mx6qsabrelite: add resetmode support Troy Kisky
2012-08-09  1:26 ` [U-Boot] [PATCH V3 3/3] mx53evk: " Troy Kisky
2012-08-09  7:21 ` [U-Boot] [PATCH V3 1/3] imx-common/cmd_resetmode.c: add imx resetmode command Stefano Babic
2012-08-09 18:48   ` Troy Kisky
2012-08-09 19:29     ` Eric Nelson
2012-08-09 21:12       ` stefano babic
2012-08-09 21:49         ` Troy Kisky
2012-08-09 21:15       ` Troy Kisky
2012-08-10  1:09         ` Eric Nelson
2012-08-11 17:44           ` Stefano Babic [this message]
2012-08-09 20:05     ` stefano babic

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=502699E2.3040407@denx.de \
    --to=sbabic@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