[U-Boot-Users] Updating u-boot environment

Muhammad Yahya Muhammad.Yahya at Sun.COM
Wed Jan 26 18:35:23 CET 2005


Wolfgang Denk wrote:

>In message <41F6D3AA.3070800 at 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
>
>  
>






More information about the U-Boot mailing list