15.11.2012 Views

Micron FDI File System is Ideal for NOR-based Designs

Micron FDI File System is Ideal for NOR-based Designs

Micron FDI File System is Ideal for NOR-based Designs

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Software Spotlight<br />

<strong>Micron</strong> ® <strong>FDI</strong> <strong>File</strong> <strong>System</strong> <strong>is</strong> <strong>Ideal</strong> <strong>for</strong> <strong>NOR</strong>-<strong>based</strong> <strong>Designs</strong><br />

<strong>Micron</strong> ® <strong>FDI</strong> <strong>File</strong> <strong>System</strong> <strong>is</strong> <strong>Ideal</strong> <strong>for</strong> <strong>NOR</strong>-<strong>based</strong> <strong>Designs</strong><br />

By Kurt Sowa<br />

<strong>Micron</strong> Software Product Manager<br />

<strong>Micron</strong>’s Flash Data Integrator (<strong>FDI</strong>) <strong>is</strong> a full-featured Flash file system <strong>for</strong> <strong>NOR</strong> devices.<br />

The <strong>FDI</strong> file system provides an optimal set of features <strong>for</strong> the mobile phone market. Th<strong>is</strong><br />

article d<strong>is</strong>cusses these features and how they benefit the phone plat<strong>for</strong>m.<br />

<strong>FDI</strong> Features Ensure <strong>System</strong> Reliability<br />

<strong>FDI</strong> includes a group of features that focus on functionality engineered to maximize the<br />

reliability of your system.<br />

Power Loss Recovery<br />

One of the most important character<strong>is</strong>tics <strong>for</strong> a file system targeting mobile phones <strong>is</strong> power<br />

safe operation. While losing data to a drained battery or dropped phone can be annoying to<br />

users, a phone that <strong>is</strong> unable to boot or make a call after an unexpected power loss <strong>is</strong><br />

unacceptable.<br />

<strong>FDI</strong> has been designed <strong>for</strong> power safe operations. Every file operation (file create, file write,<br />

etc.) uses a state machine <strong>for</strong> power loss recovery. While it <strong>is</strong> not possible to recover data<br />

that <strong>is</strong> not fully written to Flash memory, <strong>FDI</strong> ensures that each action <strong>is</strong> completed correctly<br />

or it rolls back an interrupted action, thus maintaining the integrity of the file system.<br />

Wear Leveling<br />

Wear leveling <strong>is</strong> important to device reliability. Flash devices are internally divided into<br />

blocks <strong>for</strong> management, and each block can be erased a finite number of times be<strong>for</strong>e<br />

per<strong>for</strong>mance degrades. To maximize utilization, wear leveling <strong>is</strong> used to spread content<br />

changes (<strong>for</strong> example, erases <strong>for</strong> recovering dirty space) equally over all the blocks in the<br />

device. <strong>FDI</strong> also supports active wear leveling in legacy <strong>NOR</strong> devices, which manages both<br />

static and dynamic data to maximize the lifespan of a Flash memory device.<br />

Guaranteed Update<br />

Because Flash cannot be directly modified, updating the contents of a file can be a problem<br />

when the file volume <strong>is</strong> full. <strong>FDI</strong> ensures that file contents or attributes can be overwritten,<br />

even when the volume <strong>is</strong> full.<br />

Maximize Flash Device Per<strong>for</strong>mance with <strong>FDI</strong><br />

<strong>FDI</strong>’s per<strong>for</strong>mance features are designed to maximize the per<strong>for</strong>mance from your Flash<br />

device.<br />

Flash Throughput<br />

<strong>System</strong> per<strong>for</strong>mance <strong>is</strong> important to users. <strong>FDI</strong> has been designed to minimize file system<br />

overhead, achieving read and write speeds that are considerably faster than other file<br />

systems. <strong>FDI</strong> can utilize up to 93% of the theoretical Flash bandwidth.<br />

PDF: 09005aef845f5d20/Source: 09005aef845f5d2d Rev. D, 01/12<br />

© 2012 <strong>Micron</strong> Technology, Inc. <strong>Micron</strong>, the <strong>Micron</strong> logo, and Krypto are trademarks of <strong>Micron</strong> Technology, Inc. All other trademarks<br />

are the property of their respective owners. All in<strong>for</strong>mation <strong>is</strong> provided on an “AS IS” bas<strong>is</strong>, without warranties of any kind.


Software Spotlight<br />

<strong>Micron</strong> ® <strong>FDI</strong> <strong>File</strong> <strong>System</strong> <strong>is</strong> <strong>Ideal</strong> <strong>for</strong> <strong>NOR</strong>-<strong>based</strong> <strong>Designs</strong><br />

Figure 1. Figure 1. <strong>FDI</strong> per<strong>for</strong>mance versus industry Flash file systems<br />

Background Reclaim and Format<br />

Since <strong>NOR</strong> Flash memory devices cannot be overwritten to change data, they must be<br />

erased prior to updating data. <strong>FDI</strong> manages both current and “dirty” data, allowing garbage<br />

collection (reclaim) to occur in a background thread <strong>for</strong> per<strong>for</strong>mance. If required, garbage<br />

collection can occur in the <strong>for</strong>eground, or be initiated manually. It can also be suspended to<br />

let other processes execute. In addition to reclaim, <strong>for</strong>matting a volume can also occur in the<br />

background. Th<strong>is</strong> allows the system to continue to be responsive to users while completing<br />

file system operations.<br />

Multithreading<br />

<strong>FDI</strong> supports a multithreading system. Th<strong>is</strong> allows the plat<strong>for</strong>m to execute multiple tasks in<br />

parallel while providing fast response. Since Flash devices have a single write state<br />

machine, <strong>FDI</strong> serializes Flash commands at the memory technology device layer.<br />

Shared Code and Data, Software READ-While-WRITE<br />

<strong>NOR</strong> Flash plat<strong>for</strong>ms often execute code directly from the Flash device. Because Flash<br />

partitions are not directly readable when erasing or writing data, th<strong>is</strong> can present an <strong>is</strong>sue<br />

<strong>for</strong> designs that place code and data volumes in the same Flash device. <strong>FDI</strong> supports<br />

software READ-While-WRITE, allowing code and data to seamlessly share the same<br />

partition.<br />

Noncontiguous Memory Addressing<br />

<strong>FDI</strong> helps consolidate memory from multiple devices by allowing noncontiguous blocks<br />

(blocks from several boot block architecture devices) to be combined into a single volume,<br />

as long as the blocks are similar.<br />

<strong>Micron</strong>® Krypto® Authenticated Operations Support<br />

For systems where increased security <strong>is</strong> required, <strong>FDI</strong> supports <strong>Micron</strong> Flash devices that<br />

incorporate Krypto Authenticated Operations. Th<strong>is</strong> functionality uses advanced encryption<br />

standard (AES) encryption and private keys to help prevent unauthorized reads to or writes<br />

from Flash memory.<br />

Small Data<br />

<strong>File</strong> systems require overhead to manage metadata, such as file names, attributes, and data<br />

chains. For small data, th<strong>is</strong> overhead can often exceed the size of the data itself. In addition<br />

to managing files, <strong>FDI</strong> can store small data with minimal overhead via a unique parameter<br />

API. A second option allows optimizing small data by merging it into a single element.<br />

PDF: 09005aef845f5d20/Source: 09005aef845f5d2d Rev. D, 01/12<br />

© 2012 <strong>Micron</strong> Technology, Inc. <strong>Micron</strong>, the <strong>Micron</strong> logo, and Krypto are trademarks of <strong>Micron</strong> Technology, Inc. All other trademarks<br />

are the property of their respective owners. All in<strong>for</strong>mation <strong>is</strong> provided on an “AS IS” bas<strong>is</strong>, without warranties of any kind.


Software Spotlight<br />

<strong>Micron</strong> ® <strong>FDI</strong> <strong>File</strong> <strong>System</strong> <strong>is</strong> <strong>Ideal</strong> <strong>for</strong> <strong>NOR</strong>-<strong>based</strong> <strong>Designs</strong><br />

Simplify Your Design and Reduce Time-to-Market with <strong>FDI</strong><br />

The features described in th<strong>is</strong> section are designed to simplify your design and reduce timeto-market.<br />

Pre-OS Support<br />

There <strong>is</strong> a benefit to being able to access the file system prior to the operating system<br />

loading. Th<strong>is</strong> allows splash screens or other boot in<strong>for</strong>mation to be stored in the file system<br />

and simplifies the software design. <strong>FDI</strong> supports single-threaded, read-only access via a<br />

pre-OS module.<br />

Multivolume Support<br />

Many plat<strong>for</strong>m architects prefer to segment data into several categories. <strong>FDI</strong> facilitates th<strong>is</strong><br />

by supporting multiple file volumes. Each volume can be mounted (and <strong>for</strong>matted)<br />

separately. Th<strong>is</strong> allows the system architect to designate a volume <strong>for</strong> system data and a<br />

volume <strong>for</strong> user data. Garbage collection activities can be shared across volumes.<br />

Modular Design<br />

<strong>FDI</strong> <strong>is</strong> compr<strong>is</strong>ed of three main components. The lowest level <strong>is</strong> the MTD, which provides<br />

the basic routines <strong>for</strong> Flash memory operations. Th<strong>is</strong> module allows <strong>FDI</strong> to support multiple<br />

Flash device families without requiring changes to the core file system routines.<br />

The next level <strong>is</strong> the <strong>FDI</strong> core. Th<strong>is</strong> module provides the file system functionality. The topmost<br />

layer <strong>is</strong> the POSIX API. Th<strong>is</strong> provides an IEEE-standardized file system interface layer.<br />

Having a familiar interface simplifies integration with your operating system and applications.<br />

Figure 2. <strong>FDI</strong> architecture block diagram<br />

PDF: 09005aef845f5d20/Source: 09005aef845f5d2d Rev. D, 01/12<br />

© 2012 <strong>Micron</strong> Technology, Inc. <strong>Micron</strong>, the <strong>Micron</strong> logo, and Krypto are trademarks of <strong>Micron</strong> Technology, Inc. All other trademarks<br />

are the property of their respective owners. All in<strong>for</strong>mation <strong>is</strong> provided on an “AS IS” bas<strong>is</strong>, without warranties of any kind.


Software Spotlight<br />

<strong>Micron</strong> ® <strong>FDI</strong> <strong>File</strong> <strong>System</strong> <strong>is</strong> <strong>Ideal</strong> <strong>for</strong> <strong>NOR</strong>-<strong>based</strong> <strong>Designs</strong><br />

Portability<br />

<strong>FDI</strong> <strong>is</strong> designed to integrate quickly with a variety of RTOS plat<strong>for</strong>ms. <strong>FDI</strong> engineers have<br />

experience integrating <strong>FDI</strong> with Qualcomm ® REX, Mentor Graphics ® Nucleus ® , and other<br />

RTOS and plat<strong>for</strong>m operating systems. <strong>FDI</strong> has a dedicated international customer support<br />

team to get your design to market quickly.<br />

Quotas<br />

Quotas allow the system to limit the space used in a volume. Quotas can be set on a group<br />

bas<strong>is</strong>, and are used to ensure that one feature or user does not use more file space than<br />

desired.<br />

Reservations<br />

Reservations are often confused with quotas. Quotas limit the space that can be used.<br />

Reservations guarantee that a minimum amount of space <strong>is</strong> available in a volume. Like<br />

quotas, reservations are set on a group bas<strong>is</strong>.<br />

Tools<br />

<strong>FDI</strong> has two tools that help speed development. The image builder creates a binary <strong>FDI</strong><br />

volume from a folder on your computer. Th<strong>is</strong> image can be programmed directly to Flash<br />

memory. The image probe <strong>is</strong> used to scan an <strong>FDI</strong> image to help analyze the structure of a<br />

volume image.<br />

Conclusion<br />

<strong>Micron</strong>’s <strong>FDI</strong> <strong>is</strong> an establ<strong>is</strong>hed Flash file system that provides outstanding per<strong>for</strong>mance and<br />

reliability to mobile phone designers. <strong>FDI</strong>, with support from <strong>Micron</strong> engineers, provides a<br />

robust solution and gets your designs to market faster. V<strong>is</strong>it the <strong>FDI</strong> page on micron.com <strong>for</strong><br />

more in<strong>for</strong>mation about th<strong>is</strong> Flash file system.<br />

Contact your <strong>Micron</strong> representative <strong>for</strong> more in<strong>for</strong>mation on <strong>Micron</strong> software and how it can<br />

benefit you.<br />

PDF: 09005aef845f5d20/Source: 09005aef845f5d2d Rev. D, 01/12<br />

© 2012 <strong>Micron</strong> Technology, Inc. <strong>Micron</strong>, the <strong>Micron</strong> logo, and Krypto are trademarks of <strong>Micron</strong> Technology, Inc. All other trademarks<br />

are the property of their respective owners. All in<strong>for</strong>mation <strong>is</strong> provided on an “AS IS” bas<strong>is</strong>, without warranties of any kind.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!