Professional Documents
Culture Documents
Mic Emmc Linux
Mic Emmc Linux
Introduction
Technical Note
eMMC Linux Enablement
Introduction
Linux supports eMMC devices and allows their integration within its subsystems.
However, Linux does not support all eMMC features introduced by the JEDEC standard
in releases 4.1 through 4.41. This technical note describes supported and unsupported
eMMC features and how to enable them. It includes a discussion of the eMMC standard
(4.41) introduced in March 2010. This release includes two features designed specifically
for the requirements of wireless market: Background operation and high priority interrupt (HPI).
An eMMC device offers a low-cost, high-performance data storage solution. eMMC is
designed for use in a wide range of wireless and embedded applications. It can be used
to store data and code. In addition, boot operation features enable the loading of boot
and pre-boot code from an eMMC device.
eMMC architecture combines a NAND Flash memory device with a high-speed eMMC
controller in a single package. Its managed interface runs data management firmware
modules (such as FTL, WL. and BBM) with error correction code (ECC), wear leveling,
and bad block management. This architecture simplifies hardware and software integration by providing a standard interface specification that minimizes the need for host
software to accommodate process node migrations and vendor-specific NAND Flash
characteristics.
NAND vs. eMMC Architecture
NAND Flash
Managed NAND
Controller
ECC
Bad Block Management
Wear Leveling
DATA
I/Os
ALE
CLE
RE#
WE#
RB#
CE#
WP#
NAND Flash
CMD
CLK
Figure 1:
Host Processor
Host Processor
ECC
Bad Block Management
Wear Leveling
NAND Flash Driver
NAND Architecture
eMMC Architecture
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
Products and specifications discussed herein are for evaluation and reference purposes only and are subject to change by
Micron without notice. Products are only warranted by Micron to meet Microns production data sheet specifications. All
information discussed herein is provided on an as is basis, without warranties of any kind.
File System
(Sector Based)
Card
Block Device
Driver
Core
eMMC
Driver
Host
Host Driver
(Platform Dependent)
eMMC Card
Card
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
2.6.22
2.6.23
2.6.24
2.6.26
2.6.27
2.6.28
2.6.29
2.6.30
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
2.6.32
2.6.33
2.6.36
2.6.37
2.6.39
3.0
3.2
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
eMMC Enablement
Additional eMMC features described in JEDEC standard 4.3 to 4.41 can be enabled
within the Linux kernel. These features, which require different implementation efforts,
are described in the following sections:
Access protection
Replay protected memory block (RPMB) area partition
Reliable write
Background operation and HPI
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
Conclusion
Linux supports eMMC devices and allows their integration within its subsystems. While
Linux does not support all eMMC features introduced by the JEDEC standard, patches
are available to enable these features, such as background operation. For more details,
contact your Micron representative or visit micron.com.
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.
Revision History
Rev. B . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .03/12
Updated hypertext links in document
Updated the following sections
Linux Kernel eMMC Feature Support table
eMMC Enablement
Background Operation and HPI (JEDEC 4.41)
Removed the following sections:
Boot Partition Management (JDEC 4.3)
Partition Management (JDEC 4.4)
Secure Erase and Secure Trim Erase (JDEC 4.4)
Patches for Linux Enablement
Rev. A . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .06/11
Initial release
Micron Technology, Inc., reserves the right to change products or specifications without notice.
2012 Micron Technology, Inc. All rights reserved.