Re: [Open-graphics] Reorganizing the wiki

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Timothy Normand Miller
Date: Thursday, June 18, 2009 - 1:57 pm

--001636c5b7121d1d81046ca5a7d4
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

On Thu, Jun 18, 2009 at 4:33 PM, Peter Stuge <peter@stuge.se> wrote:



IIRC, it's in Copenhagen.  I'll let Petter give you details privately.




To program the XP10, I use a parallel port JTAG cable and Lattice tools.  I
think others have used the USB cables just fine too.  Alas, I do this part
and the synthesis under Windows.  For the S3, we have a tool in the repo
that programs an SPI PROM connected to the XP10.  On power-up, the XP10
programs the S3 in slave serial mode.

So, so recap, here are the things you have to do, some optional:

(1) Synthesize for the XP10.  This requires the "free" Lattice tools.
(2) Program the XP10.  You need the Lattice tool for this and a JTAG cable.
On the board, I see these labels on the header: + G I O S C
(2) Synthesize for the S3.  This requires the commercial version of ISE.
But we have a bitfile that we can mail you.
(3) Program the S3.  We have a program for Linux in the repo for this.
(4) Build the BIOS.  The bugs in this process should be worked out.  Make
/opt world writable, and this will go smoother.  Mark can help with that.
(5) Program the BIOS.  Another tool in the repo.


There isn't documentation on how to do this synthesis, and can't think of
all of the things you need to know.  Start with the XP10 top level and star=
t
bringing in modules from that directory and I think just the pci directory
until all of the dependencies are satisfied.  There is a constraints file i=
n
there, and it's very important.  _IF_ you are going to do this, start on it
sooner rather than later in case we forgot to check something in.

Mark did most of the BIOS, and Petter did most of the HQ microcode, so they
should be able to help us out with any problems.

I found Howard's original email to me on the latest S3 image.  I've dropped
the image at:

http://www.cse.ohio-state.edu/~millerti/mod.bit

And the command to program it is:

./s3_prom_load device mod.bit

And I think "device" here means the PCI bus ID you get from lspci.










--=20
Timothy Normand Miller
http://www.cse.ohio-state.edu/~millerti
Open Graphics Project

--001636c5b7121d1d81046ca5a7d4
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<br><br><div class=3D"gmail_quote">On Thu, Jun 18, 2009 at 4:33 PM, Peter S=
tuge <span dir=3D"ltr">&lt;<a href=3D"mailto:peter@stuge.se">peter@stuge.se=
</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"border=
-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-lef=
t: 1ex;">
<div class=3D"im">Timothy Normand Miller wrote:<br>
&gt; Attila Kinali and Petter Urkedal should both have hardware.<br>
<br>
</div>I am in Malm=F6 Sweden and could easily stop by Petter in Denmark if =
he<br>
is somewhere between Copenhagen to Gedser.<br>
<br>
I plan on driving down on Tuesday 23rd but no time set yet. If the<br>
hardware is in Copenhagen I could make it there sooner.</blockquote><div><b=
r>IIRC, it&#39;s in Copenhagen.=A0 I&#39;ll let Petter give you details pri=
vately.<br>=A0</div><blockquote class=3D"gmail_quote" style=3D"border-left:=
 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex=
;">
<br>
<div class=3D"im"><br>
<br>
&gt; They may need some help getting the firmware updated so it can boot<br=
&gt; as a VGA console. =A0I think Mark Marshall has developed an X11<br>
&gt; driver for it.<br>
<br>
</div>X11 is not critical, but would be nice. I have some Spartan 3<br>
experience and software to download bitstreams to the Digilent<br>
evaluation board. What is the JTAG situation on the OGD hardware?</blockquo=
te><div><br>To program the XP10, I use a parallel port JTAG cable and Latti=
ce tools.=A0 I think others have used the USB cables just fine too.=A0 Alas=
, I do this part and the synthesis under Windows.=A0 For the S3, we have a =
tool in the repo that programs an SPI PROM connected to the XP10.=A0 On pow=
er-up, the XP10 programs the S3 in slave serial mode.<br>
<br>So, so recap, here are the things you have to do, some optional:<br><br=
 tools.<br>(2) Program the XP10.=A0 You need the Lattice tool for this and =
a JTAG cable.=A0 On the board, I see these labels on the header: + G I O S =
C<br>
(2) Synthesize for the S3.=A0 This requires the commercial version of ISE.=
=A0 But we have a bitfile that we can mail you.<br>(3) Program the S3.=A0 W=
e have a program for Linux in the repo for this.<br>(4) Build the BIOS.=A0 =
The bugs in this process should be worked out.=A0 Make /opt world writable,=
 and this will go smoother.=A0 Mark can help with that.<br>
(5) Program the BIOS.=A0 Another tool in the repo.<br><br><br>There isn&#39=
;t documentation on how to do this synthesis, and can&#39;t think of all of=
 the things you need to know.=A0 Start with the XP10 top level and start br=
inging in modules from that directory and I think just the pci directory un=
til all of the dependencies are satisfied.=A0 There is a constraints file i=
n there, and it&#39;s very important.=A0 _IF_ you are going to do this, sta=
rt on it sooner rather than later in case we forgot to check something in.<=
br>
<br>Mark did most of the BIOS, and Petter did most of the HQ microcode, so =
they should be able to help us out with any problems.<br><br>I found Howard=
&#39;s original email to me on the latest S3 image.=A0 I&#39;ve dropped the=
 image at:<br>
<br><a href=3D"http://www.cse.ohio-state.edu/~millerti/mod.bit">http://www.=
cse.ohio-state.edu/~millerti/mod.bit</a><br><br>And the command to program =
it is:<br><br>./s3_prom_load device mod.<span class=3D"il">bit<br><br>And I=
 think &quot;device&quot; here means the PCI bus ID you get from lspci.<br>
</span>=A0</div><blockquote class=3D"gmail_quote" style=3D"border-left: 1px=
 solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><=
br>
<div class=3D"im"><br>
<br>
&gt; I was hoping to get time this weekend to get my own build<br>
&gt; environment set up here, but I&#39;m too busy preparing for the WEED<b=
r>
&gt; 2009 workshop at ISCA this weekend. =A0Because of that and other<br>
&gt; things, I won&#39;t actually become available again until July 6th.<br=
<br>
</div>I understand.<br>
<div class=3D"im"><br>
<br>
&gt; However, nearly everything soft you need is in the SVN repo. =A0The<br=
&gt; BIOS is relatively easy to build, and you can synthesize the XP10<br>
&gt; logic using &quot;free&quot; tools. =A0The only catch is the S3, but i=
t&#39;s been<br>
&gt; frozen for a while, and I have a bitfile in an email somewhere that<br=
&gt; I can forward.<br>
<br>
</div>It would really help to have a known good bitstream.</blockquote><div=
px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"=
<br>
<br>
The VGA BIOS should present no problem.<br>
<div class=3D"im"><br>
<br>
&gt; Between practicing the speech and packing, maybe I&#39;ll see what I<b=
r>
&gt; can do here, but there&#39;s only like a 5% chance I&#39;ll be able to=
 get<br>
&gt; to it before I fly out tomorrow.<br>
<br>
</div>I know that travel stress.<br>
<br>
Petter, any chance I can get to borrow your hardware?<br>
<font color=3D"#888888"><br>
<br>
//Peter<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br>Timothy Normand =
Miller<br><a href=3D"http://www.cse.ohio-state.edu/~millerti">http://www.cs=
e.ohio-state.edu/~millerti</a><br>Open Graphics Project<br>

--001636c5b7121d1d81046ca5a7d4--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Open-graphics] Possible error in schematic, James Richard Tyrer, (Thu Mar 16, 2:40 pm)
Re: [Open-graphics] Possible error in schematic, Timothy Miller, (Thu Mar 16, 7:00 pm)
Re: [Open-graphics] Possible error in schematic, James Richard Tyrer, (Thu Mar 16, 9:46 pm)
Re: [Open-graphics] Possible error in schematic, James Richard Tyrer, (Fri Mar 17, 1:11 am)
Re: [Open-graphics] Possible error in schematic, Jack Carroll, (Fri Mar 17, 8:19 am)
Re: [Open-graphics] Possible error in schematic, Richard Smith, (Fri Mar 17, 8:28 am)
Re: [Open-graphics] Possible error in schematic, howard parkin, (Fri Mar 17, 9:11 am)
Re: [Open-graphics] Possible error in schematic, Jack Carroll, (Fri Mar 17, 11:37 am)
Re: [Open-graphics] Possible error in schematic, Jack Carroll, (Fri Mar 17, 11:45 am)
Re: [Open-graphics] Possible error in schematic, Michele Carla`, (Fri Mar 17, 12:30 pm)
[Open-graphics] Re: cable impedance, Raphael Jacquot, (Fri Mar 17, 1:14 pm)
[Open-graphics] Re: cable impedance, James Richard Tyrer, (Fri Mar 17, 2:58 pm)
Re: [Open-graphics] Re: cable impedance, howard parkin, (Fri Mar 17, 10:38 pm)
Re: [Open-graphics] Re: cable impedance, Raphael Jacquot, (Fri Mar 17, 11:15 pm)
Re: [Open-graphics] Possible error in schematic, James Richard Tyrer, (Fri Mar 17, 11:23 pm)
Re: [Open-graphics] Possible error in schematic, James Richard Tyrer, (Fri Mar 17, 11:24 pm)
Re: [Open-graphics] Possible error in schematic, Lee Causier, (Mon Mar 20, 3:37 am)
Re: [Open-graphics] Possible error in schematic, Timothy Miller, (Mon Mar 20, 5:47 am)
Re: [Open-graphics] Possible error in schematic, Michele Carla`, (Mon Mar 20, 10:57 am)
Re: [Open-graphics] Possible error in schematic, Lee Causier, (Mon Mar 20, 1:23 pm)
[Open-graphics] Reorganizing the wiki, Emanuel Zephir, (Mon Jun 15, 12:28 am)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Mon Jun 15, 6:22 am)
Re: [Open-graphics] Reorganizing the wiki, Josephblack, (Thu Jun 18, 3:06 am)
Re: [Open-graphics] Reorganizing the wiki, Attila Kinali, (Thu Jun 18, 6:06 am)
Re: [Open-graphics] Reorganizing the wiki, Peter Stuge, (Thu Jun 18, 11:20 am)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Thu Jun 18, 12:55 pm)
Re: [Open-graphics] Reorganizing the wiki, Peter Stuge, (Thu Jun 18, 1:33 pm)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Thu Jun 18, 1:57 pm)
Re: [Open-graphics] Reorganizing the wiki, Attila Kinali, (Thu Jun 18, 2:33 pm)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Thu Jun 18, 3:42 pm)
Re: [Open-graphics] Reorganizing the wiki, Peter Stuge, (Thu Jun 18, 3:53 pm)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Thu Jun 18, 4:05 pm)
Re: [Open-graphics] Reorganizing the wiki, Peter Stuge, (Thu Jun 18, 4:14 pm)
Re: [Open-graphics] Reorganizing the wiki, Timothy Normand Miller, (Thu Jun 18, 6:19 pm)
Re: [Open-graphics] Reorganizing the wiki, Petter Urkedal, (Sun Jun 21, 3:43 am)
Re: [Open-graphics] Reorganizing the wiki, Josephblack, (Sun Jun 21, 4:58 am)