diff --git a/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu.bb b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu.bb new file mode 100644 index 0000000..42ee086 --- /dev/null +++ b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu.bb @@ -0,0 +1,25 @@ +DESCRIPTION = "CPU Benchmarking bin" +HOMEPAGE = "http://www.netmodule.com/" +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" + +PROVIDES = "benchmarking-cpu" + +PV = "1.0.0" + +SRC_URI = " \ + file://dhry \ + file://coremark \ + file://memspeed \ + " + +FILES_${PN} += "/usr/bin/*" + +S = "${WORKDIR}" + +do_install () { + install -d ${D}/${bindir} + install -m 0755 ${S}/dhry ${D}/${bindir} + install -m 0755 ${S}/coremark ${D}/${bindir} + install -m 0755 ${S}/memspeed ${D}/${bindir} +} diff --git a/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/coremark b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/coremark new file mode 100644 index 0000000..7db0602 Binary files /dev/null and b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/coremark differ diff --git a/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/dhry b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/dhry new file mode 100644 index 0000000..15b371e Binary files /dev/null and b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/dhry differ diff --git a/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/memspeed b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/memspeed new file mode 100644 index 0000000..513ad33 Binary files /dev/null and b/recipes-benchmarking/benchmarking-cpu/benchmarking-cpu/memspeed differ diff --git a/recipes-core/images/nmrouter-image-dev.bb b/recipes-core/images/nmrouter-image-dev.bb index cc17f4d..037df42 100644 --- a/recipes-core/images/nmrouter-image-dev.bb +++ b/recipes-core/images/nmrouter-image-dev.bb @@ -18,6 +18,9 @@ BENCH_TOOLS = " \ iperf \ strongswan \ gps-utils \ + ser2net \ + speedtest-cli \ + benchmarking-cpu \ " EASY_EDITOR = " \ diff --git a/recipes-devtools/speedtest-cli/speedtest-cli.bb b/recipes-devtools/speedtest-cli/speedtest-cli.bb new file mode 100644 index 0000000..117bd6e --- /dev/null +++ b/recipes-devtools/speedtest-cli/speedtest-cli.bb @@ -0,0 +1,19 @@ +SUMMARY = "Speed Test tool" +DESCRIPTION = "Command line interface for testing internet bandwidth using speedtest.net" +PR = "r1" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +SRC_URI = "git://github.com/sivel/speedtest-cli.git;protocol=git " +SRCREV = "${AUTOREV}" +S = "${WORKDIR}/git" +RDEPENDS_${PN} = "python" + +do_install () { + install -d -m 755 ${D}${bindir}/ + install -m 755 speedtest.py ${D}${bindir}/ +} + +FILES_${PN} = " ${bindir}/speedtest.py" + +INHIBIT_PACKAGE_DEBUG_SPLIT = "1"