fwupd/plugins/emmc
Richard Hughes a61bb37881 Build the quirk files into the daemon as a GResource
Interestingly, this increases the `fwupd` binary size by ~30kb but
reduces the installed size of /usr/share/fwupd/quirks.d by ~330kb.
2022-06-30 18:52:24 +01:00
..
emmc.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-emmc-device.c Add eMMC guids to include FW version 2022-06-22 15:58:57 +01:00
fu-emmc-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-plugin-emmc.c Speed up the daemon startup by ~2% by doing dlsym much less 2021-11-09 12:02:07 +00:00
meson.build Build the quirk files into the daemon as a GResource 2022-06-30 18:52:24 +01:00
README.md Add eMMC guids to include FW version 2022-06-22 15:58:57 +01:00

eMMC

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\%NAME%&%REV%
  • EMMC\%MANFID%&%OEMID%
  • EMMC\%MANFID%&%OEMID%&%NAME%
  • EMMC\%MANFID%&%NAME%&%REV%
  • EMMC\%MANFID%&%OEMID%&%NAME%&%REV%

Update Behavior

The firmware is deployed when the device is in normal runtime mode, but it is only activated when the device is rebooted.

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.