Jump to content

PiHoboNickels

Started By Tranz , Mar 16 2014 08:56 PM
raspberry pi hbn stake hobonickels

  • Please log in to reply
45 replies to this topic

#16

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

Since I used up all my coin age on the PI, I took the time to compile 1.4.0.1, and resync. Backup and running!  Start up time went from 45 mins to about 3. :-)  CPU usage is low, and memory is about 67%. I think memory will be the biggest issue in the future.  Should be able to use the disk for more swap, if needed.

 

 

KiB Mem:    448180 total,   429904 used,    18276 free,    23412 buffers
KiB Swap:   511996 total,        0 used,   511996 free,    75760 cached

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
 2710      20   0  4664 1360 1028 R   1.0  0.3   0:00.29 top
 2241      20   0  430m 297m 4440 S   0.7 67.9 146:12.23 hobonickelsd

 


  • 1

Cryptocointalk.com doesn't endorse any ads. Warning: ads my be illegal or untrustworthy in your jurisdiction. Advertising Here.

#17

presstab
  • presstab
  • HyperStake Developer
  • DEVELOPER
  • PipPipPip
  • 376 posts
  • 22 topics
    • Time Online: 16d 10h 13m 20s

67.9% memory isn't all that bad for a pi - I am guessing it is the 512 model though right?


  • 0

#18

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

Yes it is.  Would be cool to the gui working over X window. Not sure how that would work right off hand though..


  • 1

#19

c0da
  • c0da
  • New Member
  • MEMBER
  • Pip
  • 11 posts
  • 0 topics
    • Time Online: 5h 17m 21s
  • LocationLuxembourg, Europe

Hi there,

 

I've trying to compile the wallet on my own Rasberry Pi but it fails / I failed miserably.

 

Here's the whole pastebin if you want to have a look.

 

Cheers.


  • 0

#20

presstab
  • presstab
  • HyperStake Developer
  • DEVELOPER
  • PipPipPip
  • 376 posts
  • 22 topics
    • Time Online: 16d 10h 13m 20s

I am pretty sure db_cxx is in Berkeley database item. I would double check to make sure it is there.  Look in the build_unix folder in the Berkeley directory for a file called db_cxx.h


  • 0

#21

c0da
  • c0da
  • New Member
  • MEMBER
  • Pip
  • 11 posts
  • 0 topics
    • Time Online: 5h 17m 21s
  • LocationLuxembourg, Europe

Hi presstab,

 

I've managed to get a little further thanks to your help.

Sadly now I'm stuck again, error logs right here.

 

Cheers.


  • 0

#22

presstab
  • presstab
  • HyperStake Developer
  • DEVELOPER
  • PipPipPip
  • 376 posts
  • 22 topics
    • Time Online: 16d 10h 13m 20s

I haven't compiled on pi before, but this sounds similar to this post from yesterday on another HBN thread.

 

https://bitcointalk.org/index.php?topic=406112.msg6547086#msg6547086


  • 0

#23

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

Yes, correct, my instructions were incomplete. You only need to remove "#include <xmmintrin.h>" from scrypt_mine.cpp

 

I'll fix my instructions, and I will also put IFDEFs in place to do this automatically for the next major release.


  • 1

#24

c0da
  • c0da
  • New Member
  • MEMBER
  • Pip
  • 11 posts
  • 0 topics
    • Time Online: 5h 17m 21s
  • LocationLuxembourg, Europe

Hi all,

 

got it to work eventually, it's syncing as we speak.

 

Thanks for the help  ;)


  • 1

#25

c0da
  • c0da
  • New Member
  • MEMBER
  • Pip
  • 11 posts
  • 0 topics
    • Time Online: 5h 17m 21s
  • LocationLuxembourg, Europe

Hi there again,

 

so I've been trying to compile the HoboNickels QT Wallet on my Raspberry Pi

for a few days now but I'm stuck.

 

If anyone has the courage to look into it, compile logs are over here.

 

Cheers.


  • 0

#26

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

I have not tried to get the GUI on the PI. Will be really cool if you can pull it off. I wonder how it will respond.

 

Regarding your error. Did you edit the scrypt_mine.cpp or the make?


  • 0

#27

c0da
  • c0da
  • New Member
  • MEMBER
  • Pip
  • 11 posts
  • 0 topics
    • Time Online: 5h 17m 21s
  • LocationLuxembourg, Europe

Hi,

 

I indeed edited the makefile generated by 

qmake "USE_UPNP=-"

to remove the -msse2 flag.


  • 1

#28

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

Hi,

 

I indeed edited the makefile generated by 

qmake "USE_UPNP=-"

to remove the -msse2 flag.

 

Neither of those should have caused that.

 

Looks like it is geting caught up in this section of scrypt_mine.cpp

 

#if defined(__x86_64__)
#define SCRYPT_3WAY #define SCRYPT_BUFFER_SIZE (3 * 131072 + 63)
extern "C" int scrypt_best_throughput(); extern "C" void scrypt_core(uint32_t *X, uint32_t *V); extern "C" void scrypt_core_2way(uint32_t *X, uint32_t *Y, uint32_t *V); extern "C" void scrypt_core_3way(uint32_t *X, uint32_t *Y, uint32_t *Z, uint32_t *V);
#elif defined(__i386__) || defined(__arm__)
#define SCRYPT_BUFFER_SIZE (131072 + 63)

 

 

Might need to define __arm__ similar to how the makefile.unix does it. I'll have a closer look later.

 

edit: you could try to use the scrypt_mine.o compiled from the daemon compilation. Just put it with the other .o(s) for this build.


  • 1

#29

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

This has split and staked from 1500 to 1800 coins and still going! http://162.217.249.198:1080/address/EoGXVBtvKWvQRVm5ytUNYexrmYBfX9ubSP

 

Still very little CPU and good mem usage. Although getting into the mid 80s now. But the uptime is really nice.

 

 19:56:09 up 27 days, 13:10,  1 user,  load average: 0.95, 0.65, 0.52


  • 0

#30

Tranz
  • Tranz
  • Hobonickels Developer
  • CODING DEVELOPER
  • PipPipPipPip
  • 872 posts
  • 34 topics
    • Time Online: 24d 3h 50m 45s

uptime
 03:54:41 up 76 days, 14:32,  1 user,  load average: 1.37, 0.98, 0.82

 

  PID USER      PR  NI  VIRT  RES  SHR S  %CPU %MEM    TIME+  COMMAND
31888 gawd      20   0  641m 401m 1320 S   3.3 91.8   4393:36 hobonickelsd

 

./hobonickelsd getbalance
2353.37275400

 

still going!
 


  • 0





Also tagged with one or more of these keywords: raspberry, pi, hbn, stake, hobonickels

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users