Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
toh:mellanox:spectrum [2024/10/30 13:35] – Add SN3700 tk154toh:mellanox:spectrum [2024/10/30 14:37] (current) – Adjust installation steps tk154
Line 155: Line 155:
 <code>opkg update</code> <code>opkg update</code>
 \\ \\
-After that, you can install the packages required for the QSFP ports, LEDs, and hardware watchdog to work: +After that, you can install the packages required for the QSFP ports, LEDs, and hardware watchdog to work.\\ 
-<code>opkg install mlxsw_spectrum-firmware kmod-mlxfw kmod-mlxsw-core kmod-mlxsw-i2c kmod-mlxsw-minimal kmod-mlxsw-pci kmod-mlxsw-spectrum kmod-mlx_wdt kmod-leds-mlxcpld</code>+Depending on the Switch's Spectrum Series, you need the following firmware package
 +  * Spectrum   (SN2000) Series: ''mlxsw_spectrum-firmware'' 
 +  * Spectrum-2 (SN3000) Series: ''mlxsw_spectrum2-firmware'' 
 +  * Spectrum-3 (SN4000) Series: ''mlxsw_spectrum3-firmware'' 
 +  * Spectrum-4 (SN5000) Series: ''mlxsw_spectrum4-firmware'' 
 + 
 +So for a Mellanox Spectrum SN2100, you would install its firmware package via the following command: 
 +<code>opkg install mlxsw_spectrum-firmware</code> 
 +\\ 
 +Then you can install the drivers: 
 +<code>opkg install kmod-mlxsw-spectrum kmod-mlx_wdt kmod-leds-mlxcpld</code>
 \\ \\
 If you also want to monitor the temperature of the CPU, RAM, and SSD drive, install the following additional packages: If you also want to monitor the temperature of the CPU, RAM, and SSD drive, install the following additional packages:
Line 183: Line 193:
 \\ \\
 For the QSFP ports, LEDs, and hardware watchdog to work, you have to select the following packages: For the QSFP ports, LEDs, and hardware watchdog to work, you have to select the following packages:
-  * **Firmware**: ''mlxsw_spectrum-firmware'' +  * **Firmware**: 
-  **Kernel modules -> Network Devices**: ''kmod-mlxfw''''kmod-mlxsw-core'', ''kmod-mlxsw-i2c'', ''kmod-mlxsw-minimal'', ''kmod-mlxsw-pci'', ''kmod-mlxsw-spectrum''+    * ''mlxsw_spectrum-firmware'' for a Spectrum (SN2000 Series) Switch 
 +    * ''mlxsw_spectrum2-firmware'' for a Spectrum-2 (SN3000 Series) Switch 
 +    * ''mlxsw_spectrum3-firmware'' for a Spectrum-3 (SN4000 Series) Switch 
 +    * ''mlxsw_spectrum4-firmware'' for a Spectrum-4 (SN5000 Series) Switch 
 + 
 +  * **Kernel modules -> Network Devices**: ''kmod-mlxsw-spectrum''
   * **Kernel modules -> LED modules**: ''kmod-leds-mlxcpld''   * **Kernel modules -> LED modules**: ''kmod-leds-mlxcpld''
   * **Kernel modules -> Other modules**: ''kmod-mlx_wdt''   * **Kernel modules -> Other modules**: ''kmod-mlx_wdt''
Line 196: Line 211:
   * **Kernel modules -> Other modules**: ''kmod-mlxreg-sn2201'' (SN2201), ''kmod-mlxreg-lc'' (SN4800)   * **Kernel modules -> Other modules**: ''kmod-mlxreg-sn2201'' (SN2201), ''kmod-mlxreg-lc'' (SN4800)
 \\ \\
-It isn't mandatory, but you should also unselect ''Use Console Terminal (in addition to Serial)'' under the **Target Images** section to avoid possible problems while using the serial console.\\+It isn't mandatory, but you should also unselect ''Use Console Terminal (in addition to Serial)'' under the **Target Images** section to avoid possible problems while using the serial console. 
 +\\
 You can also append the following configuration symbols to the **''.config''** file after you have selected the generic ''x86_64'' target inside make **''make menuconfig''**: You can also append the following configuration symbols to the **''.config''** file after you have selected the generic ''x86_64'' target inside make **''make menuconfig''**:
 <code> <code>
 +# Spectrum (SN2000) Series Firmware
 CONFIG_PACKAGE_mlxsw_spectrum-firmware=y CONFIG_PACKAGE_mlxsw_spectrum-firmware=y
  
-CONFIG_PACKAGE_kmod-mlxfw=y +# Spectrum-2 (SN3000) Series Firmware 
-CONFIG_PACKAGE_kmod-mlxsw-core=y +CONFIG_PACKAGE_mlxsw_spectrum2-firmware=y
-CONFIG_PACKAGE_kmod-mlxsw-i2c=y +
-CONFIG_PACKAGE_kmod-mlxsw-minimal=y +
-CONFIG_PACKAGE_kmod-mlxsw-pci=y +
-CONFIG_PACKAGE_kmod-mlxsw-spectrum=y+
  
 +# Spectrum-3 (SN4000) Series Firmware
 +CONFIG_PACKAGE_mlxsw_spectrum3-firmware=y
 +
 +# Spectrum-4 (SN5000) Series Firmware
 +CONFIG_PACKAGE_mlxsw_spectrum4-firmware=y
 +
 +# Drivers
 +CONFIG_PACKAGE_kmod-mlxsw-spectrum=y
 CONFIG_PACKAGE_kmod-leds-mlxcpld=y CONFIG_PACKAGE_kmod-leds-mlxcpld=y
 CONFIG_PACKAGE_kmod-mlx_wdt=y CONFIG_PACKAGE_kmod-mlx_wdt=y
Line 218: Line 239:
 CONFIG_PACKAGE_kmod-mlxreg=y CONFIG_PACKAGE_kmod-mlxreg=y
  
-# For SN2201+# For SN2201 Hardware Monitoring
 CONFIG_PACKAGE_kmod-mlxreg-sn2201=y CONFIG_PACKAGE_kmod-mlxreg-sn2201=y
  
-# For SN4800+# For SN4800 Hardware Monitoring
 CONFIG_PACKAGE_kmod-mlxreg-lc=y CONFIG_PACKAGE_kmod-mlxreg-lc=y
  
Line 323: Line 344:
  
 ==== Buttons ==== ==== Buttons ====
-The Mellanox Spectrum SN2000 Series has the following buttons:+The Mellanox Spectrum Switches have the following buttons:
  
 ^ BUTTON ^ Event ^ ^ BUTTON ^ Event ^
Line 386: Line 407:
 **Insert photo of PCB with markings for serial port** **Insert photo of PCB with markings for serial port**
  
-Serial connection parameters for Mellanox Spectrum SN2000 Series:+Serial connection parameters for Mellanox Spectrum Switches:
  
 ^ Parameter    ^ Setting ^ ^ Parameter    ^ Setting ^
  • Last modified: 2024/10/30 13:35
  • by tk154