On Tue, May 22, 2007 at 06:57:07PM -0500, Jonathan King wrote:
> Yes I am willing and able to help in any way needed!

OK, great!


> I just need to grab a PLCC32 puller and another 2+MB chip.  Sources on the
> chip?  I will try to order one tomorrow.

Most electronics stores should have some, a few are listed here:
http://linuxbios.org/FAQ#Where_can_I_buy_BIOS_chips_.28empty_or_pre-flashed.29.3F


> I have an ITE IT8716F-S Super I/O chip.  Looks like it is fully supported.
> 
> > Do you have a null-modem cable for serial debugging output?
> 
> 
> Yes, I have a null modem cable and a laptop that I can use to run any O/S
> needed

OK, first step is trying to get serial output.

Please make sure you have:

 - A Linux distribution installed on some hard drive (IDE, but SATA might
   work, too) on the M2N-E. A recent kernel would be good.

 - GRUB configured to boot the kernel with the options
   'console=tty0 console=ttyS0,115200' and attach your null-modem cable
   on COM1 on the M2N-E board and any COM port on another machine. This
   should get you serial debugging output using (e.g.) minicom on the
   second computer.

 - A working flashrom setup to flash ROM images on the BIOS chip.
   What's the output of running 'flashrom' (without options) on the board?
   What's the output of 'flashrom -V'?

Please post some more information about the mainboard:

 - lspci -n
 - lspci -vv
 - lspci -tv
 - lspnp -v
 - cat /proc/cpuinfo

As far as I can see this board is very similar to the GIGABYTE
GA-M57SLI-S4, so for now we'll just modify that one.

Please apply the attached patch (which doesn't really change very much).

Then build a FILO payload which is configured to display serial
debugging, and use the GRUB from your hard drive to boot the kernel.
Enable the maximum amount of debugging.
The result should be a /tmp/filo.elf file.

Then build the linuxbios.rom image by doing

 $ cd targets
 $ ./buildtarget gigabyte/m57sli
 $ cd targets/gigabyte/m57sli/m57sli
 $ make

The resulting linuxbios.rom image should be 512 KB (if your current ROM
chip is of another size, please let us know; that would require some
changes in a Config.lb file).

Now flash the linuxbios.rom on some BIOS chip using flashrom and boot
with the newly flashed LinuxBIOS.

Please record all the serial output in a file and post it here...


Thanks, 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/gigabyte/m57sli/mptable.c
===================================================================
--- src/mainboard/gigabyte/m57sli/mptable.c	(Revision 2698)
+++ src/mainboard/gigabyte/m57sli/mptable.c	(Arbeitskopie)
@@ -36,8 +36,8 @@
 void *smp_write_config_table(void *v)
 {
         static const char sig[4] = "PCMP";
-        static const char oem[8] = "GIGABYTE";
-        static const char productid[12] = "M57SLI      ";
+        static const char oem[8] = "ASUS    ";
+        static const char productid[12] = "M2N-E       ";
         struct mp_config_table *mc;
 	unsigned sbdn;
 
Index: src/mainboard/gigabyte/m57sli/Options.lb
===================================================================
--- src/mainboard/gigabyte/m57sli/Options.lb	(Revision 2698)
+++ src/mainboard/gigabyte/m57sli/Options.lb	(Arbeitskopie)
@@ -251,10 +251,10 @@
 ##
 ## Clean up the motherboard id strings
 ##
-default MAINBOARD_PART_NUMBER="m57sli"
-default MAINBOARD_VENDOR="GIGABYTE"
-default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1022
-default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2b80
+default MAINBOARD_PART_NUMBER="M2N-E"
+default MAINBOARD_VENDOR="ASUS"
+default MAINBOARD_PCI_SUBSYSTEM_VENDOR_ID=0x1022 # FIXME
+default MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID=0x2b80 # FIXME
 
 ###
 ### LinuxBIOS layout values
@@ -344,9 +344,9 @@
 ## SPEW       9   Way too many details             
 
 ## Request this level of debugging output
-default  DEFAULT_CONSOLE_LOGLEVEL=8
+default  DEFAULT_CONSOLE_LOGLEVEL=11
 ## At a maximum only compile in this level of debugging
-default  MAXIMUM_CONSOLE_LOGLEVEL=8
+default  MAXIMUM_CONSOLE_LOGLEVEL=11
 
 ##
 ## Select power on after power fail setting
Index: targets/gigabyte/m57sli/Config.lb
===================================================================
--- targets/gigabyte/m57sli/Config.lb	(Revision 2698)
+++ targets/gigabyte/m57sli/Config.lb	(Arbeitskopie)
@@ -40,23 +40,7 @@
 #	option ROM_IMAGE_SIZE=0x15800
 	option XIP_ROM_SIZE=0x40000
 	option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
-#       payload ../../../payloads/tg3--ide_disk.zelf
-#        payload ../../../payloads/filo.elf
-#        payload ../../../payloads/filo_mem.elf
-#        payload ../../../payloads/filo.zelf
-#        payload ../../../payloads/tg3--filo_hda2.zelf
-#	payload ../../../payloads/tg3.zelf
-#	payload ../../../../payloads/tg3_vga.zelf
-#	payload ../../../../payloads/tg3--filo_hda2_vga.zelf
-#	payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf
-#	payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf
-	payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
-#	payload ../../../payloads/tg3_com2.zelf
-#       payload ../../../payloads/e1000--filo.zelf
-#        payload ../../../payloads/tg3--e1000--filo.zelf
-#        payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
-#	payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf
-#	payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf
+	payload /tmp/filo.elf
 end
 
 romimage "fallback" 
@@ -68,28 +52,7 @@
 #	option ROM_IMAGE_SIZE=0x15800
 	option XIP_ROM_SIZE=0x40000
 	option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
-#       payload ../../../payloads/tg3--ide_disk.zelf
-#        payload ../../../payloads/filo.elf
-#        payload ../../../payloads/filo_mem.elf
-#        payload ../../../payloads/filo.zelf
-#        payload ../../../payloads/tg3--filo_hda2.zelf
-#	payload ../../../payloads/tg3.zelf
-#	payload ../../../../payloads/tg3_vga.zelf
-#	payload ../../../../payloads/memtest
-#	payload ../../../../payloads/e1000_vga.zelf
-#	payload ../../../../payloads/tg3--filo_hda2_vga.zelf
-#	payload ../../../../payloads/filo_hda.zelf
-#	payload ../../../../payloads/adlo.elf
-#	payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf
-#	payload ../../../../payloads/forcedeth_mcp55_filo_hda2.zelf
-	payload ../../../../payloads/forcedeth--filo_hda2_vga_5_4_2_mcp55.zelf
-#	payload ../../../../payloads/forcedeth--filo_hda2_vga.zelf
-#	payload ../../../payloads/tg3_com2.zelf
-#       payload ../../../payloads/e1000--filo.zelf
-#        payload ../../../payloads/tg3--e1000--filo.zelf
-#        payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
-#	payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_5.3.zelf
-#	payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf
+	payload /tmp/filo.elf
 end
 
 romimage "failover"

Attachment: signature.asc
Description: Digital signature

-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to