How to deal with incorrect firmware image in phosphor-bmc-code-mgmt?

Troy Lee leetroy at gmail.com
Wed May 8 18:35:50 AEST 2019


Greeting,

With the method xyz.openbmc_project.Common.TFTP.DownloadViaTFTP,
does OpenBMC have a way to know that TFTP download status(completed)
and the downloaded image is incorrect?

It would not be a problem if the image is correct, since we'll have an
InterfacesAdded signal.
But if the image is incorrect (untar failure/signature mismatch),
we'll only have an error log entry generated.
Or if the image has the same version id with currently running image,
the behavior will become unexpected.

Because we have another service wants to integrate with firmware
update service, having a way to confirm the image file is nice to
have.

Thanks,
Troy Lee
--
Yu-Ting Lee (Troy Lee) <LeeTroy at gmail.com>


More information about the openbmc mailing list