fwupd/plugins/mtd
Mario Limonciello 661990ed98 Convert build system to use meson tristate features
tristate features will automatically disable if dependencies marked
as required are missing.

Packagers can manually override using `auto_features`.

Link: https://mesonbuild.com/Build-options.html#features
2022-02-28 08:34:48 -06:00
..
fu-mtd-device.c mtd: Parse the firmware version using the defined GType 2022-02-18 10:38:17 +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.