<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hello Richard, Ben, Uwe, et all<br>
<br>
  I've been following this thread for a little while, and have this 2
pence ( or 2 cents for the US/rest of Europe) to add.<br>
<br>
Based on the conversations, I've pulled the following rev's (based on
changes to the raminit.c)  and tried building using the gcc 3.4.4
toolset.<br>
<br>
<table border="1" cellpadding="2" cellspacing="2" width="100%">
  <tbody>
    <tr>
      <td valign="top"><b>REV</b><br>
      </td>
      <td valign="top">
      <div align="center"><b>Build</b><br>
      </div>
      <div align="center"><b>linuxbios.rom</b><br>
      </div>
      </td>
      <td align="center" valign="top"><b>Reason for Failure</b><br>
      </td>
    </tr>
    <tr>
      <td>1131 </td>
      <td colspan="1" rowspan="16" align="center" valign="middle">
Failed<br>
      </td>
      <td valign="middle"> No Target !! - looks like the via/epia
target directory only exists from rev 1138<br>
      </td>
    </tr>
    <tr>
      <td>1138</td>
      <td colspan="1" rowspan="12" valign="middle">no
src/arc/i386/config/crt0.bast<br>
      </td>
    </tr>
    <tr>
      <td>1151</td>
    </tr>
    <tr>
      <td>1154</td>
    </tr>
    <tr>
      <td>1155</td>
    </tr>
    <tr>
      <td>1156</td>
    </tr>
    <tr>
      <td>1157</td>
    </tr>
    <tr>
      <td>1159</td>
    </tr>
    <tr>
      <td>1177</td>
    </tr>
    <tr>
      <td>1179</td>
    </tr>
    <tr>
      <td>1180</td>
    </tr>
    <tr>
      <td>1227</td>
    </tr>
    <tr>
      <td>1228</td>
    </tr>
    <tr>
      <td>1259</td>
      <td valign="middle">Couldn't Parse Config file<br>
      </td>
    </tr>
    <tr>
      <td>1618</td>
      <td colspan="1" rowspan="2" valign="middle">compile error -
unsigned long long no supported<br>
      </td>
    </tr>
    <tr>
      <td>1619</td>
    </tr>
    <tr>
      <td>1726</td>
      <td colspan="1" rowspan="2" align="center" valign="middle">Success<br>
      </td>
      <td valign="middle"><br>
      </td>
    </tr>
    <tr>
      <td>1808</td>
      <td valign="middle"><br>
      </td>
    </tr>
    <tr>
      <td>1952</td>
      <td align="center" valign="middle">Failed<br>
      </td>
      <td valign="middle">No rule to make target
src/southbrigde/via/vt8231/vt8231_lpc.c needed by vt8321_lpc.o<br>
      </td>
    </tr>
    <tr>
      <td>1954</td>
      <td colspan="1" rowspan="2" align="center" valign="middle">Success<br>
      </td>
      <td valign="middle"><br>
      </td>
    </tr>
    <tr>
      <td>1978</td>
      <td valign="middle"><br>
      </td>
    </tr>
  </tbody>
</table>
<br>
<br>
Output from Manufacturers Bios :- <br>
<pre><tt>00:00.0 Host bridge: VIA Technologies, Inc. VT8601 [Apollo ProMedia] (rev 05)
00: 06 11 01 06 06 00 90 a2 05 00 00 06 00 08 00 00
10: 08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 06 11 10 60
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: fe df c8 98 00 00 10 10 80 00 08 10 10 10 10 10
60: 3f 2a 00 20 e6 95 95 c4 42 ac 65 0d 08 7f 00 00
70: c0 88 ec 0c 0e 81 52 00 01 f4 01 00 00 00 00 00
80: 0f 40 00 00 00 00 00 00 03 00 68 07 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 02 00 20 00 07 02 00 07 00 00 00 00 6e 02 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 01 01 22 42 00 b0 00 08 00 00
</tt>
</pre>
Out of the 4 successes, I've trued the first 2 and have only gotten as
far as the 'vt8601 done'<br>
<br>
I've not modified the code to dump the registers yet, and the problem
could be that the default config of PC100 and CL3 doesn't work for my
ram which is causing it to hang after the raminit.<br>
<br>
Hope this helps.<br>
<br>
I'm going to try and get my system here install with serveral version
of the gcc toolchain if I can<br>
<br>
If there's anything you want me to try, or a particular version of gcc
to try, I'll give it a go if I can as I'd love to see this board (I
have both an epia 800 and epia 5000 ) working on LBv2 just as it did
uner LBv1<br>
<br>
Regards<br>
Mark Wilkinson.<br>
<br>
Ben Hewson wrote:
<blockquote cite="mid44FF2E15.7050407@hewson-venieri.com" type="cite">
Richard Smith wrote:
  <blockquote
 cite="mid8a0c36780609061222q3b513172r37189dcf883cf0d4@mail.gmail.com"
 type="cite">
    <pre wrap="">On 9/6/06, Ronald G Minnich <a
 class="moz-txt-link-rfc2396E" href="mailto:rminnich@lanl.gov"><rminnich@lanl.gov></a> wrote:
  </pre>
    <blockquote type="cite">
      <pre wrap="">I will attempt to get you a rom image of a working linuxbios rom
tonight. I have one.

    </pre>
    </blockquote>
    <pre wrap=""><!---->
That would be a magic bullet.  If we can boot that, dump the
northbridge settings and compare vs what LB is currently doing then we
know a _lot_.  If they are the same then I think we have strong
evidence that something in the newer chips is different.

Please send it to "Alex Mauer" <a class="moz-txt-link-rfc2396E"
 href="mailto:hawke42@gmail.com"><hawke42@gmail.com></a> and cc me.

  </pre>
  </blockquote>
when I get another PSU I'll boot my board up with the original bios and
dump the northbridge settings.<br>
The board I am working on is rev D. I have another board in use as a
firewall and that is a rev A so I could possibly see if that works any
better or if there are any details.<br>
  <br>
There are a couple of bits in the code I don't quite get. Also the
VT8601A datasheet mentions a BIOS porting guide. Does anyone have a
copy of that. The actual VT8601A datasheet doesn't go into any detail
on configuring ram. <br>
  <br>
Have also been looking at an SDRAM datasheet to see how that gets
initialised. One of the bits I don't quite get is writing the SDRAM
mode register (either 0x150 or 0x1d0 ). Can't see how that matches up
to the SDRAM mode register bits and would'nt the MA mapping have an
effect on that. The MA mapping register doesn't get written until
later. <br>
  <br>
  <br>
Currently using v3 something of gcc will need to check, again when I
get a PSU.<br>
  <br>
Ben<br>
  <br>
  <br>
  <br>
</blockquote>
<br>
</body>
</html>