vga emulator new version

ron minnich rminnich at lanl.gov
Fri Feb 6 19:10:01 CET 2004


I sent it to Richard.

I am putting the scripts we use here for info.

ron
jotun root # cat FIXGART.sh 
#!/bin/sh
  insmod /usr/src/linux/arch/i386/kernel/msr.o
# fix the fixed MTRR
  /root/wrmsr 0xC0010010 0x1e0601 0
  /root/wrmsr 0x259 0 0

#fix the IORR1 crap on BOTH northbridges

  /root/rdmsr 0xC0010018
  /root/wrmsr 0xC0010018 0xd0000000 0xff
  /root/rdmsr 0xC0010019
  /root/wrmsr 0xC0010019 0xd8000000 0xff

# set up 0xd in the whatever 
  setpci -s 0:18.3 94.l
  setpci -s 0:18.3 94.l=68
  setpci -s 0:18.3 94.l
  setpci -s 0:18.3 90.b
  setpci -s 0:18.3 90.b=3
  setpci -s 0:18.3 90.b
  setpci -s 0:19.3 94.l
  setpci -s 0:19.3 94.l=68
  setpci -s 0:19.3 94.l
  setpci -s 0:19.3 90.b
  setpci -s 0:19.3 90.b=3
  setpci -s 0:19.3 90.b
# 8151
  setpci -s 1:1.0 10.l
#  setpci -s 1:1.0 10.l=f0000008
#  setpci -s 1:1.0 10.l
  setpci -s 1:1.0 b4.l
#  setpci -s 1:1.0 b4.l=00010f20
#  setpci -s 1:1.0 b4.l
jotun root # cat DO_GEFORCEFX.sh 
#! /bin/sh
#insmod /usr/src/linux/arch/i386/kernel/msr.o
#/root/wrmsr 0xC0010010 0x1e0601 0
#/root/wrmsr 0x259 0 0
/root/vgabios//testbios  --abseg /dev/mem -s 65536 /root/nvbios.bin  2>&1 
> /tmp/out
modprobe nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1
#modprobe  agpgart agp_try_unsupported=1
modprobe agpgart
jotun root # 





More information about the coreboot mailing list