Skip to contentSkip to conversation

Details of fw_env.config file

U-Boot Rahanesh 2 participants 2 messages Sep 18, 2009

lore
Share & tools
lore

Rahanesh

author
#0 lore raw

Hi All,.

I wanted to know the meaning of Device Offset in the config file (fw_env.config).

I used it as

MTD device name Device offset Env. size Flash sector size
Number of sectors
/dev/mtd0 0x0000 0x1000 0x10000

The partition mtd0 contains uboot as well as Environment variables. when i used fw_setenv command to set the boot delay to 6, it actually erased my u-boot itself.

Should i Keep Environment variables in separate mtd partition say mtd1.?

Is it enough to change the device offset to point the environment variables within mtd1 itself?

Please help!!!!

Thanks
Rahanesh

#1 lore raw

Dear Rahanesh,

Quoted 3 lines · In message <[email protected]> you wrote:

I wanted to know the meaning of Device Offset in the config file (fw_env.config).

Please see "tools/env/README".

Best regards,

Wolfgang Denk

Signature · 6 lines
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: wd at denx.de
"The whole problem with the world is  that  fools  and  fanatics  are
always so certain of themselves, but wiser people so full of doubts."
- Bertrand Russell