[U-Boot-Users] How to set ethact variable ...

Andrew Wozniak awozniak at mc.com
Thu Jan 19 15:27:05 CET 2006


Yogesh Patel wrote:
> Hi,
> How can I set ethact variable from within u-boot ?
> I know I can use the command line "setenv ethact
> ....".
> But I want to do it in the uboot code itself.

The U-Boot README file mentions this simple solution:

- Default Environment:
	CONFIG_EXTRA_ENV_SETTINGS

	Define this to contain any number of null terminated
	strings (variable = value pairs) that will be part of
	the default environment compiled into the boot image.

> Thanks
> Yogi
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 




More information about the U-Boot mailing list