public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] Problems with a P2020 board
Date: Thu, 30 Aug 2012 16:15:19 +0200	[thread overview]
Message-ID: <503F7577.4020704@denx.de> (raw)
In-Reply-To: <OF0F1FE817.C24EBA0F-ONC1257A6A.00480985-C1257A6A.004885EA@transmode.se>

On 08/30/2012 03:12 PM, Joakim Tjernlund wrote:
>> -       Boot Count.  We are keen to use the boot counter feature, but I
>> am struggling to find a suitable register in the P2020.  The file
>> arch/powerpc/lib/bootcount.c list a few locations that work with
>> other PowerPC chips, but I can't find any of those registers in the
>> P2020 documentation.
> 
> Me too on finding such a register.

If you don't have such registers, a bit of reserved SDRAM might be a
solution. That already implemented for some boards. See
bootcount_store() and bootcount_load() in:

board/keymile/km_arm/km_arm.c

This "RAM bootcount driver" will be moved to a common location by the
bootcount consolidation patches that are pending.

Thanks,
Stefan

  reply	other threads:[~2012-08-30 14:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-30  7:56 [U-Boot] Problems with a P2020 board Mark Marshall
2012-08-30 13:12 ` Joakim Tjernlund
2012-08-30 14:15   ` Stefan Roese [this message]
     [not found] ` <OF0F1FE817.C24EBA0F-ONC1257A6A.00480985-C1257A6A.004885EA@LocalDomain>
2012-09-26 12:09   ` Joakim Tjernlund
2012-09-26 13:39     ` Kumar Gala
2012-09-26 14:32       ` Joakim Tjernlund
2012-09-28  6:50     ` Mark Marshall
2012-09-26 13:41 ` Kumar Gala

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=503F7577.4020704@denx.de \
    --to=sr@denx.de \
    --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