
So uboot can recover if it's bad using watchdog? How does this work if the binary is clobbered?
-----Original Message----- From: otavio.salvador@gmail.com [mailto:otavio.salvador@gmail.com] On Behalf Of Otavio Salvador Sent: Tuesday, February 19, 2013 1:34 PM To: Chaves, Kevin Cc: Eric Nelson; u-boot@lists.denx.de; Dirk Behme Subject: Re: [U-Boot] imx6, spl and falcon boot
On Tue, Feb 19, 2013 at 3:22 PM, Chaves, Kevin kevin.chaves@thermofisher.com wrote:
It's not so much a faster boot I'm looking for but just relying less on uboot to initialize the device. The initial idea by my superiors is make an infallible way to update uboot, since they think they'll screw it up and have to support a field update. So we wanted to make two images with uboot/kernel/rfs, one for recovery and have a way to switch the settings on startup. That way we have a small first stage boot that won't ever need to be updated so long as it can boot from two different partitions.
I realized it probably wasn't that useful to keep uboot around since the spl+falcon will increase the boot time. Figured I could kill two birds with one stone here. Faster boot, and no need to update the bootloader in the field, or at least minimize how much could change in its start up procedure so there is less to "fix" in the future.
If you just want the fallback and upgrade mode, you can get it with current u-boot + whatdog + bootcount and fw_env in target (or kexec).
Regards,