2.0 local server via a raspberry pi?

Started by fav, June 22, 2015, 10:36:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maqifrnswa

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: [url="https://launchpad.net/~showard314/+archive/ubuntu/bitshares"]https://launchpad.net/~showard314/+archive/ubuntu/bitshares[/url] [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

fav

@maqifrnswa I can buy a Pi and plugin a SD card... that's about all of my technical knowledge. If it'd work like this, everyone could do it.

@cass maybe you can work together on this one?
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

cass

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  - - -  █║▌║║█

maqifrnswa

#11
Quote from: fav on June 22, 2015, 06:08:41 PM
Quote from: maqifrnswa 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.

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.
maintains an Ubuntu PPA: [url="https://launchpad.net/~showard314/+archive/ubuntu/bitshares"]https://launchpad.net/~showard314/+archive/ubuntu/bitshares[/url] [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Fox

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

fav

Quote from: maqifrnswa 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.

sounds great. can you do it? :D
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

maqifrnswa

#8
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.
maintains an Ubuntu PPA: [url="https://launchpad.net/~showard314/+archive/ubuntu/bitshares"]https://launchpad.net/~showard314/+archive/ubuntu/bitshares[/url] [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

fav

#7
Quote from: bytemaster 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++.

thinking about

http://thepihut.com/collections/raspberry-pi/products/raspberry-pi-model-a-a-plus model A

http://thepihut.com/collections/raspberry-pi-kits-and-bundles/products/raspberry-pi-2-starter-kit Pi2 Model B < better specs

my guess is Pi2 would be better?
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

bytemaster

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: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

iHashFury

Graphene is not ready for arm architecture yet. ( or I have made a silly error)

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

iHashFury

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  ;)

fav

Quote from: testz on June 22, 2015, 10:49:32 AM
Quote from: fav 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.

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.
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]

testz

Quote from: fav 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.

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.

fav

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.
Join us on Hive: [url="https://peakd.com/c/hive-120117/created"]https://peakd.com/c/hive-120117/created[/url]