Re: [Yaffs] Why does YAFFS skip the first block?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: Steve Wahl
CC: Peter Barada, yaffs
Subject: Re: [Yaffs] Why does YAFFS skip the first block?
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