test performance with iperf from client to server options: -p, –port n set server port to listen to n (default 5001) start server: iperf –format m –interval 2 -s then start client: iperf –format m –interval 2 -t 10 -c […]
Linux
Building automake
NEW_BUILD_NAME=automake NEW_BUILD_VER=1.14.1 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile wget http://ftp.gnu.org/gnu/automake/automake-1.14.1.tar.xz tar -xf $NEW_BUILD_NAME_AND_VER.tar.xz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed […]
Building autoconf
NEW_BUILD_NAME=autoconf NEW_BUILD_VER=2.69 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.69.tar.xz tar -xf $NEW_BUILD_NAME_AND_VER.tar.xz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed […]
Zyxel NSA310 toolchain
Zyxel NSA310 toolchain & firmware sdk http://gpl.nas-central.org/ZYXEL/NSA310_GPL/FW4.40/ Zyxel NSA310 processor http://www.marvell.com/embedded-processors/kirkwood/ Marvell Kirkwood 88F6281 Processor information (cpu info) cat /proc/cpuinfo Features: swp half thumb fastmult edsp Hardware: Feroceon-KW -> means Feroceon Kirkwood /bin/dmesg | grep ‘ARM’
PyLoad setup
cd ~/compile rm -r ~/compile/pyload unzip pyload-src-v0.4.9.zip cd ~/compile/pyload find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/g {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/g {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/g {} \; , -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/g {} […]
Compiling leptonica 1.69
#configuration for new package: NEW_BUILD_NAME=leptonica NEW_BUILD_VER=1.69 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile/ wget https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz tar xvzf $NEW_BUILD_NAME_AND_VER.tar.gz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} […]
Compiling tesseract-ocr 3.02.02
#configuration for new package: NEW_BUILD_NAME=tesseract-ocr NEW_BUILD_VER=3.02.02 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile/ wget https://tesseract-ocr.googlecode.com/files/tesseract-ocr-3.02.02.tar.gz tar xvzf $NEW_BUILD_NAME_AND_VER.tar.gz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} […]
Compiling libev-4.19
#configuration for new package: NEW_BUILD_NAME=libev NEW_BUILD_VER=4.19 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 cd ~/compile/ wget http://dist.schmorp.de/libev/libev-4.19.tar.gz tar xvzf $NEW_BUILD_NAME_AND_VER.tar.gz cd ~/compile/$NEW_BUILD_NAME_AND_VER/ find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} […]
Compiling nspr-4.10.7
cd ~/compile/ wget http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.10.7/src/nspr-4.10.7.tar.gz tar xvzf nspr-4.10.7.tar.gz cd ~/compile/nspr-4.10.7/nspr find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; , -exec sed -i s/”\/usr\/bin\/bash”/”\/ffp\/bin\/bash”/ {} \; , -exec sed -i s/”\/usr\/bin\/sh”/”\/ffp\/bin\/sh”/ {} […]
Python 2.7.9 and pip commands
#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. #Compiling python-2.7.9 NEW_BUILD_NAME=python NEW_BUILD_VER=2.7.9 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER ls -l /tmp/$NEW_BUILD_NAME- ls -l ~/ffp_0.7_armv5/packages/$NEW_BUILD_NAME- NEW_BUILD_NR=0 #ERROR Failed to […]
Compiling xorg util-macros-1.19.0
cd ~/compile/ rm -r ~/compile/util-macros-1.19.0 mkdir util-macros-1.19.0 cd ~/compile/util-macros-1.19.0 git clone -q -b util-macros-1.19.0 git://anongit.freedesktop.org/xorg/util/macros mv -v macros/* . rm -r macros find . -type f ( -exec sed -i s/”\/usr\/bin\/perl”/”\/ffp\/bin\/perl”/ {} \; , -exec sed -i s/”\/usr\/bin\/python”/”\/ffp\/bin\/python”/ {} \; […]
Compiling m4-1.4.17
cd ~/compile/ wget http://ftp.gnu.org/gnu/m4/m4-1.4.17.tar.gz tar xvzf m4-1.4.17.tar.gz cd ~/compile/m4-1.4.17 export BUILD_FLAGS=”-march=armv5te -mfloat-abi=soft -mabi=aapcs-linux -fno-stack-protector -pthread -O2 -Wall -I/ffp/include -I/ffp/opt/apache-2.2.29-worker/include” export LDFLAGS=”-L/ffp/lib” export LDFLAGS=”-L/ffp/lib -lintl -lpthread” export CPPFLAGS=”$BUILD_FLAGS” export CXXFLAGS=”$BUILD_FLAGS” export CFLAGS=”$BUILD_FLAGS” export LC_ALL=POSIX ./configure –prefix=/ffp –enable-dependency-tracking –enable-threads=posix –with-libsigsegv-prefix=/ffp –disable-assert –enable-c++ […]
Compiling libgd 2.1.0
export BUILD_FLAGS=”-march=armv5te -pthread -O2 -lintl -Wall -DNDEBUG -DLINUX -I/ffp/include” export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”$BUILD_FLAGS” export CXXFLAGS=”$BUILD_FLAGS” export CFLAGS=”$BUILD_FLAGS” export LC_ALL=POSIX cd ~/compile/libgd-2.1.0 ERROR1: ceva cu ceill (atentie, sunt 2x l la final) SOLUTION: find . -name gd_bmp.c -exec sed -i […]
Compiling MySql 5.6.21
#See https://adrhc.go.ro/wordpress/common-commands-when-building/ for building environment, x.sh script and other things not defined here. #Before starting do declare the environment variables specified to the link above. cd $HOME/compile rm -r $HOME/compile/mysql-5.6.21 tar -xzvf mysql-5.6.21.tar.gz cd $HOME/compile/mysql-5.6.21 ~/x.sh ffpg NEW_BUILD_NAME=mysql NEW_BUILD_VER=5.6.21 NEW_BUILD_NAME_AND_VER=$NEW_BUILD_NAME-$NEW_BUILD_VER […]
Compiling libmemcached
cd $HOME/compile wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz tar -xzf libmemcached-1.0.18.tar.gz cd $HOME/compile/libmemcached-1.0.18 export LDFLAGS=”-L/ffp/lib -lintl” export CPPFLAGS=”-I/ffp/include -I/ffp/include/readline -DLINUX” export CXXFLAGS=”-I/ffp/include -I/ffp/include/readline” export CFLAGS=”-march=armv5te -mtune=xscale -mfloat-abi=soft -mabi=aapcs-linux -pthread -O2 -lintl -Wall” export LC_ALL=POSIX export PKG_CONFIG=/ffp/bin/pkg-config ./configure –help > configure.help.txt #ERROR1: ./libtest/cmdline.h:39:19: fatal error: […]