[openib-general] FW upgrade for TopSpin cards

Kanevsky, Arkady Arkady.Kanevsky at netapp.com
Thu Oct 20 09:41:51 PDT 2005


I want to upgrade FW on several TopSpin cards I have.

There is tvflash utility in gen2/trunk/src/userspace/tvflash

I tried to build tvflash on 2.6.13.3 system I have.

I get a bunch of warnings (see below).

gcc version is 

gcc version 4.0.0 20050519 (Red Hat 4.0.0-8).

What's the story?

Can I use OpenIB tvflash to upgrade FW on a TopSpin card?

Can I use OpenIB mstflint for it?

Which version of the utilities should I use?

Why warning when I build it?

Arkady

******************************************

# make

make: Warning: File `.deps/src_tvflash-tvflash.Po' has modification time


1.8e+04 s in the future

make all-am

make[1]: Entering directory 

`/u/arkady/openib/gen2/trunk/src/userspace/tvflash'

make[1]: Warning: File `.deps/src_tvflash-tvflash.Po' has modification
time 

1.8e+04 s in the future

if gcc -DHAVE_CONFIG_H -I. -I. -I. -Wall -g -O2 -MT
src_tvflash-tvflash.o 

-MD -MP -MF ".deps/src_tvflash-tvflash.Tpo" -c -o src_tvflash-tvflash.o
`test 

-f 'src/tvflash.c' || echo './'`src/tvflash.c; \

then mv -f ".deps/src_tvflash-tvflash.Tpo"
".deps/src_tvflash-tvflash.Po"; 

else rm -f ".deps/src_tvflash-tvflash.Tpo"; exit 1; fi

src/tvflash.c: In function 'parse_guid':

src/tvflash.c:112: warning: pointer targets in passing argument 1 of 

'__builtin_strchr' differ in signedness

src/tvflash.c:117: warning: pointer targets in passing argument 1 of
'strrchr' 

differ in signedness

src/tvflash.c:117: warning: pointer targets in assignment differ in
signedness

src/tvflash.c:135: warning: pointer targets in passing argument 1 of
'strrchr' 

differ in signedness

src/tvflash.c:135: warning: pointer targets in assignment differ in
signedness

src/tvflash.c:205: warning: pointer targets in passing argument 1 of
'strtol' 

differ in signedness

src/tvflash.c: In function 'identify_board':

src/tvflash.c:702: warning: pointer targets in passing argument 1 of 

'strncasecmp' differ in signedness

src/tvflash.c: In function 'flash_image_read_from_file':

src/tvflash.c:828: warning: pointer targets in assignment differ in
signedness

src/tvflash.c:830: warning: pointer targets in assignment differ in
signedness

src/tvflash.c:832: warning: pointer targets in assignment differ in
signedness

src/tvflash.c:844: warning: pointer targets in assignment differ in
signedness

src/tvflash.c: In function 'flash_check_failsafe':

src/tvflash.c:905: warning: pointer targets in passing argument 2 of 

'validate_image' differ in signedness

src/tvflash.c:911: warning: pointer targets in passing argument 2 of 

'validate_image' differ in signedness

src/tvflash.c: In function 'create_ver_str':

src/tvflash.c:1033: warning: pointer targets in passing argument 1 of 

'snprintf' differ in signedness

src/tvflash.c:1039: warning: pointer targets in passing argument 1 of 

'snprintf' differ in signedness

src/tvflash.c:1044: warning: pointer targets in passing argument 1 of 

'snprintf' differ in signedness

src/tvflash.c:1046: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c: In function 'identify_hca':

src/tvflash.c:1278: warning: pointer targets in passing argument 1 of
'sscanf' 

differ in signedness

src/tvflash.c: In function 'identify_firmware':

src/tvflash.c:1399: warning: pointer targets in passing argument 1 of
'sscanf' 

differ in signedness

src/tvflash.c: In function 'upload_firmware':

src/tvflash.c:1813: warning: pointer targets in passing argument 1 of 

'parse_guid' differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1932: warning: pointer targets in passing argument 1 of 

'strncmp' differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1936: warning: pointer targets in passing argument 1 of 

'strncmp' differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1940: warning: pointer targets in passing argument 1 of 

'strncmp' differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1944: warning: pointer targets in passing argument 1 of 

'strncmp' differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of
'strlen' 

differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of 

'__builtin_strcmp' differ in signedness

src/tvflash.c:1948: warning: pointer targets in passing argument 1 of 

'strncmp' differ in signedness

gcc -g -O2 -o src/tvflash src_tvflash-tvflash.o -lpci

make[1]: warning: Clock skew detected. Your build may be incomplete.

make[1]: Leaving directory
`/u/arkady/openib/gen2/trunk/src/userspace/tvflash'

make: warning: Clock skew detected. Your build may be incomplete.

 

 

 

 
 

Arkady Kanevsky                       email: arkady at netapp.com

Network Appliance                     phone: 781-768-5395

375 Totten Pond Rd.                  Fax: 781-895-1195

Waltham, MA 02451-2010          central phone: 781-768-5300

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20051020/f43d6a4e/attachment.html>


More information about the general mailing list