Bitcoin Forum
December 13, 2024, 10:25:26 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Warning: One or more bitcointalk.org users have reported that they strongly believe that the creator of this topic is a scammer. (Login to see the detailed trust ratings.) While the bitcointalk.org administration does not verify such claims, you should proceed with extreme caution.
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 »  All
  Print  
Author Topic: Baikal X10 ⚡OVERCLOCK⚡ Claim reward 0.2 BTC for TUTORIAL HOW TO :)⚡⚡⚡⚡  (Read 22771 times)
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
March 25, 2018, 06:47:48 PM
 #201

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.

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
adra12
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 25, 2018, 08:54:38 PM
 #202

Also while messing with the terminal, an auto generated mail went to the root folder saying

Subject: *** SECURITY information for baikal ***                          

baikal : Feb 10 07:34:20 : www-data : user NOT in sudoers ; TTY=unknown ;$
                                                                          
From www-data@baikal  Fri Feb 10 07:35:24 2017                            
Return-Path: <www-data@baikal>                                            
Received: from baikal (baikal [127.0.0.1])                                
        by baikal (8.15.2/8.15.2/Debian-3) with ESMTP id v1A7ZOC3017405  
        for <root@baikal>; Fri, 10 Feb 2017 07:35:24 GMT                  
Received: (from www-data@localhost)                                      
        by baikal (8.15.2/8.15.2/Submit) id v1A7ZOLM017255;              
        Fri, 10 Feb 2017 07:35:24 GMT                                    
Date: Fri, 10 Feb 2017 07:35:24 GMT                                      
Message-Id: <201702100735.v1A7ZOLM017255@baikal>                          
To: root@baikal                                                          
From: www-data@baikal                                                    
Auto-Submitted: auto-generated                                            
Subject: *** SECURITY information for baikal ***                          
                                                                          
baikal : Feb 10 07:34:24 : www-data : user NOT in sudoers ; TTY=unknown ;$

Don't worry about the mail part. It is the mail service of Ubuntu, which sends a mail to your own device if you log in, or you encounter an error, or security issue, etc.
Usually it is just bullshit.
adra12
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 25, 2018, 11:33:53 PM
 #203

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.
tboy32c
Jr. Member
*
Offline Offline

Activity: 42
Merit: 25


View Profile
March 25, 2018, 11:35:47 PM
 #204

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?
CNoteFan
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
March 26, 2018, 01:48:29 AM
 #205

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__ */
Selector79
Newbie
*
Offline Offline

Activity: 87
Merit: 0


View Profile
March 26, 2018, 04:09:02 AM
 #206

Anybody knows if it is possible to get android system on baikal X10?

I think than is another way possible to hack the system!
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
March 26, 2018, 09:27:59 AM
 #207


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__ */

this is the current driver-baikal.h file that i use. Very similiar to the one you have

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_DEF  (400)
#define BAIKAL_CLK_MAX     (400)
#define BAIKAL_CUTOFF_TEMP      (55)
#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__ */

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:
Quote
Groestl: Unknown @ 690w
Nist5: Unknown @ 690w
X11Gost: Unknown, but possibly 450MHs @ 450w

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.

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
March 26, 2018, 10:57:15 AM
 #208

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.

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
adra12
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 26, 2018, 11:58:10 AM
 #209

this is the current driver-baikal.h file that i use. Very similiar to the one you have

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_DEF   (400)
#define BAIKAL_CLK_MAX    (400)
#define BAIKAL_CUTOFF_TEMP      (55)
#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__ */

If you are already experimenting, then my recommendation is the following for the hardware errors:

Set the hardware error handling to 1 in the header file:
#define BAIKAL_EN_HWE           (1)

Comment out the following lines like this:
/*
#define BAIKAL_MINER_TYPE_NONE  (0x00)
#define BAIKAL_MINER_TYPE_MINI  (0x01)
#define BAIKAL_MINER_TYPE_CUBE  (0x02)
*/

Please let me know about the result.
CNoteFan
Newbie
*
Offline Offline

Activity: 50
Merit: 0


View Profile
March 26, 2018, 02:15:33 PM
 #210

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
arma33
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 27, 2018, 10:06:19 AM
 #211

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..
adra12
Newbie
*
Offline Offline

Activity: 43
Merit: 0


View Profile
March 27, 2018, 10:26:55 AM
 #212

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.
arma33
Newbie
*
Offline Offline

Activity: 42
Merit: 0


View Profile
March 27, 2018, 11:01:02 AM
 #213

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?
chup
Sr. Member
****
Offline Offline

Activity: 737
Merit: 262


Me, Myself & I


View Profile
March 27, 2018, 12:06:32 PM
 #214

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.

cashen
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


View Profile
March 27, 2018, 02:57:18 PM
 #215

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.
cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
March 27, 2018, 05:35:11 PM
 #216

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 ;-)

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
Abdurrahman Yalcin
Member
**
Offline Offline

Activity: 140
Merit: 10


View Profile
March 27, 2018, 08:54:08 PM
 #217

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
dmanukr
Jr. Member
*
Offline Offline

Activity: 75
Merit: 1


View Profile
March 28, 2018, 12:57:17 AM
 #218

Great work guys.. really good. 
chup
Sr. Member
****
Offline Offline

Activity: 737
Merit: 262


Me, Myself & I


View Profile
March 28, 2018, 06:22:27 AM
 #219


Sounds great @ DABjUQjcmYmuiVgZUvGBKuvbTQyCH9UMEG


One experimental day covered:

e74152daafaa96170df1696c946d167565de9380daa7fa5c8f53de6a2183a166

Keep going.

cod3gen
Member
**
Offline Offline

Activity: 311
Merit: 69

PowerMining.pw


View Profile WWW
March 28, 2018, 08:20:55 AM
 #220


Sounds great @ DABjUQjcmYmuiVgZUvGBKuvbTQyCH9UMEG


One experimental day covered:

e74152daafaa96170df1696c946d167565de9380daa7fa5c8f53de6a2183a166

Keep going.

Thanks chup, its appreciated :-)

https://www.powermining.pw ⮚ Hit us with your power while mining for over 30 listed coinz in various algorithms! Get in touch on Discord: https://discord.gg/qSV6b9d
Pages: « 1 2 3 4 5 6 7 8 9 10 [11] 12 13 14 15 16 »  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!