Reseting bootcount from linux

Tore Martin Hagen THagen at oslo.westerngeco.slb.com
Mon Jun 6 16:41:25 EST 2005


Hi,

I am using a MPC8266ADS-PCI board and u-boot with the
CONFIG_BOOTCOUNT_LIMIT. If i stop u-boot before it starts Linux I can
see that the bootcount variable increments nicely. But if i dump the 
content from flash (dd if=/dev/mtd/1 of=a1out bs=1k) and check the 
content it is always
bootcount=1

So how can I reset the bootcount if it is always 1, or rather where is
the real bootcount stored?

/Tore

**



More information about the Linuxppc-embedded mailing list