DENX . DULG . UBootBootCountLimit |
CONFIG_BOOTCOUNT_LIMIT
configuration option. The implementation uses the following environment variables:
bootcount
exceeds the value of bootlimit
, then instead of the standard boot action
(executing the contents of bootcmd
) an alternate boot action will be
performed, and the contents of altbootcmd
will be executed.
bootlimit
is not defined in the environment,
the Boot Count Limit feature is disabled.
If it is enabled, but altbootcmd
is not defined, then U-Boot will drop
into interactive mode and remain there.
It is the responsibility of some application code (typically a Linux application)
to reset the variable bootcount
, thus allowing for more boot cycles.
----- Revision r1.5 - 07 Aug 2009 - 20:08 - WolfgangDenk
|