fwupd/plugins/coreboot
Patrick Rudolph bd94740404 plugins/coreboot: Get rid of FU_HWIDS_KEY_BIOS_VENDOR in coldplug
In fu_plugin_startup we make sure that the FU_HWIDS_KEY_BIOS_VENDOR
matches "coreboot", so there's no need to read it again.

Remove the call to fu_plugin_get_dmi_value and drop the first call
to fu_device_set_vendor as it gets overwritten below.

Hardcode the id string for now.

Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>
2019-11-27 14:26:26 +00:00
..
fu-coreboot-common.c trivial: coreboot: fix a clang compiler error 2019-10-18 10:22:21 +01:00
fu-plugin-coreboot.c plugins/coreboot: Get rid of FU_HWIDS_KEY_BIOS_VENDOR in coldplug 2019-11-27 14:26:26 +00:00
fu-plugin-coreboot.h trivial: coreboot: fix a clang compiler error 2019-10-18 10:22:21 +01:00
meson.build Convert libfwupdprivate to a shared library libfwupdplugin 2019-11-27 11:32:43 +00:00
README.md plugins: Add coreboot plugin 2019-10-17 18:31:01 +02:00

coreboot

Introduction

Until now only the version detection has been implemented.

System identification

coreboot can be detected the following ways:

  1. by parsing SMBIOS type 0 vendor string. On coreboot enabled platforms it's always coreboot.
  2. by parsing ACPI tables. An ACPI device with the _HID BOOT0000 exists. (This HID has been reserved for coreboot enabled platforms)
  3. by parsing the devicetree. A node under firmware/coreboot with the compatible id coreboot exists.

coreboot version string

The coreboot version string always starts with CBET. After the prefix the version, major, minor string follows and finally the build string, containing the exact commit and repository state, follows.

For example:

CBET4000 4.10-989-gc8a4e4b9c5-dirty

GUID Generation

These device uses hardware ID values which are derived from SMBIOS. The following HWIDs are added on coreboot enabled platforms:

  • HardwareID-3
  • HardwareID-4
  • HardwareID-5
  • HardwareID-6
  • HardwareID-10

They do match the values provided by fwupdtool hwids or the ComputerHardwareIds.exe Windows utility.