Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Raspberry Pi ARM Binaries #165

Closed
MrChrisJ opened this issue Jan 29, 2016 · 15 comments
Closed

Raspberry Pi ARM Binaries #165

MrChrisJ opened this issue Jan 29, 2016 · 15 comments
Labels

Comments

@MrChrisJ
Copy link

Hey is it possible to get this working for the Arm processors. I would like to add this to the Fullnode project. I did try installing but as expected was met with errors.

@whyrusleeping
Copy link
Member

@MrChrisJ could you provide an error log from the build? I have several raspberry pi's I can spin up to help debug this for you. (we can even probably add a special raspberry pi build to dist.ipfs.io)

@dignifiedquire
Copy link
Member

@MrChrisJ I just pushed a version to master that should work with npm@2 please give it a try

@MrChrisJ
Copy link
Author

Hey @dignifiedquire thanks very much. I did get v3 working, still getting these errors on the Pi:
https://gist.github.com/MrChrisJ/14e9cc728cf608dcd97a

I have Station working on OS X just fine. I installed it minutes ago after your commit.

@dignifiedquire
Copy link
Member

@MrChrisJ the error means it's not able to connect to the npm registry. probably some network issue on the config side of your box

@MrChrisJ
Copy link
Author

@dignifiedquire ooops sudo killall tor, let's see how this goes :). I did originally get a different error though on the next stage but it's downloading now. Thanks for your time.

@MrChrisJ
Copy link
Author

After a bit of fiddling I did get working. The application will run for about 10-20 mins before crashing:
https://gist.github.com/MrChrisJ/61ff07629cb4c79bcfd5#file-20160219-ipfs_station_crashing_rpi2-txt

I will try to install it again to see if there was a problem with any of the packages.

@MrChrisJ
Copy link
Author

I have tried the new download and I am back to the same error as before. This looks like something to do with NPM and the Pi so I have asked some colleagues who are familiar with NodeJS:
https://gist.github.com/MrChrisJ/14e9cc728cf608dcd97a
https://gist.github.com/MrChrisJ/61ff07629cb4c79bcfd5#file-error-trying-to-install-ipfs-station

That is with all the Proxy settings checked in the system as well as NPM Config. I tried fresh installs of both Wheezy and Jessie. Double checked everything. Will see what my friends come back with.

@ralphtheninja
Copy link

@MrChrisJ This sounds like it's related to npm and not station. Have you tried installing anything else with npm?

@ralphtheninja
Copy link

Well the ECONNRESET sounds related to npm and your connection, not the crash.

@hacdias hacdias added area/linux Linux P4 - Very Low P3 Low: Not priority right now and removed P4 - Very Low P3 Low: Not priority right now labels Jul 24, 2019
@hacdias
Copy link
Member

hacdias commented Sep 27, 2019

This is quite an old issue. I'm closing this for now. However, if anyone needs or would like to have arm 7 binaries, please feel free to ping me here and we can see what can be done about the situation.

@hacdias hacdias closed this as completed Sep 27, 2019
@insign
Copy link

insign commented Feb 7, 2021

ARM looks like a trend. Trying to run in my Pi4. Maybe from souce. Just saying that this is important.

@lidel lidel changed the title Raspberry Pi Arm 7 Binaries Raspberry Pi ARM Binaries Sep 22, 2023
@lidel
Copy link
Member

lidel commented Sep 22, 2023

Reopening as, it should be possible to re-evaluate what is needed to run IPFS Desktop on inexpensive ARM64 hardware like RaspberryPi 4.

Kubo already provides ARM64 build that I confirmed works fine on my RPi4.
What remains, is making sure IPFS Desktop for linux is also built for ARM64, and that kubo binary inside of it is for ARM64 too.

@lidel lidel reopened this Sep 22, 2023
@SgtPooki
Copy link
Member

There are a few requests related to ARM support:

I am open to supporting ARM64 on all platforms (especially mine!)

I think calling electron-builder manually would be easier than installing dependencies dynamically during runtime, but I can investigate more.

Two good resources I found are:

So it seems like the actions needed are:

  1. Figure out what arm64 hosted-runner kubo-releaser is using, and use that for some electron-builder tasks
  2. call electron-builder from arm64/armv71 hosted-runners with flags as mentioned in https://www.beekeeperstudio.io/blog/electron-apps-for-arm-and-raspberry-pi and at https://www.electron.build/cli

@SgtPooki
Copy link
Member

I searched for electron-builder stuff in github CI files and found a few examples for us to look at.

https://github.com/jgraph/drawio-desktop seems like a promising place to look for configs and stuff to update our electron-builder flow.. seems like a pretty popular app that's up to date with a really clear electron-builder integration, and multiple arch builds: including mac universal build...

@SgtPooki
Copy link
Member

closing this in favor of #2681

@SgtPooki SgtPooki closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants