[prev in list] [next in list] [prev in thread] [next in thread] 

List:       yaffs
Subject:    Re: [Yaffs] Why does YAFFS skip the first block?
From:       Charles Manning <manningc2 () actrix ! gen ! nz>
Date:       2005-08-15 21:19:46
Message-ID: 200508160919.46088.manningc2 () actrix ! gen ! nz
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic