mirror of
https://git.proxmox.com/git/fwupd
synced 2025-07-27 02:24:35 +00:00
![]() Conceptually we were trying to stuff subtly different actions into one vfunc: * Read firmware from the device to update the verification checksums * Read a firmware blob from the device for debugging For the first action we might want to mask out the sections of the flash with serial numbers (so the verification hashes match the ones published on the LVFS) and for the second we want just a raw ROM file from the hardware with no pre-processing that we can compare against an external SPI dumper. Split out ->dump_firmware to get the raw blob, and allow plugins to also implement ->read_firmware() if they have to mask out specific offsets or remove specific images from the FuFirmware container. In the common case when masking is not required, fall back to using a 'binary' FuFirmware automatically to make most plugins simpler. |
||
---|---|---|
.. | ||
bash-completion | ||
builder | ||
device-tests | ||
fish-completion | ||
installed-tests | ||
motd | ||
pki | ||
remotes.d | ||
tests | ||
90-fwupd-devices.rules | ||
daemon.conf | ||
fwupd-offline-update.service.in | ||
fwupd.service.in | ||
fwupd.shutdown.in | ||
meson.build | ||
org.freedesktop.fwupd.conf | ||
org.freedesktop.fwupd.metainfo.xml | ||
org.freedesktop.fwupd.service.in | ||
org.freedesktop.fwupd.svg |