From: Muhammad Yahya <Muhammad.Yahya@Sun.COM>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Updating u-boot environment
Date: Wed, 26 Jan 2005 09:35:23 -0800 [thread overview]
Message-ID: <41F7D4DB.6070401@sun.com> (raw)
In-Reply-To: <20050126093903.2873BC108D@atlas.denx.de>
Wolfgang Denk wrote:
>In message <41F6D3AA.3070800@sun.com> you wrote:
>
>
>>Thank you for your response. I need to provide an interface to the folks
>>at our manufacturing facility so that they can enter the MAC address for
>>the MPC embedded controller and I can write it to the u-boot
>>
>>
>
>U-Boot has such an interface builtin. It is the "setenv" command. It
>is trivial to write script (for example using "expect") to automate
>such command sequences.
>
>And I already mentioned several other potential solutions for such a
>task.
>
>
>
>>enviroment. Is is possible to write a "script" that can take user input
>>and then write the MAC address ? I cannot seem to find a u-boot command
>>that can take input from the user.
>>
>>
>
>Did you read my previous message? I wrote:
>
>
>
>>"setenv" command is a builtin. Youc an put calls to the "setenv" or
>>"askenv" in a text file (= shell script), use the mkimage tool (-T
>>
>>
>
>Did you look up what the "setenv" and "askenv" are doing? Especially
>"askenv"??
>
Unfrotunately, I cannot find askenv in the u-boot version I am using;
that is why I was asking if there is analternative to get input from user.
>
>Best regards,
>
>Wolfgang Denk
>
>
>
next prev parent reply other threads:[~2005-01-26 17:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-25 18:44 [U-Boot-Users] Updating u-boot environment Muhammad Yahya
2005-01-25 20:58 ` Wolfgang Denk
2005-01-25 23:18 ` Muhammad Yahya
2005-01-26 9:38 ` Wolfgang Denk
2005-01-26 17:35 ` Muhammad Yahya [this message]
2005-01-26 21:13 ` Wolfgang Denk
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=41F7D4DB.6070401@sun.com \
--to=muhammad.yahya@sun.com \
--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