From: Rahanesh Date: Fri, 18 Sep 2009 10:00:16 +0530 Subject: [U-Boot] Details of fw_env.config file Message-ID: <4AB30CD8.7020405@tataelxsi.co.in> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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