Make a Raspbian SD card for Raspberry Pi under Ubuntu, the easy way

Fast & easy way to setup the Raspbian OS for Raspberry PI.

  1.  Get a 4Gb or higher SD card
  2. Download Raspbian: here
  3. Insert your SD card in your Ubuntu 14.04 system and open the Disks tools (“schijven” in Dutch)

    Schermafdruk van 2014-07-19 20:17:54

  4. Select your SD Card, next go to the upper right corner and click the ‘More Actions’ button. Next select the ‘Restore Disk Image…” menu option.

    Schermafdruk van 2014-07-19 20:20:10

  5. The menu underneath appears, now select your downloaded image file (unzip it first if it’s zipped):

    Schermafdruk van 2014-07-19 20:20:39

  6. You can ignore the message that tells you that your disk image is smaller than the target device, upon first usage you’ll get the menu option to adjust the disk to the total size of the SD card. Press ‘Start restoring…’ and wait for the process to finish.

That’s it, enjoy your Raspbian Pi  setup!

Advertisements

Java 8 benchmarking on ARM and x86

In a previous test I saw already that Java 8 might bring some big improvements for ARM devices compared with previous Java versions. Now with newer versions available for both Java 7 and 8 I found it useful to redo these test and check if the same performance gain applies for x86 machines. Here are the results:

Afbeelding

x86

On ARM devices we can see that the newer builds for both Java 7 (OpenJDK) and 8 (Oracle) do not bring more performance compared to previous Java builds. On the other hand it confirms once again that Java 8 has some nice performance tweaks on board and lets hope these tweaks also find their way in the release build.

For x86 (32-bit) however there is no difference in performance when using Java 8. However, code-wise, Java 8 off course brings some new features, but that’s not the focus of these tests.

Migrating to the Raspberry-Pi

As expected, migrating from a x86-64 Windows environment to the ARM Raspbian environment isn’t going as easily as copy-paste the code…
… no, there were:
– java code conversions
– git versioning problems
– database access problems
– Serial bus (UART) detection problems
– software deployment problems
– and off course local network problems (because I didn’t had these yet…)

But, we’re getting closer!

2013-04-30-134240

Raspberry-Pi running an IO-service which saves data from remote sensors in a local database