summaryrefslogtreecommitdiffstats
path: root/zpu/sw
diff options
context:
space:
mode:
authoroharboe <oharboe>2008-08-21 21:12:57 +0000
committeroharboe <oharboe>2008-08-21 21:12:57 +0000
commit952bcd56f3b4e412594920ef02d9d740b3ce119a (patch)
treec48edb837f7a771f7c7d18c74d97760b92e6b981 /zpu/sw
parent16b20b21e402e6463b89f5a942073f19daaaecb8 (diff)
downloadzpu-952bcd56f3b4e412594920ef02d9d740b3ce119a.zip
zpu-952bcd56f3b4e412594920ef02d9d740b3ce119a.tar.gz
merging in some docs to zpu_arch.html
Diffstat (limited to 'zpu/sw')
-rw-r--r--zpu/sw/helloworld/gccgdb.PNGbin34473 -> 0 bytes
-rw-r--r--zpu/sw/helloworld/zpusim.PNGbin17817 -> 0 bytes
-rw-r--r--zpu/sw/index.html44
3 files changed, 0 insertions, 44 deletions
diff --git a/zpu/sw/helloworld/gccgdb.PNG b/zpu/sw/helloworld/gccgdb.PNG
deleted file mode 100644
index afdfc31..0000000
--- a/zpu/sw/helloworld/gccgdb.PNG
+++ /dev/null
Binary files differ
diff --git a/zpu/sw/helloworld/zpusim.PNG b/zpu/sw/helloworld/zpusim.PNG
deleted file mode 100644
index d8fc277..0000000
--- a/zpu/sw/helloworld/zpusim.PNG
+++ /dev/null
Binary files differ
diff --git a/zpu/sw/index.html b/zpu/sw/index.html
deleted file mode 100644
index fd0a1b4..0000000
--- a/zpu/sw/index.html
+++ /dev/null
@@ -1,44 +0,0 @@
-<html>
-<body>
-<h1>Getting started - a ZPU hello world program</h1>
-The ZPU comes with a standard GCC toolchain and an instruction set simulator. This allows compiling, running & debugging simple test programs. The Simulator has
-some very basic peripherals defined: counter, timer interrupt and a debug output port.
-<h2>Installing</h2>
-<ol>
-<li>Install Cygwin. http://www.cygwin.com
-<li>Install Java
-<li>Start Cygwin bash
-<li>cd zpu/sw
-<li>sh setup.sh
-<li>/tmp/zpu/install/bin now has the .exe files for the GCC toolchain & GDB
-<li>Optionally you may set up PATH variables to point to /tmp/zpu/install/bin<br>
-source env.sh
-</ol>
-<h1>Hello world example</h1>
-The ZPU toolchain comes with newlib & libstdc++ support which means that many C/C++ programs can be compiled without modification.
-<p>
-<code>
-cd zpu/sw/helloworld<br>
-../install/bin/zpu-elf-gcc -phi hello.c -o hello.elf <br>
-</code>
-<h2>Running the hello world example in GDB</h2>
-<ol>
-<li>cd zpu/sw/helloworld
-<li>Launch the simulator from a seperate bash shell:<p>
-java -classpath ../simulator/zpusim.jar -Xmx512m com.zylin.zpu.simulator.Phi 4444
-<p>
-<img src="helloworld/zpusim.PNG" border=0>
-<li>Launch GDB:<p>
-../install/bin/zpu-elf-gdb hello.elf
-<li>Connect to target, load and run application:<p>
-<code>
-(gdb) target remote localhost:4444<br>
-(gdb) load<br>
-(gdb) continue<br>
-</code>
-<p>
-<img src="helloworld/gccgdb.PNG">
-
-
-</body>
-</html>
OpenPOWER on IntegriCloud