Mellanox / bfscripts

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

Update search method for platform type #228

Closed mahantesh-nvidia closed 4 months ago

mahantesh-nvidia commented 4 months ago

Platform type is found by parsing through SSDT tables for respective strings. Using hexdump utility is prone to be ineffective as SSDT tables are updated over time and the string is not placed on the same line for grep utility to succeed. For example, below is the output from hexdump and we can observe "MLNXBF33" string is spread over two lines and therefore grep will fail:

|.M.GPI1._HID.MLN| |XBF33.._UID.._CC|

RM #3951579