fwupd/plugins/emmc
Daniil Lunev 8e1715779e emmc: correct legacy GUID generation
It used to be generated with decimal, not hexadecimal values.

Change-Id: I2a6a5bdea50e2d08a7de9f65a1f9a03de29e1591
2023-01-22 20:40:38 -06:00
..
emmc.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-emmc-device.c emmc: correct legacy GUID generation 2023-01-22 20:40:38 -06:00
fu-emmc-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-emmc-plugin.c Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
fu-emmc-plugin.h Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
meson.build Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
README.md Include the plugin README text in the generated docs 2023-01-10 14:58:30 +00:00

title: Plugin: 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_%name%
  • EMMC\NAME_%name%&REV_%rev%
  • EMMC\MAN_%manfid%&OEM_%oemid%
  • EMMC\MAN_%manfid%&OEM_%oemid%&NAME_%name%
  • EMMC\MAN_%manfid%&NAME_%name%&REV_%rev%
  • EMMC\MAN_%manfid%&OEM_%oemid%&NAME_%name%&REV_%rev%

One deprecated instance ID is also added; new firmware should not use this.

  • EMMC\%manfid%&%oemid%&%name%

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.