Raptor Computing Systems Community Forums (BETA)

Software => Firmware => Topic started by: FlyingBlackbird on February 11, 2020, 03:16:58 pm

Title: Validate installed firmware (eg. against officially signed firmware)
Post by: FlyingBlackbird on February 11, 2020, 03:16:58 pm
How could I check the integrity of the installed (flashed) firmware of a Blackbird (or Talos) eg. against the officially downloadable firmware files (which are cryptographically signed)?

https://wiki.raptorcs.com/wiki/Blackbird/Firmware

Title: Re: Validate installed firmware (eg. against officially signed firmware)
Post by: MPC7500 on February 12, 2020, 08:14:33 am
You can verify the firmware with Flashrom and a Bus Pirate. But there should be an easier solution. But sadly, that's all I can say.
Title: Re: Validate installed firmware (eg. against officially signed firmware)
Post by: FlyingBlackbird on February 12, 2020, 04:03:14 pm
You can verify the firmware with Flashrom and a Bus Pirate.

I have a CH341A device which is supported by the flashrom Linux program but I could not yet find instructions which parts of the memory are relevant for calculating the checksums and
also want to avoid removing the flash chips from the socket just to read them (perhaps this it not required since the flash update is possible from within OpenBMC but if OpenBMC is
compromised it could manipulate the reported checksum too).