fwupd/plugins/fastboot
Richard Hughes 9729584ee4 Allow plugins to define support for a 'well-known' protocol
Future metadata from the LVFS will set the protocol the firmware is expected to
use. As vendors love to re-use common terms like DFU for incompatible protocols,
namespace them with the controlling company ID with an approximate reverse DNS
namespace.

This also allows more than one plugin to define support for the same protocol,
for instance rts54hid+rts54hub and synapticsmst+dell-dock.
2018-12-14 18:15:01 +00:00
..
data Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00
fastboot.quirk Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00
fu-fastboot-device.c Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00
fu-fastboot-device.h Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00
fu-plugin-fastboot.c Allow plugins to define support for a 'well-known' protocol 2018-12-14 18:15:01 +00:00
meson.build Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00
README.md Add a plugin to update hardware that supports fastboot 2018-12-03 15:50:38 +00:00

Fastboot Support

Introduction

This plugin is used to update hardware that uses the fastboot protocol.

Firmware Format

The daemon will decompress the cabinet archive and extract a firmare blob in ZIP file format. Inside the zip file must be all the firmware images for each partition and a manifest file. The partition images can be in any format, but the manifest must be either an Android flashfile.xml format file, or a QFIL partition_nand.xml format file.

For both types, all partitions with a defined image found in the zip file will be updated.

GUID Generation

These devices use the standard USB DeviceInstanceId values, e.g.

  • USB\VID_18D1&PID_4EE0&REV_0001
  • USB\VID_18D1&PID_4EE0
  • USB\VID_18D1

Quirk use

This plugin uses the following plugin-specific quirk:

Quirk Description Minimum fwupd version
FastbootBlockSize Block size to use for transfers 1.2.2