fwupd/plugins/superio
Richard Hughes 1981c63d58 Remove FuFirmwareImage and just use FuFirmware instead
This allows us to 'nest' firmware formats, and removes a ton of duplication.

The aim here is to deprecate FuFirmwareImage -- it's almost always acting
as a 'child' FuFirmware instance, and even copies most of the vfuncs to allow
custom types. If I'm struggling to work out what should be a FuFirmware and
what should be a FuFirmwareImage then a plugin author has no hope.

For simple payloads we were adding bytes into an image and then the image into
a firmware. This gets really messy when most plugins are treating the FuFirmware
*as* the binary firmware file.

The GBytes saved in the FuFirmware would be considered the payload with the
aim of not using FuFirmwareImage in the single-image case.
2021-03-09 21:14:12 +00:00
..
fu-plugin-superio.c superio: Ensure quirks are set on the new devices 2021-03-03 18:15:16 +00:00
fu-superio-common.c Move the file descriptor lifecycle into FuUdevDevice 2019-10-31 09:21:35 -05:00
fu-superio-common.h Only include the start year in the copyright header 2021-01-07 14:48:16 +00:00
fu-superio-device.c superio: Use DeviceInstanceIDs to merge chip quirk metadata 2021-03-03 08:30:34 +00:00
fu-superio-device.h superio: Simplify device setup using the parent_class 2021-02-26 18:46:51 +00:00
fu-superio-it85-device.c superio: Simplify device setup using the parent_class 2021-02-26 18:46:51 +00:00
fu-superio-it85-device.h Only include the start year in the copyright header 2021-01-07 14:48:16 +00:00
fu-superio-it89-device.c Remove FuFirmwareImage and just use FuFirmware instead 2021-03-09 21:14:12 +00:00
fu-superio-it89-device.h Only include the start year in the copyright header 2021-01-07 14:48:16 +00:00
meson.build Move the plugin build logic to the plugins themselves 2021-02-18 14:46:20 +00:00
README.md Add a new internal flag to opt-in to GUID matching 2021-02-25 15:47:25 +00:00
superio.quirk Updated StarLabs guids 2021-03-04 17:56:43 +00:00

SuperIO

This plugin enumerates the various ITE85* SuperIO embedded controller ICs found in many laptops. Vendors wanting to expose the SuperIO functionality will need to add a HwId quirk entry to superio.quirk.

See https://en.wikipedia.org/wiki/Super_I/O for more details about SuperIO and what the EC actually does.

Other useful links:

GUID Generation

These devices use a custom GUID generated using the SuperIO chipset name:

  • SuperIO-$(chipset), for example SuperIO-IT8512

Update Behavior

The firmware is deployed when the device is in normal runtime mode, but it is only activated on machine reboot. The firware write is normally scheduled to be done very early in the boot process to minimize the chance the EC chip locking up if the user is actually using the kerboard controller.

Vendor ID Security

The vendor ID is set from the baseboard vendor, for example DMI:Star Labs

External interface access

This plugin requires access to raw system memory via inb/outb.