Just got a reply from
[email protected] regarding aarch64.
The source code for diamond, specifically scrypt-arm.S does NOT support aarch64
Contact listed was
[email protected] in source code.
As documented, there is no Aarch64 implementation in cpuminer.
I do plan to add one in the future, time allowing.
At least I identified problem but have not solved it yet ...
build/scrypt_mine.o: In function `scrypt(void const*, unsigned long, unsigned int*, void*)':
scrypt_mine.cpp:(.text+0x5c): undefined reference to `scrypt_core'
collect2: error: ld returned 1 exit status
Makefile:302: recipe for target 'diamond-qt' failed
make: *** [diamond-qt] Error 1
this is caused by scrypt_core() not being compiled.
src/scrypt-arm.S does not support aarch64 (arm8).
From crashoverride on forum.odroid.com
The .S files are unique to each processor architecture. They are not interchangeable. Someone will need to author a version of the .S file for aarch64 before it will work.
I'll bet DMD foundation would post a bounty for someone to create src/srcypt-aarch64.Shere is src/srcypt-arm.S as a starting point:
https://github.com/DMDcoin/Diamond/blob/master/src/scrypt-arm.SThis code is for arm 32 bit, needs to be translated to 64 bit ...
If you are going to get one, they are sold-out until middle of April, however I found mine at USA distributor (may still be available there)
http://ameridroid.comThanks for the feedback and link, I ll be able to help when I get the PINE64+ (64bit) or after when I can order the Ondroid,
already checked the link and cost, so should be ready to get it after PINE64+.
Ubuntu 64 bit image for Odroid C2 is available here
http://odroid.com/dokuwiki/doku.php?id=en:c2_release_linux_ubuntuDebian 32 and 64 bit image for Odroid C2 are available here
http://forum.odroid.com/viewtopic.php?f=138&t=18771 (follow links to s905)
http://oph.mdrjr.net/odrobian/images/s905/For the Debian 32 version:
Linux Hybrid Kernel64/Debian32 (aka crashoverride edition)
-All remarks & features posted above apply exactly the same for this version except it's an ARMHF based system.
-This is basically a system with Linux Kernel 64bit running through Debian 32bit based rootfs.
-Maximum compatibility with ARMHF software built for previous ODROIDs meaning you can install anything.
-ARM64 is configured as a foreign architecture so you can also install 64bit applications.
-Hostname is "odroid32" unlike regular version which has "odroid64" instead.
-Some ARM64 packages are installed for kernel with other s905 specific ones to get updates from my repository.
-The idea is by @crashoverride.
I think I'd prefer Debian myself as raspbian is based on it and has lots of support. Ordered a microSD card reader/writer on e-bay so I can re-flash my card ... and run crashoveride ... see if uname -p returns armv7 ... if so at least it's a temporary solution for DMD.
If you have not ordered yet, much cheaper from manufacturer in Korea
http://www.hardkernel.com/main/main.phpShipping from Korea to Utah, USA is $16 FEDEX (I bought the 32G Ubuntu 64 eMMC 5 card, power supply, case from them).
https://bitcointalksearch.org/topic/m.14310026