mirror of
https://git.proxmox.com/git/fwupd
synced 2025-06-05 03:03:07 +00:00
![]() We were calling g_module_symbol() 2703 times, which is actually more expensive than you'd think. It also means the plugins are actually what we tell people they are: A set of vfuncs that get run. The reality before that they were dlsym'd functions that get called at pretty random times. |
||
---|---|---|
.. | ||
fu-mtd-device.c | ||
fu-mtd-device.h | ||
fu-plugin-mtd.c | ||
meson.build | ||
mtd.quirk | ||
README.md |
MTD
Introduction
The Memory Technology Device (MTD) interface is a way of abstracting flash devices as if they were normal block devices.
See http://www.linux-mtd.infradead.org/doc/general.html for more details.
This plugin supports the following protocol ID:
- org.infradead.mtd
GUID Generation
These devices use custom DeviceInstanceId values built from the device NAME
, e.g.
MTD\NAME_Factory
Update Behavior
The MTD device is erased in chunks, written and then read back to verify.
Vendor ID Security
The vendor ID is set from the system vendor, for example DMI:LENOVO
External Interface Access
This plugin requires read/write access to /dev/mtd
.