<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.0.8">
</HEAD>
<BODY>
Yeah, its works:)<BR>
<BR>
Just to recap for anyone reading this thread after me:dd if=/dev/mem of=vgabios.bin skip=1536 count=128<BR>
<BR>
1.  Get <A HREF="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml">http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml</A> <BR>
2.  Get the freebios2 source<BR>
3.  Build the freebios2/util/vgabios<BR>
    A.  You may need to modify makefiles to suit your needs I did<BR>
        in order to get it to build under a 64 bit machine.  You want 32 bit apps.<BR>
4.  Do dd if=/dev/mem of=vgabios.bin skip=1536 count=128 on the card when it up and running normally<BR>
5.  On the target machine, preferably in your initrd<BR>
    Put the following line:<BR>
    ./testbios -s 65536 -d 0x200 -t --abseg /dev/mem ./vgabios<BR>
<FONT COLOR="#737373"><I></I></FONT><BR>
Thank you for all your help:):):):)<BR>
<BR>
Thanks,<BR>
Dave<BR>
<BR>
On Thu, 2004-07-15 at 11:58, Li-Ta Lo wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE><FONT COLOR="#737373"><I>On Thu, 2004-07-15 at 08:01, David Aubin wrote:
> Hello,

>   I got the testbios built and tried it and got the following error
> doing:
> ./testbios -d 0x200 -t vgabios.bin

>   I made my vgabios.bin by doing:
> dd if=/dev/mem of=vgabios.bin skip=1536 count=128

> The error is:
> c000:00dc 6e                  OUTSB
>         AX=1cff  BX=ffff  CX=ff00  DX=60ac  SP=fff4  BP=0000  SI=0002 
> DI=0002
>         DS=0040  ES=0000  SS=0030  CS=c000  IP=00de   NV UP DI PL NZ
> NA PE NC
> c000:00dd f4                  HALT
> halt_sys: file ops.c, line 9804
> halted
>         AX=1cff  BX=ffff  CX=ff00  DX=60ac  SP=fff4  BP=0000  SI=0002 
> DI=0002
>         DS=0040  ES=0000  SS=0030  CS=c000  IP=00de   NV UP DI PL NZ
> NA PE NC
> c000:00de 6e                  HALT


> Can someone please explain this error to me and how to possibly fix
> it?


It means there was NO ERROR. It ran perfectly. If it is the case, you 
should see acrambled screen at this point. 
 
> I have a Tyan mb with a 2885 chipset.  AMD64 chip.  And an Nvidia FX
> 5950 video card.
> Any help would be appreciated:)


The correct command line would be:

   ./testbios -s 65536 -d 0x200 -t --abseg /dev/mem ../nvbios.bin

BTW, you need recent CVS tree to make it work on s2885.

Ollie

> Thank you,
> Dave
</I></FONT></PRE>
</BLOCKQUOTE>
</BODY>
</HTML>