Dec 2, 2013

Testing Wolfram Language on a Raspberry Pi emulation

Want to test Wolfram Language without a Raspberry Pi? 

Files you need to download for Windows platform:

  1. QEMU 1.6.0 Binary for Windows: Qemu-1.6.0-windows.zip
  2. Linux Kernel
  3. Latest Raspbian Image 2013-09-25-wheezy-raspbian.zip as this blog is written
  4. The guide on Howto setup Raspberry Pi Emulation with Qemu on Linux or Windows
Main steps:
   1. expand Raspbian image to add more disk space
   2. start the virtual machine to register extra disk space
   3. install Mathematica Language:
       sudo apt-get update && sudo apt-get install wolfram-engine
   
Once you get it running, you can check the performance against a real Raspberry Pi

It takes around 1 hour to get it done. Don't expect much on the performance, have fun!


Updates:


Remote Development Kit doesn't work, the reason is "ssh"


To ssh into the emulated Raspberry Pi, add "-redir tcp:2222::22" to the command options when starting qemu, then "ssh -p 2222 pi@localhost", in Mathematica, it probably connects port 22 by default, it seems no way to specify the port number.