Pages:
Author

Topic: bitcoind for synology nas (ARM) - page 2. (Read 21144 times)

legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
October 23, 2012, 01:20:06 PM
#8
Maybe you're right ...  Cheesy Cheesy

Code:
userDiskManager> ls -l
total 973812
-rw------- 1 user user 134217728 Oct 22 18:57 blk00000.dat
-rw------- 1 user user 134217728 Oct 22 20:58 blk00001.dat
-rw------- 1 user user 134217728 Oct 23 09:56 blk00002.dat
-rw------- 1 user user 134217728 Oct 23 13:24 blk00003.dat
-rw------- 1 user user 134217728 Oct 23 15:36 blk00004.dat
-rw------- 1 user user 134217728 Oct 23 19:00 blk00005.dat
-rw------- 1 user user  83886080 Oct 23 20:21 blk00006.dat
-rw------- 1 user user  15728640 Oct 22 18:57 rev00000.dat
-rw------- 1 user user  15728640 Oct 22 20:58 rev00001.dat
-rw------- 1 user user  15728640 Oct 23 09:56 rev00002.dat
-rw------- 1 user user  15728640 Oct 23 13:24 rev00003.dat
-rw------- 1 user user  15728640 Oct 23 15:36 rev00004.dat
-rw------- 1 user user  16777216 Oct 23 19:00 rev00005.dat
-rw------- 1 user user  11534336 Oct 23 20:21 rev00006.dat
userDiskManager>
legendary
Activity: 980
Merit: 1008
October 23, 2012, 01:14:47 PM
#7
Cool! Might be an idea to copy over a block chain from another computer you have though. I imagine verifying the block chain on a device like that will take weeks.
legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
October 22, 2012, 12:44:52 PM
#6
Now is downloading blockchain and the CPU is used 100%  Roll Eyes Shocked
I want to see, when it will end, if it changes the workload

Code:
Mem: 102484K used, 16000K free, 0K shrd, 600K buff, 9312K cached
CPU:  0.0% usr  0.0% sys  9.0% nic  0.0% idle 81.8% io  0.0% irq  9.0% sirq
hero member
Activity: 826
Merit: 500
October 22, 2012, 12:39:27 PM
#5
doesnt i slow down the nas?
legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
October 22, 2012, 12:34:06 PM
#4
I'm very stubborn and I did;)
You can download the compiled file , here (v0.7.1-64-g2ef1569-beta): http://www.sendspace.com/file/rnr45y

If you want to compile your own (with some variations may be fine for other ARM platforms)
I worked on clean Debian platform for a Cross-Compiled.

Download the correct toolchain for your ARM. For Synology NAS: http://download.synology.com/download/ds/userguide/Synology_DiskStation_Manager_3rd_Party_Apps_Developer_Guide.pdf
Download db http://pkgs.fedoraproject.org/repo/pkgs/openldap/db-4.8.26.tar.gz
Download openssl http://www.openssl.org/source/openssl-1.0.1c.tar.gz
Download boost http://sourceforge.net/projects/boost/files/boost/1.49.0/boost_1_49_0.tar.bz2

Code:
apt-get install git build-essential libncurses5-dev bison flex gettext texinfo libgmp3-dev libmpfr-dev
git clone https://github.com/bitcoin/bitcoin.git

Put all the downloaded files in a folder and start a sh file with the following code:
Code:
export CC=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-gcc
export CXX=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++
export LD=/usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-ld
export CFLAGS=-I/usr/local/arm-none-linux-gnueabi/include
export LDFLAGS=-L/usr/local/arm-none-linux-gnueabi/lib
export PATH=$PATH:/usr/local/arm-none-linux-gnueabi/bin
export CROSS_PREFIX=arm-none-linux-gnueabi
 
 
tar -xvzf db-4.8.26.tar.gz
cd db-4.8.26/build_unix
../dist/configure --enable-cxx --host=${CROSS_PREFIX} --prefix=/root/arm-libs &&
make &&
make install &&
cd ../..
 
tar -xvzf openssl-1.0.1c.tar.gz
cd openssl-1.0.1c/
./Configure --prefix=/root/arm-libs dist &&
make &&
make install &&
cd ..
 
tar -xvjf boost_1_49_0.tar.bz2
cd boost_1_49_0/
echo "using gcc : arm : /usr/local/arm-none-linux-gnueabi/bin/arm-none-linux-gnueabi-g++ ;" >> tools/build/v2/user-config.jam
./bootstrap.sh
./bjam toolset=gcc-arm link=static
./bjam toolset=gcc-arm link=static --prefix=/root/arm-libs install
cd ..
 
export BOOST_INCLUDE_PATH=/root/arm-libs/include
export BDB_INCLUDE_PATH=/root/arm-libs/include
export OPENSSL_INCLUDE_PATH=/root/arm-libs/include
export BOOST_LIB_PATH=/root/arm-libs/lib
export BDB_LIB_PATH=/root/arm-libs/lib
export OPENSSL_LIB_PATH=/root/arm-libs/lib
 
cd /bitcoin/src/
 
make STATIC=1 -f makefile.unix bitcoind USE_UPNP=-
arm-none-linux-gnueabi-strip bitcoind

Finally, you will find the file in bitcoind in bitcoin/src/
It's not all my work, but I have a little changed from an old post on the forum synology of a user named "PK"
legendary
Activity: 1795
Merit: 1208
This is not OK.
October 22, 2012, 11:59:42 AM
#3
Been trying for DD-WRT (MIPS).

Not gone well.
newbie
Activity: 27
Merit: 0
October 22, 2012, 10:12:44 AM
#2
Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)?
I'm going crazy!
I've been thinking about doing this as well. I'd be very interested in your experiences.
legendary
Activity: 1960
Merit: 1012
SELL bitcoinmarket.net | bitcoinitalia.com SELL
October 21, 2012, 10:50:12 AM
#1
Hi, has anyone tried to compile with success bitcoind for nas synology DS211j (arm)?
I'm going crazy!
Pages:
Jump to: