[U-Boot] bootcount support on arm/kirkwood
Wolfgang Denk
wd at denx.de
Wed Jul 8 20:59:26 CEST 2009
Dear Prafulla Wadaskar,
In message <73173D32E9439E4ABB5151606C3E19E202DD54DE86 at 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.
> BTW: What's your end use case?
The boot counter counts the number of (failed) boot attempts (i. e. processor
resets minus one) after power on. See
http://www.denx.de/wiki/view/DULG/UBootBootCountLimit
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
PLEASE NOTE: Some Quantum Physics Theories Suggest That When the Con-
sumer Is Not Directly Observing This Product, It May Cease to Exist
or Will Exist Only in a Vague and Undetermined State.
More information about the U-Boot
mailing list