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

1.6.4 crashes when run on Raspberry pi 2, raspbian wheezy (feature request?) #3178

Closed
diemkae opened this issue May 17, 2015 · 8 comments
Closed
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic

Comments

@diemkae
Copy link

diemkae commented May 17, 2015

Running rapsberry Pi 2 with raspbian/wheezy:

Linux raspi2 3.18.11-v7+ #781 SMP PREEMPT Tue Apr 21 18:07:59 BST 2015 armv7l GNU/Linux

Want to upgrade distro version of Arduino ide (1.0.1) to 1.6.4 but after downloading and "installing" (in /usr/local/bin/arduino/arduino-1.6.4) starting the IDE crashes with the (final) message:

/usr/local/bin/arduino/arduino-1.6.4/lib/libastylej.so: /usr/local/bin/arduino/arduino-1.6.4/lib/libastylej.so: cannot open shared object file: No such file or directory (Possible cause: can't load IA 32-bit .so on a ARM-bit platform)
Cannot load native library /usr/local/bin/arduino/arduino-1.6.4/lib/libastylej.so
The program has terminated!

@diemkae
Copy link
Author

diemkae commented May 17, 2015

BTW, (obviously) because it's an Intel binary:

dmk@raspi2 ~ $ file /usr/local/bin/arduino/arduino-1.6.4/lib/libastylej.so

/usr/local/bin/arduino/arduino-1.6.4/lib/libastylej.so: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked, BuildID[sha1]=0xa916401a36d8e650cf88460f9738c485bc62e18b, stripped

@diemkae
Copy link
Author

diemkae commented May 17, 2015

That is not a "solution" ... it is just the cause of this problem ;-)

@mschlenker
Copy link
Contributor

You'd better change the subject of this issue to "Feature request: Offer IDE packages for Raspbian Wheezy". Obviously just Linux on x86/x86-64 is currently supported as downloadable package. Even if you manage to run the IDE itself (by making minor changes to themeing) the toolchain and avrdude will fail.

@ffissore ffissore added Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) labels May 18, 2015
@diemkae
Copy link
Author

diemkae commented May 18, 2015

Perhaps so, but Arduino 1.0.1 runs just fine on Raspbian/wheezy on the
Raspberry Pi (maybe because the Element14 folks worked on it a bit ;-)

@diemkae diemkae changed the title 1.6.4 crashes when run on Raspberry pi 2, raspbian wheezy 1.6.4 crashes when run on Raspberry pi 2, raspbian wheezy (feature request?) May 18, 2015
@ffissore
Copy link
Contributor

@diemkae the ide uses stuff (executables and libraries) and most of them are available with apt-get. Feel free to hack on whatever needs to be hacked for the current IDE to run on raspberry pi. For instance, we build astyle binaries using this bash script https://github.com/arduino/astyle. Maybe pinging Element14 may jump in and port 1.6 to pi

@mschlenker
Copy link
Contributor

Yes, the version supplied by the Raspbian Repos is indeed built for ARMv6. Building the IDE itself should not be a big issue following the notes on building for Linux. Afterwards some configuration work has to be done to install newer versions of avr-gcc and avrdude (Jessie repos?) and change the config to point to those system installed binaries.

Having official binaries for the RPi would be nice of course.

@ShorTie8
Copy link

@mschlenker "and change the config to point to those system installed binaries."

Got any clues on how to do this easily ??

Up till 1.6.2 you could easily make symlinks that worked fine.
1.6.3 with the addition of the platform rewrite I had to hard code them.
1.6.4 with the addition of the signature checks, I have not been able to get it to run.

Any help would be most appreciated.

Thankz
Have A Great Day

@ffissore ffissore self-assigned this Jul 1, 2015
@sandeepmistry sandeepmistry added the Type: Duplicate Another item already exists for this topic label Mar 9, 2016
@sandeepmistry
Copy link
Contributor

Marking this as a duplicate of #3334, there are builds available to try out in #4517.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: IDE The Arduino IDE feature request A request to make an enhancement (not a bug fix) Type: Duplicate Another item already exists for this topic
Projects
None yet
Development

No branches or pull requests

5 participants