meklort / bcm5719-fw

BCM5719 firmware reimplementation
BSD 3-Clause "New" or "Revised" License
83 stars 10 forks source link

fwupd no longer resets the APE after fw update. APE resets may have failed in the past. #271

Open meklort opened 11 months ago

meklort commented 11 months ago

See https://github.com/fwupd/fwupd/issues/6243 and https://github.com/fwupd/fwupd/pull/6572

In some cases, updates from lvfs may not have taken immediately due to the APE not being reset, resulting in a power loss before the update completes.

The APE fw should be updated to detect fw changes (using the mutex for NVRAM, or possibly an interrupt if present) and verify the fw is valid, then reset the RX cpus, followed by itself to complete the update without a reboot.

The firmware metadata should be updated to report to the user that the system must be disconnected from power untill the fw handles this.

meklort commented 11 months ago

fwupd has been updated to notify the user to remove power for 30 seconds after an update. https://github.com/fwupd/fwupd/pull/6592