create account

RE: Hitchhiker's Guide to Substratum Node on Raspberry Pi by drsensor

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @microoo/hitchhiker-s-guide-to-substratum-node-on-raspberry-pi

· @drsensor ·
$3.08
Interesting to see a project that uses SBC and Rust here. Long ago, I have done some image processing project using Raspi, Cubieboard, and Odroid. When I'm still naive, I compile OpenCV in Raspi (first model) and it take 1 day full πŸ˜‚. Since I'm curious about what you have done, allow me to ask some question πŸ™‚

- How long it takes to compile Substratum Node?
- Is there any specific reason why you choose ArchLinux instead of others (e.g Ubuntu Core or Raspbian)? What I know ArchLinux has widest support range for many arm architecture. Curious about your though other than that πŸ™‚

Since now I have some spare time then play around little bit with Rust πŸ˜…, maybe you want to:
- update and switch to the nightly channel (`rustup default nightly`) since there is a [fix](https://github.com/rust-lang/rust/pull/49857) for `'+fp'...`.
- cross compile it in your laptop/PC (see [this article](https://hackernoon.com/compiling-rust-for-the-raspberry-pi-49fdcd7df658) for more info).
πŸ‘  , ,
properties (23)
authordrsensor
permlinkre-microoo-hitchhiker-s-guide-to-substratum-node-on-raspberry-pi-20180622t092645162z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://github.com/rust-lang/rust/pull/49857","https://hackernoon.com/compiling-rust-for-the-raspberry-pi-49fdcd7df658"],"app":"steemit/0.1"}
created2018-06-22 09:26:45
last_update2018-06-22 09:26:45
depth1
children4
last_payout2018-06-29 09:26:45
cashout_time1969-12-31 23:59:59
total_payout_value2.314 HBD
curator_payout_value0.767 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length977
author_reputation17,679,210,755,117
root_title"Hitchhiker's Guide to Substratum Node on Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,749,609
net_rshares1,529,781,398,844
author_curate_reward""
vote details (3)
@microoo ·
Glad you like it and appreciate your suggestion!
Yes, Pi, Arch and Rust are awesome!
1. I did not time the compilation. Likely half to one hour. Not bad.
2. Arch was chosen based on following reasons: It has a mature 64bit support, so Node can be natively compiled. I suppose CPU is more efficient and Node can run on 64bit. It makes use of the full potential of a $35 board. It has a wider range of packages (except some proprietary ones). Highly customizable, for example, the 53 port problem can be solved with a command. Lighter weight, unnecessary packages are not installed by default. Arch is probably the best choice to dive deep into Linux.
3. I tried Rust nightly channel. It’s not stable. It produces different result every night. πŸ˜‚ Sometimes it passes, sometimes not. The stable version caused the +fp warning, so I switched to an earlier version. The stable version actually compiled a working Node, so I suppose +fb is not a big issue.
4. Cross compilation works. I’ve done it a week ago, but haven’t included in my guide. The guide was aimed to raise interest of Pi, Arch, Rust and Sub. Cross compilation is not suitable in the initial introductory guide. People were eager to know how well Node is supported on Pi, and I proved that it can already be compiled natively and run on Pi 3B. I will include cross compilation in my next guide about Pi Zero. YES, Node runs on the $5 Pi Zero W.
Cheers!
πŸ‘  
properties (23)
authormicrooo
permlinkre-drsensor-2018622t101426853z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"}
created2018-06-22 14:14:27
last_update2018-06-22 14:14:27
depth2
children2
last_payout2018-06-29 14:14:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,411
author_reputation1,203,564,119,019
root_title"Hitchhiker's Guide to Substratum Node on Raspberry Pi"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,778,294
net_rshares2,350,180,409
author_curate_reward""
vote details (1)
@drsensor ·
Nice! Although currently I only have NanoPi Air in my inventory πŸ˜‰
properties (22)
authordrsensor
permlinkre-microoo-re-drsensor-2018622t101426853z-20180622t165534093z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"busy","app":"busy/2.4.0"}
created2018-06-22 16:55:36
last_update2018-06-22 16:55:36
depth3
children1
last_payout2018-06-29 16:55:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length65
author_reputation17,679,210,755,117
root_title"Hitchhiker's Guide to Substratum Node on Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,797,156
net_rshares0
@microoo ·
Wow, didn't know this thing before. Tiny and powerful! Hope it's also $5 πŸ˜…
properties (22)
authormicrooo
permlinkre-drsensor-2018622t133424511z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"}
created2018-06-22 17:34:24
last_update2018-06-22 17:34:24
depth4
children0
last_payout2018-06-29 17:34:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length74
author_reputation1,203,564,119,019
root_title"Hitchhiker's Guide to Substratum Node on Raspberry Pi"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id61,801,453
net_rshares0
@utopian-io ·
Hey @drsensor
Here's a tip for your valuable feedback! @Utopian-io loves and incentivises informative comments.

**Contributing on Utopian**
Learn how to contribute on <a href="https://join.utopian.io">our website</a>.

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlink20180627t093103977z
categoryutopian-io
json_metadata{"tags":["utopian.tip"],"app":"utopian-io"}
created2018-06-27 09:31:03
last_update2018-06-27 09:31:03
depth2
children0
last_payout2018-07-04 09:31:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length408
author_reputation152,955,367,999,756
root_title"Hitchhiker's Guide to Substratum Node on Raspberry Pi"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id62,461,698
net_rshares0