[U-Boot-Users] Fallback kernel

Hi,
I'm using two Linux kernel a fallback (safe) kernel and a kernel downloaded in flash via ethernet. I'd like that u-boot starts the downloaded kernel, if this kernel fails for more than N times uboot starts the fallback. Is there already something like in uboot or how can I do that?
Thanks in advance.
Marco

In message 474A7B02.9090008@coritel.it you wrote:
I'm using two Linux kernel a fallback (safe) kernel and a kernel downloaded in flash via ethernet. I'd like that u-boot starts the downloaded kernel, if this kernel fails for more than N times uboot starts the fallback. Is there already something like in uboot or how can I do that?
U-Boot supports the "bootcount" variable to implement the Boot Count Limit feature (see CGL Requirements Definition). However, this requires a little processor specific support which so far is available only on few CPUs (but trivial to add where missing).
Best regards,
Wolfgang Denk
participants (2)
-
Marco Stornelli
-
Wolfgang Denk