fwupd/plugins/bcm57xx
Richard Hughes faa35e430b Show a warning if the device has no GType and the plugin has no default
This also renames a symbol to make it clear that you can call it more than once.

Fixes https://github.com/fwupd/fwupd/issues/3148
2021-04-15 16:52:56 +01:00
..
bcm57xx.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-bcm57xx-common.c trivial: Require <string.h> for strlen() and memcpy() 2020-12-14 16:49:03 +00:00
fu-bcm57xx-common.h bcm57xx: Fix reading vendor/device ids from firmware. 2020-11-06 08:27:06 +00:00
fu-bcm57xx-device.c Split out a shared system context 2021-04-01 21:11:29 +01:00
fu-bcm57xx-device.h bcm57xx: Add a plugin that can update the BCM5719 network adapter 2020-10-08 16:49:07 +01:00
fu-bcm57xx-dict-image.c trivial: Use fu_byte_array_append_bytes() in a few more places 2021-03-17 11:14:46 +00:00
fu-bcm57xx-dict-image.h Remove FuFirmwareImage and just use FuFirmware instead 2021-03-09 21:14:12 +00:00
fu-bcm57xx-firmware.c Allow objects to deserialize to XML 2021-03-15 12:07:30 +00:00
fu-bcm57xx-firmware.h bcm57xx: Add a plugin that can update the BCM5719 network adapter 2020-10-08 16:49:07 +01:00
fu-bcm57xx-recovery-device.c Support more than one protocol for a given device 2021-03-01 16:14:36 +00:00
fu-bcm57xx-recovery-device.h bcm57xx: Add a plugin that can update the BCM5719 network adapter 2020-10-08 16:49:07 +01:00
fu-bcm57xx-stage1-image.c trivial: Limit alignment to 2GB to fix a fuzzing crash 2021-03-17 11:14:46 +00:00
fu-bcm57xx-stage1-image.h Remove FuFirmwareImage and just use FuFirmware instead 2021-03-09 21:14:12 +00:00
fu-bcm57xx-stage2-image.c trivial: Use fu_byte_array_append_bytes() in a few more places 2021-03-17 11:14:46 +00:00
fu-bcm57xx-stage2-image.h Remove FuFirmwareImage and just use FuFirmware instead 2021-03-09 21:14:12 +00:00
fu-plugin-bcm57xx.c Show a warning if the device has no GType and the plugin has no default 2021-04-15 16:52:56 +01:00
fu-self-test.c Allow objects to deserialize to XML 2021-03-15 12:07:30 +00:00
meson.build trivial: Fix up the self test report for the bcm57xx binary 2021-03-13 16:16:27 +00:00
README.md Add a new internal flag to opt-in to GUID matching 2021-02-25 15:47:25 +00:00

BCM57xx Support

Introduction

This plugin updates BCM57xx wired network adaptors from Broadcom using a reverse-engineered flashing protocol. It is designed to be used with the clean-room reimplementation of the BCM5719 firmware found here: https://github.com/meklort/bcm5719-fw

Protocol

BCM57xx devices support a custom com.broadcom.bcm57xx protocol which is implemented as ioctls like ethtool does.

GUID Generation

These devices use the standard PCI instance IDs, for example:

  • PCI\VEN_14E4&DEV_1657
  • PCI\VEN_14E4&DEV_1657&SUBSYS_17AA222E

Update Behavior

The device usually presents in runtime mode, and the firmware is written to the device without disconnecting the working kernel driver. Once complete the APE is reset which may cause a brief link reconnection.

On flash failure the device is nonfunctional, but is recoverable using direct BAR writes, which is typically much slower than updating the device using the kernel driver and the ethtool API.

Vendor ID Security

The vendor ID is set from the PCI vendor, in this instance set to PCI:0x14E4

External interface access

This plugin requires the SIOCETHTOOL ioctl interface.