Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: 2.0 local server via a raspberry pi?  (Read 1226 times)

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 3389
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
2.0 local server via a raspberry pi?
« on: June 22, 2015, 10:36:06 AM »

I wonder if this will be possible?  If so, can we get a shop or something up where you can buy pre-configured smartberries for BitUSD?

edit: could even run a witness on it... so would help decentralize the network even more.

Offline testz

Re: 2.0 local server via a raspberry pi?
« Reply #1 on: June 22, 2015, 10:49:32 AM »
I wonder if this will be possible?  If so, can we get a shop or something up where you can buy pre-configured smartberries for BitUSD?

edit: could even run a witness on it... so would help decentralize the network even more.

Probably you looking for something like this but for BitShares:
https://bitseed.org/product/pre-order-bitseed-v2

It's will be possible when we will know BitShares 2.0 memory requirements.

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 3389
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: 2.0 local server via a raspberry pi?
« Reply #2 on: June 22, 2015, 10:52:12 AM »
I wonder if this will be possible?  If so, can we get a shop or something up where you can buy pre-configured smartberries for BitUSD?

edit: could even run a witness on it... so would help decentralize the network even more.

Probably you looking for something like this but for BitShares:
https://bitseed.org/product/pre-order-bitseed-v2

It's will be possible when we will know BitShares 2.0 memory requirements.

https://twitter.com/satindergrewal/status/612749831551873024 is what made me think about it.

Offline iHashFury

Re: 2.0 local server via a raspberry pi?
« Reply #3 on: June 22, 2015, 12:14:07 PM »
You could also try https://www.solid-run.com/products/cubox-i-mini-computer/.

Bitshares would not build on my one. I will try building graphene  ;)

Offline iHashFury

Re: 2.0 local server via a raspberry pi?
« Reply #4 on: June 22, 2015, 12:22:04 PM »
Graphene is not ready for arm architecture yet. ( or I have made a silly error)

Code: [Select]
libraries/fc/CMakeFiles/secp256k1.dir/build.make:54: recipe for target 'libraries/fc/CMakeFiles/secp256k1.dir/vendor/secp256k1-zkp/src/secp256k1.c.o' failed
make[2]: *** [libraries/fc/CMakeFiles/secp256k1.dir/vendor/secp256k1-zkp/src/secp256k1.c.o] Error 1
CMakeFiles/Makefile2:450: recipe for target 'libraries/fc/CMakeFiles/secp256k1.dir/all' failed
make[1]: *** [libraries/fc/CMakeFiles/secp256k1.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2

Offline bytemaster

Re: 2.0 local server via a raspberry pi?
« Reply #5 on: June 22, 2015, 01:21:01 PM »
It should work on the pi or should require minimal changes.   Everything we do is in cross-platform c++.
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.


Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 2.0 local server via a raspberry pi?
« Reply #7 on: June 22, 2015, 05:50:28 PM »
You can also sell pre-loaded SD cards so people can plug them into RPis. If you want maximum distribution, creating a simple image that can be downloaded and put on an SD card is trivial. Especially since debian armhf natively supports RPI Bs. Just install debian armhf on a RPI B, build bitshares, set up ssh, make some systemd services to start/restart bitshares - and then wrap up that image for distribution. Someone downloads the image, copies it to their SD - sticks it in, and it's a headless, stand-alone server that starts once you plug it in.

BONUS: the RPI B image will probably work with many others boards with no changes, including cubie board, some of those omex (sp?) boards, etc.
« Last Edit: June 22, 2015, 05:52:03 PM by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline fav

  • Administrator
  • Hero Member
  • *****
  • Posts: 3389
  • No Pain, No Gain
    • View Profile
    • BitShares 2.0 SmartCoin
  • BTS: fav
Re: 2.0 local server via a raspberry pi?
« Reply #8 on: June 22, 2015, 06:08:41 PM »
You can also sell pre-loaded SD cards so people can plug them into RPis. If you want maximum distribution, creating a simple image that can be downloaded and put on an SD card is trivial. Especially since debian armhf natively supports RPI Bs. Just install debian armhf on a RPI B, build bitshares, set up ssh, make some systemd services to start/restart bitshares - and then wrap up that image for distribution. Someone downloads the image, copies it to their SD - sticks it in, and it's a headless, stand-alone server that starts once you plug it in.

BONUS: the RPI B image will probably work with many others boards with no changes, including cubie board, some of those omex (sp?) boards, etc.

sounds great. can you do it? :D

Offline Fox

Re: 2.0 local server via a raspberry pi?
« Reply #9 on: June 22, 2015, 06:47:06 PM »
Yes, both Graphene and BitShares currently run on the RPi2. You must comment out the Salsa references in the build scripts to compile correctly, as they will not build on the RPi2 processor at this time.
Witness: fox

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 2.0 local server via a raspberry pi?
« Reply #10 on: June 22, 2015, 06:56:15 PM »
You can also sell pre-loaded SD cards so people can plug them into RPis. If you want maximum distribution, creating a simple image that can be downloaded and put on an SD card is trivial. Especially since debian armhf natively supports RPI Bs. Just install debian armhf on a RPI B, build bitshares, set up ssh, make some systemd services to start/restart bitshares - and then wrap up that image for distribution. Someone downloads the image, copies it to their SD - sticks it in, and it's a headless, stand-alone server that starts once you plug it in.

BONUS: the RPI B image will probably work with many others boards with no changes, including cubie board, some of those omex (sp?) boards, etc.

sounds great. can you do it? :D

yes :-) It's only a little more work than running the PPA. I'd need a PI B, I only have an A. (it could work on the A too, but the newer ARM chip on the B is easier to use with existing pre-compiled libraries).

EDIT: keeping it up to date would be harder... Sure, I install my image - but then it's stuck at that version. It might be easier to just set up our own debian armhf "ppa" and tell people to just install that package - or to have our pre-built binaries just go and fetch the up-to-date releases from that package. We can't get it into Debian main/Ubuntu universe because of the "you must use this with bitshares" clause, but "non-free" would be acceptable. In that case you just tell the Pi to grab the released package from the repositories.
« Last Edit: June 22, 2015, 07:01:52 PM by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline cass

  • Hero Member
  • *****
  • Posts: 4321
  • /(┬.┬)\
    • View Profile
Re: 2.0 local server via a raspberry pi?
« Reply #11 on: June 22, 2015, 07:02:38 PM »
i have a PI B i guess so maybe i can help on this ..
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█


Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 2.0 local server via a raspberry pi?
« Reply #13 on: June 22, 2015, 08:44:17 PM »
Sounds like a fun project - I can get one too (just don't have one at the moment). I can try it out and cass can help with testing.

I think this is what we have to work with for now:
https://github.com/cryptonomex/graphene

Also, I mean RPI 2, not "B" in my previous posts... And we could just base it off of raspbian too, that's easy also and would get better coverage right away... If I get a chance this week, I'll see if I can whip something up for pi owners using raspbian to test.
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
Re: 2.0 local server via a raspberry pi?
« Reply #14 on: June 23, 2015, 05:14:15 PM »
I might get this done sooner than I thought...

I've been piecing together how to emulate raspbian without actually needing hardware, and without using qemu to emulate a whole system (which is so slow) and wrote:
https://wiki.debian.org/RaspberryPi/qemu-user-static

The image I'm working on will be a full jessie rasbian image you can just flash to your sd card. I will have all the commands for the bitshares 2.0 cli wallet and witness node. We'll need to keep an eye on zhangweis' problem too:
https://bitsharestalk.org/index.php/topic,14917.msg193170.html#msg193170
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

 

Google+