1 |
1765 |
root |
<!--# set var="title" value="Title" -->
|
2 |
|
|
<!--# include virtual="/ssi/ssi_start.shtml" -->
|
3 |
|
|
<font size=+2 color=#bf0000><b>
|
4 |
|
|
OpenRISC 1000 Project: Xess XSV Demo Apps
|
5 |
|
|
</font></b>
|
6 |
|
|
|
7 |
|
|
<p><table align=center border=1 cellPadding=2 cellSpacing=0 width="100%" valign="top">
|
8 |
|
|
<tbody><tr bgcolor=#bbccff> <td align=center valign=center>
|
9 |
|
|
<a href="/cores/or1k-new/">Home</a> |
|
10 |
|
|
<a href="/cores/or1k-new/arch/">Architecture</a> |
|
11 |
|
|
<a href="/cores/or1k-new/or1200/">OpenRISC 1200</a> |
|
12 |
|
|
<a href="/cores/or1k-new/gnutools/">GNU Toolchain</a> |
|
13 |
|
|
<a href="/cores/or1k-new/or1ksim/">Or1ksim</a> |
|
14 |
|
|
<a href="/cores/or1k-new/linux/">Linux</a> |
|
15 |
|
|
<a href="/cores/or1k-new/uclinux/">uClinux</a> |
|
16 |
|
|
<a href="/cores/or1k-new/rtems/">RTEMS</a> |
|
17 |
|
|
<a href="/cores/or1k-new/ats/">ATS</a></td></tr></tbody>
|
18 |
|
|
</table>
|
19 |
|
|
|
20 |
|
|
<p>
|
21 |
|
|
We are preparing some tutorials how to use the OpenRISC. Until this tutorials are ready, you can only download some precompiled demo apps for Xess XSV800 board. Some demos could also be used with the XSV300 board, but would have to be synthesized/implemented again for the XSV300 board.<br>
|
22 |
|
|
If you can't wait for tutorials, you can get all the individual blocks from the OpenCores CVS under module name or1k (several submodules) and uart16550.
|
23 |
|
|
|
24 |
|
|
<p>
|
25 |
|
|
<font size=+1><b>
|
26 |
|
|
MP3 Demo App
|
27 |
|
|
</b></font>
|
28 |
|
|
<p>
|
29 |
|
|
MP3 demo uses the OR1200 as the RISC processor running GNU GPLed version of the MP3 decoder software called MAD. In order to run this demo, set your XSV800 board to 20 MHz (set frequency divisor to 5 with Xess utility GXSSETCLK). Since setting the frequency doesn't always work, check with an oscilloscope or similar tool that it is set properly. If you can't set it, consult Xess online documentation.<br>
|
30 |
|
|
Attach a speaker or headsets to speaker out connector and download the <a href="classic.exo">classic.exo (3.3MB)</a> file to onboard flash using GXSLOAD utility provided by Xess.<br>
|
31 |
|
|
When the flash is loaded, restart the board by turning power off and then back on. You should hear classical music. One switch button is used to position the player to the first song and and one to advance to the next song.
|
32 |
|
|
|
33 |
|
|
<p>
|
34 |
|
|
<font size=+1><b>
|
35 |
|
|
uClinux/OR32 Demo App
|
36 |
|
|
</b></font>
|
37 |
|
|
<p>
|
38 |
|
|
This demo uses uClinux 2.0.x port running pn OR1200 RISC processor. In order to run this demo, set your XSV800 board to 10 MHz (set frequency divisor to 10 with Xess utility GXSSETCLK). Since setting the frequency doesn't always work, check with an oscilloscope or similar tool that it is set properly. If you can't set it, consult Xess online documentation.<br>
|
39 |
|
|
Download the <a href="linux-35.exo">linux-35.exo (4.4MB)</a> file to onboard flash using GXSLOAD utility provided by Xess. Now you will also have to download a new CPLD configuration so that the Serial RS232 console will work. Download the <a href="cpld-tdm.svf">cpld-tdm.svf (850KB)</a> file.<br>
|
40 |
|
|
Connect the console terminal by attach a RS232 cable connected to a PC running some sort of terminal software (Minicom on Linux or HyperTerminal on Windows for example). Set communication parameters to 4800 baud, 8N1 (8 bits data, no parity, 1 stop bit).<br>
|
41 |
|
|
When the flash and CPLD are loaded, restart the board by turning power off and then back on. Now you should see something like this (can vary since uClinux port is under heavy development):
|
42 |
|
|
<p>
|
43 |
|
|
<pre>
|
44 |
|
|
OpenRisc 1000 support (C) www.opencores.org
|
45 |
|
|
|
46 |
|
|
uClinux/OR32 on Xess XSV800
|
47 |
|
|
Flat model support (C) 1998,1999 Kenneth Albanowski, D. Jeff Dionne
|
48 |
|
|
Calibrating delay loop.. ok - 0.81 BogoMIPS
|
49 |
|
|
Memory available: 1852k/2024k RAM, 0k/0k ROM (180k kernel data, 423k code)
|
50 |
|
|
Swansea University Computer Society NET3.035 for Linux 2.0
|
51 |
|
|
NET3: Unix domain sockets 0.13 for Linux NET3.035.
|
52 |
|
|
uClinux version 2.0.38.1pre3 (simons@odin) (gcc version 2.95.2 19991024 (release
|
53 |
|
|
)) #186 Mon Aug 6 20:45:43 CEST 2001
|
54 |
|
|
Serial driver version 4.13p1 with no serial options enabled
|
55 |
|
|
ttyS00 at 0x9c000000 (irq = 15) is a 16550A
|
56 |
|
|
Ramdisk driver initialized : 16 ramdisks of 512K size
|
57 |
|
|
Blkmem copyright 1998,1999 D. Jeff Dionne
|
58 |
|
|
Blkmem copyright 1998 Kenneth Albanowski
|
59 |
|
|
Blkmem 0 disk images:
|
60 |
|
|
RAMDISK: Romfs filesystem found at block 0
|
61 |
|
|
RAMDISK: Loading 385 blocks into ram disk... done.
|
62 |
|
|
VFS: Mounted root (romfs filesystem).
|
63 |
|
|
request_irq irq = 15 IRQ_T(info) = 20000000
|
64 |
|
|
Executing sash
|
65 |
|
|
|
66 |
|
|
Sash command shell (version 1.1.1)
|
67 |
|
|
/>
|
68 |
|
|
/>
|
69 |
|
|
/> ls
|
70 |
|
|
Makefile
|
71 |
|
|
Makefile~
|
72 |
|
|
bin
|
73 |
|
|
dev
|
74 |
|
|
linuxrc
|
75 |
|
|
proc
|
76 |
|
|
|
77 |
|
|
/> date
|
78 |
|
|
Thu Jan 17 03:44:32 2002
|
79 |
|
|
|
80 |
|
|
/>
|
81 |
|
|
</pre>
|
82 |
|
|
<p>
|
83 |
|
|
Ignore the BogoMIPS rating. Delay loop is not yet calibrated.
|
84 |
|
|
<p>
|
85 |
|
|
We didn't try yet to increase speed of the processor. Looks like there is quite some margin left.
|
86 |
|
|
|
87 |
|
|
<p>
|
88 |
|
|
<font size=+1><b>
|
89 |
|
|
More Demo Apps to Come ...
|
90 |
|
|
</b></font>
|
91 |
|
|
<p>
|
92 |
|
|
One of the next Xess demos will be demonstration of the Ethernet MAC core together with the OR1200. Hopefully we will also soon be able to demonstrate a simple web server - uClinux running on OR1200 on XSV800 with both UART and Ethernet.<br>
|
93 |
|
|
If you have an idea for a cool demo, let us know.
|
94 |
|
|
|
95 |
|
|
<p>
|
96 |
|
|
<font size=+1><b>
|
97 |
|
|
Credits
|
98 |
|
|
</b></font>
|
99 |
|
|
<p>
|
100 |
|
|
Credits go to Xess Corp for supplying one XSV board and to Xilinx Inc for supplying Xilinx Foundation software.
|
101 |
|
|
|
102 |
|
|
<p>
|
103 |
|
|
<font size=+1><b>
|
104 |
|
|
Mailing list / Discussion Forum
|
105 |
|
|
</b></font>
|
106 |
|
|
<p>
|
107 |
|
|
To participate in the development or simply to discuss OpenRISC 1200 issues and to report bugs, go to the <a href="/ml-archive/openrisc/threads.shtml">openrisc mailing list</a>. To subscribe to the list, follow mailing list subscribe <a href="/mailinglists.shtml">instructions</a>.
|
108 |
|
|
|
109 |
|
|
<p>
|
110 |
|
|
<font size=+1><b>
|
111 |
|
|
Page Maintainer
|
112 |
|
|
</b></font>
|
113 |
|
|
<p>
|
114 |
|
|
This web page is maintained by Damjan Lampret.
|
115 |
|
|
<!--# include virtual="/ssi/ssi_end.shtml" -->
|