[U-Boot] U-Boot Scripting suggestions to decrement, counter in EEPROM.

Wolfgang Denk
2009-03-05T23:57:44Z

Dear Tom Evans,

In message <49ADB5E7.8060604@ceos.com.au> you wrote:
>
> > in u-boot you have better system that involve watchdog and bootcount
>
> It is only currently supported on the PPC8260, requires spare words in a

This is not correct. It is at least supported on 8xx, 8260 and 5200,
and easy to add to other processors.

> CPM SCC (or equivalent by writing bootcount_load() and bootcount_store()
> functions) and is too simplistic for what I need to do. It might work if
> the OS (after boot) could update the U-Boot Environment, but that's way
> too much linking (between Linux and U-Boot) and I don't have a writeable
> environment either.

And you think a writable EEPROM is a reliable way to store data? I say
only this: Good luck!

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
We are Microsoft. Unix is irrelevant. Openness is futile. Prepare to
be assimilated.