nim-libp2p icon indicating copy to clipboard operation
nim-libp2p copied to clipboard

Single-board computer (SBC) support

Open romanzac opened this issue 1 year ago • 4 comments

Nim is an excellent choice for systems with limited resources. Single-board computers (SBCs) are widely used in educational institutions, ranging from high schools to universities. This is also true for devices like routers and other appliances that typically operate 24/7 in our homes.

Adding support for SBCs would enable:

  • Children and students of all ages to engage with web3 technologies early in their lives.
  • Individuals to participate in the libp2p network continuously with minimal operational costs.
  • Families in developing countries to remain connected without the need for a laptop or desktop computer.

Preliminary research indicates that the following CPUs are among the most popular for SBCs: ARM Cortex-A9, ARMv8, and Qualcomm Snapdragon 800 series.


This issue tracks the both support and CI integration for the following platforms:

  • [ ] ARM Cortex-A9
  • [ ] ARM32 v8
  • [ ] Qualcomm Snapdragon 800 series

romanzac avatar Nov 06 '23 03:11 romanzac

Have you tried it?

nim-libp2p has been running on Rpi 3 and 4 and on phones since 2019-2020

  • https://twitter.com/i/status/1224769743892230151
  • https://ethereum.org/en/developers/tutorials/run-node-raspberry-pi/
  • https://ethereum-on-arm-documentation.readthedocs.io/en/latest/index.html

mratsim avatar Nov 06 '23 05:11 mratsim

@mratsim Thank you for the input :).

One part of this issue, too, should be test coverage and having CI runs for these platforms. Also, let's make the issue more actionable and list the concrete platforms we aim to support in the future. (I just edited that in the OP)

kaiserd avatar Nov 06 '23 13:11 kaiserd

We use to have ARM Travis CI. But then Travis became insanely pricy after they were bought by a private equity fund.

For my own ARM testing I'm looking at Oracle Cloud free tier.

mratsim avatar Nov 06 '23 14:11 mratsim

Issue is related to #980

romanzac avatar Nov 07 '23 02:11 romanzac