User Tools

Site Tools


Getting started

The SheevaPlug devkit is preinstalled with a modified Ubuntu 9.04 on the internal NAND flash. The factory root password is 'nosoup4u'.

Serial console

The mini-usb port provides a serial console and a JTAG debug port. To access the console connect using a terminal program to the virtual USB serial port (usually /dev/ttyUSB0) at 11500,8,N,1, e.g. using

screen /dev/ttyUSB0 115200,-crtscts


Install a recent version of openocd (debian version 0.2.0+r2529-1 is ok)

sudo apt-get install openocd

Restart the SheevaPlug; while the bootloader is starting run

openocd -f /usr/share/openocd/scripts/board/sheevaplug.cfg

to connect the debugger. You should see something like

Open On-Chip Debugger 0.3.0-in-development (2009-07-15-19:54) svn:r2529
$URL: $
For bug reports, read
2000 kHz
jtag_nsrst_delay: 200
jtag_ntrst_delay: 200
dcc downloads are enabled
Info : JTAG tap: feroceon.cpu tap/device found: 0x20a023d3 (mfg: 0x1e9, part: 0x0a02, ver: 0x2)
Info : JTAG Tap/device matched

The JTAG server is now started. Connect to port 4444 to access the JTAG interface

telnet localhost 4444

Useful commands

  • halt: stop the processor
  • sheevaplug_init: ??, must be run before using other commands
  • sheevaplug_reflash_uboot: flash a new bootloader with uboot.bin from the JTAG server working directory
  • load_image <abs/path/to/elf>: load an ELF executable in DRAM
  • resume <hexaddr>: restart processor at the specified address (useful to run a program previously loaded in DRAM)
sheevaplug/getting_started.txt · Last modified: 2012/10/19 16:37 (external edit)