Skip to contentSkip to conversation

Boot count support on P1020

U-Boot Felix Radensky 3 participants 6 messages Jan 26, 2011 – Jan 27, 2011

lore
Share & tools
lore
#0 lore raw

Hi,

I'd like to enable boot count feature on custom P1020 based board. If my understanding is correct, the implementation requires some register or memory location that preserves its value across reboots.

Can Freescale folks on the list please point to such location in P1/P2 SoCs.

Thanks a lot.

Felix.

#1 lore raw
Quoted 10 lines · Felix Radensky

Hi,

I'd like to enable boot count feature on custom P1020 based board. If my understanding is correct, the implementation requires some register or memory location that preserves its value across reboots.

Can Freescale folks on the list please point to such location in P1/P2 SoCs.

Thanks a lot.

What kinda reset do you expect to occur? Depending on this the answer might be that we dont have any such registers that persist across reboots.

- k

#2 lore raw

Dear Kumar Gala,

Quoted 2 lines · In message <[email protected]> you wrote:

What kinda reset do you expect to occur? Depending on this the answer might be that we dont have any such registers that persist across reboots.

external hard reset ?

Best regards,

Wolfgang Denk

Signature · 5 lines
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
Q: Why do PCs have a reset button on the front?
A: Because they are expected to run Microsoft operating systems.
#3 lore raw
Quoted 7 lines · Wolfgang Denk

Dear Kumar Gala,

Quoted 2 lines · In message <[email protected]> you wrote:

What kinda reset do you expect to occur? Depending on this the answer might be that we dont have any such registers that persist across reboots.

external hard reset ?

If so, there isnt any state saved across such a reset in the SoC

- k

#4 lore raw

Hi Kumar,

Quoted 10 lines · Kumar Gala
Quoted 5 lines · Wolfgang Denk

Dear Kumar Gala,

Quoted 1 line · In message<[email protected]> you wrote:

What kinda reset do you expect to occur? Depending on this the answer might be that we dont have any such registers that persist across reboots.

external hard reset ?

If so, there isnt any state saved across such a reset in the SoC

- k

Thanks a lot for a prompt reply. Looks like a have to use board I2C EEPROM to save state across reboots.

Felix.

#5 lore raw
In reply to Kumar Gala

Dear Kumar Gala,

Quoted 4 lines · In message <[email protected]> you wrote:
Quoted 2 lines

external hard reset ?

If so, there isnt any state saved across such a reset in the SoC

Hm, so really all registers are explicitly initialized? What a pitty.

Best regards,

Wolfgang Denk

Signature · 5 lines
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
When some people discover the truth, they just can't  understand  why
everybody isn't eager to hear it.