LinuxPPC-Dev Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Tore Martin Hagen <THagen@oslo.westerngeco.slb.com>
To: LinuxPPC Support <linuxppc-embedded@ozlabs.org>
Subject: Reseting bootcount from linux
Date: Mon, 06 Jun 2005 08:41:25 +0200	[thread overview]
Message-ID: <42A3F015.5020203@oslo.westerngeco.slb.com> (raw)
In-Reply-To: <BAY1-DAV469FED545DEDB9CFE00498BFB0@phx.gbl>

Hi,

I am using a MPC8266ADS-PCI board and u-boot with the
CONFIG_BOOTCOUNT_LIMIT. If i stop u-boot before it starts Linux I can
see that the bootcount variable increments nicely. But if i dump the 
content from flash (dd if=/dev/mtd/1 of=a1out bs=1k) and check the 
content it is always
bootcount=1

So how can I reset the bootcount if it is always 1, or rather where is
the real bootcount stored?

/Tore

**

  reply	other threads:[~2005-06-06  6:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-06-06  5:40 STP implementation on Linux Vijay Padiyar
2005-06-06  6:41 ` Tore Martin Hagen [this message]
2005-06-06  8:00 ` Stefan Nickl
  -- strict thread matches above, loose matches on Subject: below --
2005-06-06  8:27 Reseting bootcount from linux 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=42A3F015.5020203@oslo.westerngeco.slb.com \
    --to=thagen@oslo.westerngeco.slb.com \
    --cc=linuxppc-embedded@ozlabs.org \
    /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