From mboxrd@z Thu Jan 1 00:00:00 1970 From: Muhammad Yahya Date: Wed, 26 Jan 2005 09:35:23 -0800 Subject: [U-Boot-Users] Updating u-boot environment In-Reply-To: <20050126093903.2873BC108D@atlas.denx.de> References: <20050126093903.2873BC108D@atlas.denx.de> Message-ID: <41F7D4DB.6070401@sun.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.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 > > >