What is RPMB partition?

What is RPMB partition?

RPMB is a separate physical partition in the eMMC device designed for secure data storage. Every access to RPMB is authenticated and it allows the system to store or retrieve data in an authenticated and replay protected manner.

What is MMC utils?

Userspace tools for MMC/SD devices mmc-utils is a tool that supports the MMC device development of linux kernel. The mmc-utils tools can do the following: – Print and parse extcsd data. – Set the eMMC data sector size to 4KB by disabling emulation.

What is RPMB fuse blown?

Galaxy S. Ah no, seems RPMB stands for Replay Protected Memory Block. A secure space. Its key can only be rewritten once (Fuse blown)

How long does eMMC last?

Lifespan of eMMC An eMMC run device can last up to 5 years. This timespan is indirectly proportional to the storage capacity of the drive, meaning a 16 GB eMMC is likely to last longer than a 32 GB one. Also, the more you use one the further its lifespan decreases.

How to enable replay protected memory block in eMMC?

It is enabled at compile time by CFG_REE_FS=y. The second one makes use of the Replay Protected Memory Block (RPMB) partition of an eMMC device, and is enabled by setting CFG_RPMB_FS=y . It is described in RPMB Secure Storage.

What does rpmb stand for in emmc4?

The RPMB (Replay Protected Memory Block) feature was first introduced in eMMC4.4. This feature enables device to store data in a small, specific area that is authenticated and protected against replay attack.

How to access replay protected memory block ( rpmb )?

The rpmb has a key that can be programmed once. Later, the host reads a counter value from the rpmb. It uses this counter value and the programmed key to generate a MAC. The device then checks the MAC given vs the MAC it calculated using the same key, and if it matches, write access is granted (reference, slide 4).

Do you need authentication key for rpmb in eMMC?

Typically, before any access (e.g. read or write) to RPMB partition, a RPMB authentication key must be programmed into RPMB controller in eMMC/UFS or NVMe device.