Mellanox / bfscripts

Collection of scripts used for BlueField SoC system management.
BSD 2-Clause "Simplified" License
20 stars 27 forks source link

bfcfg: enhance 'cfg2bin' command and add 'bin2cfg' command #231

Closed kblaiech closed 3 months ago

kblaiech commented 4 months ago

This commit enhances the implementation of 'cfg2bin' command to support exhaustive set of platform firmware configuration parameters. It also adds a new function to handle 'bin2cfg' command which is intended to convert a configuration binary to configuration text. The function can take as input a basic configuration binary, an unsigned EFI capsule, or a BFB file. Note that once the configuration is converted to binary form, it can be used for EFI capsule generation. Capsules can be injected within a BFB file.

Besides, the Arm platform firmware parameters, both 'cfg2bin' and 'bin2cfg' can handle BMC configuration parameters.

RM #3974800 RM #3974802 RM #3974803 RM #3974804