
Kumar Gala galak@kernel.crashing.org wrote on 2012/09/26 15:39:48:
On Sep 26, 2012, at 7:09 AM, Joakim Tjernlund wrote:
Joakim Tjernlund/Transmode wrote on 2012/08/30 15:12:08:
Hi.
We have a new board which we are suing with U-boot. The CPU is a P2020. I am having a few minor problems, and I was hoping to get some help.
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
Did you find a register?
What are the requirements of the bootcount register? If it needs to persist value across hard resets of the SoC than nothing exists.
yes, that the one. Every now and then I want to be able to tell the difference between cold start and warm start but I cannot find anything in P2010 that can do that for me.
Jocke