Configuration and diagnostic tool for Mesa Electronics PCI(E)/ETH/EPP/USB/SPI boards
MesaFlash depends on a couple of packages to build, so install those first:
sudo apt install libpci-dev libmd-dev pkg-config build-essential git
Clone MesaFlash:
git clone https://github.com/LinuxCNC/mesaflash.git
From the top level directory, switch to the source directory:
cd mesaflash
In the source directory to build MesaFlash:
make
To get command line syntax from a local make:
./mesaflash --help
To build and install MesaFlash, bypassing the operating system packaging system:
sudo make install
To run an installed MesaFlash:
mesaflash --help
Depending on permissions and the types of devices you wish to access, you may need to run mesaflash as root, sudo ./mesaflash
or sudo mesaflash
.
mesaflash package is available on Fedora (version 31 or newer) and can be simply installed by using:
# dnf install mesaflash
Availability of mesaflash for other Linux distributions can be checked on release-monitoring project page.