<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=468341214-19122007><FONT face=Arial color=#0000ff size=2>Can
you please check if it is working on ppc64 systems before adding it
to the OFED product ?</FONT></SPAN></DIV>
<DIV><SPAN class=468341214-19122007><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=468341214-19122007><FONT face=Arial color=#0000ff
size=2>Moshe</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV class=Section1>
<P class=MsoNormal dir=ltr align=left><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'">____________________________________________________________</SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'">Moshe
Katzir<SPAN style="mso-spacerun: yes"> </SPAN><SPAN
class=GramE>|<SPAN style="mso-spacerun: yes"> </SPAN>+972-9971-8639
</SPAN>(o)<SPAN style="mso-spacerun: yes"> </SPAN>|<SPAN
style="mso-spacerun: yes"> </SPAN>+972-52-860-6042
(m)<?xml:namespace prefix = o ns =
"urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: blue; FONT-FAMILY: 'Copperplate Gothic Light'"></SPAN> </P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'">Voltaire
– <U>The Grid Backbone<o:p></o:p></U></SPAN></P>
<P class=MsoNormal><U><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><o:p><SPAN
style="TEXT-DECORATION: none"> </SPAN></o:p></SPAN></U></P>
<P class=MsoNormal> <SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><A
href="http://www.voltaire.com/">www.voltaire.com</A><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><A
href="mailto:g@voltaire.com"></A><o:p></o:p></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-SIZE: 10pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><SPAN
style="mso-spacerun: yes"> </SPAN></SPAN><SPAN
style="COLOR: blue"> </SPAN><SPAN
style="FONT-SIZE: 9pt; COLOR: gray; FONT-FAMILY: 'Copperplate Gothic Light'"><o:p></o:p></SPAN></P></DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
general-bounces@lists.openfabrics.org
[mailto:general-bounces@lists.openfabrics.org] <B>On Behalf Of </B>Oren
Kladnitsky<BR><B>Sent:</B> Tuesday, December 18, 2007 6:14 PM<BR><B>To:</B>
vlad@dev.mellanox.co.il; weiny2@llnl.gov<BR><B>Cc:</B>
general@lists.openfabrics.org<BR><B>Subject:</B> Re: FW: [Fwd: [ofa-general]
[PATCH] mstflint: Convert project toautoconf tools.]<BR><BR></FONT></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT size=2>
<P> I applied this patch + added mstmcra tool (will replace mread and
mwrite).</P>
<P>Vlad - Please change installer to use autoconf method and take spec from
this dir.</P>
<P>Thanks,<BR>ORen</P>
<P> </P></FONT></DIV>
<DIV><BR> </DIV>
<DIV>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"><BR>----------
Forwarded message ----------<BR>From: "Ira Weiny" <<A
href="mailto:weiny2@llnl.gov"> weiny2@llnl.gov</A>><BR>To: "openfabrics"
<<A
href="mailto:general@lists.openfabrics.org">general@lists.openfabrics.org</A>><BR>Date:
Mon, 10 Dec 2007 23:35:54 +0200<BR>Subject: [ofa-general] [PATCH] mstflint:
Convert project to autoconf tools. <BR>This patch removes the makefile and
converts the mstflint git tree over to<BR>autoconf tools. This
works great on x86_64 but has not been tested on
other<BR>arch's. (Although it is simple enough I don't see how
would not work.) <BR><BR>Thanks,<BR>Ira<BR><BR><BR>>From
efb3a07a1f333ea95204d2a2e9462e285e29a65f Mon Sep 17 00:00:00 2001<BR>From:
Ira K. Weiny <<A
href="mailto:weiny2@llnl.gov">weiny2@llnl.gov</A>><BR>Date: Mon, 10 Dec
2007 13:30:22 -0800 <BR>Subject: [PATCH] Convert project to autoconf
tools.<BR><BR><BR>Signed-off-by: Ira K. Weiny <<A
href="mailto:weiny2@llnl.gov">weiny2@llnl.gov</A>><BR>---<BR>Makefile
| 47 ----------------------------------------------- <BR><A
href="http://Makefile.am">Makefile.am</A> |
21 +++++++++++++++++++++<BR>autogen.sh
| 11 +++++++++++<BR><A
href="http://configure.in">configure.in</A>
| 22 ++++++++++++++++++++++<BR><A
href="http://mstflint.spec.in">mstflint.spec.in</A> | 45
+++++++++++++++++++++++++++++++++++++++++++++<BR>5 files changed, 99
insertions(+), 47 deletions(-)<BR>delete mode 100644 Makefile<BR>create mode
100644 <A href="http://Makefile.am">Makefile.am </A><BR>create mode 100755
autogen.sh<BR>create mode 100644 <A
href="http://configure.in">configure.in</A><BR>create mode 100644 <A
href="http://mstflint.spec.in">mstflint.spec.in</A><BR><BR>diff --git
a/Makefile b/Makefile <BR>deleted file mode 100644<BR>index
889c97a..0000000<BR>--- a/Makefile<BR>+++ /dev/null<BR>@@ -1,47 +0,0
@@<BR>-#default options<BR>-CFLAGS += -O2<BR>-CFLAGS += -g<BR>-CFLAGS +=
-Wall<BR>-CXXFLAGS += -fno-exceptions<BR>-CFLAGS +=
-I.<BR>-LD=$(CXX)<BR>-EXTRA_LOADLIBES=-lz<BR>-LOADLIBES+=${EXTRA_LOADLIBES}<BR>-<BR>-all:
default<BR>-bin: mstflint mstmread mstmwrite mstregdump
mstvpd<BR>-<BR>-default: bin<BR>-static: bin<BR>-shared:
bin<BR>-<BR>-.PHONY: all bin clean static shared
default<BR>-.DELETE_ON_ERROR:<BR>-<BR>-default: EXTRA_LOADLIBES="$(shell
$(CXX) ${LDFLAGS} ${CFLAGS} ${CXXFLAGS} -print-file-name=libz.a)" "$(shell
$(CXX) ${LDFLAGS} ${CFLAGS} ${CXXFLAGS}
-print-file-name=libstdc++.a)" <BR>-default: LD=$(CC)<BR>-static:
CFLAGS+=-static<BR>-<BR>-mstflint: mstflint.o
mflash.o<BR>- $(LD) ${LDFLAGS} ${CFLAGS}
${CXXFLAGS} mstflint.o mflash.o -o mstflint
${LOADLIBES}<BR>-<BR>-mstflint.o: flint.cpp mflash.h
<BR>- $(CXX) ${CFLAGS} ${CXXFLAGS} -c
flint.cpp -o mstflint.o<BR>-<BR>-mflash.o: mtcr.h mflash.c
mflash.h<BR>- $(CC) ${CFLAGS} -c
mflash.c -o mflash.o<BR>-<BR>-mstmwrite: mwrite.c
mtcr.h<BR>- $(CC) ${CFLAGS} mwrite.c -o
mstmwrite<BR>-<BR>-mstmread: mread.c
mtcr.h<BR>- $(CC) ${CFLAGS} mread.c -o
mstmread<BR>-<BR>-mstregdump: mstdump.c
mtcr.h<BR>- $(CC) ${CFLAGS} mstdump.c -o
mstregdump<BR>-<BR>-mstvpd: vpd.c<BR>-
$(CC) ${CFLAGS} vpd.c -o
mstvpd<BR>-<BR>-clean:<BR>- rm -f mstvpd
mstregdump mstflint mstmread mstmwrite mstflint.o mflash.o<BR>diff --git
a/Makefile.am b/Makefile.am<BR>new file mode 100644<BR>index
0000000..f642d9d<BR>--- /dev/null <BR>+++ b/Makefile.am<BR>@@ -0,0 +1,21
@@<BR>+bin_PROGRAMS = mstmread
\<BR>+
mstmwrite
\<BR>+
mstflint
\<BR>+
mstregdump \
<BR>+
mstvpd<BR>+<BR>+mstmread_SOURCES = mread.c mtcr.h<BR>+<BR>+mstmwrite_SOURCES
= mwrite.c mtcr.h<BR>+<BR>+mstflint_SOURCES = flint.cpp mtcr.h mflash.h
mflash.c<BR>+mstflint_LDFLAGS = -lz <BR>+<BR>+mstregdump_SOURCES = mread.c
mtcr.h<BR>+<BR>+mstvpd_SOURCES = vpd.c<BR>+<BR>+<BR>+EXTRA_DIST =
\<BR>+ mstflint.spec<BR>+<BR>diff --git
a/autogen.sh b/autogen.sh<BR>new file mode 100755<BR>index 0000000..4827884
<BR>--- /dev/null<BR>+++ b/autogen.sh<BR>@@ -0,0 +1,11 @@<BR>+#!
/bin/sh<BR>+<BR>+# create config dir if not exist<BR>+test -d config ||
mkdir config<BR>+<BR>+set -x<BR>+aclocal -I config<BR>+libtoolize --force
--copy<BR>+autoheader<BR>+automake --foreign --add-missing
--copy<BR>+autoconf<BR>diff --git a/configure.in b/configure.in<BR>new file
mode 100644<BR>index 0000000..0924d65<BR>--- /dev/null<BR>+++
b/configure.in<BR>@@ -0,0 +1,22 @@ <BR>+dnl Process this file with autoconf
to produce a configure
script.<BR>+<BR>+AC_INIT(mstflint)<BR>+<BR>+AC_DEFINE_UNQUOTED([PROJECT],
["mstflint"], [Define the project
name.])<BR>+AC_SUBST([PROJECT])<BR>+<BR>+AC_DEFINE_UNQUOTED([VERSION],
["1.3"], [Define the project
version.])<BR>+AC_SUBST([VERSION])<BR>+<BR>+AC_CONFIG_AUX_DIR(config)<BR>+AC_CONFIG_SRCDIR([README])<BR>+AM_INIT_AUTOMAKE(mstflint,
1.3)<BR>+<BR>+dnl Checks for programs
<BR>+AC_PROG_CC<BR>+AC_PROG_CXX<BR>+AC_PROG_LIBTOOL<BR>+AC_CONFIG_HEADERS<BR>+<BR>+AC_CONFIG_FILES([Makefile
mstflint.spec])<BR>+AC_OUTPUT<BR>diff --git a/mstflint.spec.in
b/mstflint.spec.in<BR>new file mode 100644<BR>index 0000000..b5937be <BR>---
/dev/null<BR>+++ b/mstflint.spec.in<BR>@@ -0,0 +1,45 @@<BR>+Summary:
Mellanox firmware burning application<BR>+Name: mstflint<BR>+Version:
@VERSION@<BR>+Release: 1<BR>+License: GPL/BSD<BR>+Url: <A
href="http://openib.org/">http://openib.org/</A><BR>+Group: System
Environment/Base<BR>+BuildRoot:
%{_tmppath}/%{name}-%{version}-%{release}<BR>+Source:
mstflint-@VERSION@.tar.gz<BR>+ExclusiveArch: i386 x86_64 ia64 ppc
ppc64<BR>+BuildRequires: zlib-devel <BR>+Requires(post):
chkconfig<BR>+<BR>+%description<BR>+This package contains a tool for burning
updated firmware on to<BR>+Mellanox manufactured InfiniBand
adapters.<BR>+<BR>+%prep<BR>+%setup -q<BR>+<BR>+%build<BR>+%configure
<BR>+make<BR>+<BR>+%install<BR>+rm -rf $RPM_BUILD_ROOT<BR>+make
DESTDIR=${RPM_BUILD_ROOT} install<BR>+# remove unpackaged files from the
buildroot<BR>+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la<BR>+<BR>+%clean<BR>+rm
-rf $RPM_BUILD_ROOT
<BR>+<BR>+%files<BR>+%defattr(-,root,root)<BR>+%{_bindir}/mstmread<BR>+%{_bindir}/mstmwrite<BR>+%{_bindir}/mstflint<BR>+%{_bindir}/mstregdump<BR>+%{_bindir}/mstvpd<BR>+<BR>+%changelog<BR>+*
Fri Dec 07 2007 Ira Weiny <<A href="mailto:weiny2@llnl.gov">
weiny2@llnl.gov</A>> 1.0.0<BR>+ initial
creation<BR>+<BR>--<BR>1.5.1<BR><BR><BR><BR></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>