fwupd/plugins/mtd
Richard Hughes c4ca026294 Allow devices to build instance IDs more easily
Provide a device instance builder that allows plugins to easily
create multiple instance IDs based on parent attributes.

Also fix a lot of the instance ID orders, so that we add more generic
IDs first, and more specific IDs after.
2022-03-03 09:13:29 +00:00
..
fu-mtd-device.c Allow devices to build instance IDs more easily 2022-03-03 09:13:29 +00:00
fu-mtd-device.h Add a new plugin to handle MTD devices 2021-11-05 20:01:51 +00:00
fu-plugin-mtd.c mtd: Add two more instance IDs to the MTD devices 2022-02-18 10:38:17 +00:00
meson.build Convert build system to use meson tristate features 2022-02-28 08:34:48 -06:00
mtd.quirk Add a new plugin to handle MTD devices 2021-11-05 20:01:51 +00:00
README.md mtd: Add two more instance IDs to the MTD devices 2022-02-18 10:38:17 +00:00

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 and DMI data, e.g.

  • MTD\NAME_Factory
  • MTD\VENDOR_foo&NAME_baz
  • MTD\VENDOR_foo&PRODUCT_bar&NAME_baz

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.