[U-Boot-Users] Accessing environment from linux?

"Callebaut, Benoît" benoit.callebaut at barco.com
Thu Feb 13 11:13:36 CET 2003

Same question for me but I want instead to access ppcboot environment stored
in flash.

-----Original Message-----
From: Fillod Stephane [mailto:stephane.fillod at thomson.net]
Sent: Thursday, February 13, 2003 11:01 AM
To: 'u-boot-users at sourceforge.net'
Subject: RE: [U-Boot-Users] Accessing environment from linux?

Rod Boyce wrote:
>A long time ago these questions were being asked about accessing the
>PPC/U-Boot environment variables from Linux I would be very interested in
>any code to do this even partly working code and I would be happy to
>complete the code / debug the code.

What kind of storage are you interrested in?
I wrote a kernel driver to access PPCBoot environment variables stored
in a M24C32-W EEPROM, connected through I2C bus.
It allows raw access through /dev/eeprom, couple of ioctl's (setenv, getenv,
unset, etc.), and content reading for shell scripting (through /proc file).

>Was this work ever completed and if so:
>A. Where can I find it.

ask me

>B. Would some kind person mind sending me the code to finish / use

sure. I may have to clean up a bit though, and issue a nice patch.


As of February 12, 2003 Thomson unifies its email addresses on a worldwide
basis.Please note my new email address: stephane.fillod at thomson.net 

Thomson is the leader in solutions and technologies for the entertainment
and media industries and serves its customers under its four strategic
brands: Technicolor, Grass Valley, RCA and THOMSON. 
More about Thomson: http://www.thomson.net/videochain 

This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
- - - - - - - DISCLAIMER - - - - - - - - 
Unless indicated otherwise, the information contained in this message is
privileged and confidential, and is intended only for the use of the
addressee(s) named above and others who have been specifically authorized to
receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this message and/or
attachments is strictly prohibited. The company accepts no liability for any
damage caused by any virus transmitted by this email. Furthermore, the
company does not warrant a proper and complete transmission of this
information, nor does it accept liability for any delays. If you have
received this message in error, please contact the sender and delete the
message. Thank you.

More information about the U-Boot mailing list