flashcp

Peter Korsgaard jacmet at sunsite.dk
Thu Jan 6 10:07:39 UTC 2011


>>>>> "Rob" == Rob Landley <rob at landley.net> writes:

 Rob> The solution embedded people use is either:

 Rob> 1) Use a jtag to reflash the device, so no matter how bricked it
 Rob> gets it can be externally driven by shouting "clear", applying
 Rob> paddles, and hooking it up to an IV drip.

 Rob> 2) Have a small bootloader in its own flash erase block (or actual
 Rob> ROM) that never gets overwritten and is capable of loading and
 Rob> booting something from network or serial or some such, so you
 Rob> always have a fallback recovery option.

 Rob> 3) Design the hardware to boot from an SD card, so you can unbrick your 
 Rob> embedded device the same way you unbrick a PC, by inserting a boot disk.

4) Use a bootloader and a store everything else double. Use a ping/pong
system so you never overwrite what you are currently using. Fall back to
the previous system in the bootloader if the new system fails.

-- 
Bye, Peter Korsgaard


More information about the busybox mailing list