Hi,

Looks good, please try attached patch for a first run as soon as you
have a verified backup ROM chip stored away safely, and a null-modem
cable to get the serial debugging output from LinuxBIOS.

After applying the patch with

 patch -p0 < *.patch

in the LinuxBIOSv2 directory, you can build a LinuxBIOS image like this:

 cd targets && ./buildtarget msi/ms7260 && cd msi/ms7260/ms7260 && make

(Before doing that, build a FILO payload, see http://linuxbios.org/FILO,
and place it in /tmp/filo.elf)

The resulting image is called linuxbios.rom and can be flashed with
flashrom like this:

 $ flashrom -wv linuxbios.rom

(WARNING: This will OVERWRITE your current BIOS! Make sure you have backups!)


Please post the full boot log (LinuxBIOS and Linux) here. You can
capture is via minicom, for example.

http://linuxbios.org/FAQ#How_do_I_use_a_null-modem_cable_to_get_LinuxBIOS_debugging_output_over_a_serial_port.3F


Uwe.
-- 
http://www.hermann-uwe.de  | http://www.holsham-traders.de
http://www.crazy-hacks.org | http://www.unmaintained-free-software.org
Signed-off-by: Uwe Hermann <[EMAIL PROTECTED]>

Index: src/mainboard/msi/ms7260/Config.lb
===================================================================
--- src/mainboard/msi/ms7260/Config.lb	(Revision 2953)
+++ src/mainboard/msi/ms7260/Config.lb	(Arbeitskopie)
@@ -182,45 +182,45 @@
           device pci 0.0 on end			# HT
           device pci 1.0 on			# LPC
             chip superio/winbond/w83627ehg	# Super I/O
-              device pnp 4e.0 on		# Floppy
+              device pnp 2e.0 on		# Floppy
                 io 0x60 = 0x3f0
                 irq 0x70 = 6
                 drq 0x74 = 2
               end
-              device pnp 4e.1 on		# Parallel port
+              device pnp 2e.1 on		# Parallel port
                 io 0x60 = 0x378
                 irq 0x70 = 7
               end
-              device pnp 4e.2 on		# Com1
+              device pnp 2e.2 on		# Com1
                 io 0x60 = 0x3f8
                 irq 0x70 = 4
               end
-              device pnp 4e.3 on		# Com2 / IrDA
+              device pnp 2e.3 on		# Com2 / IrDA
                 io 0x60 = 0x2f8
                 irq 0x70 = 3
               end
-              device pnp 4e.5 on		# PS/2 keyboard
+              device pnp 2e.5 on		# PS/2 keyboard
                 io 0x60 = 0x60
                 io 0x62 = 0x64
                 irq 0x70 = 1			# PS/2 keyboard IRQ
                 irq 0x72 = 12			# PS/2 mouse IRQ
               end
-              device pnp 4e.6 off		# Serial flash interface
+              device pnp 2e.6 off		# Serial flash interface
                 # io 0x62 = 0x100
               end
-              device pnp 4e.7 off		# GPIO1/6, game port, MIDI port
+              device pnp 2e.7 off		# GPIO1/6, game port, MIDI port
                 # io 0x60 = 0x220		# Datasheet: 0x201
                 # io 0x62 = 0x300		# Datasheet: 0x330
                 # irq 0x70 = 9
               end
-              device pnp 4e.8 off		# WDTO#, PLED
+              device pnp 2e.8 off		# WDTO#, PLED
               end
-              device pnp 4e.9 off		# GPIO2/3/4/5, SUSLED
+              device pnp 2e.9 off		# GPIO2/3/4/5, SUSLED
               end
-              device pnp 4e.a off		# ACPI
+              device pnp 2e.a off		# ACPI
               end
-              device pnp 4e.b on		# HWM (for lm-sensors)
-                io 0x60 = 0xa10
+              device pnp 2e.b on		# HWM (for lm-sensors)
+                io 0x60 = 0x290
               end
             end
           end
@@ -283,12 +283,12 @@
           device pci 4.0 on end			# IDE
           device pci 5.0 on end			# SATA 0
           device pci 5.1 on end			# SATA 1
-          device pci 5.2 off end		# SATA 2 (N/A on this board)
+          device pci 5.2 on end			# SATA 2
           device pci 6.0 on end			# PCI
           device pci 6.1 on end			# AZA (HD Audio)
           device pci 8.0 on end			# NIC
-          device pci 9.0 off end		# NIC (N/A on this board)
-          device pci a.0 off end		# PCI E 5 (N/A on this board?)
+          device pci 9.0 on end			# NIC
+          device pci a.0 on end			# PCI E 5
           device pci b.0 on end			# PCI E 4
           device pci c.0 on end			# PCI E 3
           device pci d.0 on end			# PCI E 2
Index: src/mainboard/msi/ms7260/cache_as_ram_auto.c
===================================================================
--- src/mainboard/msi/ms7260/cache_as_ram_auto.c	(Revision 2953)
+++ src/mainboard/msi/ms7260/cache_as_ram_auto.c	(Arbeitskopie)
@@ -91,8 +91,7 @@
 #include "cpu/amd/mtrr/amd_earlymtrr.c"
 #include "northbridge/amd/amdk8/setup_resource_map.c"
 
-/* Yes, on the MSI K9N Neo (MS-7260) the Super I/O is at 0x4e! */
-#define SERIAL_DEV PNP_DEV(0x4e, W83627EHG_SP1)
+#define SERIAL_DEV PNP_DEV(0x2e, W83627EHG_SP1)
 
 #include "southbridge/nvidia/mcp55/mcp55_early_ctrl.c"
 

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
linuxbios@linuxbios.org
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to