From: Rahanesh Date: Mon, 05 Oct 2009 18:24:14 +0530 Subject: [U-Boot] u-Boot itself gets erased on fw_setenv Message-ID: <4AC9EC76.6070704@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 am using fw_printenv to set few environment variables from Linux. I am able to see all the environment variables using fw_printenv. But when i type the command fw_printenv i get the following message first "*Read error on /dev/mtd1: Success*" then u-boot environment variables are printed. After creating a softlink from fw_setenv to fw_printenv i executed the following command to set boot delay as 8 . On execution of following command *fw_setenv bootdelay 9 *i got the following print messages. *Read error on /dev/mtd1: Success Unlocking flash... Done Erasing old environment... Done Writing environment to /dev/mtd1... Write error on /dev/mtd1: Operation not supported Error: can't write fw_env to flash * What might be the problem here? But after fw-setenv command if i give a fw_printenv command it shows modified boot delay value.. And then when i reboot the system i get boot failed message and uboot does not come up. Thanks Rahanesh