fwupd/plugins/bcm57xx
Richard Hughes 99df74f0c2 Add API to wait for a device
This allows us to ignore all the delays when the device is emulated, with the
idea being to do dozens of device emulations in the CI tests.

Also, do not call fu_progress_sleep() when the device is emulated.
2023-02-01 09:42:08 +00:00
..
tests Move the fuzzing files into the plugin directories 2021-10-22 15:24:05 +01:00
bcm57xx.quirk Simplify the quirk file format 2021-03-03 08:30:34 +00:00
fu-bcm57xx-common.c Split out the memory helpers to a new source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-common.h Be smarter and include less header files per source file 2022-06-14 14:36:52 -05:00
fu-bcm57xx-device.c Add API to wait for a device 2023-02-01 09:42:08 +00:00
fu-bcm57xx-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-dict-image.c trivial: Make fuzzing less verbose 2022-07-25 17:07:33 +01:00
fu-bcm57xx-dict-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-firmware.c Set the firmware contents even when subclassing ->parse() 2022-09-10 09:16:05 +01:00
fu-bcm57xx-firmware.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-plugin.c trivial: Fix a few more plugin names 2022-09-30 12:28:20 +01:00
fu-bcm57xx-plugin.h Build many more plugins as builtin 2022-09-28 17:01:23 +01:00
fu-bcm57xx-recovery-device.c trivial: Add new convenience API to make plugins simpler 2022-12-20 20:54:12 +00:00
fu-bcm57xx-recovery-device.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-stage1-image.c Make the FuFirmware->parse() vfunc more helpful 2022-06-27 15:40:11 -05:00
fu-bcm57xx-stage1-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-bcm57xx-stage2-image.c Make the FuFirmware->parse() vfunc more helpful 2022-06-27 15:40:11 -05:00
fu-bcm57xx-stage2-image.h trivial: reformat the whole tree to match new format 2021-08-24 11:18:40 -05:00
fu-self-test.c Check firmware magic in a more standard way 2022-07-14 14:48:15 +01:00
meson.build trivial: don't refer to plugindir in the build system anymore 2022-09-28 15:12:10 -05:00
README.md Include the plugin README text in the generated docs 2023-01-10 14:58:30 +00:00

title: Plugin: BCM57xx

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.