Skip to contentSkip to conversation

Cannot set bootcount

U-Boot-Users Antonio Di Bacco 2 participants 2 messages Apr 30, 2006

lore
Share & tools
lore
#0 lore raw

I don't manage to reset bootcount on a MBX with MPC860. I imagine the variable is in MPC internal ram or in a register and setting its value and saving the environment has no effect.

Bye,
Antonio.

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

I don't manage to reset bootcount on a MBX with MPC860. I imagine the variable is in MPC internal ram or in a register and setting its value and saving the environment has no effect.

Please see the manual:

"It is the responsibility of some application code (typically
a Linux application) to reset the variable bootcount, thus allowing for more boot cycles."

I think a driver to do this has been posted here before; search the archives.

Best regards,

Wolfgang Denk

Signature · 4 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Applying computer technology is simply finding the  right  wrench  to
pound in the correct screw.