Flashing Guide for MMC in COM-HPC Ampere Altra Dev Kit

There are 2 ways that you can follow to flash the MMC firmware. You can choose either one based on your convenience.

Prerequisites

  • Ampere Altra Development Board
  • Windows/Linux PC with an Ethernet port
  • Ethernet Cable

Download Firmware for COM-HPC Ampere Altra Dev Kit

  • Download the firmware ZIP file for the COM-HPC Ampere Altra Dev Kit on the host PC click here.
  • Extract the contents of the downloaded “adlink-aadp-mmcA2_.zip“ file into your preferred directory. This package contains pre-built binaries and image files.

Flashing the MMC Firmware using IPMI Tool

Preparations

  • Turn on your Ampere Altra Development Platform, and connect your host machine to the IPMI_LAN port of the development platform using an Ethernet cable, following the illustration provided below.

  • To establish a connection between Ampere Altra Development Board and the host PC follow the below steps

    Windows Host

    • Go to the Control panel and change the Ethernet Adapter settings as shown below





Modify the values as shown below

- IP address : 192.168.0.XX

- Subnet mask : 255.255.255.0

- Default gateway : 192.168.0.1

<img src="Flashing_MMC.assets/BMC_Win_Config_6.png"/>

Linux Host

  • Go to the settings and and change the Ethernet Adapter settings as shown below


  • Modify the values as shown below

    • IP address : 192.168.0.XX
    • Subnet mask : 255.255.255.0
    • Default gateway : 192.168.0.1

Flashing Process

Windows Host

  • Download and extract the source files of the IMPI Tool for Windows from https://www.dannynieuwenhuis.nl/downloads/ipmitool.zip.
  • Change to the directory where the downloaded tool sources are located and check the Management Controller (MC) Info, including the current MMC version, using the following command:

    ipmitool.exe -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 mc info

  • Initiate the MMC flashing process with the following command:

    ipmitool.exe -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 hpm upgrade <path of IPMC_HPM_COM-HPC-ALT_<ver>.img> activate force

    Replace <path of IPMC_HPM_COM-HPC-ALT_<ver>.img> with the actual path, which can be found in the adlink-aadp-mmcA2_.zip directory of the downloaded firmware files.

  • Once the MMC is successfully flashed, verify the updated MMC version using the following command:

    ipmitool.exe -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 mc info

Note : In the rare event of the MMC firmware update failing, restart your Ampere Altra Dev Kit and attempt the process again.

Linux Host

  • Install the IPMI tool for Linux with the following command:

    sudo apt-get install ipmitool

  • Check the Management Controller (MC) Info, including the current MMC version, using the following command:

    sudo ipmitool -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 mc info

  • Initiate the MMC flashing process with the following command:

    sudo ipmitool -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 hpm upgrade <path of IPMC_HPM_COM-HPC-ALT_<ver>.img> activate force

    Replace <path of IPMC_HPM_COM-HPC-ALT_<ver>.img> with the actual path, which can be found in the adlink-aadp-mmcA2_.zip directory of the downloaded firmware files.

  • Once the MMC is successfully flashed, verify the updated MMC version using the following command:

    sudo ipmitool -I lan -H 192.168.0.100 -U admin -P admin -b 0 -t 0x82 mc info

    Note : In the rare event of the MMC firmware update failing, restart your Ampere Altra Dev Kit and attempt the process again.