mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-04 01:20:25 +00:00
![]() The move to query sysattr for the name inadvertly changed the extent of devices accepted by emmc probe. udev rules setup ID_NAME only for main block device, but not for rpmb or boot, while 'name' sysattr is present for all of them for they point to the same parent. The original check for name was brittle either way and relied on a side effect of udev subsystem. This CL introdues a proper filtering check that picks up only the main devices. That is important because an attempt to perfrom an update not on the main device returns a cryptic timeout error. Change-Id: I3c2f5597c3e3ca2124c87cade3f345dece94027e |
||
---|---|---|
.. | ||
emmc.quirk | ||
fu-emmc-device.c | ||
fu-emmc-device.h | ||
fu-plugin-emmc.c | ||
meson.build | ||
README.md |
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%
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.