Embedded: Resin On Raspberry Pi

From Resin 4.0 Wiki

(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
=Resin on Raspberry Pi=
 
=Resin on Raspberry Pi=
  
We are currently in the early stages of modifying Resin to run on a Raspberry Pi.
+
We are currently in the early stages of modifying Resin to run on a Raspberry Pi.
 +
 
 +
Caucho Wiki Raspberry Pi Pages:
  
 
* [[Java On Raspberry Pi Performance]]
 
* [[Java On Raspberry Pi Performance]]
 
* [[Resin Changes To Support Raspberry Pi]]
 
* [[Resin Changes To Support Raspberry Pi]]
 
* [[Paul's Raspberry Pi Journal]]
 
* [[Paul's Raspberry Pi Journal]]
* [[sddd]] - Paul's dd for SD Card script for OSX
+
* [[sddd]] - Paul's improved dd for SD Card script for OSX
  
 
= Resin on Raspberry Pi : Installation and Configuration =
 
= Resin on Raspberry Pi : Installation and Configuration =
  
1.
+
== Preface ==
 +
 
 +
I'm going to assume you already have a working Raspberry Pi with Soft-float Raspbian Wheezy installed and updated, accessible via SSH.  If not, here are some links to help get you started:
 +
 
 +
* [http://www.raspberrypi.org/downloads Soft-float Debian Wheezy Download]
 +
* [http://elinux.org/RPi_Easy_SD_Card_Setup Easy SD Card Setup on the Raspberry Pi Wiki]
 +
* [[sddd|sddd - Paul's improved dd for SD Card script for OSX]]
 +
* [http://learn.adafruit.com/adafruits-raspberry-pi-lesson-2-first-time-configuration Adafruit's First time configuration lesson]
 +
* [http://elinux.org/RPi_raspi-config raspi-config on the Raspberry Pi Wiki]
 +
 
 +
I recommend you run "sudo apt-get update" and then "sudo apt-get upgrade".  This will take something like 60 minutes, but it's good to have all the latest updates.
 +
 
 +
== Java ==
 +
 
 +
* Java 6 and 7 do not support ARMv6 hardware floating-point calculations, so you must use the Soft-float version of Raspbian
 +
* There is an [http://jdk8.java.net/fxarmpreview/ early-access JDK 8 with hard-float support], but we have not tested Resin on JDK 8 yet
 +
* Resin will run on both OpenJDK and Oracle JDK.  I recommend Oracle JDK 7 for performance.  See [[Java On Raspberry Pi Performance|Java On Raspberry Pi Performance for the results of performance tests of Oracle JDK and OpenJDK on Raspberry Pi with Resin]].
 +
* To install OpenJDK 7, simply run "sudo apt-get install openjdk-7-jdk".  java will install in your path using [http://www.linuxalt.com/ /etc/alternatives]
 +
* To install Oracle JDK download [http://www.oracle.com/technetwork/java/javase/downloads/index.html Java SE 7 JDK, Linux ARM v6/v7 Soft Float ABI] from Oracle.  There's nice step-by-step instructions at [http://www.savagehomeautomation.com/pi-jdk Savage Home Automation - Raspberry Pi - Installing Oracle Java Development Kit].

Revision as of 00:00, 8 February 2013

Embed-48.pngPie48.png

Contents

Resin on Raspberry Pi

We are currently in the early stages of modifying Resin to run on a Raspberry Pi.

Caucho Wiki Raspberry Pi Pages:

Resin on Raspberry Pi : Installation and Configuration

Preface

I'm going to assume you already have a working Raspberry Pi with Soft-float Raspbian Wheezy installed and updated, accessible via SSH. If not, here are some links to help get you started:

I recommend you run "sudo apt-get update" and then "sudo apt-get upgrade". This will take something like 60 minutes, but it's good to have all the latest updates.

Java

Personal tools
TOOLBOX
LANGUAGES