[U-Boot] [PATCH 1/5] arm/km: adapt bootcounter evaluation

Holger Brunck holger.brunck at keymile.com
Fri Oct 28 15:12:37 CEST 2011


Hi Prafulla,

On 09/14/2011 10:41 AM, Holger Brunck wrote:
> The bootcounter (stored in the RAM) is not enough protected with the 4 Bytes
> BOOTCOUNT_MAGIC against bit errors due to short power loss or holding a system
> in RESET. It has been seen, that the bootcounter value has been changed due to
> a bit flip on a system holding in RESET, but the BOOTCOUNT_MAGIC was still valid.
> 
> A bit pattern with 4000 bytes (after BOOTCOUNT_MAGIC) has been implemented,
> which should be enough to detect a bit error.
> 
> Signed-off-by: Holger Brunck <holger.brunck at keymile.com>
> Signed-off-by: Valentin Longchamp <valentin.longchamp at keymile.com>
> cc: Prafulla Wadaskar <prafulla at marvell.com>
> ---
>  board/keymile/km_arm/km_arm.c |   32 +++++++++++++++++++++++++++-----
>  1 files changed, 27 insertions(+), 5 deletions(-)
> 

...ping...

Or should this serie not go through your tree? If so then please let me know.

Same question for these two patches:
http://lists.denx.de/pipermail/u-boot/2011-September/102534.html
http://lists.denx.de/pipermail/u-boot/2011-September/102535.html

Best regards
Holger


More information about the U-Boot mailing list