PINE64

Full Version: Arduino IDE on Pine64
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
For the IDE itself, you need to replace the arduino-1.6.9/java/bin/java with the one from /usr/bin/java.
You will need to replace also the ./arduino-1.6.9/lib/libastylej.so with the one installed by "apt-get install libastylej-jni" from /usr/lib/jni/aarch64-linux-gnu/libastylej.so.
Finally, you also need to replace the ./arduino-1.6.9/lib/liblistSerialsj.so with one compiled from sources, (I'm providing here a zip of my compile).
For the compiler, you need first to install "apt-get install libgcc1-armhf-cross".
Then, i've added the libs libz.so.1.2.8/libpthread-2.19.so/libtinfo.so.5.9 from a RaspberryPi into /usr/arm-linux-gnueabihf/lib/ and created proper symbolic links for them, libz.so.1/libpthread.so.0/libtinfo.so.5 accordingly.

Beware that if you install some other frameworks using Board Manager, maybe you will need to tweak some other stuff, since it will also install 32bits version.
Thank you martinayotte! I will definitely give it a try and report back the results. Smile
Hi
i have been trying to make this work
the version 1.6.10
needs java 8
and by replacing the java file with he on of the java jdk
make it work
but i still no able to make it compile
using a lower version of the board manager like 1.6.5
it says cant exec
and with the default says that cant locate the gnu-g++

i have installed libgcc1-armhf-cross
by downloading the files and dependencies from the debian depository manually and installed as well
but nope not working yet
also include the 32b library that u upload and nothing

any ideas please.>??
i really want to make this work Big Grin
thanks!
(08-01-2016, 07:31 PM)Zoidiano0 Wrote: [ -> ]Hi
i have been trying to make this work
the version 1.6.10
needs java 8
and by replacing the java file with he on of the java jdk
make it work
but i still no able to make it compile
using a lower version of the board manager like 1.6.5
it says cant exec
and with the default says that cant locate the gnu-g++

i have installed libgcc1-armhf-cross
by downloading the files and dependencies from the debian depository  manually and installed as well
but nope not working yet
also include the 32b library that u upload and nothing

any ideas please.>??
i really want to make this work Big Grin
thanks!
are you using open JDK or Oracle JDK?
Hello Is there step by step procedure to install it?
say from installing java, what ever version it is?
Hi all!

This is an update although specifically for the Pinebook I just received, it might work on the Pine64+.
I just ran the update scripts on /usr/local/sbin/ (kernel,uboot and package) to update to version 0.5.5 on my Pinebook 14".

I gathered some information from other forums and this is my small list of instructions I followed to make Arduino IDE 1.8.3 work on the Pinebook (compiling and loading).

Info to install Arduino IDE in Pine64
https://forum.arduino.cc/index.php?topic=400808.0

1. Download the ARM version of Arduino IDE (1.8.3)
2. Run the ./install script in the folder arduino-1.X.X
3. Add armhf architecture support
    
Code:
sudo dpkg --add-architecture armhf

4. Install some 32 bit libraries (armhf)
   
Code:
sudo apt-get install libxtst6:armhf
 sudo apt-get install libxrender1:armhf
 sudo apt-get install libxi6:armhf
 sudo apt-get install openjdk-8-jre:armhf
 sudo apt-get install libxft2:armhf

5. Set permissions for accessing serial port:
  
Code:
 sudo usermod -a -G dialout pine64
 sudo chmod a+rw /dev/ttyACM0


It took a while to open the app, but once opened it was fast and compiled very fast.

Still have to try this on the Pine64+.
Thanks for that jrulian. 

You could also run this script which I wrote at the end of May to install the Arduino IDE (updated for 1.8.3 now that it's out). I had tested it working with the current release of the mate desktop for the pinebook at the time, and it was fully functional, and was hoping a few more people on the IRC chat would have tested it for me. As you pointed out, the Arduino IDE is very slow the first time it loads, but after then it starts reasonably fast... (probably just building cache files for future runs), and compiles are nice and fast.
Pages: 1 2