public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Heiko Schocher <hs@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] bootcount support on arm/kirkwood
Date: Thu, 09 Jul 2009 08:35:16 +0200	[thread overview]
Message-ID: <4A558FA4.7080700@denx.de> (raw)
In-Reply-To: <73173D32E9439E4ABB5151606C3E19E202DD54DFCC@SC-VEXCH1.marvell.com>

Hello Prafulla,

Prafulla Wadaskar wrote:
>> -----Original Message-----
>> From: Wolfgang Denk [mailto:wd at denx.de] 
>> Sent: Thursday, July 09, 2009 12:29 AM
>> To: Prafulla Wadaskar
>> Cc: hs at denx.de; U-Boot user list; Prabhanjan Sarnaik; Ashish Karkare
>> Subject: Re: [U-Boot] bootcount support on arm/kirkwood
>>
>> Dear Prafulla Wadaskar,
>>
>> In message 
>> <73173D32E9439E4ABB5151606C3E19E202DD54DE86@SC-VEXCH1.marvell.
>> com> you wrote:
>>>  
>>>> I searched for some space on this CPU for implementing 
>> this feature, 
>>>> but could not find any (at least 4 bytes = 1 register), which not 
>>>> lost his value on a reset of this CPU.
>>> There is reset counter register on Kirkwood which counts 
>> the time for which H/w Reset is pressed-n-hold. This is 
>> generally used to trigger "Factory Reset" Kind of function 
>> using reset key.
>>> I don't think you are searching for the same. Do you?
>> No, he doesn't. He needs a register that is guaranteed to 
>> keep it''s values across a processor reset.
> 
> With Kirkwood, the only way to implement it is with flash assist

No chance? Is there really no register/mem array which keep
its value across a processor reset?

There is a "Security Accelerator SRAM" on this chip. Couldn;t I use
it? (I looked at it, but it seems, the SRAM gets initialized by
reset, but maybe there is a way to deactivate this initialization?)

thanks in advance
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

  reply	other threads:[~2009-07-09  6:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-08 13:11 [U-Boot] bootcount support on arm/kirkwood Heiko Schocher
2009-07-08 18:01 ` Prafulla Wadaskar
2009-07-08 18:59   ` Wolfgang Denk
2009-07-09  5:55     ` Prafulla Wadaskar
2009-07-09  6:35       ` Heiko Schocher [this message]
2009-07-09  6:49         ` Prafulla Wadaskar
2009-07-09  7:26           ` Heiko Schocher
2009-07-09  7:47           ` Wolfgang Denk
2009-07-09  7:44       ` 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=4A558FA4.7080700@denx.de \
    --to=hs@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