Exercises, Environment

  • Scratchbox
  • Esbox
  • Running programs in emulator

About scratchbox

  • Scratchbox is a cross-compilation environement, mainly for ARM development, but not limited to it
  • Creates virtual file system view for user and target (ARM, X86), by massive amount on symbolic links
  • For python development cross-compiling is not usually needed, but virtual scratchbox runtime system is needed.

Using scratchbox

two choices:

  • processor emulation (using qemu)
  • remote execution on actual device using sbrsh (over USB networking)
> newgrp sbox # optional
> /scratchbox/login
[sbox:]> sb-menu

selecting target in Eclipse

* To be able to use the target in Eclipse, it must be selected: Window => Preferences => Esbox => Target

Running Xephyr X server

host> Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac -extension Composite

or use Eclipse toolbar (X)

Starting Maemo into Xephyr

[sbox] > af-sb-init.sh start

Stopping Maemo:

[sbox-SDK_ARMEL:] > af-sb-init.sh stop

or control maemo in Eclipse (m)

Last modified: 2013/07/01 14:41