Open cryptozeny opened 6 years ago
yescrypt is not working on 32bit Raspbian OS armv7l but balloon is ok.
yescrypt
armv7l
balloon
pi@sae:~/cpuminer-kawaii $ ./cpuminer -a yescrypt -o stratum+tcp://bitzeny.bluepool.info:3333 -u [2018-07-11 02:45:34] Starting Stratum on stratum+tcp://bitzeny.bluepool.info:3333 [2018-07-11 02:45:34] 4 miner threads started, using 'yescrypt' algorithm. [2018-07-11 02:45:37] net diff: 0.301668 -> shift 29, bits 0003509a [2018-07-11 02:45:37] Stratum difficulty set to 0.03000000 (0.00000046) [2018-07-11 02:45:38] CPU #2: 16.41 H/s [2018-07-11 02:45:38] accepted: 0/1 (diff 0.00000051), 16.41 H/s booooo [2018-07-11 02:45:38] reject reason: low difficulty share of 0.00002240019361547842 [2018-07-11 02:45:53] CPU #3: 33.73 H/s [2018-07-11 02:45:53] CPU #1: 33.39 H/s [2018-07-11 02:45:53] CPU #0: 32.47 H/s [2018-07-11 02:45:55] net diff: 0.301668 -> shift 29, bits 0003509a [2018-07-11 02:46:01] CPU #3: 33.69 H/s [2018-07-11 02:46:02] accepted: 0/2 (diff 0.00000345), 115.96 H/s booooo [2018-07-11 02:46:02] reject reason: low difficulty share of 0.0002251934277232723 [2018-07-11 02:46:06] CPU #2: 33.85 H/s [2018-07-11 02:46:23] CPU #3: 33.72 H/s [2018-07-11 02:46:23] accepted: 0/3 (diff 0.00000058), 133.42 H/s booooo [2018-07-11 02:46:23] reject reason: low difficulty share of 0.00007365297773684062 ^C[2018-07-11 02:46:28] SIGINT received, exiting pi@sae:~/cpuminer-kawaii $ uname -a Linux sae 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux pi@sae:~/cpuminer-kawaii $
$ git grep aarch64 configure.ac: aarch64*-*-*) sysinfos.c:#if !defined(__arm__) && !defined(__aarch64__) sysinfos.c:// #if !defined(__aarch64__) sysinfos.c:#if defined(__arm__) || defined(__aarch64__) sysinfos.c:#if defined(__arm__) || defined(__aarch64__)
$ git grep arm Android.mk:# Sample Android repo Makefile, used to test arm on the Tegra K1 Makefile.am: cpuminer_SOURCES += asm/sha2-arm.S asm/scrypt-arm.S NEWS:- Checkup on arm, tested ok on Tegra K1 (CyanogenMod 12.1) algo/cryptolight.c:#if defined(__arm__) || defined(_MSC_VER) algo/cryptonight.c:#if defined(__arm__) || defined(_MSC_VER) algo/neoscrypt.c:#elif defined(__arm__) algo/neoscrypt.c:#if defined(NOASM) || defined(__arm__) algo/scrypt.c:#elif defined(USE_ASM) && defined(__arm__) && defined(__APCS_32__) algo/sha2.c:#if defined(USE_ASM) && defined(__arm__) && defined(__APCS_32__) asm/neoscrypt_asm.S:#if defined(__GNUC__) && !defined(__arm__) asm/scrypt-arm.S:#if defined(USE_ASM) && defined(__arm__) && defined(__APCS_32__) asm/sha2-arm.S:#if defined(USE_ASM) && defined(__arm__) && defined(__APCS_32__) compat/bionic/cpuminer-config.h:/* cpuminer-config.h.in. Adapted for arm bionic (Android 5.1.1 Tegra K1) */ compat/curl-for-windows/curl/include/curl/curl.h: /* Instruct libcurl to not use any signal/alarm handlers, even when using compat/curl-for-windows/openssl/config/opensslconf.h:#if !defined(_WIN32) && !defined(__arm__) && !defined(__mips__) && !defined(SWIG) compat/curl-for-windows/openssl/config/opensslconf.h:# if defined(__arm__) compat/curl-for-windows/openssl/config/opensslconf.h:# elif defined(__arm__) compat/curl-for-windows/openssl/config/opensslconf.h:# if defined(_M_X64) || defined(__x86_64__) || defined(__arm__) || defined(__mips__) compat/curl-for-windows/openssl/config/opensslconf.h:# if defined(_M_IX86) || defined(__i386__) || defined(__arm__) compat/curl-for-windows/openssl/config/opensslconf.h:# elif defined(_M_IX86) || defined(__i386__) || defined(__arm__) || defined(__mips__) compat/curl-for-windows/openssl/config/opensslconf.h:# if defined(__arm__) Binary file compat/curl-for-windows/out/x64/Release/lib/openssl.x64.lib matches configure.ac: arm*-*-*) configure.ac: have_arm=true configure.ac: have_arm=true configure.ac:AM_CONDITIONAL([ARCH_ARM], [test x$have_arm = xtrue]) cpu-miner.c:#if defined(USE_ASM) && defined(__arm__) && defined(__APCS_32__) cpuminer.vcxproj: <None Include="asm\scrypt-arm.S" /> cpuminer.vcxproj: <None Include="asm\sha2-arm.S" /> cpuminer.vcxproj.filters: <Filter Include="arch\arm"> cpuminer.vcxproj.filters: <None Include="asm\scrypt-arm.S"> cpuminer.vcxproj.filters: <None Include="asm\sha2-arm.S"> crypto/int-util.h:#if !defined(BYTE_ORDER) && (defined(__LITTLE_ENDIAN__) || defined(__arm__) || defined(WIN32)) scryptjane/scrypt-jane-portable-x86.h: asm_naked_fn_proto(return_type, name) (type parm1, type parm2..) scryptjane/scrypt-jane-portable-x86.h: #define asm_gcc_parms() ".att_syntax prefix;" scryptjane/scrypt-jane-portable-x86.h: asm_gcc_parms() : "+a"(flags) : "S"(regs) : "%ecx", "%edx", "cc" scryptjane/scrypt-jane-portable-x86.h: asm_gcc_parms() : "+c"(flags), "=a" (lo), "=d" (hi) scryptjane/scrypt-jane-portable.h:#ifdef __arm__ sha3/sph_types.h:#elif defined __arm__ && __ARMEL__ sysinfos.c:#if !defined(__arm__) && !defined(__aarch64__) sysinfos.c:#else /* !__arm__ */ sysinfos.c:#if defined(__arm__) || defined(__aarch64__) sysinfos.c:#if defined(__arm__) || defined(__aarch64__) yescrypt/yescrypt-neon.c:#include <arm_neon.h>
$ git grep neon README.md: * To use NEON instructions, add `"-mfpu=neon"` to CFLAGS. yescrypt/yescrypt-best.c:#include "yescrypt-neon.c" yescrypt/yescrypt-neon.c:#include <arm_neon.h>
reference to cpuminer(mackhy)
yescrypt
is not working on 32bit Raspbian OSarmv7l
butballoon
is ok.reference to cpuminer(mackhy)