From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfgang Denk Date: Tue, 15 Sep 2009 13:08:05 +0200 Subject: [U-Boot] Firmware Upgrade In-Reply-To: <4AAF71E3.7050702@tataelxsi.co.in> References: <4AAF71E3.7050702@tataelxsi.co.in> Message-ID: <20090915110805.4DC6D832E864@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Rahanesh, In message <4AAF71E3.7050702@tataelxsi.co.in> you wrote: > > Is it Possible from Linux to set an environment variable of u-Boot.? If your environment is stored in NOR or NAND flash, then you can use the tools from the tools/env/ directory (fw_setenv / fw_printenv). It should be trivial to adapt the code for other storage devices, too. > But after a successful download of new jffs and writing to mtd2 > partition , How will Linux update the environment variable of U-boot? Use fw_setenv. 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: wd at denx.de Any sufficiently advanced technology is indistinguishable from magic. - Arthur C. Clarke