default: LD=$(CC)
static: CFLAGS+=-static
-mstflint: mstflint.o
- $(LD) ${LDFLAGS} ${CFLAGS} ${CXXFLAGS} mstflint.o -o mstflint ${LOADLIBES}
+mstflint: mstflint.o mflash.o
+ $(LD) ${LDFLAGS} ${CFLAGS} ${CXXFLAGS} mstflint.o mflash.o -o mstflint ${LOADLIBES}
-mstflint.o: flint.cpp mtcr.h
- $(CXX) ${CFLAGS} ${CXXFLAGS} -c flint.cpp -o mstflint.o
+mstflint.o: flint.cpp mflash.h
- $(CXX) ${CFLAGS} -c flint.cpp -o mstflint.o
++ $(CXX) ${CFLAGS} ${CXXFLAGS} -c flint.cpp -o mstflint.o
+
+mflash.o: mtcr.h mflash.c mflash.h
+ $(CC) ${CFLAGS} -c mflash.c -o mflash.o
mstmwrite: mwrite.c mtcr.h
$(CC) ${CFLAGS} mwrite.c -o mstmwrite
2) Package Contents
a) mstflint source code.
- b) mtcr linux utility.
- This utility enables the mstflint burning utility to access the HCA
+ b) mflash lib.
+ This lib provides flash access through Mellanox HCAs.
+ c) mtcr linux utility.
+ This utility enables the mflash lib to access the HCA
hardware registers.
-
+ c) mstregdump utility
+ This utility dumps hardware registers from Mellanox hardware,
+ for later analysis by Mellanox
+ d) mstvpd
+ This utility dumps on-card VPD
3) Installation
a) Build the the mstflint utility.