From fe0602f60b971c3b350d47115cba188cc67c7038 Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Mon, 14 Sep 2009 17:46:41 -0700 Subject: [PATCH] increase reserved blocks from 5 to 8 Our yaffs filesystems reserve 5 blocks, use 1 for a checkpoint, and may use 1 or 2 more for caching. Take these all into account when computing the max image size. --- core/definitions.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/definitions.mk b/core/definitions.mk index 83834bff0c..a16ce03e10 100644 --- a/core/definitions.mk +++ b/core/definitions.mk @@ -1590,7 +1590,7 @@ $(if $(2), \ echo "$$printname total size is $$total"; \ img_blocksize=$(call image-size-from-data-size,$(BOARD_FLASH_BLOCK_SIZE)); \ if [ "$(3)" == "yaffs" ]; then \ - reservedblocks=5; \ + reservedblocks=8; \ else \ reservedblocks=0; \ fi; \