OK, I just loaded from flash. Next step is to fix the PIRQ, then look at 
SPD and memory setup. 

The fix, for now, is this in auto.c

static void
enable_mainboard_devices(void) {
  device_t dev;
  /* dev 0 for southbridge */
  
  dev = pci_locate_device(PCI_ID(0x1106,0x8231), 0);
  
  if (dev == PCI_DEV_INVALID) {
    die("Southbridge not found!!!\n");
  }
  pci_write_config8(dev, 0x50, 7);
  pci_write_config8(dev, 0x51, 0xff);
}

This is a mainboard-specific setting for the VIA EPIA. 

and in main:

static void main(void)
{
  unsigned long x;
  /*    init_timer();*/
  outb(5, 0x80);

        enable_vt8231_serial();
        enable_mainboard_devices();
        uart_init();
        console_init();
.
.
.

So at the moment I am loading from FLASH! Ethernet is up, etc: Linux is 
happy. Just need PIRQ.

ron

_______________________________________________
Linuxbios mailing list
[EMAIL PROTECTED]
http://www.clustermatic.org/mailman/listinfo/linuxbios

Reply via email to