public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Marco Stornelli <marco.stornelli@coritel.it>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] Fallback kernel
Date: Thu, 29 Nov 2007 17:20:54 +0100	[thread overview]
Message-ID: <474EE6E6.9020804@coritel.it> (raw)

Wolfgang Denk 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

Why does it require a little processor specific support? In the
bootcount_load and bootcount_store, we could use an uboot environment
variable to store and load the value (if the env is in flash for
example), isn't it?

             reply	other threads:[~2007-11-29 16:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-29 16:20 Marco Stornelli [this message]
2007-12-03 15:54 ` [U-Boot-Users] Fallback kernel Detlev Zundel
  -- strict thread matches above, loose matches on Subject: below --
2007-11-26  7:51 Marco Stornelli
2007-11-26  8:47 ` Wolfgang Denk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=474EE6E6.9020804@coritel.it \
    --to=marco.stornelli@coritel.it \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox