Mellanox / mstflint

Mstflint - an open source version of MFT (Mellanox Firmware Tools)
Other
176 stars 93 forks source link

support Zombiefish mode for ConnectX8 and Quantum3. #988

Closed shellysela219 closed 2 months ago

shellysela219 commented 2 months ago

Description: a device in Zombiefish mode is a device that failed authentication after CRS release. The device exposes a functional device ID, and the recovery indication is exposed in VSC recovery space. recovery is different from Livefish recovery flow, as we no longer hace acccess to VSC CR space due to security reasons.

to determine whether device is in Zombiefish mode: read the first dword from VSC recovery space, and check if both init_done and in_recovery bits are set. to recover a device in Zombiefish mode: recovery is done through VSC recovery space only. if flash_control_vld bit is set, can atempt to recover the device as follows: base address of flash GW is 0x10 in VSC recovery space, so when reading/writing: address should be base_flash_gw +

HLD: https://confluence.nvidia.com/pages/viewpage.action?pageId=2855575683

Tested OS: linux Tested devices: Sunbird emulation Tested flows: for device in Zombiefish mode:

Known gaps (with RM ticket): n/a

issue: 3847249