Hi, when you want to detect boot faillure you need to count the number of boot and if the linux boot correctly it will clear it The following changes since commit fe4117357f8f304a08b957eded8ede9db8dafdcf: Add missing dependency ENV_HANDLING for OF_BAREBOX_DRIVER option (2013-09-18 10:24:29 +0200) are available in the git repository at: git://git.jcrosoft.org/barebox.git delivery/bootcount for you to fetch changes up to b8c33aa7d8de3feaf2bf358ae33e8eb1612e2465: animeo_ip: add bootcount support (2013-09-20 12:41:33 +0800) ---------------------------------------------------------------- Jean-Christophe PLAGNIOL-VILLARD (3): misc: add bootcount framework misc: add somfy bootcount support animeo_ip: add bootcount support arch/arm/boards/animeo_ip/init.c | 2 ++ arch/arm/configs/animeo_ip_defconfig | 2 ++ drivers/misc/Kconfig | 7 +++++ drivers/misc/Makefile | 2 ++ drivers/misc/bootcount.c | 24 +++++++++++++++++ drivers/misc/somfy_bootcount.c | 138 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ include/bootcount.h | 21 +++++++++++++++ 7 files changed, 196 insertions(+) create mode 100644 drivers/misc/bootcount.c create mode 100644 drivers/misc/somfy_bootcount.c create mode 100644 include/bootcount.h Best Regards, J. _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox