Post
Topic
Board Hardware
Re: Official FutureBit Apollo BTC Software/Image and Support thread
by
daniel.duese
on 30/03/2024, 17:36:10 UTC
For testing I use an OrangePi 4 LTS with internal 16 GB ECC memory.
I have to mount my 1 TB SSD with fully synchronized blockchain manually. I took the start file from my old V1 Apollo because the new one unfortunately doesn't work. I connected the Apollo1 to the SBC board via USB.

miner_start.sh

chmod 755 miner_start.sh


Code:
#!/bin/bash

cd /opt/apolloapi/backend/apollo-miner
settings=$(cat miner_config)

start_hashboards()
{
    while [ $1 ];
            do
            screen -dmS miner ./futurebit-miner -comport $1 -ao_mode 1 $settings
            sleep 1
            shift
    done
}

#clear old log files
rm apollo-miner.*

#reset internal hashboard
gpio write 0 0
sleep .5
gpio write 0 1

sleep 30
#start internal hashboard

screen -dmS miner ./futurebit-miner -comport /dev/ttyS1 -ao_mode 1 $settings

#find and start external hashboards

ports=$(ls /dev/ttyACM*)
start_hashboards $ports

echo "Started"


https://duse.de/Node.png