mirror of
https://git.proxmox.com/git/fwupd
synced 2026-03-28 02:33:24 +00:00
Saving the quirks in the GResource section worked well, but it made the build system very complicated and also meant the .data section was duplicated in both `fwupd` and `fwupdtool` -- negating a lot of the hard-fought savings. Simplify this feature so that we just `cat` all the quirk files together, then gzip them into a single file. This means that at startup fwupd only needs to check the mtime of one file, and weirdly it's actually faster to load a smaller compressed file from disk that it is to load multiple uncompressed files. |
||
|---|---|---|
| .. | ||
| emmc.quirk | ||
| fu-emmc-device.c | ||
| fu-emmc-device.h | ||
| fu-plugin-emmc.c | ||
| meson.build | ||
| README.md | ||
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.