Viewing a response to: @microoo/hitchhiker-s-guide-to-substratum-node-on-raspberry-pi
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).
author | drsensor |
---|---|
permlink | re-microoo-hitchhiker-s-guide-to-substratum-node-on-raspberry-pi-20180622t092645162z |
category | utopian-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"} |
created | 2018-06-22 09:26:45 |
last_update | 2018-06-22 09:26:45 |
depth | 1 |
children | 4 |
last_payout | 2018-06-29 09:26:45 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 2.314 HBD |
curator_payout_value | 0.767 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 977 |
author_reputation | 17,679,210,755,117 |
root_title | "Hitchhiker's Guide to Substratum Node on Raspberry Pi" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,749,609 |
net_rshares | 1,529,781,398,844 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
mcfarhat | 0 | 8,679,494,008 | 10% | ||
utopian-io | 0 | 1,520,654,867,269 | 1% | ||
microoo | 0 | 447,037,567 | 100% |
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!
author | microoo | ||||||
---|---|---|---|---|---|---|---|
permlink | re-drsensor-2018622t101426853z | ||||||
category | utopian-io | ||||||
json_metadata | {"tags":["utopian-io"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"} | ||||||
created | 2018-06-22 14:14:27 | ||||||
last_update | 2018-06-22 14:14:27 | ||||||
depth | 2 | ||||||
children | 2 | ||||||
last_payout | 2018-06-29 14:14:27 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 1,411 | ||||||
author_reputation | 1,203,564,119,019 | ||||||
root_title | "Hitchhiker's Guide to Substratum Node on Raspberry Pi" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 61,778,294 | ||||||
net_rshares | 2,350,180,409 | ||||||
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
drsensor | 0 | 2,350,180,409 | 100% |
Nice! Although currently I only have NanoPi Air in my inventory π
author | drsensor |
---|---|
permlink | re-microoo-re-drsensor-2018622t101426853z-20180622t165534093z |
category | utopian-io |
json_metadata | {"tags":["utopian-io"],"community":"busy","app":"busy/2.4.0"} |
created | 2018-06-22 16:55:36 |
last_update | 2018-06-22 16:55:36 |
depth | 3 |
children | 1 |
last_payout | 2018-06-29 16:55:36 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 65 |
author_reputation | 17,679,210,755,117 |
root_title | "Hitchhiker's Guide to Substratum Node on Raspberry Pi" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 61,797,156 |
net_rshares | 0 |
Wow, didn't know this thing before. Tiny and powerful! Hope it's also $5 π
author | microoo | ||||||
---|---|---|---|---|---|---|---|
permlink | re-drsensor-2018622t133424511z | ||||||
category | utopian-io | ||||||
json_metadata | {"tags":["utopian-io"],"app":"esteem/1.6.0","format":"markdown+html","community":"esteem"} | ||||||
created | 2018-06-22 17:34:24 | ||||||
last_update | 2018-06-22 17:34:24 | ||||||
depth | 4 | ||||||
children | 0 | ||||||
last_payout | 2018-06-29 17:34:24 | ||||||
cashout_time | 1969-12-31 23:59:59 | ||||||
total_payout_value | 0.000 HBD | ||||||
curator_payout_value | 0.000 HBD | ||||||
pending_payout_value | 0.000 HBD | ||||||
promoted | 0.000 HBD | ||||||
body_length | 74 | ||||||
author_reputation | 1,203,564,119,019 | ||||||
root_title | "Hitchhiker's Guide to Substratum Node on Raspberry Pi" | ||||||
beneficiaries |
| ||||||
max_accepted_payout | 1,000,000.000 HBD | ||||||
percent_hbd | 10,000 | ||||||
post_id | 61,801,453 | ||||||
net_rshares | 0 |
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>
author | utopian-io |
---|---|
permlink | 20180627t093103977z |
category | utopian-io |
json_metadata | {"tags":["utopian.tip"],"app":"utopian-io"} |
created | 2018-06-27 09:31:03 |
last_update | 2018-06-27 09:31:03 |
depth | 2 |
children | 0 |
last_payout | 2018-07-04 09:31:03 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 408 |
author_reputation | 152,955,367,999,756 |
root_title | "Hitchhiker's Guide to Substratum Node on Raspberry Pi" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 62,461,698 |
net_rshares | 0 |