The ORPSoC model is designed to load an initial image into Flash
memory at start up. When debugging with GDB it is more usual to use
the debugger to load a particular image into RAM. So the initial flash
image is just a simple program which initializes the caches, then sits
in a tight loop. It may be found in the sw/loop
directory and makes use of the OpenRISC 1000 utilities in
sw/utils
and the library in
sw/support
.
The directory sw/test-progs
contains a series of
programs for loading into RAM by GDB. The programs are:
hello.c
. A simple "Hello World" program.