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

Startseite
Anhänge:
Nachricht
+ (text/plain)
Nachricht löschen
Nachricht beantworten
Autor: Charles Manning
Datum:  
To: Steve Wahl
CC: Peter Barada, yaffs
Betreff: 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