mirror of
https://git.proxmox.com/git/fwupd
synced 2025-05-17 04:44:49 +00:00
![]() In many plugins we've wanted to use ->prepare_firmware() to parse the firmware ahead of ->detach() and ->write_firmware() but this has the limitation that it can only return a single blob of data. For many devices, multiple binary blobs are required from one parsed image, for instance providing signatures, config and data blobs that have to be pushed to the device in different way. This also means we parse the firmware *before* we ask the user to detach. Break the internal FuDevice API to support these firmware types as they become more popular. This also allows us to move the Intel HEX and SREC parsing out of the dfu plugin as they are used by a few plugins now, and resolving symbols between plugins isn't exactly awesome. |
||
---|---|---|
.. | ||
data | ||
fastboot.quirk | ||
fu-fastboot-device.c | ||
fu-fastboot-device.h | ||
fu-plugin-fastboot.c | ||
meson.build | ||
README.md |
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 firmware 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.
This plugin supports the following protocol ID:
- com.google.fastboot
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 |