All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] Firmware Upgrade
@ 2009-09-15 10:52 Rahanesh
  2009-09-15 11:08 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: Rahanesh @ 2009-09-15 10:52 UTC (permalink / raw)
  To: u-boot

Hi All,

Is it Possible from Linux to set an environment variable of u-Boot.?

This is for Firmware up gradation.

Currently Linux  has 4 mtd partitions in flash

mtd0 : U-Boot
mtd1: JFFS file system (Golden image)
mtd2: JFFS file system (Silver image)
mtd3: Configs

U boot does an fsload of uImage(Linux image) from Golden JFFS and boots 
up Linux.

Now from Linux I can download a new JFFS(Silver) and flash it to mtd2 
partition of Flash.

Is there any mechanism that Linux acknowledges the u-boot  about the new 
jffs image that next time it has to
do an fsload of uImage(Linux image) from Silver JFFS , not Golden JFFS.

I thought of Doing this using some environment variables . 

But after a successful download of new jffs and writing to mtd2 
partition , How will Linux update the environment variable of U-boot?

Any better idea for firmware up gradation?


Expecting your Suggestions and Help


Thanks
Rahanesh

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-09-15 14:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-15 10:52 [U-Boot] Firmware Upgrade Rahanesh
2009-09-15 11:08 ` Wolfgang Denk
2009-09-15 13:43   ` Rahanesh
2009-09-15 14:00     ` Wolfgang Denk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.