
18 Jan
2006
18 Jan
'06
3:51 p.m.
Dear Yogesh!
Yogesh Patel schrieb:
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.
=== snip === #include "common.h"
void myfunction(void) { setenv("ethact", "contents of ethact"); saveenv(); } === snip ===
Any more questions?
With best regards Andreas Schweigstill
--
Dipl.-Phys. Andreas Schweigstill
Schweigstill IT | Embedded Systems
Schauenburgerstraße 116, D-24118 Kiel, Germany
Phone: (+49) 431 5606-435, Fax: (+49) 431 5606-436
Mobile: (+49) 171 6921973, Web: http://www.schweigstill.de/