Richard Hughes
0cbcac93cd
Rename fu_udev_device_ioctl_full() as we broke ABI
2022-06-03 13:47:11 -05:00
Richard Hughes
029d2895bd
Rename fu_udev_device_pread_full() as we broke ABI
2022-06-03 13:47:11 -05:00
Richard Hughes
7ec0f11e69
mtd: Use the correct uSWID child for multiple coSWID children
2022-04-18 17:48:52 +01:00
Richard Hughes
7dc34ff02e
Mark more devices as CAN_VERIFY_IMAGE
...
This allows us to filter the devices when showing what we can dump.
2022-04-01 21:46:04 -05:00
Richard Hughes
df66a1d73e
mtd: Ignore devices that report EPERM on open
2022-03-18 12:55:44 +00:00
Richard Hughes
7d9dff4789
mtd: Support dumping the image to a firmware blob
2022-03-18 12:55:44 +00:00
Richard Hughes
095cbad100
mtd: Fix writing mtd images larger than 10kb
2022-03-18 12:55:44 +00:00
Richard Hughes
a6aef01e49
mtd: Do not try to probe recovery read-only partitions
...
Ignore devices without a 'flags' file.
2022-03-11 16:51:45 +00:00
Richard Hughes
a239dc8ab8
mtd: Allow the metadata to set the signed payload flag
2022-03-11 16:51:45 +00:00
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
Richard Hughes
cda5879974
mtd: Parse the firmware version using the defined GType
2022-02-18 10:38:17 +00:00
Richard Hughes
f8d1a1606e
mtd: Add two more instance IDs to the MTD devices
2022-02-18 10:38:17 +00:00
Richard Hughes
308e03a6f4
Sanitize the instance ID parts more carefully
...
The only users of `SERIO\FWID` and `I2C\NAME` are already 'safe' and
the device GUIDs should all be unchanged.
There are no current users of the `MTD\NAME` instance IDs, and these
are the ones that may be more unpredictable and in need of sanity.
2022-02-18 08:23:39 +00:00
Richard Hughes
36d7077f65
Add a new plugin to handle MTD devices
2021-11-05 20:01:51 +00:00