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

From coreboot
Jump to: navigation, search
m (Status)
(Hardware info)
(8 intermediate revisions by 3 users 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 ===
 
=== TODOs ===
* why linux complains about PCI pref mem?
 
 
* test virtualization
 
* test virtualization
 +
* test HDMI
 +
* update VERB tables
 +
* test suspend
  
 
{{Status|
 
{{Status|
Line 40: Line 80:
 
|USB_status = Untested
 
|USB_status = Untested
 
|USB_comments =  
 
|USB_comments =  
|Onboard_VGA_status = WIP
+
|Onboard_VGA_status = OK
|Onboard_VGA_comments = Internal VGA needs a patch to SeaBIOS
+
|Onboard_VGA_comments = HDMI untested
 
|Onboard_ethernet_status = OK
 
|Onboard_ethernet_status = OK
 
|Onboard_audio_status = Untested
 
|Onboard_audio_status = Untested
Line 94: Line 134:
  
 
}}
 
}}
 +
 +
== Hardware info ==
 +
 +
This board ships with a socketed Winbond 25Q64F, 64 Mbit (8 Mbyte) chip, in PDIP 300 mil package:
 +
 +
{|
 +
|| [[Image:IMG_20130522_084444.jpg|thumb|Winbond 25Q64F]] 
 +
|}
 +
 +
The chip manual is available [http://www.nexflash.com/hq/enu/ProductAndSales/ProductLines/FlashMemory/SerialFlash/W25Q64FV.htm here]
 +
 +
For out of band flashing, I use a
 +
 +
  3M test clip model 923739-08-ND
 +
 +
It has .300" spacing, 8 pin DIP clip, gold finish and 'headless heads'.
 +
 +
== Memory ==
 +
 +
I use:
 +
 +
2x 2GB DDR3 modules in blue slots:
 +
 +
<pre>
 +
#modprobe i2c-piix4
 +
#modprobe eeprom
 +
#decode-dimms
 +
 +
---=== Memory Characteristics ===---                                                       
 +
Fine time base                                  2.500 ps                                   
 +
Medium time base                                0.125 ns                                   
 +
Maximum module speed                            1333MHz (PC3-10666)                       
 +
Size                                            2048 MB                                   
 +
Banks x Rows x Columns x Bits                  8 x 14 x 10 x 64                           
 +
Ranks                                          2                                         
 +
SDRAM Device Width                              8 bits                                     
 +
tCL-tRCD-tRP-tRAS                              8-8-8-24                                   
 +
Supported CAS Latencies (tCL)                  9T, 8T, 7T, 6T 
 +
</pre>

Revision as of 21:23, 4 June 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

Hardware info

This board ships with a socketed Winbond 25Q64F, 64 Mbit (8 Mbyte) chip, in PDIP 300 mil package:

Winbond 25Q64F

The chip manual is available here

For out of band flashing, I use a

 3M test clip model 923739-08-ND

It has .300" spacing, 8 pin DIP clip, gold finish and 'headless heads'.

Memory

I use:

2x 2GB DDR3 modules in blue slots:

#modprobe i2c-piix4
#modprobe eeprom
#decode-dimms

---=== Memory Characteristics ===---                                                        
Fine time base                                  2.500 ps                                    
Medium time base                                0.125 ns                                    
Maximum module speed                            1333MHz (PC3-10666)                         
Size                                            2048 MB                                     
Banks x Rows x Columns x Bits                   8 x 14 x 10 x 64                            
Ranks                                           2                                           
SDRAM Device Width                              8 bits                                      
tCL-tRCD-tRP-tRAS                               8-8-8-24                                    
Supported CAS Latencies (tCL)                   9T, 8T, 7T, 6T