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

Lei YU mine260309 at gmail.com
Wed May 8 18:56:53 AEST 2019


On Wed, May 8, 2019 at 4:37 PM Troy Lee <leetroy at gmail.com> wrote:
>
> 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.

What is the expected behavior if the image is incorrect?

> Or if the image has the same version id with currently running image,
> the behavior will become unexpected.

I met this problem before, and I think we may discuss the expected behavior,
and fix this case.

>
> 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