Yeah, its works:)

Just to recap for anyone reading this thread after me:dd if=/dev/mem of=vgabios.bin skip=1536 count=128

1.  Get http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml
2.  Get the freebios2 source
3.  Build the freebios2/util/vgabios
    A.  You may need to modify makefiles to suit your needs I did
        in order to get it to build under a 64 bit machine.  You want 32 bit apps.
4.  Do dd if=/dev/mem of=vgabios.bin skip=1536 count=128 on the card when it up and running normally
5.  On the target machine, preferably in your initrd
    Put the following line:
    ./testbios -s 65536 -d 0x200 -t --abseg /dev/mem ./vgabios

Thank you for all your help:):):):)

Thanks,
Dave

On Thu, 2004-07-15 at 11:58, Li-Ta Lo wrote:
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