[U-Boot] Firmware Upgrade

Wolfgang Denk wd at denx.de
Tue Sep 15 13:08:05 CEST 2009


Dear Rahanesh,

In message <4AAF71E3.7050702 at 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


More information about the U-Boot mailing list