NXP i.MX 6 メモ

iperf

STREAM

sysbench

TEMPMON(Temperature Monitor)

Kernel config

SD Card

試したこと

local.conf の変更

ひとまず試すということで ./conf/local.conf に以下を追記(あるいは変更) local.conf は fsl-setup-release.sh の実施で初期化されるので注意

EXTRA_IMAGE_FEATURES ?= "debug-tweaks tools-sdk dev-pkgs"
INHERIT_append = " extrausers"
EXTRA_USERS_PARAMS = "useradd -P userpass user;usermod -P rootpass root;"
IMAGE_ROOTFS_EXTRA_SPACE = "1048576"

iperf

ターゲットでgccでビルド

curl -OL https://iperf.fr/download/source/iperf-3.1.3-source.tar.gz
./configure 
make
sudo make install

sysbench

./configure にて以下の通りエラーになるので mysql を無効化

configure: error: mysql_config executable not found
********************************************************************************
ERROR: cannot find MySQL libraries. If you want to compile with MySQL support,
       you must either specify file locations explicitly using
       --with-mysql-includes and --with-mysql-libs options, or make sure path to
       mysql_config is listed in your PATH environment variable. If you want to
       disable MySQL support, use --without-mysql option.
********************************************************************************

以下を実施した。

$ curl -OL http://downloads.mysql.com/source/sysbench-0.4.12.5.tar.gz
$ gunzip -c sysbench-0.4.12.5.tar.gz |tar zx

$ ./autogen.sh 
$ ./configure --without-mysql
$ sudo make install

$ sysbench --test=cpu run --max-requests=1000 --num-threads=2

なお、sysbench-0.4.12.14.tar.gz は make 時に以下のエラーになるのが解消できなかったのであきらめた。

gcc: error: unrecognized command line option '-m64'