RE: [U-Boot-Users] Fail Safe: Redundant U-boot Images in Flash??? ?

So what happens if the CRC is correct, but the new image has
a
bug (functional ?) in it....
Then you should of tested your code before you released it. If the CRC passes, then it is the same as what you tested.
Famous last words. Sometimes corner cases are missed. I don't know about you, but I realized a long time ago I am not perfect and make mistakes. So what do you do when the hardware reboots because of some unforseen proble? Just sit in a loop and reboot forever?
No, no one is perfect. But to imply that we should forgo implementing fail safes to protect against the power failing right as we are programming flash or flash becoming corrupt just because we might still have a bug in our code, is just plain foolish.

--- "Eisenhut, Daniel (GE Healthcare)" Daniel.Eisenhut@med.ge.com wrote:
So what happens if the CRC is correct, but the new image
has
a
bug (functional ?) in it....
Then you should of tested your code before you released
it.
If the CRC passes, then it is the same as what you tested.
Famous last words. Sometimes corner cases are missed. I
don't
know about you, but I realized a long time ago I am not
perfect
and make mistakes. So what do you do when the hardware
reboots
because of some unforseen proble? Just sit in a loop and
reboot
forever?
No, no one is perfect. But to imply that we should forgo implementing fail safes to protect against the power failing right as we are programming flash or flash becoming corrupt just because we might still have a bug in our code, is just plain foolish.
I didn't say that. The point I was trying to make is if for whatever reason the image doesn't boot, you should have a fall back method. if you don't, you will continually reboot forever..
______________________________________________________ Yahoo! for Good Donate to the Hurricane Katrina relief effort. http://store.yahoo.com/redcross-donate3/
participants (2)
-
Eisenhut, Daniel (GE Healthcare)
-
Frank