Make Iperf 2.0.8 for MIPS (Linux)
1. Download iperf source from openss7: http://www.openss7.org/package/repos/tarballs/iperf-2.0.8.tar.gz?tar=iperf-2.0.8.tar.gz
2. Unzip and extract data: tar -zxf iperf-2.0.8.tar.gz
3. Get into the iperf repository and generate a repository for MIPS:
a. cd iperf-2.0.4
b. mkdir linux_mipsel
4. Configure the corss-compile enviornment to iperf: ./configure --prefix=TARGET_REPOS --host=TARGET_SYSTEM --CXX=TARGET_G++_COMPILER --CC=TARGET_C_COMPILER
ex: ./configure --prefix=/home/iperf-2.0.8/linux_mipsel/ --host=mips --CXX=/opt/buildroot-gcc342/bin/mipsel-linux-g++ CC=/opt/buildroot-gcc342/bin/mipsel-linux-gcc
5. make and make install
6. The binary file, iperf, generated in linux_mipsel/bin/ is the what we need.
7. Copy iperf in linux_mipsel/bin/ to the target board (linux mipsel system) and change mode: chmod +x iperf
愛我不愛我
Sealed (Dec 15)
Only members can post a comment, Login first