Hello,
Anybody using standard unit with Rpi 4? What OS is compatible with delivered code?
I have Rri4 with umber LN and BTC Node running and now I need to connect BTC standard unit.
trying to run standard unit software on Rpi 4 getting an error message below:
./start_apollo.sh
./apollo-miner: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./apollo-miner)
umbrel@umbrel:~/apollo $ ./start_apollo.sh
./apollo-miner: /usr/lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by ./apollo-miner)
umbrel@umbrel:~/apollo $ strings /usr/lib/aarch64-linux-gnu/libstdc++.so.6 | grep GLIBCXX
GLIBCXX_3.4
GLIBCXX_3.4.1
GLIBCXX_3.4.2
GLIBCXX_3.4.3
GLIBCXX_3.4.4
GLIBCXX_3.4.5
GLIBCXX_3.4.6
GLIBCXX_3.4.7
GLIBCXX_3.4.8
GLIBCXX_3.4.9
GLIBCXX_3.4.10
GLIBCXX_3.4.11
GLIBCXX_3.4.12
GLIBCXX_3.4.13
GLIBCXX_3.4.14
GLIBCXX_3.4.15
GLIBCXX_3.4.16
GLIBCXX_3.4.17
GLIBCXX_3.4.18
GLIBCXX_3.4.19
GLIBCXX_3.4.20
GLIBCXX_3.4.21
GLIBCXX_3.4.22
GLIBCXX_3.4.23
GLIBCXX_3.4.24
GLIBCXX_3.4.25
GLIBCXX_DEBUG_MESSAGE_LENGTH
Version:
cat /etc/debian_version
10.10
I am running a standalone on a RPi 4 and here are the steps that I went thru to get it running.
How to Install 64-Bit OS on RPi 4 (4Gb) and get FutureBit Apollo BTC Standalone miner working
Get 64-Bit Raspberry Pi Image
https://downloads.raspberrypi.org/raspios_arm64/images/
Image with Pi Imager
Have to use Custom Image option for now as 64-bit version is not listed.
Raspberry Pi Imager Tool (https://www.raspberrypi.org/downloads/ )
Boot RPi with new card
Perform normal settings (SSH, Wifi, password, etc.)
Optionally: sudo apt update && sudo apt upgrade to get all updates applied.
Download RPi software from:
https://github.com/jstefanop/Apollo-Miner-Binaries/releases/
Get the aarch64 files and download and expand to folder of your choice
These are the Apollo miner executable along with start/stop scripts
Scripts will need editing for the user’s pool information, otherwise your mining power will benefit someone else.
Install Prerequisites for Apollo Miner
Sudo apt-get install screen
Required for the Start_all script
Update Libstdc++ code
Append a line to file “/etc/apt/sources.list”
Type: Sudo nano /etc/apt/sources.list to edit the file.
Add this line: deb http://deb.debian.org/debian sid main
Ctrl-w, Ctrl-x to save and exit.
Then run
sudo apt update
sudo apt-get install --only-upgrade libstdc++6
Confirm your Standalone Apollo-BTC is visible:
ls /dev/ttyACM*
You should see this form of output for each attached standalone miner: /dev/ttyACM0
Cd into your miner folder and type this to get started:
sudo ./start_apollo.sh
Or this if you have more than one unit: sudo ./miner_start_all.sh
I documented this as I was going thru sorting out the issues that I had, but I think it will get you up and running..
I was able to install as per steps provided.
But stuck with:
Confirm your Standalone Apollo-BTC is visible:
ls /dev/ttyACM*
You should see this form of output for each attached standalone miner: /dev/ttyACM0
I connected my BTC via micro usb to RPI but I could not see ttyACM*.
Thank you
So this procedure helped with the GLIBX issue, correct?
Since it is not showing up with the ls command, then you are down to a couple of items..
1) What color and state is the USB light on the front of the of the standalone miner? Are there any other lights on the bottom of the unit lit?
2) Try a different USB port on the RPi?
3) Try a different USB cable?
4) What PS are you using and are both PCIe power cables plugged in tightly?
It was Micro usb cable, I used another one and it seems to me OK now.
Thank you
*** POOL STATS:
Pool: host:port: , diff: 5300, reconnects: 1
extraNonce1: 00000a7f, extraNonce2Size: 4, jobs: 1, rollingEnabled: 0, rollingMask: 00000000
INTERVAL sec JOBS clean SHARES ok err POOL sol minRespT avgRespT maxRespT loss INSERVICE %
30 sec 10s 0 0 2 2 0 10600 18446744072990457 9223372036136189 18446744072991473 0.0% 10s 100.0%
5 min 101s 4 2 8 8 0 96816 18446744072990457 2305843008514260 18446744073040168 0.0% 101s 100.0%
15 min 302s 9 5 11 11 0 246792 18446744072990457 1676976733311556 18446744073199140 0.0% 303s 100.0%
1 hour 436s 14 6 11 11 0 246792 18446744072990457 1676976733311556 18446744073199140 0.0% 436s 99.9%
total 436s 14 6 11 11 0 246792 18446744072990457 1676976733311556 18446744073199140 0.0% 436s 99.9%
*** 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 0 0 0 2 2 0 0 0 0 0 0 0 0 0
5 min 101s 0 1 0 0 8 8 0 0 0 0 0 0 0 0 0
15 min 302s 0 2 0 0 11 11 0 0 0 0 0 0 0 0 0
1 hour 436s 0 3 0 0 11 12 0 0 1 0 0 0 0 0 0
total 436s 0 3 0 0 11 12 0 0 1 0 0 0 0 0 0
FAN INFO:
Slave RPM
0 1865
Temp(C) (min/avr/max): 0 / 27 / 54
*** 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 23001D000550304235343720 0 00000000 00000000 0x13160100 474 560 1370 1348 0 0.0% 1344 1344 0 0.0% 12 0 0 0
Total packets: 1370 in 430831 ms, speed: 3.18 packets/sec
Exporting stat... [done]