Difference between revisions of "Board:asus/f2a85-m"

From coreboot
Jump to: navigation, search
m (Status)
(Notes)
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Status ==
 
== Status ==
 +
 +
 +
=== Notes ===
 +
 +
* The ASUS F2A85-M CSM is same as F2A85-M.
 +
* get VGA from original bios using this:
 +
Source: http://www.coreboot.org/pipermail/coreboot/2012-December/073133.html
 +
 +
for internal VGA:
 +
Boot the legacy BIOS, and use http://www.coreboot.org/VGA_support chapter
 +
 +
extracting from your system: dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768
 +
 +
You will need following patch to seabios:
 +
<code>
 +
--- a/src/optionroms.c
 +
+++ b/src/optionroms.c
 +
@@ -215,7 +215,10 @@ is_pci_vga(struct pci_device *pci)
 +
  {
 +
      if (pci->class != PCI_CLASS_DISPLAY_VGA)
 +
          return 0;
 +
-    u16 cmd = pci_config_readw(pci->bdf, PCI_COMMAND);
 +
+    u16 cmd = pci_config_readw(pci->bdf, PCI_COMMAND) | PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
 +
+
 +
+    pci_config_writew(pci->bdf, PCI_COMMAND, cmd);
 +
+
 +
      if (!(cmd & PCI_COMMAND_IO && cmd & PCI_COMMAND_MEMORY))
 +
          return 0;
 +
      while (pci->parent) {
 +
</code>
 +
 +
Reason is unknown, I see coreboot is writing 7 to cmd, but there is actually
 +
6... Maybe there is some magic about IO decode bit...
 +
 +
* Add VGA bios in the menuconfig
 +
* If you use PS/2 de-select legacy free
 +
* De-select running option ROMs, leave this to Seabios
 +
* Use seabios as payload
 +
* Hotswapping has some issues (most likely USB3, disable it in orig bios before hot-flashing to coreboot). Drop a mail to mailing list if you have issues.
 +
 +
=== TODOs ===
 +
* test virtualization
 +
* test HDMI
 +
* update VERB tables
 +
* test suspend
  
 
{{Status|
 
{{Status|
Line 35: Line 80:
 
|USB_status = Untested
 
|USB_status = Untested
 
|USB_comments =  
 
|USB_comments =  
|Onboard_VGA_status = WIP
+
|Onboard_VGA_status = OK
|Onboard_VGA_comments = Extrenal card works, will be POSTed in Linux, current reason why SeaBIOS is not doing that is to be investigated.
+
|Onboard_VGA_comments = HDMI untested
 
|Onboard_ethernet_status = OK
 
|Onboard_ethernet_status = OK
 
|Onboard_audio_status = Untested
 
|Onboard_audio_status = Untested

Revision as of 12:22, 20 April 2013

Status

Notes

  • The ASUS F2A85-M CSM is same as F2A85-M.
  • get VGA from original bios using this:

Source: http://www.coreboot.org/pipermail/coreboot/2012-December/073133.html

for internal VGA: Boot the legacy BIOS, and use http://www.coreboot.org/VGA_support chapter

extracting from your system: dd if=/dev/mem of=vgabios.bin bs=1k count=64 skip=768

You will need following patch to seabios:

--- a/src/optionroms.c
+++ b/src/optionroms.c
@@ -215,7 +215,10 @@ is_pci_vga(struct pci_device *pci)
  {
      if (pci->class != PCI_CLASS_DISPLAY_VGA)
         return 0;
-    u16 cmd = pci_config_readw(pci->bdf, PCI_COMMAND);
+    u16 cmd = pci_config_readw(pci->bdf, PCI_COMMAND) | PCI_COMMAND_IO | PCI_COMMAND_MEMORY;
+
+    pci_config_writew(pci->bdf, PCI_COMMAND, cmd);
+
     if (!(cmd & PCI_COMMAND_IO && cmd & PCI_COMMAND_MEMORY))
         return 0;
     while (pci->parent) {

Reason is unknown, I see coreboot is writing 7 to cmd, but there is actually 6... Maybe there is some magic about IO decode bit...

  • Add VGA bios in the menuconfig
  • If you use PS/2 de-select legacy free
  • De-select running option ROMs, leave this to Seabios
  • Use seabios as payload
  • Hotswapping has some issues (most likely USB3, disable it in orig bios before hot-flashing to coreboot). Drop a mail to mailing list if you have issues.

TODOs

  • test virtualization
  • test HDMI
  • update VERB tables
  • test suspend
Device/functionality Status Comments
CPU
CPU works OK
L1 cache enabled OK
L2 cache enabled OK
L3 cache enabled N/A
Multiple CPU support OK
Multi-core support OK
Hardware virtualization Untested
RAM
EDO N/A
SDRAM N/A
SO-DIMM N/A
DDR N/A
DDR2 N/A
DDR3 OK Please select right voltage in menuconfig! Default is 1.5V but some DIMMs need more or less!
Dual channel support OK
ECC support N/A
On-board Hardware
On-board IDE 3.5" N/A
On-board IDE 2.5" N/A
On-board SATA OK Tested only first top port on left in sixpack (from outside view).
On-board SCSI Unknown
On-board USB Untested
On-board VGA OK HDMI untested
On-board ethernet OK
On-board audio Untested
On-board modem N/A
On-board FireWire N/A
On-board smartcard reader N/A
On-board CompactFlash N/A
On-board PCMCIA N/A
Add-on slots/cards
ISA add-on cards N/A
Audio/Modem-Riser (AMR/CNR) cards N/A
PCI add-on cards OK
Mini-PCI add-on cards Unknown
PCI-X add-on cards Unknown
AGP graphics cards N/A
PCI Express x1 add-on cards OK
PCI Express x2 add-on cards N/A
PCI Express x4 add-on cards OK
PCI Express x8 add-on cards N/A
PCI Express x16 add-on cards OK
PCI Express x32 add-on cards N/A
HTX add-on cards N/A
Legacy / Super I/O
Floppy Untested
Serial port 1 (COM1) OK
Serial port 2 (COM2) N/A
Parallel port N/A
PS/2 keyboard OK
PS/2 mouse Untested
Game port N/A
Infrared  ?
PC speaker  ?
DiskOnChip N/A
Miscellaneous
Sensors / fan control Untested
Hardware watchdog Unknown
SMBus Unknown
CAN bus N/A
CPU frequency scaling OK
Other powersaving features  ?
ACPI OK ACPI power button event works, suspend untested.
Reboot OK
Poweroff OK
Suspend Unknown
Nonstandard LEDs Unknown
High precision event timers (HPET) OK
Random number generator (RNG)  ?
Wake on modem ring Untested
Wake on LAN Untested
Wake on keyboard Untested
Wake on mouse Untested
Flashrom OK