HOWTO Configure Eclipse to Work with Jowles

From HBMobile
Revision as of 03:34, 11 November 2007 by Msh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Introduction

This "HOWTO" guide describes how to configure Eclipse on a Xubuntu 7.10 development workstation to:

  • compile 'C' code for the ARM toolchain
  • automatically install the compiled code onto a test GumStix based myPhone, and
  • use remote debugging so you can debug code on the GumStix system in the graphical Eclipse environment on the development workstation.

We assume you've already:

  • assembled your GumStix / Goliath or GumStix / ConsoleLCD based myPhone
  • installed Linux on your development workstation (or are running it as a VMWare virtual image)
  • connected the myPhone to the development workstation using a serial cable
  • downloaded, compiled and installed a recent buildroot from GumStix, and
  • can successfully log into the myPhone via Minicom (or a similar terminal emulator)

Options

This HOWTO assumes you're connecting to your GumStix device via the serial cable. We're going to configure PPP over this serial link so we can use ssh, scp and sftp to make a "network" connection to the device. Using the serial cable is convenient because if you're going to be flashing new images onto your GumStix device, you're already going to need to access the console via the serial port. So we assume that you already have the appropriate null modem cable and are writing this HOWTO to use PPP over the serial port since this is the configuration that requires no hardware beyond what we think is typical for a myPhone developer.

Some people will have added WiFi or Ethernet adapters to their devices, and there's no reason you can't use these high speed network devices instead of the relatively slower serial PPP link described here. However... if you want to do this, you'll have to make the appropriate changes to the procedure described below.

Configuring PPP

Configure OpenSSH and Dropbear

Installing and Configuring Eclipse