[openib-general] [ANNOUNCE] tvflash: userspace-only Mellanox HCA flash tool

Tom Duffy tduffy at sun.com
Tue Sep 14 11:57:13 PDT 2004


On Fri, 2004-09-10 at 10:06 -0700, Roland Dreier wrote:
> I just checked in source for "tvflash," a tool for updating the
> firmware flash on Mellanox HCA's.  It is available from:
> 
>     https://openib.org/svn/gen2/branches/roland-merge/src/userspace/tvflash
> 
> This tool operates either by mmap()ing /dev/mem to get access to PCI
> memory, or (for systems such as IBM pSeries where this doesn't work)
> by peeking and poking at the PCI configuration header.
> 
> I have used it successfully on a variety of systems but you should be
> prepared for it to fail and corrupt the flash on your HCA.
> 
> Since it links with the GPLed pciutils library, tvflash is licensed
> under the GPL only.

I get this error trying to compile this on both x86_64 (64bit) and
sparc64 (32bit)

gcc -Wall -g -O2   -o tvflash  tvflash.o  -lpci
tvflash.o(.text+0x37f4): In function `main':
/build2/tduffy/tvflash/src/tvflash.c:2044: undefined reference to `__sizeof_vsd_data_doesnt_equal_sizeof_vsd_raw'

on both, I have vsd.data=232 and vsd.raw=224

-tduffy

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20040914/321330e1/attachment.sig>


More information about the general mailing list