Difference between revisions of "Board:msi/ms7260"

From coreboot
Jump to: navigation, search
m (Status)
Line 1: Line 1:
 
[[Image:Msi_ms7260_k9n_neo.jpg|thumb|The MSI MS-7260 (K9N Neo), revision 1.0]]
 
[[Image:Msi_ms7260_k9n_neo.jpg|thumb|The MSI MS-7260 (K9N Neo), revision 1.0]]
  
This page describes how to use LinuxBIOS on the [http://global.msi.com.tw/index.php?func=proddesc&prod_no=255&maincat_no=1&cat2_no=171 MSI MS-7260 (K9N Neo)] mainboard. It is maintained by [[User:Uwe|Uwe Hermann]].
+
This page describes how to use coreboot on the [http://global.msi.com.tw/index.php?func=proddesc&prod_no=255&maincat_no=1&cat2_no=171 MSI MS-7260 (K9N Neo)] mainboard. It is maintained by [[User:Uwe|Uwe Hermann]].
  
 
== The mainboard ==
 
== The mainboard ==
  
Some more information on the board is available [http://www.linuxbios.org/pipermail/linuxbios/2007-September/024605.html in the mailing list archives].
+
Some more information on the board is available [http://www.coreboot.org/pipermail/coreboot/2007-September/024684.html in the mailing list archives].
  
 
So far we have verified that revision 1.0 of the mainboard has a socketed PLCC32 ROM chip (512KB).
 
So far we have verified that revision 1.0 of the mainboard has a socketed PLCC32 ROM chip (512KB).
Line 104: Line 104:
 
|WakeOnMouse_status = Untested
 
|WakeOnMouse_status = Untested
 
|Flashrom_status = OK
 
|Flashrom_status = OK
|Flashrom_comments = Currently [[Flashrom]] works fine with LinuxBIOS, but it does ''not'' yet work with the proprietary BIOS.
+
|Flashrom_comments = Currently [[Flashrom]] works fine with coreboot, but it does ''not'' yet work with the proprietary BIOS.
  
 
}}
 
}}
  
== Building LinuxBIOS ==
+
== Building coreboot ==
  
Build a LinuxBIOS [[Payloads|payload]], e.g. [[FILO]], and copy the resulting file to /tmp/filo.elf.
+
Build a coreboot [[Payloads|payload]], e.g. [[FILO]], and copy the resulting file to /tmp/filo.elf.
  
 
  $ cp payload.file /tmp/filo.elf
 
  $ cp payload.file /tmp/filo.elf
  
Checkout LinuxBIOS:
+
Checkout coreboot:
  
  $ svn co svn://linuxbios.org/repos/trunk/LinuxBIOSv2
+
  $ svn co svn://coreboot.org/repos/trunk/coreboot-v2
  
Build the LinuxBIOS image, containing the payload.
+
Build the coreboot image, containing the payload.
  
  $ cd LinuxBIOSv2/targets
+
  $ cd coreboot-v2/targets
 
  $ ./buildtarget msi/ms7260
 
  $ ./buildtarget msi/ms7260
 
  $ cd msi/ms7260/ms7260
 
  $ cd msi/ms7260/ms7260
 
  $ make
 
  $ make
  
Write the LinuxBIOS image onto your ROM chip using [[flashrom]]:
+
Write the coreboot image onto your ROM chip using [[flashrom]]:
  
  $ flashrom -wv linuxbios.rom
+
  $ flashrom -wv coreboot.rom
  
 
<div style="color: red">WARNING: This will overwrite your current BIOS! Make sure you know what you're doing! You should have a way to revert back to the original BIOS in case anything goes wrong. It's a good idea to have a spare ROM chip which contains the original proprietary BIOS. Read the [[FAQ]] for more information. If in doubt, contact the [[Mailinglist|mailing list]].</div>
 
<div style="color: red">WARNING: This will overwrite your current BIOS! Make sure you know what you're doing! You should have a way to revert back to the original BIOS in case anything goes wrong. It's a good idea to have a spare ROM chip which contains the original proprietary BIOS. Read the [[FAQ]] for more information. If in doubt, contact the [[Mailinglist|mailing list]].</div>
  
Note: At the moment flashrom does ''not'' work in the MS-7260 (when booted using the original BIOS). Thus, I'm flashing the ROM chip in a different mainboard where flashrom works. However, flashrom works just fine once the MS-7260 is booted using LinuxBIOS.
+
Note: At the moment flashrom does ''not'' work in the MS-7260 (when booted using the original BIOS). Thus, I'm flashing the ROM chip in a different mainboard where flashrom works. However, flashrom works just fine once the MS-7260 is booted using coreboot.
  
 
== TODO ==
 
== TODO ==

Revision as of 14:57, 15 January 2008

The MSI MS-7260 (K9N Neo), revision 1.0

This page describes how to use coreboot on the MSI MS-7260 (K9N Neo) mainboard. It is maintained by Uwe Hermann.

The mainboard

Some more information on the board is available in the mailing list archives.

So far we have verified that revision 1.0 of the mainboard has a socketed PLCC32 ROM chip (512KB).

If you have any other revision of the board, please contact us on the mailing list and let us know if it has a socketed (and PLCC-type) ROM chip.


Status

Device/functionality Status Comments
CPU
CPU works OK I'm using an AMD Athlon 64 X2 Dual Core Processor 3600+.
L1 cache enabled OK CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
L2 cache enabled OK CPU: L2 Cache: 512K (64 bytes/line)
L3 cache enabled N/A
Multiple CPU support N/A
Multi-core support OK Both cores appear in dmesg and /proc/cpuinfo and work fine.
Hardware virtualization OK Tested: modprobe kvm-amd and using kvm works fine (window title shows QEMU/KVM instead of just QEMU). /proc/cpuinfo lists svm, i.e. that the CPU support AMD SVM (a.k.a. Pacifica).
RAM
EDO N/A
SDRAM N/A
SO-DIMM N/A
DDR N/A
DDR2 OK It seems some combinations of DIMMs and RAM slots don't work. Using only one DIMM (in slot 1) works for me.
DDR3 N/A
Dual channel support Untested
ECC support N/A
On-board Hardware
On-board IDE 3.5" OK
On-board IDE 2.5" N/A
On-board SATA OK Tested with a 40 GB SATA disk, connected to the "SATA1" connector of the board (there are four). Works with hde2:/vmlinuz initrd=/initrd.img root=/dev/sda2 in FILO (my Linux partition is /dev/sda2). Mounting the drive also works fine when you don't boot from SATA (e.g. from IDE or via etherboot).
On-board SCSI Unknown
On-board USB OK Tested: USB thumb drive, USB keyboard (in all 10 USB ports), USB webcam, USB DVB-T adapter.
On-board VGA N/A
On-board ethernet OK
On-board audio OK Works fine using the snd_hda_intel driver.
On-board modem Untested
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 Tested: PCI VGA card (X11 works fine) in all three PCI slots.
Mini-PCI add-on cards Unknown
PCI-X add-on cards Unknown
AGP graphics cards N/A
PCI Express x1 add-on cards Untested
PCI Express x2 add-on cards N/A
PCI Express x4 add-on cards N/A
PCI Express x8 add-on cards N/A
PCI Express x16 add-on cards Untested
PCI Express x32 add-on cards N/A
HTX add-on cards N/A
Legacy / Super I/O
Floppy WIP Doesn't seem to work. This is being investigated.
Serial port 1 (COM1) OK
Serial port 2 (COM2) N/A
Parallel port OK Doing modprobe ppdev works fine, but further tests were not performed.
PS/2 keyboard OK
PS/2 mouse OK
Game port N/A
Infrared Untested
PC speaker OK
DiskOnChip N/A
Miscellaneous
Sensors / fan control OK The k8temp module loads fine, the sensors tool outputs the CPU temperature (of both cores in my case) correctly. The w83627ehf module (for various temperatures and fan speeds) works fine. Also, the eeprom and i2c-nforce2 modules load fine.
Hardware watchdog Untested
SMBus Unknown
CAN bus N/A
CPU frequency scaling No Probably won't work as long as there's no ACPI implementation for this board.
Other powersaving features N/A
ACPI No There's no ACPI implementation for this board.
Reboot OK
Poweroff No
Suspend Unknown
Nonstandard LEDs N/A
High precision event timers (HPET) Untested Seems to not be enabled currently, but the hardware seems to support it.
Random number generator (RNG) N/A
Wake on modem ring Untested
Wake on LAN Untested
Wake on keyboard Untested
Wake on mouse Untested
Flashrom OK Currently Flashrom works fine with coreboot, but it does not yet work with the proprietary BIOS.

Building coreboot

Build a coreboot payload, e.g. FILO, and copy the resulting file to /tmp/filo.elf.

$ cp payload.file /tmp/filo.elf

Checkout coreboot:

$ svn co svn://coreboot.org/repos/trunk/coreboot-v2

Build the coreboot image, containing the payload.

$ cd coreboot-v2/targets
$ ./buildtarget msi/ms7260
$ cd msi/ms7260/ms7260
$ make

Write the coreboot image onto your ROM chip using flashrom:

$ flashrom -wv coreboot.rom
WARNING: This will overwrite your current BIOS! Make sure you know what you're doing! You should have a way to revert back to the original BIOS in case anything goes wrong. It's a good idea to have a spare ROM chip which contains the original proprietary BIOS. Read the FAQ for more information. If in doubt, contact the mailing list.

Note: At the moment flashrom does not work in the MS-7260 (when booted using the original BIOS). Thus, I'm flashing the ROM chip in a different mainboard where flashrom works. However, flashrom works just fine once the MS-7260 is booted using coreboot.

TODO

  • Test the devices marked as "Untested" in the above status table.
  • Fix flashrom to also work when the board is booted using the proprietary BIOS.


GNU head This work is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or any later version. This work is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.