Re: [U-Boot] u-boot environment variable storage

2009-02-03 Thread twebb

 Does u-boot have support for storage of environment variables in
 file form?  For example, in a file on a FAT32 file system
 residing on a MMC card?

 The only reason I can think you'd want to do that is to be able
 to set environment variables in linux user land.  But then I
 have a small brain.  If you do, take a look at fw_printenv under
 \tools\something_or_other


Acutally, I have a system that only contains eMMC flash that is
formatted to hold filesystems of one sort or another, so there is no
spare non-filesystem flash available for the environment.  There is
also no other form of NVRAM on the device.  These are the reasons I
asked about whether the environment could be maintained in file form;
I have no need to set/get environment variables from userland.

Thanks,
twebb
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] u-boot environment variable storage

2009-02-02 Thread twebb
Does u-boot have support for storage of environment variables in file
form?  For example, in a file on a FAT32 file system residing on a MMC
card?

Thanks.
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] u-boot environment variable storage

2009-02-02 Thread Wolfgang Denk
Dear twebb,

In message dbdb2ea60902021248teaa312j5e8480f1244ad...@mail.gmail.com you 
wrote:
 Does u-boot have support for storage of environment variables in file
 form?  For example, in a file on a FAT32 file system residing on a MMC
 card?

We don't have any writable file systems, so this would render the
envrionment read-only, which makes little sense.

Short answer: no.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH, MD: Wolfgang Denk  Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: w...@denx.de
The combination of a number of things to make existence worthwhile.
Yes, the philosophy of 'none,' meaning 'all.'
-- Spock and Lincoln, The Savage Curtain, stardate 5906.4
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] u-boot environment variable storage

2009-02-02 Thread Pink Boy

twebb sez,

 Does u-boot have support for storage of environment variables in 
 file form?  For example, in a file on a FAT32 file system
 residing on a MMC card?

The only reason I can think you'd want to do that is to be able
to set environment variables in linux user land.  But then I
have a small brain.  If you do, take a look at fw_printenv under 
\tools\something_or_other

Matt Harper
---

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot