Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
Max1965
on 15/07/2021, 21:31:54 UTC
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