Merge pull request #760 from tiseno100/master
Minor changes for the SuperMicro's
This commit is contained in:
@@ -269,7 +269,7 @@ machine_at_bf6_init(const machine_t *model)
|
|||||||
device_add(&keyboard_ps2_pci_device);
|
device_add(&keyboard_ps2_pci_device);
|
||||||
device_add(&w83977ef_device);
|
device_add(&w83977ef_device);
|
||||||
device_add(&sst_flash_39sf020_device);
|
device_add(&sst_flash_39sf020_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
@@ -277,7 +277,12 @@ machine_at_bf6_init(const machine_t *model)
|
|||||||
int
|
int
|
||||||
machine_at_p6sba_init(const machine_t *model)
|
machine_at_p6sba_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
/*
|
||||||
|
AMI 440BX Board.
|
||||||
|
doesn't like the i686 CPU's.
|
||||||
|
10 -> D3 -> D1 POST. Probably KBC related.
|
||||||
|
*/
|
||||||
|
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = bios_load_linear(L"roms/machines/p6sba/SBAB21.ROM",
|
ret = bios_load_linear(L"roms/machines/p6sba/SBAB21.ROM",
|
||||||
@@ -303,8 +308,35 @@ machine_at_p6sba_init(const machine_t *model)
|
|||||||
device_add(&w83977tf_device);
|
device_add(&w83977tf_device);
|
||||||
device_add(&keyboard_ps2_ami_pci_device);
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
|
||||||
|
|
||||||
|
hwm_values_t machine_hwm = {
|
||||||
|
{ /* fan speeds */
|
||||||
|
3000, /* Chassis */
|
||||||
|
3000, /* CPU */
|
||||||
|
3000, /* Power */
|
||||||
|
0
|
||||||
|
}, { /* temperatures */
|
||||||
|
30, /* MB */
|
||||||
|
0, /* unused */
|
||||||
|
28, /* CPU */
|
||||||
|
0
|
||||||
|
}, { /* voltages */
|
||||||
|
2050, /* VCORE (2.05V by default) */
|
||||||
|
0, /* unused */
|
||||||
|
3300, /* +3.3V */
|
||||||
|
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
||||||
|
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
||||||
|
0
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUM2)
|
||||||
|
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Klamath */
|
||||||
|
hwm_set_values(machine_hwm);
|
||||||
|
device_add(&w83781d_device);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -339,7 +371,7 @@ machine_at_tsunamiatx_init(const machine_t *model)
|
|||||||
device_add(&pc87306_device); //PC87309
|
device_add(&pc87306_device); //PC87309
|
||||||
device_add(&keyboard_ps2_ami_pci_device);
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0x3, 256);
|
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@@ -46,7 +46,13 @@ int
|
|||||||
machine_at_s2dge_init(const machine_t *model)
|
machine_at_s2dge_init(const machine_t *model)
|
||||||
{
|
{
|
||||||
|
|
||||||
/* 440GX AMI Slot 2 motherboard */
|
/*
|
||||||
|
440GX AMI Slot 2 motherboard
|
||||||
|
|
||||||
|
This board under a i686 CPU freezes on POST code D0.
|
||||||
|
According to the manual it has to do with the NMI which
|
||||||
|
seems to be related on the I/O APIC. Works fine under a VIA C3.
|
||||||
|
*/
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
ret = bios_load_linear(L"roms/machines/s2dge/2gu7301.rom",
|
ret = bios_load_linear(L"roms/machines/s2dge/2gu7301.rom",
|
||||||
@@ -67,13 +73,41 @@ machine_at_s2dge_init(const machine_t *model)
|
|||||||
pci_register_slot(0x0E, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0E, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x0D, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0D, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
|
|
||||||
device_add(&i440bx_device); /* i440GX */
|
device_add(&i440bx_device); /* i440GX */
|
||||||
device_add(&piix4_device);
|
device_add(&piix4e_device);
|
||||||
device_add(&keyboard_ps2_ami_pci_device);
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
device_add(&w83977f_device);
|
device_add(&w83977tf_device);
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
||||||
|
|
||||||
|
hwm_values_t machine_hwm = {
|
||||||
|
{ /* fan speeds */
|
||||||
|
3000, /* Chassis */
|
||||||
|
3000, /* CPU */
|
||||||
|
3000, /* Power */
|
||||||
|
0
|
||||||
|
}, { /* temperatures */
|
||||||
|
30, /* MB */
|
||||||
|
0, /* unused */
|
||||||
|
28, /* CPU */
|
||||||
|
0
|
||||||
|
}, { /* voltages */
|
||||||
|
2050, /* VCORE (2.05V by default) */
|
||||||
|
0, /* unused */
|
||||||
|
3300, /* +3.3V */
|
||||||
|
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
||||||
|
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
||||||
|
0
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUM2)
|
||||||
|
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Klamath */
|
||||||
|
hwm_set_values(machine_hwm);
|
||||||
|
device_add(&w83781d_device);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
@@ -65,13 +65,40 @@ machine_at_s370slm_init(const machine_t *model)
|
|||||||
pci_register_slot(0x0E, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0E, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x01, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
pci_register_slot(0x0D, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
pci_register_slot(0x0D, PCI_CARD_NORMAL, 1, 2, 3, 4);
|
||||||
device_add(&i440bx_device);
|
device_add(&i440bx_device); /*i440LX*/
|
||||||
device_add(&piix4e_device);
|
device_add(&piix4e_device);
|
||||||
device_add(&w83977tf_device);
|
device_add(&w83977tf_device);
|
||||||
device_add(&keyboard_ps2_ami_pci_device);
|
device_add(&keyboard_ps2_ami_pci_device);
|
||||||
device_add(&intel_flash_bxt_device);
|
device_add(&intel_flash_bxt_device);
|
||||||
spd_register(SPD_TYPE_SDRAM, 0xF, 256);
|
spd_register(SPD_TYPE_SDRAM, 0x7, 256);
|
||||||
|
|
||||||
|
hwm_values_t machine_hwm = {
|
||||||
|
{ /* fan speeds */
|
||||||
|
3000, /* Chassis */
|
||||||
|
3000, /* CPU */
|
||||||
|
3000, /* Power */
|
||||||
|
0
|
||||||
|
}, { /* temperatures */
|
||||||
|
30, /* MB */
|
||||||
|
0, /* unused */
|
||||||
|
28, /* CPU */
|
||||||
|
0
|
||||||
|
}, { /* voltages */
|
||||||
|
2050, /* VCORE (2.05V by default) */
|
||||||
|
0, /* unused */
|
||||||
|
3300, /* +3.3V */
|
||||||
|
RESISTOR_DIVIDER(5000, 11, 16), /* +5V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(12000, 28, 10), /* +12V (28K/10K divider suggested in the W83781D datasheet) */
|
||||||
|
RESISTOR_DIVIDER(12000, 853, 347), /* -12V (divider values bruteforced) */
|
||||||
|
RESISTOR_DIVIDER(5000, 1, 2), /* -5V (divider values bruteforced) */
|
||||||
|
0
|
||||||
|
}
|
||||||
|
};
|
||||||
|
if (model->cpu[cpu_manufacturer].cpus[cpu_effective].cpu_type == CPU_PENTIUM2)
|
||||||
|
machine_hwm.voltages[0] = 2800; /* set higher VCORE (2.8V) for Klamath */
|
||||||
|
hwm_set_values(machine_hwm);
|
||||||
|
device_add(&w83781d_device);
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@@ -231,7 +231,7 @@ const machine_t machines[] = {
|
|||||||
/* 430FX */
|
/* 430FX */
|
||||||
{ "[Socket 7-3V FX] ASUS P/I-P54TP4XE", "p54tp4xe", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_p54tp4xe_init, NULL },
|
{ "[Socket 7-3V FX] ASUS P/I-P54TP4XE", "p54tp4xe", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_p54tp4xe_init, NULL },
|
||||||
{ "[Socket 7-3V FX] QDI Chariot", "chariot", MACHINE_CPUS_PENTIUM_S73VCH, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 8, 128, 8, 127, machine_at_chariot_init, NULL },
|
{ "[Socket 7-3V FX] QDI Chariot", "chariot", MACHINE_CPUS_PENTIUM_S73VCH, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 8, 128, 8, 127, machine_at_chariot_init, NULL },
|
||||||
{ "[Socket 7-3V FX] MR 430FX clone", "mr586", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_HDC, 8, 128, 8, 127, machine_at_mr586_init, NULL },
|
{ "[Socket 7-3V FX] MR 430FX clone", "mr586", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_HDC | MACHINE_PS2, 8, 128, 8, 127, machine_at_mr586_init, NULL },
|
||||||
{ "[Socket 7-3V FX] Intel Advanced/ATX", "thor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_thor_init, NULL },
|
{ "[Socket 7-3V FX] Intel Advanced/ATX", "thor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_thor_init, NULL },
|
||||||
{ "[Socket 7-3V FX] Intel Advanced/EV", "endeavor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC | MACHINE_VIDEO, 8, 128, 8, 127, machine_at_endeavor_init, at_endeavor_get_device },
|
{ "[Socket 7-3V FX] Intel Advanced/EV", "endeavor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC | MACHINE_VIDEO, 8, 128, 8, 127, machine_at_endeavor_init, at_endeavor_get_device },
|
||||||
{ "[Socket 7-3V FX] MR Intel Advanced/ATX", "mrthor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_mrthor_init, NULL },
|
{ "[Socket 7-3V FX] MR Intel Advanced/ATX", "mrthor", MACHINE_CPUS_PENTIUM_S73V, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 128, 8, 127, machine_at_mrthor_init, NULL },
|
||||||
@@ -314,15 +314,13 @@ const machine_t machines[] = {
|
|||||||
/* Slot 2 machines */
|
/* Slot 2 machines */
|
||||||
/* 440GX */
|
/* 440GX */
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
||||||
/*The C3 is meant only for the board to boot due to AMI issues with i686.
|
|
||||||
Remove after that issue is resolved*/
|
|
||||||
{ "[Slot 2 GX] Supermicro S2DGE", "s2dge", {{"Intel", cpus_Xeon}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_s2dge_init, NULL },
|
{ "[Slot 2 GX] Supermicro S2DGE", "s2dge", {{"Intel", cpus_Xeon}, {"Intel/PGA370", cpus_Celeron},{"VIA", cpus_Cyrix3},{"", NULL},{"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_s2dge_init, NULL },
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* PGA370 machines */
|
/* PGA370 machines */
|
||||||
/* 440LX */
|
/* 440LX */
|
||||||
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
#if defined(DEV_BRANCH) && defined(NO_SIO)
|
||||||
{ "[Socket 370 BX] Supermicro S370SLM", "s370slm", {{"Intel", cpus_Celeron}, {"VIA", cpus_Cyrix3}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_s370slm_init, NULL },
|
{ "[Socket 370 BX] Supermicro S370SLM", "s370slm", {{"Intel", cpus_Celeron}, {"", NULL}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 768, 8, 255, machine_at_s370slm_init, NULL },
|
||||||
#endif
|
#endif
|
||||||
/* 440BX */
|
/* 440BX */
|
||||||
{ "[Socket 370 BX] ASUS CUBX", "cubx", {{"Intel", cpus_Celeron}, {"VIA", cpus_Cyrix3}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_cubx_init, NULL },
|
{ "[Socket 370 BX] ASUS CUBX", "cubx", {{"Intel", cpus_Celeron}, {"VIA", cpus_Cyrix3}, {"", NULL}, {"", NULL}, {"", NULL}}, MACHINE_PCI | MACHINE_ISA | MACHINE_AT | MACHINE_PS2 | MACHINE_HDC, 8, 1024, 8, 255, machine_at_cubx_init, NULL },
|
||||||
|
Reference in New Issue
Block a user