Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
amc4d0z7n
on 16/07/2023, 16:55:33 UTC
Hey there,

I was unable to to make the standard USB unit to mine anything and I think there is something wrong with it or with the way I run it. Can anyone please help to troubleshoot?

I am running it with my own linux box.
Code:
$ uname -a
Linux hostname 5.19.0-46-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 21 15:35:31 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

When I plug in the board I can see that it was recognized by the system:
Code:
$ ls /dev/ttyACM*
/dev/ttyACM0

I start the board using the following command:
Code:
./apollo-miner -host solo.ckpool.org -port 3333 -user btc.address -pswd x -comport /dev/ttyACM0 -brd_ocp 48  -osc 30 -ao_mode 1

... and that's what I am getting from the console [truncated]:
Code:
Enter main cycle.
EVENT: 2023-07-13 12:55:13 ::: MINER_START ::: Enjoy your mining!
>>> Waiting for USB /dev/ttyACM0 [0] !!!
Stratum Pool started.
Initial difficulty: 1024
Connecting to solo.ckpool.org:3333...
Connection successful
Server setup for us extranonce1: 222ebd65
Server setup for us size of extranonce2: 8
Pool changed difficulty to 10000
EVENT: 2023-07-13 12:55:13 ::: DIFF_CHANGE ::: Difficulty changed: 1024 => 10000
EVENT: 2023-07-13 12:55:13 ::: POOL_CLEAN_JOB ::: jobIdCounter = 100, JOB: jobName: 64851638000182b0, prevHash: 4a875c9c7378ba63972972c3a735cbda0c2ae0af000185e80000000000000000, nTime: 0x64b03a79, cleanJobs: 1
Queued job 101 [64851638000182b0], job count = 1
Authorization succeeded.
Pool in-service, we can send shares!
EVENT: 2023-07-13 12:55:13 ::: POOL_INFO ::: Pool in-service
>>> Waiting for USB /dev/ttyACM0 [1] !!!
>>> Waiting for USB /dev/ttyACM0 [2] !!!
>>> Waiting for USB /dev/ttyACM0 [3] !!!
>>> Waiting for USB /dev/ttyACM0 [4] !!!
>>> Waiting for USB /dev/ttyACM0 [5] !!!
>>> Waiting for USB /dev/ttyACM0 [6] !!!
>>> Waiting for USB /dev/ttyACM0 [7] !!!
>>> Waiting for USB /dev/ttyACM0 [8] !!!
>>> Waiting for USB /dev/ttyACM0 [9] !!!
>>> Waiting for USB /dev/ttyACM0 [10] !!!
>>> Waiting for USB /dev/ttyACM0 [11] !!!
>>> Waiting for USB /dev/ttyACM0 [12] !!!
>>> Waiting for USB /dev/ttyACM0 [13] !!!
>>> Waiting for USB /dev/ttyACM0 [14] !!!
>>> Waiting for USB /dev/ttyACM0 [15] !!!
>>> Waiting for USB /dev/ttyACM0 [16] !!!
>>> Waiting for USB /dev/ttyACM0 [17] !!!
>>> Waiting for USB /dev/ttyACM0 [18] !!!
>>> Waiting for USB /dev/ttyACM0 [19] !!!
------------------------------------------------------------
-----                  STATISTIC                       -----
------------------------------------------------------------
*** MASTER STATS PER INTERVAL:
INTERVAL  sec  bySol  byDiff  byPool  byJobs  CHIP GHs  W/GHs  SOL  ERR  ERR(%)  CR
  30 sec  10s    0.0     0.0     0.0     0.0      0.00  0.000    0    0    0.0%   0
   5 min  10s    0.0     0.0     0.0     0.0      0.00  0.000    0    0    0.0%   0
  15 min  10s    0.0     0.0     0.0     0.0      0.00  0.000    0    0    0.0%   0
  1 hour  10s    0.0     0.0     0.0     0.0      0.00  0.000    0    0    0.0%   0
   total  10s    0.0     0.0     0.0     0.0      0.00  0.000    0    0    0.0%   0

*** MASTER STATS:
Date: 2023-07-13 12:55:23, UpTime: 10 secs, mbHwVer: 0x0, osc: 30
Smooth osc: step: 1, ignore broken pwc: 0
Found boards:   0
Broken SPI:     0

*** POOL STATS:
Pool: host:port: solo.ckpool.org:3333, user: btc.address, diff: 10000, reconnects: 1
extraNonce1: 222ebd65, extraNonce2Size: 8, jobs: 1, rollingEnabled: 0, rollingMask: 00000000
INTERVAL  sec  JOBS  clean  SHARES  ok  err  POOL sol  minRespT  avgRespT  maxRespT  loss  INSERVICE      %
  30 sec  10s     1      1       0   0    0         0         0         0         0  0.0%        10s  98.6%
   5 min  10s     1      1       0   0    0         0         0         0         0  0.0%        10s  98.6%
  15 min  10s     1      1       0   0    0         0         0         0         0  0.0%        10s  98.6%
  1 hour  10s     1      1       0   0    0         0         0         0         0  0.0%        10s  98.6%
   total  10s     1      1       0   0    0         0         0         0         0  0.0%        10s  98.6%

*** EVENT STATS:
Legend: SE - subbsribe error (initialising issue)
        DIFF - diff changes, REC - reconnects, RECE - reconnects on error
        SHARES - sent to pool, PSS - pwc shares sent, PSD - pwc shares dropped
        DJS - default job shares, SJS - stale job shares, DUP - duplicates, LDS - low diff shares
        BDS - big diff shares, BTS - below target shares, PR - pwc restart, SO - stat overflow
INTERVAL  sec  SE  DIFF  REC  RECE  SHARES  PSS  PSD  DJS  SJS  DUP  LDS  BDS  BTS  PR  SO
  30 sec  10s   0     1    0     0       0    0    0    0    0    0    0    0    0   0   0
   5 min  10s   0     1    0     0       0    0    0    0    0    0    0    0    0   0   0
  15 min  10s   0     1    0     0       0    0    0    0    0    0    0    0    0   0   0
  1 hour  10s   0     1    0     0       0    0    0    0    0    0    0    0    0   0   0
   total  10s   0     1    0     0       0    0    0    0    0    0    0    0    0   0   0

FAN INFO:
Slave  RPM
    0    0

Temp(C) (min/avr/max): 0 / 0 / 0

*** MASTER-SLAVE SPI BUS STATS:
SLAVE                       UID  B-LEN   B-CRC-C   B-CRC-L         VER  TIME    PING    M=>S  rx  err     %    S=>M  rx  err     %  SS  SD  Rst  LastRstT  Packets  Time msec.  Speed(pack./sec)
    0  000000000000000000000000      0  00000000  00000000  0x00000000     0  666666      20   0    0  0.0%       0   0    0  0.0%   0   0    0         0

Total packets: 20 in 10000 ms, speed: 2.00 packets/sec
...
Exporting stat... ERROR: Unknown error.
Disconnected from pool.
EVENT: 2023-07-16 11:15:20 ::: RECONNECTION :::

I downloaded the software from here: https://github.com/jstefanop/Apollo-Miner-Binaries/releases.