2007-09-13 00:11:33 +02:00
|
|
|
##
|
2008-01-18 11:35:56 +01:00
|
|
|
## This file is part of the coreboot project.
|
2007-09-13 00:11:33 +02:00
|
|
|
##
|
|
|
|
## Copyright (C) 2007 Uwe Hermann <uwe@hermann-uwe.de>
|
|
|
|
##
|
|
|
|
## This program 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
|
|
|
|
## (at your option) any later version.
|
|
|
|
##
|
|
|
|
## This program 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.
|
|
|
|
##
|
|
|
|
## You should have received a copy of the GNU General Public License
|
|
|
|
## along with this program; if not, write to the Free Software
|
|
|
|
## Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
|
|
##
|
|
|
|
|
|
|
|
target ms6178
|
|
|
|
mainboard msi/ms6178
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_ROM_SIZE = 512 * 1024
|
2007-09-13 00:11:33 +02:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_MAINBOARD_VENDOR = "MSI"
|
|
|
|
option CONFIG_MAINBOARD_PART_NUMBER = "MS-6178"
|
2007-11-08 03:28:43 +01:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_IRQ_SLOT_COUNT = 4
|
2007-11-08 03:28:43 +01:00
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_DEFAULT_CONSOLE_LOGLEVEL = 9
|
|
|
|
option CONFIG_MAXIMUM_CONSOLE_LOGLEVEL = 9
|
2007-11-08 03:28:43 +01:00
|
|
|
|
|
|
|
option CONFIG_CONSOLE_VGA = 1
|
|
|
|
option CONFIG_PCI_ROM_RUN = 1
|
Enable onboard VGA on the MS-6178 (i810 chipset) board (trivial).
Tested on hardware with the patch from r4398 and works fine as soon
as Linux boots (no VGA in FILO for some reason, will investigate).
In order to make the 'i810.vga' VGA blob from the vendor BIOS work
you have to make the check for PCI device ID mismatches non-fatal
(for now) in the src/devices/pci_rom.c file like this:
Index: src/devices/pci_rom.c
===================================================================
--- src/devices/pci_rom.c (Revision 4393)
+++ src/devices/pci_rom.c (Arbeitskopie)
@@ -87,7 +87,7 @@
if (dev->vendor != rom_data->vendor || dev->device != rom_data->device) {
printk_err("Device or Vendor ID mismatch Vendor %04x, Device %04x\n",
rom_data->vendor, rom_data->device);
- return NULL;
+ // return NULL;
}
printk_spew("PCI ROM Image, Class Code %04x%02x, Code Type %02x\n",
The reason is that the VGA blob thinks the proper VGA device ID is 0x7123
whereas it really is 0x7121 on hardware. There are multiple ways to work
around this (there have been many discussions in the past), we'll see which
method will be used in future...
Note: This has been tested against r4393 only for now to make sure there
are no problems because of the recent resource allocator changes, see
http://www.coreboot.org/pipermail/coreboot/2009-July/050486.html.
Tests with trunk will follow.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4399 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-07-05 18:01:57 +02:00
|
|
|
option CONFIG_VIDEO_MB = 1
|
2007-11-08 03:28:43 +01:00
|
|
|
|
2007-09-13 00:11:33 +02:00
|
|
|
romimage "normal"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE = 0
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION = ".0Normal"
|
2007-09-13 00:11:33 +02:00
|
|
|
payload /tmp/filo.elf
|
|
|
|
end
|
|
|
|
|
|
|
|
romimage "fallback"
|
2009-06-30 17:17:49 +02:00
|
|
|
option CONFIG_USE_FALLBACK_IMAGE = 1
|
2008-01-18 16:08:58 +01:00
|
|
|
option COREBOOT_EXTRA_VERSION = ".0Fallback"
|
2007-09-13 00:11:33 +02:00
|
|
|
payload /tmp/filo.elf
|
|
|
|
end
|
|
|
|
|
2009-06-30 17:17:49 +02:00
|
|
|
buildrom ./coreboot.rom CONFIG_ROM_SIZE "normal" "fallback"
|
Convert the MSI MS-6178 board to CBFS.
Also, enable HIGH_TABLES support for this board.
The HIGH_TABLES failed with:
No matching ram area found for range:
[0x00000000000f0000, 0x0000000000100000)
Ram areas
[0x0000000000000000, 0x0000000000001000) Reserved
[0x0000000000001000, 0x00000000000a0000) RAM
[0x0000000000100000, 0x000000000fff0000) RAM
[0x000000000fff0000, 0x0000000010000000) Reserved
SELFBOOT RETURNED!
Boot failed.
The fix was to change northbridge.c as follows:
- ram_resource(dev, idx++, 1024, tolmk - 1024);
+ ram_resource(dev, idx++, 768, tolmk - 768);
This is build-tested and tested on hardware by me. It boots fine,
for instace with SeaBIOS and the standard GRUB1 from my disk.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4365 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-06-19 17:41:49 +02:00
|
|
|
|
Enable onboard VGA on the MS-6178 (i810 chipset) board (trivial).
Tested on hardware with the patch from r4398 and works fine as soon
as Linux boots (no VGA in FILO for some reason, will investigate).
In order to make the 'i810.vga' VGA blob from the vendor BIOS work
you have to make the check for PCI device ID mismatches non-fatal
(for now) in the src/devices/pci_rom.c file like this:
Index: src/devices/pci_rom.c
===================================================================
--- src/devices/pci_rom.c (Revision 4393)
+++ src/devices/pci_rom.c (Arbeitskopie)
@@ -87,7 +87,7 @@
if (dev->vendor != rom_data->vendor || dev->device != rom_data->device) {
printk_err("Device or Vendor ID mismatch Vendor %04x, Device %04x\n",
rom_data->vendor, rom_data->device);
- return NULL;
+ // return NULL;
}
printk_spew("PCI ROM Image, Class Code %04x%02x, Code Type %02x\n",
The reason is that the VGA blob thinks the proper VGA device ID is 0x7123
whereas it really is 0x7121 on hardware. There are multiple ways to work
around this (there have been many discussions in the past), we'll see which
method will be used in future...
Note: This has been tested against r4393 only for now to make sure there
are no problems because of the recent resource allocator changes, see
http://www.coreboot.org/pipermail/coreboot/2009-July/050486.html.
Tests with trunk will follow.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4399 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-07-05 18:01:57 +02:00
|
|
|
pci_rom /tmp/i810.vga vendor_id=0x8086 device_id=0x7121
|
Convert the MSI MS-6178 board to CBFS.
Also, enable HIGH_TABLES support for this board.
The HIGH_TABLES failed with:
No matching ram area found for range:
[0x00000000000f0000, 0x0000000000100000)
Ram areas
[0x0000000000000000, 0x0000000000001000) Reserved
[0x0000000000001000, 0x00000000000a0000) RAM
[0x0000000000100000, 0x000000000fff0000) RAM
[0x000000000fff0000, 0x0000000010000000) Reserved
SELFBOOT RETURNED!
Boot failed.
The fix was to change northbridge.c as follows:
- ram_resource(dev, idx++, 1024, tolmk - 1024);
+ ram_resource(dev, idx++, 768, tolmk - 768);
This is build-tested and tested on hardware by me. It boots fine,
for instace with SeaBIOS and the standard GRUB1 from my disk.
Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de>
Acked-by: Myles Watson <mylesgw@gmail.com>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4365 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
2009-06-19 17:41:49 +02:00
|
|
|
|