How to access uboot environment variables from Linux?
atul.sabharwal at exgate.tek.com
atul.sabharwal at exgate.tek.com
Tue Feb 14 12:09:19 EST 2006
I think you will have to write a program to access and decode u-boot
environment setup format in linux.
If you come across some open source app for this, plz. share with me. It
should be a standard method
but typically a small optimization if you want your main code to be
independent of the boot loader
your are using or if you have common code base which works across
multiple processors/multiple loaders.
--
Atul
________________________________
From: linuxppc-dev-bounces+atul.sabharwal=tek.com at ozlabs.org
[mailto:linuxppc-dev-bounces+atul.sabharwal=tek.com at ozlabs.org] On
Behalf Of Bizhan Gholikhamseh (bgholikh)
Sent: Monday, February 13, 2006 4:54 PM
To: linuxppc-dev at ozlabs.org
Subject: How to access uboot environment variables from Linux?
All,
How could I access the uboot environment variables from Linux? For
example I would like to access the "serverip"
and change that to a different ip address during run time.
Many thanks in advance,
Bizhan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20060213/499f7906/attachment.htm>
More information about the Linuxppc-dev
mailing list