[coreboot] [v2] r4277 - in trunk/coreboot-v2: src/mainboard/hp/dl145_g3 targets/hp/dl145_g3
svn at coreboot.org
svn at coreboot.org
Tue May 12 17:15:08 CEST 2009
Author: myles
Date: 2009-05-12 17:15:07 +0200 (Tue, 12 May 2009)
New Revision: 4277
Modified:
trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb
trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Options.lb
trunk/coreboot-v2/targets/hp/dl145_g3/Config-abuild.lb
trunk/coreboot-v2/targets/hp/dl145_g3/Config.lb
Log:
This is the final patch that got everything working for me with the HP dl145g3.
I would like to remind you that this firmware enables the hardware
virtualization on the AMD cpu's on the machine. That feature was
explicitly disabled by the factory BIOS.
Due to an error in the VGAROM no other rom loader (YABEL or X*^BIOS)
than SeaBIOS manages to load the VGA rom. The VGA ROM tries to read
config space of a device that is actually not present.
Because SeaBIOS does not support AHCI SATA it can not start the
bootable drive of the machine so i had to add filo to seabios to
manage booting:
./cbfstool coreboot.rom add-payload filo.elf img/FILO
Signed-off-by: Samuel Verstraete <samuel.verstraete at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Modified: trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb 2009-05-12 15:06:54 UTC (rev 4276)
+++ trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Config.lb 2009-05-12 15:15:07 UTC (rev 4277)
@@ -192,15 +192,8 @@
device pci 2.0 on end # USB 0x0223
device pci 2.1 on end # USB
device pci 2.2 on end # USB
- chip drivers/pci/onboard
- # it is in bcm5785_0 bus, but the device id can
- # not be changed even unitid is changed, fake one
- # to get the rom_address
- # if HT_CHAIN_END_UNITID_BASE=0, it is 4,
- # if HT_CHAIN_END_UNITID_BASE=1, it is 3
- device pci 4.0 on end
- register "rom_address" = "0xfff00000"
- end
+ device pci 3.0 on end # VGA
+
#bx_a013+ start
#chip drivers/pci/onboard #SATA2
# device pci 5.0 on end
Modified: trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Options.lb
===================================================================
--- trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Options.lb 2009-05-12 15:06:54 UTC (rev 4276)
+++ trunk/coreboot-v2/src/mainboard/hp/dl145_g3/Options.lb 2009-05-12 15:15:07 UTC (rev 4277)
@@ -194,7 +194,7 @@
#VGA Console
default CONFIG_CONSOLE_VGA=1
-default CONFIG_PCI_ROM_RUN=1
+default CONFIG_PCI_ROM_RUN=0
#HT Unit ID offset, default is 1, the typical one
default HT_CHAIN_UNITID_BASE=0x06
Modified: trunk/coreboot-v2/targets/hp/dl145_g3/Config-abuild.lb
===================================================================
--- trunk/coreboot-v2/targets/hp/dl145_g3/Config-abuild.lb 2009-05-12 15:06:54 UTC (rev 4276)
+++ trunk/coreboot-v2/targets/hp/dl145_g3/Config-abuild.lb 2009-05-12 15:15:07 UTC (rev 4277)
@@ -13,13 +13,7 @@
option ROM_SIZE=1024*(1024-32)
option FALLBACK_SIZE=1024*512
-romimage "normal"
- option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x20000
- option XIP_ROM_SIZE=0x20000
- option COREBOOT_EXTRA_VERSION=".0-normal"
- payload __PAYLOAD__
-end
+option CONFIG_CBFS = 1
romimage "fallback"
option USE_FALLBACK_IMAGE=1
@@ -29,5 +23,5 @@
payload __PAYLOAD__
end
-buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
+buildrom ./coreboot.rom ROM_SIZE "fallback"
Modified: trunk/coreboot-v2/targets/hp/dl145_g3/Config.lb
===================================================================
--- trunk/coreboot-v2/targets/hp/dl145_g3/Config.lb 2009-05-12 15:06:54 UTC (rev 4276)
+++ trunk/coreboot-v2/targets/hp/dl145_g3/Config.lb 2009-05-12 15:15:07 UTC (rev 4277)
@@ -24,23 +24,18 @@
target dl145_g3
mainboard hp/dl145_g3
-# Leave 32K for VGA ROM
-option ROM_SIZE= 1024*1024 - 32*1024
+option ROM_SIZE= 1024*1024
+option CONFIG_CBFS = 1
-romimage "normal"
- option USE_FALLBACK_IMAGE=0
- option ROM_IMAGE_SIZE=0x20000
- option XIP_ROM_SIZE=0x20000
- option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
- payload ../payload.elf
-end
-
romimage "fallback"
option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x20000
option XIP_ROM_SIZE=0x20000
option COREBOOT_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
- payload ../payload.elf
+ payload ./bios.bin.elf
end
-buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
+buildrom ./coreboot.rom ROM_SIZE "fallback"
+
+pci_rom ./matrox.rom vendor_id=0x102b device_id=0x0522
+
More information about the coreboot
mailing list