[Yaffs] Why does YAFFS skip the first block?

Charles Manning manningc2 at actrix.gen.nz
Mon Aug 15 22:19:46 BST 2005


On Tuesday 16 August 2005 07:36, Steve Wahl wrote:
> Specific instances of this would be upgrading to a new version of
> software, then downgrading to an old version; or, what we ran into: A
> bootloader that has yaffs code that skips block zero, that boots
> kernel code that doesn't skip block zero.  Occasionally our kernel was
> writing boot images to the flash that the bootloader couldn't read
> (because a portion was in block zero)!
>
> You won't detect this until you try to read a file that uses block zero
> from older code...

An alternative is to set up your mtd partitioning so that block zero of NAND 
is not seen by YAFFS.

-- CHarles



More information about the yaffs mailing list