clearfog: custom config for redundant boot via RAUC

Hopefully this is better than requiring yet another partition
essentially just for this boot script. Instead of that, it's a part of
the hardcoded U-Boot binary. However, still delegate as much stuff as
possible to the individual firmware slots.  It is quite dangerous to
attempt to re-flash the entire card, including the bootloader, on the
fly. Moving as much bits as possible to the environment makes it a bit
easier to introduce important changes such as, for example, volatile
rootfs, later on. Also for ad-hoc manual testing, this should be easier
than hacking bootcmd directly.

The "|| reset" are required because the watchdog timer is left running
*and* being periodically reset from within the uboot's prompt, which
completely defeats the point of our logic.
1 file changed