[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CRC error after power off




paulnash@xxxxxxx.com said:
>  Manually, we can indeed do it from the bootloader.  But for our
> device, the self-updating functionality runs from user land, so I was
> looking for a way that process can control the mechanism.  And then
> definitely instantly reboot, as you suggest. :-)  Thanks all...

Bear in mind that if you try to page _anything_ in from the file system 
after it gets overwritten, you'll die horribly. So you want to put your 
update and reboot program, along with a copy of libc, onto a ramfs and run 
it from there.

Are you sure you wouldn't be better off with rsync?

--
dwmw2



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com