public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM.
@ 2008-05-06 14:05 Remy Bohmer
  2008-05-06 15:23 ` Haavard Skinnemoen
  2008-05-09 20:44 ` Wolfgang Denk
  0 siblings, 2 replies; 20+ messages in thread
From: Remy Bohmer @ 2008-05-06 14:05 UTC (permalink / raw)
  To: u-boot

Hello All,

Commit c0559be371b2a64b1a817088c3308688e2182f93 introduces a bug in
the environment setting storage in U-boot-1.3.3-rc3.
Settings are retrieved from dataflash when only settings in RAM are
valid, resulting in corrupt environment settings, failing printenv
command, and
duplicate variables.

This patch fixes this by always using the RAM area when it is created
and initialized. (Matches more the behavior as it was prior to this
particular commit.)

See attached (Sorry, my mailer does not handle inline-patches properly)


Kind Regards,

Remy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-corrupt-environment.patch
Type: text/x-patch
Size: 1175 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20080506/f81120ca/attachment.bin 

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

end of thread, other threads:[~2008-07-22 12:26 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-06 14:05 [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by reading uninitialized flash memory instead of RAM Remy Bohmer
2008-05-06 15:23 ` Haavard Skinnemoen
2008-05-07  7:52   ` Remy Bohmer
2008-05-07  9:14     ` Haavard Skinnemoen
2008-05-09 20:46   ` Wolfgang Denk
2008-05-09 20:44 ` Wolfgang Denk
2008-05-10  9:46   ` [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corruptby " Ulf Samuelsson
2008-05-11 20:48     ` Wolfgang Denk
2008-05-10 13:53   ` [U-Boot-Users] [PATCH]: Fix for bug: U-boot environment corrupt by " Remy Bohmer
2008-05-11 22:43     ` Wolfgang Denk
2008-05-12  7:25       ` Joakim Tjernlund
2008-05-28 18:25         ` Joakim Tjernlund
2008-06-04 22:05           ` Wolfgang Denk
2008-06-12  6:52             ` Joakim Tjernlund
2008-07-05 22:32               ` Wolfgang Denk
2008-07-06 10:30                 ` Joakim Tjernlund
2008-07-09 21:59                   ` Wolfgang Denk
2008-07-16 12:43             ` Remy Bohmer
2008-07-22 12:26               ` Remy Bohmer
     [not found]         ` <-6864379040381327023@unknownmsgid>
2008-05-29 18:33           ` Remy Bohmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox