aboutsummaryrefslogtreecommitdiff
path: root/targets/hp
diff options
context:
space:
mode:
authorSamuel Verstraete <samuel.verstraete@gmail.com>2009-05-12 15:15:07 +0000
committerMyles Watson <mylesgw@gmail.com>2009-05-12 15:15:07 +0000
commit459259e98dc9071279f385ea18c58993e2e66b9b (patch)
tree04372c4406dd772948cb8dcafda0d2685ed78b49 /targets/hp
parent1c7cf64f1ea8407f1bc541c9f16fec872d52b450 (diff)
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@gmail.com> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@4277 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/hp')
-rw-r--r--targets/hp/dl145_g3/Config-abuild.lb10
-rw-r--r--targets/hp/dl145_g3/Config.lb19
2 files changed, 9 insertions, 20 deletions
diff --git a/targets/hp/dl145_g3/Config-abuild.lb b/targets/hp/dl145_g3/Config-abuild.lb
index ecccc6bbc2..95639ecb61 100644
--- a/targets/hp/dl145_g3/Config-abuild.lb
+++ b/targets/hp/dl145_g3/Config-abuild.lb
@@ -13,13 +13,7 @@ __LOGLEVEL__
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 @@ romimage "fallback"
payload __PAYLOAD__
end
-buildrom ./coreboot.rom ROM_SIZE "normal" "fallback"
+buildrom ./coreboot.rom ROM_SIZE "fallback"
diff --git a/targets/hp/dl145_g3/Config.lb b/targets/hp/dl145_g3/Config.lb
index d347a9441d..1ca40cb666 100644
--- a/targets/hp/dl145_g3/Config.lb
+++ b/targets/hp/dl145_g3/Config.lb
@@ -24,23 +24,18 @@
target dl145_g3
mainboard hp/dl145_g3
-# Leave 32K for VGA ROM
-option ROM_SIZE= 1024*1024 - 32*1024
-
-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
+option ROM_SIZE= 1024*1024
+option CONFIG_CBFS = 1
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
+