Regarding sub-X11 algo mining, I also quickly read through the code and my feeling is that the controler board sends an X11 work package to the ASIC boards and the ASIC boards return the final X11-Hash to the main controller board. I guess there is no way to trigger single algo mining out of the linux controller board, even if someone tweeks the miner software. BUT... (I haven't investigated that yet) it seems that each ASIC board has a PIC µC on it, which would handle communication between main Linux controler board and the ASIC chips. So if there is one place where it may be possible to trigger single algo mining, it would be inside the PIC.
What do you guys think about this?
That's exactly how it works now indeed. The PIC is in between the controller board and the ASIC's so let's hope bitmain added some secret switch. I looked into it quite some hours now and didn't succeed yet. But I still have hope there is a command to trigger it, but some inside information from Bitmain would make things a bit more simple... I think that we need all the experience and knowledge of all member of this forum..... I think we need work on reverse engineering of this PIC ... anyone can read and post content of the PIC?
|
|
|
sorry for the issue in the first upload, this should solve the issues. Thanks for the fast reaction time
Everybody that already "work" on the first uploaded 20/11 version, please upgrade again, as you won't be able to adjust the pools / fan speeds
working nice now thanks for the confirm and thanks for the super duper cool logo man! Mr. blissz now only a test for one subalgo of x11 ... and we are the winner ;-)
|
|
|
This is the file cgminer.sh in the image on the D3: #!/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin DAEMON=/usr/bin/cgminer NAME=cgminer DESC="Cgminer daemon"
set -e #set -x test -x "$DAEMON" || exit 0
#echo "" /var/log/messages
# DASH miner
# PLUG0: GPIO1_19: GPIO51 # PLUG1: GPIO1_16: GPIO48 # PLUG2: GPIO1_15: GPIO47 # PLUG3: GPIO1_12: GPIO44 if [ ! -d /sys/class/gpio/gpio51 ]; then echo 51 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio51/direction fi if [ ! -d /sys/class/gpio/gpio48 ]; then echo 48 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio48/direction fi if [ ! -d /sys/class/gpio/gpio47 ]; then echo 47 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio47/direction fi if [ ! -d /sys/class/gpio/gpio44 ]; then echo 44 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio44/direction fi
# RST0: GPIO0_5: GPIO5 # RST1: GPIO0_4: GPIO4 # RST2: GPIO0_27: GPIO27 # RST3: GPIO0_22: GPIO22 if [ ! -d /sys/class/gpio/gpio5 ]; then echo 5 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio5/direction echo 1 > /sys/class/gpio/gpio5/value fi if [ ! -d /sys/class/gpio/gpio4 ]; then echo 4 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio4/direction echo 1 > /sys/class/gpio/gpio4/value fi if [ ! -d /sys/class/gpio/gpio27 ]; then echo 27 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio27/direction echo 1 > /sys/class/gpio/gpio27/value fi if [ ! -d /sys/class/gpio/gpio22 ]; then echo 22 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio22/direction echo 1 > /sys/class/gpio/gpio22/value fi
# BEEP: GPIO0_20: GPIO20 if [ ! -d /sys/class/gpio/gpio20 ]; then echo 20 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio20/direction echo 0 > /sys/class/gpio/gpio20/value fi
# RED LED: GPIO1_13: GPIO45 if [ ! -d /sys/class/gpio/gpio45 ]; then echo 45 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio45/direction echo 0 > /sys/class/gpio/gpio45/value fi
# GREEN LED: GPIO0_23: GPIO23 if [ ! -d /sys/class/gpio/gpio23 ]; then echo 23 > /sys/class/gpio/export echo out > /sys/class/gpio/gpio23/direction echo 0 > /sys/class/gpio/gpio23/value fi
# FAN_SPEED0: GPIO3_16: GPIO112 if [ ! -d /sys/class/gpio/gpio112 ]; then echo 112 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio112/direction echo falling > /sys/class/gpio/gpio112/edge fi
# FAN_SPEED1: GPIO3_14: GPIO110 if [ ! -d /sys/class/gpio/gpio110 ]; then echo 110 > /sys/class/gpio/export echo in > /sys/class/gpio/gpio110/direction echo falling > /sys/class/gpio/gpio110/edge fi
# FAN_PWM: GPIO3_15: P9_29: EHRPWMoB if [ ! -d /sys/class/pwm/pwm1 ]; then echo 1 > /sys/class/pwm/export echo 100000 > /sys/class/pwm/pwm1/period_ns echo 50000 > /sys/class/pwm/pwm1/duty_ns echo 1 > /sys/class/pwm/pwm1/run fi
do_start() {
NIC=eth0 MAC=`LANG=C ifconfig $NIC | awk '/HWaddr/{ print $5 }'` #echo $MAC | tr '[a-z]' '[A-Z]' upmac=`echo $MAC | tr '[a-z]' '[A-Z]'` #echo $upmac curti=`date "+%Y-%m-%d %H:%M:%S"` #echo $curti
OUTPUT=/tmp/pic_mac echo "${upmac:0:2}"" ${curti:2:2}" > $OUTPUT echo "${upmac:3:2}"" ${curti:5:2}" >> $OUTPUT echo "${upmac:6:2}"" ${curti:8:2}" >> $OUTPUT echo "${upmac:9:2}"" ${curti:11:2}" >> $OUTPUT echo "${upmac:12:2}"" ${curti:14:2}" >> $OUTPUT echo "${upmac:15:2}"" ${curti:17:2}" >> $OUTPUT
# check network state #network_ok=`ping -c 1 114.114.114.114 | grep " 0% packet loss" | wc -l` #if [ $network_ok -eq 0 ];then # return #fi
# gpio1_16 = 48 = net check LED #if [ ! -e /sys/class/gpio/gpio48 ]; then # echo 48 > /sys/class/gpio/export #fi #echo low > /sys/class/gpio/gpio48/direction
gateway=$(route -n | grep 'UG[ \t]' | awk '{print $2}') if [ x"" == x"$gateway" ]; then gateway="192.168.1.1" fi if [ "`ping -w 1 -c 1 $gateway | grep "100%" >/dev/null`" ]; then prs=1 echo "$gateway is Not reachable" else prs=0 echo "$gateway is reachable" fi
PARAMS="--version-file /usr/bin/compile_time --default-config /config/cgminer.conf -T --syslog" echo PARAMS = $PARAMS start-stop-daemon -b -S -x screen -- -S cgminer -t cgminer -m -d "$DAEMON" $PARAMS #cgminer $PARAMS -D --api-listen --default-config /config/cgminer.conf 2>&1 | tee log }
do_stop() { killall -9 cgminer || true } case "$1" in start) echo -n "Starting $DESC: " do_start echo "$NAME." ;; stop) echo -n "Stopping $DESC: " do_stop echo "$NAME." ;; restart|force-reload) echo -n "Restarting $DESC: " do_stop do_start echo "$NAME." ;; *) N=/etc/init.d/$NAME echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac
exit 0
where is the "command" for select algo for mining start or where we can change the algo round for select another of 11 round set?
|
|
|
Transazione veloce e senza problemi +++ affidabilissimo e persona seria.
|
|
|
i'm testing this public beta,
but when i change Asic Freq and return on webpage i can see last Freq i have imposted... but Asic Voltage i see "Default Setting"... and i can't see the value imposted.. why?
|
|
|
My beta test start this evening ..you can compile whit latest cgminer version .. and we want test other algo sub X11 ...
|
|
|
I can test if you want I have september batch ... waiting link for download .. thanks
|
|
|
UPDATE 12/11/2017: I successfully modded the firmware which will add unlocked voltage and fan control, so I advice NOT to hardware mod and wait a bit more till I release the software mod Can you advice, pls, how to build cgminer and custom firmware with it? I mean build without modification bitmain's sources, for testing purpose. I think use https://github.com/bitmaintech/cgminer-dash for build cgminer And https://github.com/bitmaintech/setup-A8 for build firmware Is this right way? I think this right way ...
|
|
|
we are talking about possibility to adding more algos for D3 with this topic , not only fan mod , right ?
If think we should start from the beginning... fan mod...voltage mode so increase efficiency... then if it's possible add algo but not sure about this point and we are Ok to say X11 it a chain of 11 algo.... (blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, and echo.) so that mean the asics 'know' how to do some groestl algo... infact good poin ... we need know how change command (possibly via ssh) send a command to cgminer on d3 to change algo and try if mining work... anyone can help in this? We need more than this..in SSH you can restart cgminer with other parameters Aka : fan..or voltage (i have the parameters and a possible value for this) But in term of algo..i think we need to recompile cgminer from source (changing stuff to have only groestl for example) So it will require more investigation but I will continue on this please public this parameters do you have...
|
|
|
we are talking about possibility to adding more algos for D3 with this topic , not only fan mod , right ?
If think we should start from the beginning... fan mod...voltage mode so increase efficiency... then if it's possible add algo but not sure about this point and we are Ok to say X11 it a chain of 11 algo.... (blake, bmw, groestl, jh, keccak, skein, luffa, cubehash, shavite, simd, and echo.) so that mean the asics 'know' how to do some groestl algo... infact good poin ... we need know how change command (possibly via ssh) send a command to cgminer on d3 to change algo and try if mining work... anyone can help in this?
|
|
|
I think the algo for mining is on PIC16F1704 not in firmware file ... anyone can read and post file of PIC16F1704 ? I think we need work on this ..
|
|
|
We waiting future update ... and are happy to help this project. Good luck dev.
|
|
|
I have downloaded the official Bitcoin Gold Core Client, and it is running fine... where you download it? From the offiical website, it just went live: https://bitcoingold.org/downloads/i have donwloaded direct on ghithub .. but i need a node list for add ... where can find node list?
|
|
|
we need wait near 3.5 hr for start with mainnet.... we need to wait for block height 499407
|
|
|
Non entro nel merito del perche e del percome , discorso lungo da fare. Ma vorrei ricordare a tutti che i pezzi grossi in questo mercato sono ancora fuori, probabilmente visto che da poco e' entrato il contratto future nei mercati finanziari vedremo i veri pezzi grossi (istituzionali e banche d'affari), ma attualmente i pezzi grossi siamo noi della comunita di bitcoin, il prezzo al momento lo facciamo noi che acquistiamo o vendiamo i bitcoin ( e cosi anche per le altre crypto). Qua c'e' una vera battaglia fra BTC e BTH che non si sa a cosa portera' potrebbe succedere che BTH prenda il posto di BTC potrebbe succedere che BTC faccia il famoso hard fork annullato e diventi un altra moneta . La cosa importante e' informarsi il piu possibile , piu informazioni si hanno piu si sa cosa succede e perche succede. Ovviamente e' una personale opinione non il dogma
ettore concordo con te.... ci sta da attendere anche l'aggiustamento della difficontà di entrambe .. potrebbe variare lo scenario... non capisco perchè questa pressione di acquisto su bch .. ha solo il blocco da 8 mb non è ke poi kissà quanto sia piu innovativa... di meglio a questo punto ci stà bitcoin gold o bitcore... bhaa staremo a vedere
|
|
|
I have some great news guys!
I successfully modified the following: - unlocked ASIC voltage from software. You can now increase or decrease the ASIC voltage from software This can save a lot of power / heat and noise. i.e. I run my D3 at 15Gh/s at below 700 watts instead of 19Gh/s @ 1200watts. On the other hand you can also decide to overclock your unit if your PSU can handle it with this unlocked vcore. - removed fast FAN startup. (very annoying for users that run this miner at home) - unlocked full fan control. No more minimum fan checks. It removed the low fan warnings as well. I need to mod the webinterface as well and do some testing so it will take roughly one more week before I will release the first firmware version I guess This first version is mainly aimed at home users to get a better power usage / hashrate balance and run it as silent as possible before you ask: Adding new algorithms will be on the list for future versions other feature requests are welcome of course This is fantastic. Does this mean now that you don’t need to do the soldering etc...? exactly: it will be enabled by flashing the firmware and I will add the options to the existing web interface perfect friend, ;-) congratulation ... if you need a beta tester i'm here
|
|
|
I'm testing mining with my d3 and want create a master node ... no mining pool working for this?
|
|
|
I'm testing mining with my d3 and want create a master node ...
|
|
|
Confermo davvero un ottimo articolo, spiega molto oggettivamente la situazione reale, e fa chiaramente capire quanto incida la quota di ignoranza o meglio poca conoscenza di chi affolla il mondo delle crypto e sfruttando questo i grandi investitori riescono a muovere le masse affinché dei prezzi scendano per far sì che loro possano comprare in low ... ottima lettura direi, sopratutto per far capire a quelli che stanno comprando bch che il prossimo softfork non gli regalerà le solite monetine.. e sopratutto credo che a mio avviso il vero bitcoin è solo uno il BTC .. il resto anche se dei fork con nomi similari sono dei rami ma in realtà sono delle altcoin ...
|
|
|
we can confirm that this is now running well so far. Do try it out. i have tested new firmare but i have some hw error on my september bach ... Nov 10 18:40:18 (none) local0.warn cgminer[4929]: Pool 0 communication resumed, submitting work Nov 10 18:40:18 (none) local0.err cgminer[4929]: read_temp_func: can't read all sensor's temperature, close PIC and need reboot!!! Nov 10 18:40:40 (none) local0.warn cgminer[4929]: Lost 2 shares due to no stratum share response from pool 0
|
|
|
|