Mellanox Firmware Tools User Manual

所需积分/C币:38 2017-08-14 11:18:34 3.51MB PDF
收藏 收藏
举报

Mellanox Firmware Tools
△小 Mellanox CHNOLOGIE Table of content Table of content,,。 List of tables 5 List of Figures∴ 6 Chapter 1 Introduction ,,..18 1.1 Supported Operating Systems............ 18 1.2 MET Access to hardware devices,..,19 Chapter 2 MFT Installation.....,...,,. 21 Chapter 3 Firmware Generation, Configuration, and Update Tools 23 3.1 Mellanox Software Tools(mst)Service 23 3.1.1 Linux,,,,,,,,,,,,, 23 3.1.2 Running mst in an environment without a kernel 26 3.1.3 Windows 3.1 4 FreebsD 29 3.1.5 VMware EsXi 30 3.2 mlxfwmanager-Firmware Update and Query tool......... 31 3.2. 1 mlxfwmanager Synopsis ,,,,,,31 3.2.2 Querying the device ,,,,,,,32 3.2.3 Updating the device .........,............ 34 3.2.4 Updating the device Online ·· 35 3.2.5 Update Package for mellanox Firmware 39 3.2.6 Update Package for Mellanox Firmware Generation Flow....... 40 3.2.7 Updating Firmware Using an UPMF 3.3 mlxconfig-Changing Device Configuration Tool 44 3.3.1 Tool Requirements 3.3.2 mlxconfig Synopsis ....44 3.3.3 Examples of mlxconfig Usage..................45 3.3. 4 Using mlxconifg with PCI Device in Bus Device Function(BDF) Format. 47 3.3.5 Using mlxconfig to Set VPI Parameters 48 3.3.6 Using mlxconfig to Set SR-IOV Parameters ·· ,,,48 3.3.7 Using mlxconfig to Set preboot Settings 49 3.3.8 mlxconfig Raw Configuration Files 50 3.3.9 mlxconfig Backup Command 3.3.10 Generating an XML Template for the Configurations. ...............52 3.3. 11 mlxconfig xmI2raw Command 53 3.3. 12 mlxconfig xml2bin Command ,,,,,,,,,,,,,,53 3.3. 13 mlxconfig create conf Command :::: 53 Rev 3.0 Mellanox Technologies △小 Mella CHNOLOGIE 3.3. 14 mlxconfig apply Command .54 3.3.15 Supported Configurations and their parameters ··· ···· 55 3.4 flint- Firmware Burning tool 71 3.4.1 flint Synopsis....... ,,,,,,,,71 3.4.2 Burning a firmware Image 3.4.3 Querying the firmware image 3. 4. 4 Verifying the firmware Image ,,,,78 3.4.5 Performing Checksum Calculation on Image/Device.........78 3.4.6 Managing an Expansion ROM Image. 78 3.4.7 Setting gUIDs and macs ,,,,,,,,,,,,,,,,,,,79 3.4.8 Setting the VSD 87 3.4.9 Disabling/Enabling access to the hardware 87 3.4.10 Reading a Word from Flash 88 3.4.11 Writing 88 3. 4.12 Writing a dword to Flash Without Sector Erase........... 89 3.4.13 Erasing a Sector 3. 4.14 Querying Flash Parameters ,,,,,,,,,,,,,89 3.4.15 Firmware Time-stamping for Multi-host Environment 89 3.4.16 Flint/mlxburn Limitations 91 3. 4.17 Secure host 3.4.18 Secure Firmware Update 94 3.5 mlxburn-Firmware Image generator and Burner.........95 3.5. 1 Generating and burning Firmware....,.. ,96 3.5.2 Customizing Firmware....... 96 3.5. 3 mlxburn Synopsis... ·:·:::···::···· 3.5.4 Examples of mlxburn Usage 翻·着 100 3.5.5 Exit return values 102 3.6 mlxfwreset-Loading Firmware on 5th Generation(Group Il)Devices Tool 102 3.6.1 Tool Requirements 102 3.6.2 mlxfwreset Synopsis 102 3.6.3 mlxfwreset limitations ...105 3.7 mlxphyburn Burning Tool for Externally managed PhY .105 3.7.1 Tool Requirements 105 3.7.2 mlxphyburn Synopsis 105 3.7.3 Examples of mlxphyburn Usage ,,,,,,,,,,,,,,,,,,,106 3.8 mlx fpga -Burning and debugging tool for Mellanox devices with FPGA 106 3.8.1 Tool Requirements.. ,,,,,,,,,,,.106 3.8.2 mIx fpga Synopsis ,,,,,,,,,,,,,,,,,,,,,,,,,,,,,107 3.8. 3 Examples of mlx fpga usage.................. 107 3.9 cpldupdate -Tool for Programming On-Board CPLDs on Mellanox Devices 109 3.9.1 Tool Requirements 110 3.9.2 cpldupdate Synopsis 110 2 Mellanox Technologies Rev.0 △小 CHNOLOGIE 3.9.3 Burn Example 110 Chapter 4 Debug Utilities 。。111 4. 1 fwtrace Utility 111 4. 1. 1 fwtrace Usage 111 4.2 itrace Utility 113 4.2. 1 itrace Usage........ 114 4.3 mstdump Utility 116 4.3. 1 mstdump Usage........ ,,,,,,116 4.4 mlxi2c Utility 116 4.4.1m×i2 c Usage 116 4.5 i2c Utility 117 4.5.1 i2c Usage(Advance Users 117 4.5.2 Exit return values..,,,,,,,,,,,,,,,,,,,,118 4.6 mget temp Utility 118 4.6. 1 mget temp Usage. 118 4.7 mlxtrace Utility 8 4.7.1 mlxtrace Usage..... 119 4.8 mlxdump Utility 20 4.8. 1 mlxdump Usage 120 4.9 mlxmcg Utility 121 4.9.1 mlxmcg Usage....... 121 4.10 pckt drop Utility 122 4.10.1 pckt drop Usage. 122 4.11 mlxuptime Utility 123 4.11.1 mlxuptime Usage ,123 4.12 wqdump Utility 123 4. 12.1 wqdump Usage 124 4.13 mlxmdio Utility 127 4.13.1 mlxmdio Usage 127 4.14 mlxreg Utility 128 4.14.1 mlxreg Usage 128 4. 15 mlxlink Utility ..131 4.15.1 mlxlink Usage .............131 4.15.2 Tool Usage with NIC vs Switch(-p Flag) 133 Chapter 5 Cables Utilities.......,...... 鲁鲁 。,,。134 5.1 Cables discover 134 5.1.1 How to discover the cables ,,,,,,,,,,,,,,,,,,134 5.1.2 Representing the Cables in mst Status ,,,,,,,,.,,,,,134 5.2 Working with Cables ,,,,,,,,,,,,,,,,,,,,,135 Rev 3.0 Mellanox Technologies △小 Mellanox CHNOLOGIE 5.3 mlxcables- Mellanox cables too 36 5.3. 1 mlxcables Synopsis ········ 136 5.3.2 MTUSB Cable board 142 5.3. 3 Cable Firmware Upgrade with In Service Firmware Update(isu).. 143 Chapter 6 Troubleshooting.... 146 6.1 General related issues 146 6.2 mlxconfig related Issues ,,,147 6.3 Installation related issues 147 6. 4 Firmware burning related issues 148 Appendix a Assigning PSID 151 A 1 PSID Field structure 151 A2 Assigning PSID and Integrat Flow 151 Appendix B Remote Access to Mellanox Devices 152 B.1 Burning a Switch In-band Device Using mlxburn 152 B 2 In-Band Access to multiple iB Subnets 153 B 3 MTUSB-1 USB to I2C Adapter 155 B 4 Remote Access to device by Sockets 157 B5 Accessing remote infini Band device by direct route Mads 159 Appendixc Booting HCA Device in Livefish Mode 161 C1 Booting Card in Livefish Mode 161 C2 booting Card in normal Mode 161 C 3 Common locations of flash present pins 161 Appendixd Burning a New Device 163 D 1 Connect-IB Adapter card 163 D2 ConnectX -4/ConnectX-5 Adapter Cards Family 165 D 3 Switch-lB M Switch System 166 D4 Spectrum or Switch -IB TM 2 Switch Systems 168 Mellanox Technologies Rev.0 △小 List of tables Table 1: Revision history Table 7 Table 2: Common Abbreviations and Acronyms .16 Table 3: Reference documents and downloads ,,,,,,,,,,,17 Table 4: Supported Mellanox devices 19 Table 5: met installati 21 Table 6: mst start Supported OPCODES 25 Table 7: Supported Configurations and their Parameters 55 Table 8: mlx fpga tool registers............ 109 Table 9: General related issues ,,,,,,,,146 Table 10: mlxconfig Related Issues ,,,,,,,,,,,,,,,,147 Table 11: Installation related issues ,,,147 Table 12: Firmware Burning related 48 Table 13 Psid format 151 Table 14: MTUSB-1 Package Contents ,,,,,,,,,,,,,,,,,,,,,,,,156 Rev 3.0 Mellanox Technologies 5 △小 Mellanox CHNOLOGIE List of Figures Figure 1: Mellanox Firmware Tools-A Scheme of Operation 18 Figure 2: UPMF Package Generation Flow Figure 3 FW Generation and burning ........96 Figure 4: MTUSB-l Device 155 6 Mellanox Technologies Rev.0 △小 Mellanox CHNOLOGIE Document Revision History Table 1-Revision History Table Sheet 1 of 9) Date Description 3.0 June29,2017 Added the following sections Section 3.3.10, "Generating an XML Template for the Configurations,, on page 52 Section 3.3. 11."mlxconfig xml2raw Command".on e53 Section 3.3. 12, "mlxconfig xml2bin Command",on page 53 Section 3.3. 13, "mlxconfig create conf Command",on page 53 Section 3.3. 14, "mlxconfig apply Command, on page 54 Section 3.4.18, "Secure Firmware Update, on page 94 Section 3. 4.18.1, "Signing Binary Image Files",on e94 Section 3. 4.18.2."Setting a" Public Kevs?" Section in a Binary lmage file,, on page 94 Section 3.4.18.3, "Secure Firmware Implications on Burning Tools?", on page 94 Section 3.6.2.2."'mlxfwreset for multi-Host?".on page 104 Section 5.3.2, "MTUSB Cable Board,, on page 142 on 5.3.3, "Cable Firmware Upgrade with In Ser- vice Firmware Update (ISFU)", on page 143 Section, " 5th Generation Devices Examples: ,on page 125: added CMAS examples Section 4. 15, "mlxlink Utility", on page 131 Updated the following sections Section 3. 2. 1, "mlxfwmanager Synopsis", on page 31 ection 3.3.2, "mlxconfig Synopsis", on page 44: added [-pl--private key],[-u--key uuid],, [xml2bin], [create conf] and lapply Scction 3.4.1.1, "Switches Options", on page 72: added [-no fw ctrl Section 3.2.4.1, Downloading Firmware Images and Firmware Update Packages", on page 37: updated the examples output Section 3.7. 2, "mlxphyburn Synopsis", on page 106 updated the synopsis format Section 3.8.2, "mlx fpga Synopsis", on page 107 Section 4.1.1,fwtrace Usage", on page lll: added the " n--snapshot"flag and added ConnectX-5 iRISC names Rev 3.0 Mellanox Technologies 7 △小 Mellanox CHNOLOGIE Table 1-Revision History Table Sheet 2 of 9) Revision Date Description 3.0 June29.2017 Section 4.12.1, wqdump Usage, on page 124: added ConnectX-5 sources to flag"--source ContextType Section 5.3."mlxcables- Mellanox cables tool".on page 136 Section 5.3.1, "mlxcables Synopsis", on page 136 updated the sy Itput Scction 6. 4, " Firmware Burning Rclated Issues",on page 148: added Secure Firm ware related issues Section 3.3. 15, "Supported Configurations and their Parameters, on page 55 Section 3.4.3, "Querying the Firmware Image,on page 77 Scction4.3,“ mstdump utility”, on page ll6 Section 4.11, mlxuptime Utility, on page 123 2.90 January 31, 2017 Added the following sections Section 3. 5.4.2, ConnectX-5R Examples" on page 100 Section, "5th Generation Devices Examples: ,on e125 Updated the following sections Section 12."mft access to hardware devices' on re 19: added ConnectX-5 Section 2,"MFT Installation,, on page 21: updated the MFT Installation table Section 3. 2, "mlxfwmanager- Firmware Update and Query Tool, on page 31: added a note related to "mlxfw- manager pci?"tool being de Section 3.3.2, "mlxconfig Synopsis,,, on page 44 replaced the“ show default” flag with“ enable verbosity”and updated the flags description Section 3.3. 15, Supported Configurations and their Parameters", on page 55: added new parameter NON PREFETCHABLE PF BAR Section 3.3.9, "mlxconfig Backup Command,on page 51: updated the commands output Section 3. 4.1.1,Switches Options, on page 72: added the"-use dev rom"parameter Section 3.8.2, "mlx fpga Synopsis", on page 107 updated the synopsis Section 3.8.3.3, " Loading the Tool", on page 108: added the“ user parameter 8 Mellanox Technologies Rev.0

...展开详情
试读 127P Mellanox Firmware Tools User Manual
立即下载 低至0.43元/次 身份认证VIP会员低至7折
    抢沙发
    一个资源只可评论一次,评论内容不能少于5个字
    • 脉脉勋章

      绑定脉脉第三方账户获得
    • 签到新秀

      累计签到获取,不积跬步,无以至千里,继续坚持!
    关注 私信 TA的资源
    上传资源赚积分,得勋章
    最新推荐
    Mellanox Firmware Tools User Manual 38积分/C币 立即下载
    1/127
    Mellanox Firmware Tools User Manual第1页
    Mellanox Firmware Tools User Manual第2页
    Mellanox Firmware Tools User Manual第3页
    Mellanox Firmware Tools User Manual第4页
    Mellanox Firmware Tools User Manual第5页
    Mellanox Firmware Tools User Manual第6页
    Mellanox Firmware Tools User Manual第7页
    Mellanox Firmware Tools User Manual第8页
    Mellanox Firmware Tools User Manual第9页
    Mellanox Firmware Tools User Manual第10页
    Mellanox Firmware Tools User Manual第11页
    Mellanox Firmware Tools User Manual第12页
    Mellanox Firmware Tools User Manual第13页
    Mellanox Firmware Tools User Manual第14页
    Mellanox Firmware Tools User Manual第15页
    Mellanox Firmware Tools User Manual第16页
    Mellanox Firmware Tools User Manual第17页
    Mellanox Firmware Tools User Manual第18页
    Mellanox Firmware Tools User Manual第19页
    Mellanox Firmware Tools User Manual第20页

    试读已结束,剩余107页未读...

    38积分/C币 立即下载 >