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

2009-03-05 Thread Wolfgang Denk
Dear Tom Evans, In message <49adb5e7.8060...@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 e

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

2009-03-03 Thread Tom Evans
Jean-Christophe PLAGNIOL-VILLARD wrote: > On 17:40 Tue 03 Mar , Tom Evans wrote: >> I'm implementing a rather complex boot that involves flags >> and counters in EEPROM. > > in which case do you need this? > > update? Yes, it is when updating the Linux Kernel and Sysroot images. These are

Re: [U-Boot] U-Boot Scripting suggestions to decrement counter in EEPROM. Alignment bug in itest on ARM.

2009-03-03 Thread Jean-Christophe PLAGNIOL-VILLARD
On 17:40 Tue 03 Mar , Tom Evans wrote: > I'm implementing a rather complex boot that involves flags and counters > in EEPROM. in which case do you need this? update? in u-boot you have better system that involve watchdog and bootcount I do not known which cpu or soc you use but you can imp

[U-Boot] U-Boot Scripting suggestions to decrement counter in EEPROM. Alignment bug in itest on ARM.

2009-03-02 Thread Tom Evans
I'm implementing a rather complex boot that involves flags and counters in EEPROM. This is to detect multiple boot failures and to then revert to a previous Linux kernel and sysroot. The Hush shell and applications almost support this by using scripts (even autoscripting), but not quite. "ee