Re: [Yaffs] porting YAFFS, first block must be free

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ricard Wanderlof
Date:  
To: yaffs@lists.aleph1.co.uk
Subject: Re: [Yaffs] porting YAFFS, first block must be free

> "Porting Guide"
>
> It says:
> "...
> int startBlock
>
> The block number (not the address in bytes) on the chip of the first block
> of this logical yaffs_Device.  Beware, yaffs needs the first block to be
> free so you should not set this to 0, if it is then yaffs will add on one
> to it itself and also add on one to the end block which could be an issue
> if you wanted your device to start at block 0 and finish at the last block
> which might mean yaffs trying to write to a non-existent block.
> ..."


Yuck. That second sentence seriously needs to be refactored to be
understandable ...

/Ricard
-- 
Ricard Wolf Wanderlöf                           ricardw(at)axis.com
Axis Communications AB, Lund, Sweden            www.axis.com
Phone +46 46 272 2016                           Fax +46 46 13 61 30