opencomputeproject / Time-Appliance-Project

Develop an end-to-end hypothetical reference model, network architectures, precision time tools, performance objectives and the methods to distribute, operate, monitor time synchronization within data center and much more...
MIT License
1.33k stars 101 forks source link

ptp: ocp: Add firmware header checks #56

Closed vvfedorenko closed 2 years ago

vvfedorenko commented 2 years ago

Right now it's possible to flash any kind of binary via devlink and break card easily. This diff is to add header checker with option of fallback to to current implementation.

Signed-off-by: Vadim Fedorenko vadfed@fb.com