fwupd/plugins/emmc
Richard Hughes d99f86023f trivial: Add getters to FuChunk
At the moment FuChunks are sometimes mutable, and sometimes immutable, and it's
all a bit too low level for comfort.

Before we can do any kind of optimisation or verification we need plugins to
stop reading directly from the C structure. The aim here is to make FuChunk
optionally mutable without making assumptions about the memory model, and also
to be able to introspect it for the docs.
2021-01-28 16:42:54 +00:00
..
emmc.quirk Add a new plugin for working with eMMC devices (Fixes: #1455) 2019-10-18 14:18:09 -05:00
fu-emmc-device.c trivial: Add getters to FuChunk 2021-01-28 16:42:54 +00:00
fu-emmc-device.h Add a new plugin for working with eMMC devices (Fixes: #1455) 2019-10-18 14:18:09 -05:00
fu-plugin-emmc.c Use FWUPD_COMPILATION define to indicate an in tree build 2021-01-22 14:01:25 -06:00
meson.build Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
README.md Add external interface messages 2020-10-26 12:05:20 -05:00

eMMC Support

Introduction

This plugin reads the sysfs attributes corresponding to eMMC devices. It uses the kernel MMC API for flashing devices.

Protocol

eMMC devices support the org.jedec.mmc protocol.

GUID Generation

These devices use the following instance values:

  • EMMC\%NAME%
  • EMMC\%MANFID%&%OEMID%
  • EMMC\%MANFID%&%OEMID%&%NAME%

Vendor ID Security

The vendor ID is set from the EMMC vendor, for example set to EMMC:{$manfid}

External interface access

This plugin requires ioctl MMC_IOC_CMD and MMC_IOC_MULTI_CMD access.