Bitcoin Forum
November 20, 2017, 01:07:01 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 [2]  All
  Print  
Author Topic: bitcoind for ARM / Cubieboard / Raspberry Pi  (Read 6839 times)
gigatux
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
October 27, 2013, 06:42:40 PM
 #21

I compiled it myself on the new cubieboard3 and is running now (I'm using BDB5.1 as I don't know how to do it with 4.8. I'm not using the wallet, anyway)
That's really the point of my .debs - compiling DB 4.8 is a bit of a pain but I wanted binary compatibility. It does work rather well though, doesn't it.

1511140021
Hero Member
*
Offline Offline

Posts: 1511140021

View Profile Personal Message (Offline)

Ignore
1511140021
Reply with quote  #2

1511140021
Report to moderator
1511140021
Hero Member
*
Offline Offline

Posts: 1511140021

View Profile Personal Message (Offline)

Ignore
1511140021
Reply with quote  #2

1511140021
Report to moderator
1511140021
Hero Member
*
Offline Offline

Posts: 1511140021

View Profile Personal Message (Offline)

Ignore
1511140021
Reply with quote  #2

1511140021
Report to moderator
Join ICO Now A blockchain platform for effective freelancing
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1511140021
Hero Member
*
Offline Offline

Posts: 1511140021

View Profile Personal Message (Offline)

Ignore
1511140021
Reply with quote  #2

1511140021
Report to moderator
jl2012
Legendary
*
Offline Offline

Activity: 1722


View Profile
October 28, 2013, 03:04:11 AM
 #22

I compiled it myself on the new cubieboard3 and is running now (I'm using BDB5.1 as I don't know how to do it with 4.8. I'm not using the wallet, anyway)
That's really the point of my .debs - compiling DB 4.8 is a bit of a pain but I wanted binary compatibility. It does work rather well though, doesn't it.

Yes, running for 10 hours and now at block 216931

Donation address: 374iXxS4BuqFHsEwwxUuH3nvJ69Y7Hqur3
PGP: D3CC 1772 8600 5BB8 FF67 3294 C524 2A1A B393 6517
alexykot
Newbie
*
Offline Offline

Activity: 26


View Profile
November 17, 2013, 10:37:48 PM
 #23

I was just trying to install these .debs on Ubuntu 12.04 at Beaglebone Black, but it doesn't work. Basically ubuntu repos for ARM have libboost version only 1.48 available, while these debs require 1.49. It probably can be compiled from sources, but that's not as simple as just installing some ready packages and also will probably take much time on a weak ARM CPU.

Trying Debian Wheezy on the same hardware.
gigatux
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
November 18, 2013, 07:38:29 AM
 #24

I was just trying to install these .debs on Ubuntu 12.04 at Beaglebone Black, but it doesn't work. Basically ubuntu repos for ARM have libboost version only 1.48 available, while these debs require 1.49. It probably can be compiled from sources, but that's not as simple as just installing some ready packages and also will probably take much time on a weak ARM CPU.
I might be able to decrease the requirements in the Debian control file, but I would need somebody to confirm whether 1.48 and 1.49 would be compatible and whether there are likely to be any linking issues.
Quote
Trying Debian Wheezy on the same hardware.
That should work as it's what the debs were designed for. You still could well struggle with only 512 MB RAM though (at least for downloading the blockchain).

alexykot
Newbie
*
Offline Offline

Activity: 26


View Profile
November 18, 2013, 07:13:54 PM
 #25

Unfortunately it doesn't work at all on my Debian. I'm not sure what's wrong or if I made a mistake somewhere, but here is what I did:
1) I've installed a fresh Debian wheezy and installed all these debs (apart from bitcoin-qt as I need no GUI).
2) I've copied over whole blockchain from a windows machine with updtodate BitcoinQt 0.8.5
3) I started bitcoind with my custom config:
Code:
paytxfee=0.0001
rpcuser=root
rpcpassword=password
rpcallowip=192.168.1.73
daemon=1
debug=1
checkblocks=20
checklevel=0
Bitcoind starts, but it:
a) always asking for database reindex and doesn't pick the index I've copied;
b) if I start it with -reindex flag - it hangs in processes with max CPU, but it doesn't respond over JSON-RPC, and even after a long time waiting shows no signs of life, so I have to just kill it.

However, I found something interesting elsewhere. Debian Unstable repo has bitcoind package available for armhf/armel architectures, and it's last 0.8.5 version. So I installed it and it works nearly fine. Unfortunately it still doesn't like my index copy, but when I run it with -reindex - it start fine, responds over JSON-RPC and indexing goes on, I see it by the quickly increasing blocks count. Full reindex will take I think 24-48h, but I hope it will work fine afterwards.
K1773R
Legendary
*
Offline Offline

Activity: 1680


/dev/null


View Profile
November 21, 2013, 04:53:22 PM
 #26

Unfortunately it doesn't work at all on my Debian. I'm not sure what's wrong or if I made a mistake somewhere, but here is what I did:
1) I've installed a fresh Debian wheezy and installed all these debs (apart from bitcoin-qt as I need no GUI).
2) I've copied over whole blockchain from a windows machine with updtodate BitcoinQt 0.8.5
3) I started bitcoind with my custom config:
Code:
paytxfee=0.0001
rpcuser=root
rpcpassword=password
rpcallowip=192.168.1.73
daemon=1
debug=1
checkblocks=20
checklevel=0
Bitcoind starts, but it:
a) always asking for database reindex and doesn't pick the index I've copied;
b) if I start it with -reindex flag - it hangs in processes with max CPU, but it doesn't respond over JSON-RPC, and even after a long time waiting shows no signs of life, so I have to just kill it.

However, I found something interesting elsewhere. Debian Unstable repo has bitcoind package available for armhf/armel architectures, and it's last 0.8.5 version. So I installed it and it works nearly fine. Unfortunately it still doesn't like my index copy, but when I run it with -reindex - it start fine, responds over JSON-RPC and indexing goes on, I see it by the quickly increasing blocks count. Full reindex will take I think 24-48h, but I hope it will work fine afterwards.
you cant mix different arch's of leveldb databases!

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
alexykot
Newbie
*
Offline Offline

Activity: 26


View Profile
November 22, 2013, 01:47:29 PM
 #27

Full reindex took a little more than 48h (I think about 96h), but now it's done and bitcoind works fine on my BeagleBone Black right now.
I will try to copy over this blockchain to RPi and see if it will work there. I had same problem with it before I bought BBB, but since RPi has twice slower CPU, indexing in there would take ages. Yet, maybe with readymade index it will work now.

IO is still a concern, I'm not sure how lond SD card would live with bitcoind running constantly on it. But I will find out, eventually.
gigatux
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
November 22, 2013, 02:41:40 PM
 #28

I will try to copy over this blockchain to RPi and see if it will work there. I had same problem with it before I bought BBB, but since RPi has twice slower CPU, indexing in there would take ages. Yet, maybe with readymade index it will work now.
According to a friend of mine, a full reindex on the Pi took 4-5 days.

gigatux
Full Member
***
Offline Offline

Activity: 178



View Profile WWW
December 04, 2013, 10:47:33 AM
 #29

Has anyone managed to get my debs working on a Cubieboard 2? I'm having trouble and I'm assuming it's something to do with bitcoind using two threads as it's a dual core machine. debug.log reports pthread errors like:

Code:
bitcoind: pthread_mutex_lock.c:62: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.

Martijnvdc
Sr. Member
****
Offline Offline

Activity: 322


View Profile
December 04, 2013, 10:51:52 AM
 #30

Reindex on rpi only took a day or two IIRC...
Also, i wouldn't recommend writing on an SD card; just use a simple old external harddrive. (with seperate power supply, ofcourse)
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1176


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
January 07, 2014, 09:37:13 AM
 #31

Has anyone tried running Bitcoind AND a LAMP server on their cubieboard/pi/beaglebone?

more or less retired.
Pages: « 1 [2]  All
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!