IPERF is a good network bandwith measure tool, the cross compile step:
HOST:RED HAT 9 /ARM-LINUX- TOOL X86
DEVICE:LINUX-2.22.14 S3C2440
HOW TO GET CODE:
you can get iperf code from ()
HOW TO BUILD:
in host :
#tar -zxvf iperf-2.0.5.tar.gz
#cd iperf-2.0.5
#./configure --host=arm-linux
#vim config.h
(
#define HAVE_MALLOC 0 to #define HAVE_MALLOC 1
/* #undef HAVE_QUAD_SUPPORT */ to #define HAVE_QUAD_SUPPORT 1
#define malloc rpl_malloc to /* #define malloc rpl_malloc */
)
#make -j4
the iperf ro s3c2440 will build in src/ folder
HOW TO TEST:
in host:
iperf -s
in device:
iperf -c 192.168.1.3 -t 120
阅读(2052) | 评论(0) | 转发(0) |