a:5:{s:7:"#markup";O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:4316:"<article role="article" about="/yaffs-overview" typeof="schema:WebPage" class="page is-sticky full clearfix">

  
      <span property="schema:name" content="Yaffs Overview" class="hidden"></span>


  
  <div class="content">
    
            <div property="schema:text" class="field field--name-body field--type-text-with-summary field--label-hidden field--item">
<p>Yaffs is a filesystem designed specifically for the characteristics of NAND flash. Its well-proven primary features are:</p>
<ul>
<li>Fast - typically much faster than alternatives</li>
<li>Easily ported (currently ported to GNU/Linux, WinCE, eCOS, pSOS, VxWorks, and various bare-metal systems)</li>
<li>Log structured, providing wear-levelling and making it very robust</li>
<li>Supports many flash geometries including 2K-Byte and 512-Byte page NAND flash chips</li>
<li>Supports MLC and SLC flash</li>
<li>Very fast mount - almost immediate startup</li>
<li>Typically uses less RAM than comparable File Systems</li>
<li>Flexible <a href="/yaffs-licensing-overview">Licensing</a> suitable for most circumstances</li>
</ul>
<p>There is a great deal of information about Yaffs available on this site. This page indexes that information and provides an overview of the product.</p>
<p>Yaffs is currently at version 2. Yaffs2 supports 2K-byte page flash as well as 512-byte page flash. (Yaffs1 only supports the original 512-byte page flash and is now in maintenance mode.) There is a minimal subset of the filesystem called Yaffs/Direct or the Yaffs Direct Interface which is intended to be used in embedded systems, and can be licensed for use in proprietary systems. Yaffs is available to all under the GPL for use or evaluation; full details of Git access are&nbsp;<a href="/download-yaffs-using-git">available </a></p>
<p>Yaffs 1 and 2 have both been deployed in numerous commercial applications, some in high volume. abd with large Flash arrays. It has been used in phones, most notably Android phones, GPS receivers, train controllers, speech synthesisers, VOIP chip development kits and other applications.</p>
<p>We have a number of documents and papers describing how to use Yaffs, how to customise it for your particular hardware/system, and the original considerations and filesystem design of the two versions.</p>
<h3>Backgrounder</h3>
<p>The best overview information is currently this 28-slide presentation&nbsp; <a href="node/77">What it Does and How it Does it</a></p>
<p>A useful historical Timeline on development is <a href="node/43">here</a></p>
<h3>Developer Documentation</h3>
<p>Yaffs Direct Interface - <a href="node/349">User Guide</a>, describing how to port Yaffs to an embedded environment or RTOS using the YDI 'personality' module'.</p>
<p>Brief notes on <a href="node/40">How to use it on GNU/Linux</a></p>
<p>A <a href="node/348">memory footprint analysis</a> putting some numbers on 'low memory footprint'.</p>
<p><a href="/yaffs-embedded-structure"><img alt="YAFFS embedded structure: YAFFS embedded structure" height="376" src="/sites/yaffs.net/files/images/yaffs-diagram.gif" width="358" /></a><br />
<strong>Yaffs embedded structure</strong></p>
<h3>Papers</h3>
<p></p>
<p></p>
<p></p>
<ul>
<li><a>The </a><a href="node/42">starting state of NAND MTD</a> which caused the Yaffs filesystem to be designed.</li>
<li><a href="node/37">The Specifications</a> are available</li>
<li>Development Notes describing the <a href="node/39">filesystem design decisions and data structures for Yaffs1</a></li>
<li><a href="node/38">Yaffs2 Filesystem design</a>, covering changes from Yaffs1</li>
<li><a href="http://www.cis.nctu.edu.tw/~lpchang/papers/SAC_wu_sac06.pdf">Efficient Initialization and Crash Recovery for Log-based File Systems over Flash Memory</a>, describing a mechanism for avoiding full flash scans, even when not properly shut down. This is a likely future development.</li>
</ul>
<h3>Mailing list</h3>
<p>There is a <a href="http://aleph1.co.uk//mailman/listinfo/yaffs">Yaffs mailing list</a> for the development and discussion of Yaffs. It's a fairly low-traffic list. You will be emailed and asked to confirm your subscription request. You can also browse and search the <a href="http://aleph1.co.uk/lurker/splash/index.en.html">Yaffs mailing list archives</a>.</p>
</div>
      
  </div>

</article>
";}s:9:"#attached";a:1:{s:14:"html_head_link";a:3:{i:0;a:2:{i:0;a:2:{s:3:"rel";s:9:"canonical";s:4:"href";s:15:"/yaffs-overview";}i:1;b:1;}i:1;a:2:{i:0;a:2:{s:3:"rel";s:9:"shortlink";s:4:"href";s:9:"/node/344";}i:1;b:1;}i:2;a:2:{i:0;a:2:{s:3:"rel";s:8:"revision";s:4:"href";s:15:"/yaffs-overview";}i:1;b:1;}}}s:6:"#cache";a:3:{s:8:"contexts";a:7:{i:0;s:28:"languages:language_interface";i:1;s:5:"theme";i:2;s:8:"timezone";i:3;s:17:"url.path.is_front";i:4;s:16:"user.permissions";i:5;s:20:"user.roles:anonymous";i:6;s:24:"user.roles:authenticated";}s:4:"tags";a:5:{i:0;s:30:"config:filter.format.full_html";i:1;s:18:"config:system.site";i:2;s:8:"node:344";i:3;s:9:"node_view";i:4;s:6:"user:3";}s:7:"max-age";i:-1;}s:17:"#cache_properties";a:1:{i:0;s:6:"#title";}s:6:"#title";O:25:"Drupal\Core\Render\Markup":1:{s:9:"*string";s:51:"<span property="schema:name">Yaffs Overview</span>
";}}