Pages:
Author

Topic: Baikal X10 ⚡OVERCLOCK⚡ Claim reward 0.2 BTC for TUTORIAL HOW TO :)⚡⚡⚡⚡ - page 6. (Read 22768 times)

sr. member
Activity: 736
Merit: 262
Me, Myself & I

Sounds great @ DABjUQjcmYmuiVgZUvGBKuvbTQyCH9UMEG


One experimental day covered:

e74152daafaa96170df1696c946d167565de9380daa7fa5c8f53de6a2183a166

Keep going.
jr. member
Activity: 75
Merit: 1
Great work guys.. really good. 
member
Activity: 140
Merit: 10
When baikal invent a device baikal workers and another persons in china is use this device
We cant use this profitable. İn first baikal B mining 500 dolar per day
But today Only 15 usd per day
member
Activity: 311
Merit: 69
PowerMining.pw
New thread containing more information and link to source.

https://bitcointalk.org/index.php?topic=3206908.new#new

Please note Your DGB address so I can mine at least one day for You, to compensate what You are losing tinkering with X10. Thx.

Sounds great @ DABjUQjcmYmuiVgZUvGBKuvbTQyCH9UMEG


I'd like to donate too.

Feel free to do :-)
Addresses at bottom of new thread ;-)
sr. member
Activity: 434
Merit: 251
Only difference is that in your version it sets clock depending on Baikal chip type(1751: CN, 1791: B), so it does no difference on X10, however it does difference to CN and B.

Ive tried to overclock it but its not possible at this moment, both by enabling ENABLE_SETCLK and disabling CLK_FIX, and even tried another definition of CLK_DEF. Even though sgminer says its set to 400 Mhz, it aint - seems to be limited on firmware level!

When it comes to different algo`s, none of them work (gives only HW errors) - either needed some updates in algo files, or what i think it is also limited at firmware level. However, i did gather some different power usages:

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-26 00:38:34] - [0 days 10:12:35]
--------------------------------------------------------------------------------
(5s):10.82G (avg):10.81Gh/s | A:9148  R:78  HW:381  WU:33820.422/m
ST: 1  SS: 0  NB: 638  LW: 2261672  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 5.24K as user XXX
Block: 57e616c6...  Diff:117M  Started: [10:48:08]  Best share: 10.8M
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
BKLU 0: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:2763 R: 21 HW: 54 WU:9921.705/m
BKLU 1: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:3194 R: 27 HW:150 WU:11941.753/m
BKLU 2: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:3191 R: 30 HW:177 WU:11956.965/m

Actual stats on nicehash is slightly lower than orginal version.

Please note Your DGB address so I can mine at least one day for You, to compensate what You are losing tinkering with X10. Thx.

I'd like to donate too.
sr. member
Activity: 736
Merit: 262
Me, Myself & I
Only difference is that in your version it sets clock depending on Baikal chip type(1751: CN, 1791: B), so it does no difference on X10, however it does difference to CN and B.

Ive tried to overclock it but its not possible at this moment, both by enabling ENABLE_SETCLK and disabling CLK_FIX, and even tried another definition of CLK_DEF. Even though sgminer says its set to 400 Mhz, it aint - seems to be limited on firmware level!

When it comes to different algo`s, none of them work (gives only HW errors) - either needed some updates in algo files, or what i think it is also limited at firmware level. However, i did gather some different power usages:

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-26 00:38:34] - [0 days 10:12:35]
--------------------------------------------------------------------------------
(5s):10.82G (avg):10.81Gh/s | A:9148  R:78  HW:381  WU:33820.422/m
ST: 1  SS: 0  NB: 638  LW: 2261672  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 5.24K as user XXX
Block: 57e616c6...  Diff:117M  Started: [10:48:08]  Best share: 10.8M
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
BKLU 0: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:2763 R: 21 HW: 54 WU:9921.705/m
BKLU 1: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:3194 R: 27 HW:150 WU:11941.753/m
BKLU 2: 38C 400MHz [ASICS #64] | 3.604G/3.604Gh/s | A:3191 R: 30 HW:177 WU:11956.965/m

Actual stats on nicehash is slightly lower than orginal version.

Please note Your DGB address so I can mine at least one day for You, to compensate what You are losing tinkering with X10. Thx.
newbie
Activity: 42
Merit: 0
put a new update management program BaikalMonitor. Two days one of the Baikal began to glitch ( became often turn on the fan). Turned off, turned on and as wrote above Hashrate av showed 44 GH. Within a few minutes fell to 16 GC. Then another few minutes went down to 14 GC. And smoothly fell to 10.14 GH. Neither of which is not pierced. The question, maybe already from the factory to have the firmware and how to find it? But you can get to see the traffic from each machine. Possible hidden traffic, that is, the main to another address..

If you read back in this topic, then you can find the firmware of the X10. Still don't expect to edit the binary file without a hex editor.



So it is not clear if the actual machine produces such power. Why once they have been declared. And as all??? their include. Or in part include?
newbie
Activity: 43
Merit: 0
put a new update management program BaikalMonitor. Two days one of the Baikal began to glitch ( became often turn on the fan). Turned off, turned on and as wrote above Hashrate av showed 44 GH. Within a few minutes fell to 16 GC. Then another few minutes went down to 14 GC. And smoothly fell to 10.14 GH. Neither of which is not pierced. The question, maybe already from the factory to have the firmware and how to find it? But you can get to see the traffic from each machine. Possible hidden traffic, that is, the main to another address..

If you read back in this topic, then you can find the firmware of the X10. Still don't expect to edit the binary file without a hex editor.
newbie
Activity: 42
Merit: 0
put a new update management program BaikalMonitor. Two days one of the Baikal began to glitch ( became often turn on the fan). Turned off, turned on and as wrote above Hashrate av showed 44 GH. Within a few minutes fell to 16 GC. Then another few minutes went down to 14 GC. And smoothly fell to 10.14 GH. Neither of which is not pierced. The question, maybe already from the factory to have the firmware and how to find it? But you can get to see the traffic from each machine. Possible hidden traffic, that is, the main to another address..
newbie
Activity: 50
Merit: 0
Nicely done! How many different source files did you need to find and/or modify? When you call baikal_setoption() what arguments do you use? Do you plan on open-sourcing the work you've done or listing the modifications you had to make?

I will be adding current extracted code on github shortly, and hope that others can contribute.

Agreed, you have done an amazing job.  I'd be surprised if we can't at least get the code up to par with the compiled sgminer.  Do you make changes on the orange pi itself and compile/test or do you do all of that on a separate pc?  From reading the bash history, of which there is a ton of, it appears they were compiling on the device during testing. 

Here's a chunk of it:
Code:
./configure
make
ls
chmod a+x ./update.sh
ls
sudo ./update.sh
sudo screen -r
sudo /opt/scripta/startup/miner-stop.sh
sudo screen -r
sudo reboot
vi /etc/rc.local
ls
cd
ls
ls -al
rm -rf .subversion/
ls
sudo shutdown -h now
sudo chmod 755 /etc/rc.local
sudo reboot
lsmod
sudo shutdown -h now
ls
vi /etc/rc.local
sudo screen -r
ls
cd scripta/
ls
cd etc/
ls
sudo cp /etc/rc.local  rc.local.zero
ls
svn diff
cd
ls
cd ls
sudo vi /etc/rc.local
sudo reboot
ls
sudo vi /etc/rc.local
sudo reboot
ls
sudo /etc/rc.local
sudo vi /etc/rc.local
sudo reboot
ls
sudo ntpd -qg
date
suvo vi /etc/rc.local
sudo vi /etc/rc.local
sudo reboot
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
ls
sudo vi /etc/rc.local
reboot
sudo reboot
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
sudo /etc/rc.local
sudo vi /etc/rc.local
sudo reboot
sudo vi /etc/rc.local
sudo reboot
ls
sudo vi  /etc/rc.local
sudo vi /etc/default/ntp
sduo vi /etc/ntp.conf
sudo vi /etc/ntp.conf
sudo reboot
sudo screen -r
ls
sudo vi /etc/rc.local
ls
sudo vi /etc/rc.local
sudo reboot
ls
cd scripta/
ls
cd etc/
ls
vi rc.local.zero
sudo screen -r
sudo reboot
cd scripta/etc/
ls
vi rc.local
vi rc.local.zero
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
ls
sudo vi /etc/rc.local
sudo reboot
sudo screen -r
sudo vi /etc/rc.local
sudo hwclock --show
sudo hwclock --systohc
sudo hwclock --show
sudo apt-get install fake-hwclock
sudo /etc/init.d/fake-hwclock start
sudo reboot
date
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
ls
cd scripta/
ls
vi install_zero.sh
date
sudo screen -r
cd
ls
cd scripta/
ls
cd etc/
ls
cp /etc/rc.local rc.local.zero
svn commit -m "modify rc.local.zero" .
cd ..
svn update
ls
cp update_one.sh update_zero.sh
vi update_zero.sh
ls
svn add update_zero.sh
svn update
svn diff
svn status
svn commit -m ""
ls
chmod a+x ./update_zero.sh
ls
sudo ./update_zero.sh
sudo reboot
ls
cd sgminer-5.5.0/
ls
chmod a+x ./autogen.sh
./autogen.sh
ls
./configure
make
ls
sudo ./update.sh
cd
ls
sudo screen -r
sudo reboot
sudo screen -r
ls
rm -rf sgminer-5.5.0/
ls
sudo shutdown -h
sudo shutdown -h now
sudo screen -r
sudo apt-get install samba
sudo shutdonw -h now
sudo shutdown -h now
cd /opt/
ls
cd baikal_back20161213185554/
ls
cd e
cd www/
ls
cd html/
ls
cd
ls
cd /opt/
ls
cd scripta/
ls
cd etc/
ls
cd backup/
ls
cd Example/
ls
cd etc/
ls
vi miner.options.json
sudo vi miner.pools.json
ls
vi scripta.conf
ls
vi miner.conf
sudo vi miner.conf
cd ..
ls
cd ..
ls
sudo rm -rf Example/
sudo mv 20170209-1925/ Example
cd
ls
sudo cp miner.html /var/www/partials/
sudo cp login.php /var/www/
ls
cd /var/www/
ls
ls -l
vi login.php
sudo vi login.php
cd /var/www/partials/
ls
vi miner.html
cd ..
ls
sudo vi login.php
ls
sudo shutdown -h now
cd /var/www/
ls
cd
ls
ifconfig
sudo cp login.php /var/www/
ls
sudo cp login.php /var/www/
ls
cd /opt/
ls
cd scripta/
ls
cd etc/
ls
cd backup/
ls
rm -rf Example/
sudo rm -rf Example/
ls
sudo mv 20170210-1625/
sudo mv 20170210-1625/ Example
ls
sudo cp 20170210-1627/* Nicehash-USA/
sudo cp -a  20170210-1627/* Nicehash-USA/
ls
rm -rf 20170210-1627/
sudo rm -rf 20170210-1627/
ls
sudo cp -a 20170210-1630/* Zpool/
sudo rm -rf 20170210-1630/
ls
sudo cp -a 20170210-1631/* Nicehash-Japan/
sudo rm -rf 20170210-1631/
ls
sudo cp -a 20170210-1632/ Zpool/
sudo rm -rf 20170210-1632/
ls -l
ls
l s-l
ls -l;
ls -l
sudo chown -R www-data.www-data .
ls -l
sudo cp -a 20170210-1633/* Nicehash-USA/
ls
cat 20170210-1633/etc/miner.conf
q
ls
rm -rf 20170210-1633/
sudo rm -rf 20170210-1633/
ls
cd 20170210-1635/
ls
cd etc/
ls
vi miner.
vi miner.conf
cd ..
ls
sudo cp -a 20170210-1635/* Nicehash-Japan/
sudo rm -rf 20170210-1635/
ls
sudo cp -a 20170210-1652/* Nicehash-Europe/
ls
sudo rm 20170210-1652/
sudo rm -rf 20170210-1652/
ls
sudo cp -a 20170210-1656/* Nicehash-China/
cd Nicehash-
cd Nicehash-China/
cd etc/
ls
vi miner.conf
cd ..
ls
sudo rm -rf 20170210-1656/
ls
sudo cp -a 20170210-1657/* Miningpoolhub/
sudo rm -rf 20170210-1657/
ls
sudo cp -a 20170210-1702/* Zpool/
sudo rm -rf 20170210-1702/
ls
cd
ls
cp -a /opt/scripta/etc/backup/* .
ls
rm -rf Example/
rm -rf Miningpoolhub/
rm -rf Nicehash-China/
rm -rf Nicehash-*
ls
rm -rf Zpool/
ls
rm -rf login.php
rm -rf miner.html
ls
cd
ls
cd
ls
ls -al
cd .cache/
ls
ls -al
rm -rf motd.legal-displayed
ls
cd ..
ls
sudo shutdown -h now
ls
df
cd
ls
sudo cp f_settings.php /var/www/
sudo cp miner.html  /var/www/partials/
cd /var/www/
ls
ls -l
cd partials/
ls
ls -l
cd
ls
cd /opt/scripta/etc/
ls
cd backup/
ls
ls -l
sudo cp -a /home/baikal/backup/* .
ls -l
cd ..
ls
ls -l
sudo chown -R www-data.root backup/
ls -l
cd backup/
ls -l
cd Example/
ls
ls -l
cd etc/
ls -l
ls
cd
ls
rm -rf f_settings.php
rm -rf miner.html
ls
cd /opt/scripta/etc/
ls
vi miner.conf
ls
sudo shutdown -h now
ls
cd backup/
ls
cd
ls
rm -rf backup/
ls
sudo svn co svn://192.168.0.5/baikal/software/trunk/sgminer-5.5.0
ls
cd sgminer-5.5.0/
ls
chmod a+x autogen.sh
sudo ./autogen.sh
ls
./autogen.sh
ls -l
sudo chown -R baikal.baikal .
ls -l
./autogen.sh
./configure
make
ls
sudo ./update.sh
ls
cd
ls
sudo rm -rf sgminer-5.5.0/
ls
ls -al
rm -rf .subversion/
ls
sudo shutdown -h now
cd /opt/scripta/etc/
ls
sudo vi /etc/rc.local
sync
sudo shutdown -h ow
sudo shutdown -h now
sudo halt
sudo cp f_settings.php /var/www/
cd /var/www/
ls
ls -l
vi f_settings.php
cd
ls
rm f_settings.php
ls
sudo reboot
sudo halt
vi /var/www/f_settings.php
ls
sudo screen -r
ls
sudo rm -rf /opt/scripta/bin/sgminer
sudo screen -r
ls -l /opt/scripta/bin/
ls
sudo cp ./sgminer  /opt/scripta/bin/
cd /opt/scripta/bin/
ls
sudo chmod 755 sgminer
ls -l
cd
ls
rm -rf sgminer
sudo screen -r
sudo halt
ls
sudo vi /etc/rc.local
ls
sudo rm -rf /opt/scripta/bin/sgminer
sudo cp ./sgminer  /opt/scripta/bin/
cd /opt/scripta/bin/
ls
sudo chmod a+x sgminer
ls
cd
ls
rm sgminer
sudo screen -r
sudo reboot
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
cd /opt/scripta/etc/
ols
ls
sudo vi miner.conf
sudo vi miner.pools.json
sudo vi miner.conf
ls
cd backup/
ls
cd Example/
ls
ced etc/
ls
cd etc/
ls
sudo cp /opt/scripta/etc/miner.conf  .
ls -l
sudo cp /opt/scripta/etc/miner.pools.json  .
ls
vi miner.conf
ls
sudo vi miner.pools.json
ls
cd
ls
sudo halt
sudo vi /etc/rc.local
sync
sudo reboot
svn co
svn co svn://bkls.asuscomm.com/baikal/software/trunk/sgminer-5.5.0
ls
cd sgminer-5.5.0/
ls
chmod a+x autogen.sh
./autogen.sh
./configure
make
chmod a+x ./update.sh
sudo ./update.sh
sudo reboot
ls
sudo rm -rf sgminer-5.5.0/
ls
ls -al
rm -rf .subversion/
sudo halt
sudo screen -r
cd /var/www/
ls
vi login.php
sudo vi login.php
cd
ls
htop
top
ls
svn co svn://bkls.asuscomm.com/baikal/software/trunk/sgminer-5.5.0
ls
cd sgminer-5.5.0/
ls
chmod a+x ./autogen.sh
./autogen.sudo apt-get update
sudo dpkg --configure -a
sudo apt-get update
sudo dpkg --configure -a
sudo dpkg --configure
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update
dmesg
top
ls
sudo apt-get update
dmesg
sudo vi /etc/sysctl.conf
top
ls
cd /opt/scripta/bin/
ls
mv sgminer sgminer_org
sudo mv sgminer sgminer_org
sudos screen -r
sudo screen -r
qq
sudo screen -r
top
q
sudo apt-get update
dmesg
ls
cd
ls
sudo reboot
ls
top
sudo apt-get update
sudo /etc/init.d/lighttpd stop
sudo /etc/init.d/samba stop
sudo apt-get update
ls
sudo apt-get upgrade
ls
sudo reboot
top
sudo apt-get remove samba
sudo reboot
ls
cd /opt/scripta/bin/
ls
sudo mv sgminer_org sgminer
ls
cd
ls
top
sudo apt-get update
sudo halt
ls
top
sudo apt-get upgrade
sudo apt-get install -y samba avahi-daemon dnsmasq
ls
sudo apt-get upgrade
ls
sudo rm -rf /opt/scripta/bin/sgminer
sudo mv sgminer  /opt/scripta/bin/
cd /opt/scripta/bin/
ls
sudo chmod a+x sgminer
ls -l
sudo screen -r
q
sudo /etc/init.d/samba restart
sudo /etc/init.d/avahi-daemon restart
sudo /etc/init.d/dnsmasq restart
sudo reboot
ls
ls -al
rm -rf .subversion/
ls
sudo screen -r
ls
sudo halt
sudo screen -r
sudo halt
ls
ls -al
ls
sudo rm -rf /opt/scripta/bin/sgminer
sudo mv ./sgminer  /opt/scripta/bin/
sudo screen -r
ls
sudo screen -r
ls
cd
ls
cd /etc/cron.d
ls
vi scripta
ls
sudo screen -r
cd
ls
cd /opt/scripta/bin/
ls
sudo chmod a+x ./sgminer
ls
sync
sudo halt
sudo screen -r
ls
kls
sudo vi /etc/rc.local
sudo shutdown -h now
sudo vi /etc/rc.local
sudo vi /etc/rc.local
sudo rm /etc/.rc.local.swp
sudo vi /etc/rc.local
sync
sudo reboot
sudo vi /etc/rc.local
ls
top
sudo halt
sudo /etc/init.d/watchdog start
sync
sudo reboot
htop
sudo service watchdog init
sudo service watchdog  start
sync
sudo reboot
htop
sudo update-rc.d
sudo update-rc.d watchdog defaults
sudo reboot
ls
htop
sudo /etc/init.d/watchdog start
htop
sudo service watchdog start
sudo service watchdog restart
sudo service watchdog start
sudo reboot
cd /sys/devices/platform/sunxi-ddrfreq/
ls
cd devfreq/
ls
cd sunxi-ddrfreq/
ls
cat scaling_max_freq
ls
cat scaling_min_freq
cat cur_freq
cat max_freq
sudo reboot
htop
ps aux
ps aux | grep watch
ls
serice watchdog status
service watchdog status
sudo vi /etc/rc.local
serice watchdog status
sudo service watchdog status
sudo vi /etc/watchdog.conf
sudo service watchdog restart
sudo service watchdog status
sudo reboot
service watchdog status
sync
sudo service watchdog status
sudo vi /etc/watchdog.conf
ls
cd
ls
svn co svn://bkls.asuscomm.com/baikal/software/trunk/sgminer-5.5.0
ls
cd sgminer-5.5.0/
ls
svn update
cd ..
ls
rm -rf .subversion/
ls
ls -al
cd sgminer-5.5.0/
ls
chmod a+x autogen.sh
./autogen.sh
./configure
make
sudo ./update.sh
ls
sudo shutdown -h now
ls
cd sgminer-5.5.0/
ls
svn update
ls
cd .svn/
ls
vi entries
ls
cd ..
svn relocate
svn help relocate
ls
rm -rf *
ls
ls -al
rm -rf .svn/
ls
cd ..
ls
rm -rf sgminer-5.5.0/
ls
svn co svn://192.168.0.5/baikal/software/trunk/sgminer-5.5.0
cd sgminer-5.5.0/
ls
chmod a+x autogen.sh
./autogen.sh
./configure
make
ls
sudo ./update.sh
ls
sudo shutdown -h now
ls
rm -rf sgminer-5.5.0/
ls
cd
ls
ls -al
rm -rf .subversion/
ls
ls -al
sudo shutdown -h now
cd /opt/scripta/etc/
ls
cd backup/
ls
cd 20170321-1917/
ls
cd etc/
ls
cd ..
ls
cd ..
ls
cd Example/
ls
cd etc/
ls
ls -l
sudo cp ../../20170321-1917/etc/* .
ls
ls -l
cd ..
ls
cd ..
ls
sudo rm -rf 20170321-1917/
ls
cd ..
sudo screen -r
sudo halt
ls
sudo visudo
sudo visudo
ls
sudo /etc/sudoers
sudo visudo
sudo reboot
ls
sudo visudo
ls
sudo screen -r
sudo reboot
sudo screen -r
sudo ls
sudo shutdown -h now
ls
sudo screen -r
sudo shutdown
sudo shutdown -h now
ls
cd
ls
sudo sudo ln -fs /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
date
sudo apt-get install ntp
ls
date

sudo timedatectl
sudo /etc/init.d/ntp stop
sudo timedatectl
top
cd /etc/cron.d
ls
vi scripta
sudo apt-get remove ntp
ntpdate --help
ntpdate /?
ntpdate --help
ntpdate -b
cd
ls
sudo ntpdate -b -u 0.pool.ntp.org
sudo ntpdate -b -u 0.pool.ntp.orgg
sudo ntpdate -b -u 0.pool.ntp.org
ls
cd ~
ls
sudo vi /etc/rc.local
sudo reboot
dmesg
:q
ls
sudo vi /etc/rc.local
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
dmesg
sudo screen -r
ls
sudo vi /etc/rc.local
sudo reboot
ls
sudo vi /etc/rc.local
sudo reboot
date
cd
ls
dmesg
sudo /etc/init.d/watchdog start
dmesg
date
dmesg
sudo vi /etc/watchdog.conf
sudo /etc/init.d/watchdog restart
dmesg
sudo vi /etc/watchdog.conf
ls
cd
ls
sync
sudo vi /etc/rc.local
sudo /etc/init.d/watchdog restart
dmesg
ls
sudo visudo
sudo screen -r
ls
cd
ls
sudo screen -r
ls
ls -l /opt/scripta/bin/
ls
sudo rm /opt/scripta/bin/sgminer
sudo screen -r
sudo mv sgminer /opt/scripta/bin/
cd /opt/scripta/bin/
ls
sudo chmod a+x sgminer
ls
ls -l
sudo chmod 755 sgminer
ls
ls -l
sudo screen -r
ls
sudo sync
sudo shutdown -h now
ls -al
cd
ls
sudo screen -r
ls
sudo rm /opt/scripta/bin/sgminer
cd
ls
cd /opt/scripta/bin/
ls
sudo mv /home/baikal/sgminer  .
ls
sudo chmod a+x ./sgminer
sudo screen -r
sudo halt
cd /oppu
sudo screen -r
sudo apt-get update baikal
sudo apt-get install gdb
gdb
sudo apt-get update
sudo apt-get install gdb
ls
sudo /opt/scripta/bin/
ls
sudo /opt/scripta/bin/
ls
cd /opt/scripta/bin/
ls
sudo rm sgminer
sudo reboot
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
sudo screen -r
sudo screen -rd
sudo screen -r
sudo apt-get install gdb
cd /opt/scripta/bin/
ls
sudo mv sgminer sgminer_new
cd
ls
cd sgminer-5.6/
ls
vi sgminer.conf
cd
ls
cd /opt/scripta/bin/
ls
sudo mv sgminer_new sgminer
ls
sudo screen -r
ls
cd sgminer-5.6/
ls
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
ifconfig
ls
cd sgminer-5.6/
cd /opt/scripta/bin/
ls
sudo rm sgminer
ls
sudo screen -r
q
cd
ls
cd sgminer-5.6/
ls
gdb ./sgminer
./sgminer
cd
ls
cd .sgminer/
ls
ls -al
cd
ls
cd sgminer-5.6/
ls
sudo ./update.sh
sudo screen -r
cd
ls
vi sgminer.conf
sudo vi sgminer.conf
ls
sudo chmod 777 sgminer.conf
ls
mv sgminer.conf sgminer-5.6/
cd sgminer-5.6/
ls
./sgminer
./sgminer -c ./sgminer.c
./sgminer -c ./sgminer.conf
sudo cp sgminer.conf ../.sgminer/
./sgminer
sudo gdb
sudo gdb ./sgminer
ls
vi Makefile
ls
vi driver-baikalu.c
ls
vi sgminer.c
ls
make
sudo ./update.sh
sudo screen -r
ls
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
vi driver-baikal.h
make
sudo ./update.sh
sudo screen -r
ls
cd sgminer-5.6/
ls
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
vi sgminer.c
vi driver-baikal.h
vi driver-baikalu.c
grep -Rni "update_work" .
sudo screen -r
ks
cd sgminer-5.6/
ls
grep -Rni "inappropiate" .
grep -Rni "inappropriately" .
sudo screen -r
vi driver-baikalu.c
vi sgminer.c
make
ls
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
vi sgminer.c
make
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
top
ls
cd
ls
ls -al
su root
ls
cd
ls
cd sgminer-5.6/
ls
cd /opt/scripta/
lsl
ls
cd bin/
ls
cd
ls
cd sgminer-5.6/
ls
cd ..
ls
ls -al
cd .sgminer/
ls
cd
ls
finels
ls
cd
ls
su root
htop
ls
cd sgminer-5.6/
ls
make
sudo ./update.sh
sudo screen -r
ls
make
sudo ./update.sh
sudo screen -r
ls
cd sgminer-5.6/
ls
vi driver-baikal.h
ls
vi driver-baikalu.c
make
cd
ls
cd /opt/scripta/etc/
ls
vi miner.conf
ls
cd
cd sgminer-5.6/
ls
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
top
htop
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
cd
ls
su root
su root
ls
cd
ls
su root
sudo screen -r
ls
cd
su root
cd
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo reboot
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
ls
sudo ./update.sh
sudo screen -r
cd
su root
ls
su root
htop
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
sudo screen -r
sudo ./update.sh
sudo screen -r
cd
ls
cd cd sgminer-5.6/
ls
vcd sgminer-5.6/
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo screen -rd
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo ./update.sh
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
cd sgminer-5.6/
ls
make
sudo ./update.sh
sudo screen -r
sudo screen -rd
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
vi driver-baikalu.c
make
vi driver-baikalu.c
make
ls
vi driver-baikalu.c
make
vi driver-baikalu.c
make
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
ls
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
vi sgminer.c
make
vi miner.h
make
sudo ./update.sh
sudo screen -r
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
ls
vi sgminer.c
make
sudo ./update.sh
sudo screen -r
vi sgminer.c
make
sudo ./update.sh
sduo screen -r
sudo u./upda
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
amke
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
cd sgminer-5.6/
ls
vi algorithm.c
make
sudo ./update.sh
sudo screen -r
ls
vi algorithm.c
make
vi algorithm.c
make
vi algorithm.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi algorithm.c
make
sudo ./update.sh
sudo screen -r
df
htop
cd sgminer-5.6/
ls
make
sudo reboot
cd sgminer-5.6/
ls
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
make
vi driver-baikalu.c
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
htop
sudo screen -r
cd sgminer-5.6/
ls
vi algorithm.h
make
sudo ./update.sh
sudo screen -r
ls
vi algorithm.
vi algorithm.h
make
vi algorithm.h
make
vi algorithm.h
make
sudo ./update.sh
sudo screen -r
make
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
sudo ./update.sh
make
sudo ./update.sh
ls
rm -rf *
svn co svn://192.168.0.5/pacific/software/sgminer_5.6.x .
cd ..
ls
svn co svn://192.168.0.5/pacific/software/sgminer_5.6.x .
cd sgminer-5.6/
ls
cd
ls
cd
ls
chmod a+x ./autogen.sh
./autogen.sh
./configure
ls
make
sudo ./update.sh
chmod a+x ./update.sh
sudo ./update.sh
chmod a+x ./update.sh
ls
sudo screen -r
sudo ./update.sh
df
sudo reboot
ls
cd sgminer-5.6/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
top
sudo screen -r
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
vi sgminer.c
ks
ls
sudo ./update.sh
sudo screen -r
ls
cd
sudo screen -r
cd /opt/scripta/bin/
ls
ls 0l
ls -l
ls
cd
ls
vi driver-baikalu.c
make
ls
vi sgminer.c
make
sudo ./update.sh
vi driver-baikalu.c
make
vi sgminer.c
make
sudo ./update.sh
make
sudo ./update.sh
ls
sudo ./sgminer /opt/scripta/etc/miner.conf
sudo ./sgminer -c /opt/scripta/etc/miner.conf
sudo ./update.sh
sudo reboot
sudo ./update.sh
sudo screen -r
ls
svn update
vi sgminer.c
svn diff | ^M
svn diff
q
svn diff | ^M
svn diff | ^M
svn diff | grep ^M
make
sudo ./update.sh
sudo screen -r
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
make
sudo screen -r
vi driver-baikalu.c
make
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
sudo screen 0r
sudo screen -r
ls
vi usbutils.c
make
sudo ./update.sh
sudo screen -r
ls
cd /var/www/
cd partials/
ls
vi miner.html
sudo vi miner.html
sudo screen -r
ls
cd
ls
cd driver-baikalu.c
vi driver-baikalu.c
make
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
vi driver-baikalu.c
sudo screen -r
vi driver-baikalu.c
sudo screen -r
vi driver-baikalu.c
sudo screen -r
sudo lsusb
sudo shutdown -h now
sudo screen -r
vi usbutils.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
vi usbutils.c
sudo screen -r
ls
rm *.h
ls
rm *.o
rm *.c
ls
rm *.php
ls
rm Makefile.am
ls
rm missing NEWS.md sgminer
ls
rm algorithm/
ls -al
ls
rm algorithm/
rm aclocal.m4 API.* AUTHORS.md config*
ls
rm -rf ADL_SDK/ api-example.py  auto* C* doc
ls
rm -rf a* c* e* i* l*
ls
rm -rf depcomp kernel/ m4 Makefile* man/ M*
ls
rm -rf mknsis.sh ocl/ README.md  sgminer.c.edited sph stamp-h1 submodules/ tools/ update.sh  winbuild/
ls
ls -al
rm -rf *.swp
ls
ls -al
rm -rf *.*.cwp
l
rm -rf *.*.swp
ls
ls -al
rm -rf .sgminer/
ls
cd .svn/
ls
cd ..
ls
rm -rf .svn/
ls
ls -al
rm .driver-baikalu.c.swp
rm .git*
ls
rm -rf .libs/
rm -rf .nano/
ls
ls -al
rm -rf .deps/
ls
cd sgminer-5.6/
ls
svn update
cd ..
ls
rm -rf sgminer-5.6/
ls
ls -al
rm -rf .subversion/
ls
cd /opt/scripta/etc/
ls
cd /opt/scripta/
ls
rm -rf 20170210-1632/
sudo rm -rf 20170210-1632/
ls
cd etc/
ls
cd backup/
ls
rm -rf 20170*
sudo rm -rf 20170*
ls
cd
ls
cd
ls
svn co svn://192.168.0.5/pacific/software/sgminer_5.6.x
ls
cd sgminer_5.6.x/
ls
chmod a+x autogen.sh
ls
./autogen.sh
ls
./configure
make
sudo ./update.sh
chomod a+x ./update.sh
chmod a+x ./update.sh
ls
vi algorithm.h
vi algorithm.c
sudo screen -r
cd /var/www/partials/
ls
vi miner.html
sudo vi miner.html
sudo screen -=r
sudo screen -r
sudo shutdown -h now
sudo screen -r
sudo shutdown -h now
ls
cd sgminer_5.6.x/
ls
vi usbutils.c
make
sudo ./update.sh
sudo screen -r
ls
vi driver-baikalu.c
vi sgminer
vi sgminer.c
cd /opt/scripta/
ls
cd etc/
ls
cd backup/
ls
cd 20170913-2245/
ls
cd etc/
ls
vi miner.conf
ls
cd ..
ls
cd ..
ls
cd 20170913-2314/
ls
cd etc/
ls
vi miner.conf
cd ..
ls
rm -rf 20170913-2314/
sudo rm -rf 20170913-2*
ls
exit
ls
sudo vi /etc/rc.local
sync
sudo reboot
ls
cd sgminer_5.6.x/
ls
svn update
cd sgminer_5.6.x/
ls
svn update
ifconfig
svn update
ipconfig
ifconfig
ls
svn update
exit
cd sgminer_5.6.x/
ls
vi sgminer.c
ls
./autogen.sh
./configure
make
sudo ./update.sh
ls
sudo shutdown -h now
sudo lsusb
cd /sys/class/gpio_sw/
ls
cd PA18/
ls
cd
ls
echo 0 > /sys/class/gpio_sw/PA10/data
ls
chmod a+x reset
chmod a+x reset.sh
sudo ./reset.sh
echo 0 > /sys/class/gpio_sw/PA18/data
sudo ./reset.sh
lsusb
ls
sudo ./reset.sh
lsusb
ls
vi reset.sh
mv reset.sh downmode.sh
cp downmode.sh normalmode.sh
vi normalmode.sh
sl
ls
sudo ./normalmode.sh
lsusb
sudo ./downmode.sh
lsusb
ls
vi downmode.sh
./downmode.sh
sudo ./downmode.sh
lsusb
sudo ./normalmode.sh
lsusb
sudo ./downmode.sh
lsusb
vi downmode.sh
sudo ./downmode.sh
lsusb
sudo ./normalmode.sh
ls
vi reset_usb.c
ls
vi downmode.sh
ls
dfu-utils
dfu-util
ls
sudo apt-get install dfu-util
sudo apt-get install dfu-utils
sudo screen -r
q
sudo apt-get install dfu-utils
lks
ls
vi normalmode.sh
lsusb
ls
vi ret.sh
ls
vi reset_usb.c
ls
gcc -o reset_usb reset_usb.c `pkg-config --libs libusb-1.0`
vi reset_usb.c
make
gcc -o reset_usb reset_usb.c `pkg-config --libs libusb-1.0`
ls
sudo ./reset_usb
vi reset_usb.c
gcc -o reset_usb reset_usb.c `pkg-config --libs libusb-1.0`
sudo ./reset_usb
vi update_firmware.sh
vi update_firmware.sh
sudo reboot
tail -f dmesg
tail -f /var/log/dmesg
sudo tail -f /var/log/dmesg
ls
vi reset.sh
vi reset.sh
su root
ls
vi reset_usb.c
gcc -o reset_usb reset_usb.c `pkg-config --libs libusb-1.0`
ls
mv reset_usb exit_dfu
ls
sudo ./exit_dfu
vi downmode.sh
ls
sudo ./downmode.sh
vi update_firmware.sh
ls
mv exit_dfu reset_dfu
mv enter_dfu reset_stm
ls
w
ls
sudo enter_normalmode.sh
sudo ./enter_normalmode.sh
ls
mv enter_downmmode.sh enter_dfumode.sh
mv enter_normalmode.sh enter_runmode.sh
ls
vi update_firmware.sh
ls
sudo ./update_firmware.sh
lsusb
sudo ./update_firmware.sh
ls
vi update_firmware.sh
ls
sudo ./update_firmware.sh
ls
slmod
lsusb
sudo ./enter_dfumode.sh
lsusb
ls
vi update_firmware.sh
sudo ./update_firmware.sh
ls
sudo ./enter_runmode.sh
sudo lsusb
vi update_firmware.sh
ls
sudo ./update_firmware.sh
lsusb
ls
sudo ./enter_dfumode.sh
sudo ./update_firmware.sh
lsusb
sudo ./enter_dfumode.sh
sudo ./update_firmware.sh
sudo ./reset_dfu
sudo ./reset_stm
lsusb
ls
sudo ./enter_dfumode.sh
lsusb
sudo ./reset_stm
lsusb
sudo ./reset_dfu
lsusb
sudo ./update_firmware.sh
lsusb
sudo ./enter_dfumode.sh
lsusb
ls
vi enter_dfumode.sh
ls
sudo ./update_firmware.sh
sudo ./enter_runmode.sh
ls
mkdir firmware
ls
mv enter_*.sh firmware/
ls
vm reset_*fir
vm reset_* firmware/
ls
mv reset_* firmware/
ls
mv pacific.bin update_firmware.sh firmware/
ls
cd firmware/
ls
rm reset_usb.c
ls
sync
cd
ls
cd sgminer_5.6.x/
ls
vi driver-baikal.h
ls
sudo shutdown -h now
lsusb
cd firmware/
ls
sudo ./enter_runmode.sh
sudo lsmod
lsusb
ls
vi enter_dfumode.sh
ls
cat enter_runmode.sh
cd
ls
cd /opt/scripta/etc/
ls
cd backup/
ls
mv 20171002-1613/ X11
sudo mv 20171002-1613/ X11
ls
sudo mv 20171002-1614/ DC
ls
sudo rm -rf DC
ls
cd sgminer_5.6.x/
ls
cd
su root
ls
cd sgminer_5.6.x/
ls
vi Makefile
ls
./autogen.sh
ls
vi Makefile.am
vi configure.ac
./autogen.sh
./configure
make
sudo ./update.sh
sync
ls
cd
ls
cd firmware/
ls
sudo halt
ls
cd firmware/
ls
vi enter_dfumode.sh
vi update_firmware.sh
cd
ls
ifconfig
ls
cd sgminer_5.6.x/
ls
vi driver-baikalu.c
make
sudo ./update.sh
sudo screen -r
ls
sync
make
sudo ./update.sh
ls
vi driver-baikalu.c
sudo halt
ls
cd firmware/
ls
vi enter_dfumode.sh
sudo /opt/scripta/startup/miner-stop.sh
vi update_firmware.sh
ls
vi enter_dfumode.sh
ls
vi update_firmware.sh
./update_firmware.sh 1
vi update_firmware.sh
./update_firmware.sh 1
ls
./update_firmware.sh pacific.bin
dfu-util
ls
ls
cd sgminer_5.6.x/
ls
make
sudo ./update.sh
sudo screen -r
ls
sudo sync
sudo halt
member
Activity: 311
Merit: 69
PowerMining.pw
Nicely done! How many different source files did you need to find and/or modify? When you call baikal_setoption() what arguments do you use? Do you plan on open-sourcing the work you've done or listing the modifications you had to make?

I will be adding current extracted code on github shortly, and hope that others can contribute.
member
Activity: 311
Merit: 69
PowerMining.pw
newbie
Activity: 87
Merit: 0
Anybody knows if it is possible to get android system on baikal X10?

I think than is another way possible to hack the system!
newbie
Activity: 50
Merit: 0
Tired as hell, but woohaa!

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-25 20:31:35] - [0 days 00:01:14]
--------------------------------------------------------------------------------
(5s):10.13G (avg):10.27Gh/s | A:829  R:0  HW:37  WU:31147.411/m
ST: 1  SS: 12  NB: 4  LW: 4168  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 40 as user XXX
Block: 8826b8d8...  Diff:87M  Started: [20:32:35]  Best share: 39.3K
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
BKLU 0: 39C 300MHz [ASICS #64] | 3.379G/3.616Gh/s | A:288 R: 0 HW:25 WU:10739.883/m
BKLU 1: 39C 300MHz [ASICS #64] | 3.379G/3.610Gh/s | A:287 R: 0 HW: 5 WU:11230.049/m
BKLU 2: 38C 300MHz [ASICS #64] | 3.379G/3.613Gh/s | A:302 R: 0 HW:10 WU:11173.155/m

Have not tried any other algo`s just yet, so i only know that quark works at the moment. However, i see a high rise in hardware errors, on stock sgminer this have always been "0"(Ive had the X10 in only 2 day though). Chip temps are the same as before. Ill see over the night if hashrates are showing up correctly at nicehash. Will continue tomorrow.

Great work!
Did you add these changes to usbutils.h?
Code:
...
USB_ADD_COMMAND(C_BAIKAL_SEND, "BaikalSend") \
USB_ADD_COMMAND(C_BAIKAL_READ, "BaikalRead")
...


Yepp, came down to being fault definition of chip manufacturer in usbutils.c in its search function for finding devices
Code:
.iManufacturer = "Baikal", // 25.03.18 changed from "MS Technology" to "Baikal"

It seems that baikal continuously does live changes on their partition and just mirrors it to a image, that why we are able to recover these files and the reason why there are so many of the same ones. Files goes years back to A900 and Dash Mini Miner.

Great job again!
We might just need to go through all the different versions of each source file to find which one is the most up to date.  For instance I "think" this is the latest/greatest device_baikal.h file:
Code:
#ifndef __DEVICE_BAIKAL_H__
#define __DEVICE_BAIKAL_H__

#include "miner.h"

#define BAIKAL_1751             (0x1)
#define BAIKAL_1772             (0x2)
#define BAIKAL_1791             (0x4)
#define BAIKAL_ALL              (0x7)
#define BAIKAL_TYPE             (BAIKAL_ALL)

#define BAIKAL_MAXMINERS     (5)
#define BAIKAL_MAXUNIT          (4)
#define BAIKAL_MAXASICS         (16)
#define BAIKAL_WORK_FIFO        (200)

#define BAIKAL_CLK_MIN  (150)
#define BAIKAL_CLK_MAX     (300)

#if BAIKAL_TYPE == BAIKAL_1751
#define BAIKAL_CLK_DEF  (200)
#elif BAIKAL_TYPE == BAIKAL_1791
#define BAIKAL_CLK_DEF  (400)
#else
#define BAIKAL_CLK_DEF  (300)
#endif

#define BAIKAL_CUTOFF_TEMP      (60)
#define BAIKAL_FANSPEED_DEF     (100)
#define BAIKAL_FANSPEED_MAX     (100)
#define BAIKAL_RECOVER_TEMP     (40)

#define BAIKAL_RESET     (0x01)
#define BAIKAL_GET_INFO         (0x02)
#define BAIKAL_SET_OPTION     (0x03)
#define BAIKAL_SEND_WORK     (0x04)
#define BAIKAL_GET_RESULT     (0x05)
#define BAIKAL_SET_ID     (0x06)
#define BAIKAL_SET_IDLE     (0x07)

#define BAIKAL_MINER_TYPE_NONE  (0x00)
#define BAIKAL_MINER_TYPE_MINI  (0x01)
#define BAIKAL_MINER_TYPE_CUBE  (0x02)

#define BAIKAL_ENABLE_SETCLK    (0)

#define BAIKAL_CHECK_STALE      (0)
#define BAIKAL_EN_HWE           (0)
#define BAIKAL_CLK_FIX          (1)

struct asic_info {
    uint32_t nonce;
    uint32_t error;
};

struct miner_info {
    int     thr_id;
    int     asic_count; 
    int     asic_count_r; 
    int     unit_count;
int temp; 
    int     clock;
    int     bbg;
    bool    working;
    bool    overheated;
    uint8_t fw_ver;
    uint8_t hw_ver;
    uint8_t asic_ver;   
    uint32_t nonce;
    uint32_t error;   
    double working_diff;   
    struct asic_info asics[BAIKAL_MAXUNIT][BAIKAL_MAXASICS];
    uint8_t work_idx;
    struct work *works[BAIKAL_WORK_FIFO];
    cgtimer_t start_time;
};


struct baikal_info {
    struct pool pool;
    int miner_count;
    int clock;
    uint8_t cutofftemp;
    uint8_t fanspeed; // percent
    uint8_t recovertemp;
pthread_t *process_thr;
    struct miner_info miners[BAIKAL_MAXMINERS];   
    uint8_t miner_type;
};

typedef struct {
    uint8_t     miner_id;
    uint8_t     cmd;
    uint8_t     param;
    uint8_t     dest;
    uint8_t     data[512];
    uint32_t    len;
} baikal_msg;


#endif /* __DEVICE_BAIKAL_H__ */
jr. member
Activity: 42
Merit: 25
Tired as hell, but woohaa!

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-25 20:31:35] - [0 days 00:01:14]
--------------------------------------------------------------------------------
(5s):10.13G (avg):10.27Gh/s | A:829  R:0  HW:37  WU:31147.411/m
ST: 1  SS: 12  NB: 4  LW: 4168  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 40 as user XXX
Block: 8826b8d8...  Diff:87M  Started: [20:32:35]  Best share: 39.3K
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
BKLU 0: 39C 300MHz [ASICS #64] | 3.379G/3.616Gh/s | A:288 R: 0 HW:25 WU:10739.883/m
BKLU 1: 39C 300MHz [ASICS #64] | 3.379G/3.610Gh/s | A:287 R: 0 HW: 5 WU:11230.049/m
BKLU 2: 38C 300MHz [ASICS #64] | 3.379G/3.613Gh/s | A:302 R: 0 HW:10 WU:11173.155/m

Have not tried any other algo`s just yet, so i only know that quark works at the moment. However, i see a high rise in hardware errors, on stock sgminer this have always been "0"(Ive had the X10 in only 2 day though). Chip temps are the same as before. Ill see over the night if hashrates are showing up correctly at nicehash. Will continue tomorrow.

Great work!
Did you add these changes to usbutils.h?
Code:
...
USB_ADD_COMMAND(C_BAIKAL_SEND, "BaikalSend") \
USB_ADD_COMMAND(C_BAIKAL_READ, "BaikalRead")
...


Yepp, came down to being fault definition of chip manufacturer in usbutils.c in its search function for finding devices
Code:
.iManufacturer = "Baikal", // 25.03.18 changed from "MS Technology" to "Baikal"

It seems that baikal continuously does live changes on their partition and just mirrors it to a image, that why we are able to recover these files and the reason why there are so many of the same ones. Files goes years back to A900 and Dash Mini Miner.

Nicely done! How many different source files did you need to find and/or modify? When you call baikal_setoption() what arguments do you use? Do you plan on open-sourcing the work you've done or listing the modifications you had to make?
newbie
Activity: 43
Merit: 0
Have not tried any other algo`s just yet, so i only know that quark works at the moment. However, i see a high rise in hardware errors, on stock sgminer this have always been "0"(Ive had the X10 in only 2 day though). Chip temps are the same as before. Ill see over the night if hashrates are showing up correctly at nicehash. Will continue tomorrow.

Nice job! This is what I call an achievement.

If everything is properly configured, then the hardware errors should be 0 on the X10. This indicates a slight misconfiguration in the driver-baikal header file. Probably some of the given values did not belong to the X10, but to another miner.

You should also try another pool other than Nicehash. If you are lucky, then your hardware errors might disappear.
member
Activity: 311
Merit: 69
PowerMining.pw
Tired as hell, but woohaa!

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-25 20:31:35] - [0 days 00:01:14]
--------------------------------------------------------------------------------
(5s):10.13G (avg):10.27Gh/s | A:829  R:0  HW:37  WU:31147.411/m
ST: 1  SS: 12  NB: 4  LW: 4168  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 40 as user XXX
Block: 8826b8d8...  Diff:87M  Started: [20:32:35]  Best share: 39.3K
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
BKLU 0: 39C 300MHz [ASICS #64] | 3.379G/3.616Gh/s | A:288 R: 0 HW:25 WU:10739.883/m
BKLU 1: 39C 300MHz [ASICS #64] | 3.379G/3.610Gh/s | A:287 R: 0 HW: 5 WU:11230.049/m
BKLU 2: 38C 300MHz [ASICS #64] | 3.379G/3.613Gh/s | A:302 R: 0 HW:10 WU:11173.155/m

Have not tried any other algo`s just yet, so i only know that quark works at the moment. However, i see a high rise in hardware errors, on stock sgminer this have always been "0"(Ive had the X10 in only 2 day though). Chip temps are the same as before. Ill see over the night if hashrates are showing up correctly at nicehash. Will continue tomorrow.

Great work!
Did you add these changes to usbutils.h?
Code:
...
USB_ADD_COMMAND(C_BAIKAL_SEND, "BaikalSend") \
USB_ADD_COMMAND(C_BAIKAL_READ, "BaikalRead")
...


Yepp, came down to being fault definition of chip manufacturer in usbutils.c in its search function for finding devices
Code:
.iManufacturer = "Baikal", // 25.03.18 changed from "MS Technology" to "Baikal"

It seems that baikal continuously does live changes on their partition and just mirrors it to a image, that why we are able to recover these files and the reason why there are so many of the same ones. Files goes years back to A900 and Dash Mini Miner.
newbie
Activity: 50
Merit: 0
Ive been able to recompile sgminer based on files from X10 and CN, however some problems at hand with USB communcation to the boards, guess ill figure out those in a while. As an example i found nothing less than 33 different versions of driver-baikalu.c, so there will be some sorting before everythings ok.

Code:
sgminer 5.6.2-cod3gen - Started: [2018-03-25 16:45:04] - [0 days 00:00:16]
--------------------------------------------------------------------------------
(5s):0.000 (avg):0.000h/s | A:0  R:0  HW:0  WU:0.000/m
ST: 1  SS: 0  NB: 1  LW: 17  GF: 0  RF: 0
Connected to quark.eu.nicehash.com (stratum) diff 40 as user XXX
Block: 51abe371...  Diff:101M  Started: [16:45:03]  Best share: 0
--------------------------------------------------------------------------------
 [U]SB management [P]ool management [S]ettings [D]isplay options [Q]uit
--------------------------------------------------------------------------------
 [2018-03-25 16:45:02.877] Started sgminer 5.6.2-cod3gen
 [2018-03-25 16:45:02.877] * using Jansson 2.7
 [2018-03-25 16:45:02.878] Loaded configuration file /opt/scripta/etc/miner.conf

[b] [2018-03-25 16:45:03.098] No devices detected!
 [2018-03-25 16:45:03.099] Waiting for USB hotplug devices or press q to quit[/b]
 [2018-03-25 16:45:03.099] Probing for an alive pool
 [2018-03-25 16:45:03.480] Startup BaikalMiner initialization... Using settings
from pool quark.eu.nicehash.com.
 [2018-03-25 16:45:03.480] Startup Pool No = 0
 [2018-03-25 16:45:03.498] quark.eu.nicehash.com difficulty changed to 40.960
 [2018-03-25 16:45:09.102] API running in IP access mode on port 4028 (11)

If anyone have the Giant B and Giant x10 and don't mind doing a little work, can you take out the controller board (the board that goes on top of the 3 hash boards) and also the orange pi and swap them?

Want to see if the 3 hashing boards on the Giant B and Giant x10 are the same. If it works, then that means you will only need to update the controller board first, since just swapping out SD Cards does nothing.

It will be pointless trying to compile a custom sgminer if you require to update the controller board first.

X10, B and CN all have different chips, so i dont think it will be possible to cross them, i would not suggest that any one tries this unless they have no problem risking their hardware.

X10 seems to be able to support additional coins: groestl, nist5, x11-gost and veltor, thats atleast what im trying to figure out.


Great work!
Did you add these changes to usbutils.h?
Code:
...
USB_ADD_COMMAND(C_BAIKAL_SEND, "BaikalSend") \
USB_ADD_COMMAND(C_BAIKAL_READ, "BaikalRead")
...
Pages:
Jump to: