From 0484ea750408ee1cc6b2ff22023777e2a53107fa Mon Sep 17 00:00:00 2001 From: ward Date: Wed, 5 Dec 2007 23:00:50 +0000 Subject: [PATCH] This patch fixes LAB booting for the supermicro H8DMR board (the generated linuxbios Config.lb file needed some love). This is a trivial patch. Signed-off-by: Ward Vandewege Acked-by: Ward Vandewege git-svn-id: svn://coreboot.org/buildrom@75 0fe3215d-741a-0410-bb5a-0d2cd39d948f --- ...supermicro-h8dmr-kernel-and-lab-Config.lb.patch | 40 +++++++++++++--------- 1 file changed, 23 insertions(+), 17 deletions(-) diff --git a/buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch b/buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch index 1215480..c3fa50a 100644 --- a/buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch +++ b/buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch @@ -1,6 +1,8 @@ +Index: Config.lb +=================================================================== --- LinuxBIOSv2/targets/supermicro/h8dmr/Config.lb 2008-05-29 14:42:05.000000000 -0400 +++ LinuxBIOSv2/targets/supermicro/h8dmr/Config.lb 2007-11-30 13:54:40.000000000 -0500 -@@ -22,82 +22,18 @@ +@@ -22,82 +22,28 @@ target h8dmr mainboard supermicro/h8dmr @@ -40,18 +42,22 @@ -# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf -end +option ROM_SIZE=0x100000 -+# 44K for ATI ROM in 1M -+option FALLBACK_SIZE=(ROM_SIZE-0xB000) ++# 44K for ATI ROM in 1M; 4K for failover ++option FALLBACK_SIZE=(ROM_SIZE-0xC000) romimage "fallback" - option USE_FAILOVER_IMAGE=0 -- option USE_FALLBACK_IMAGE=1 ++ option USE_FAILOVER_IMAGE=0 + option USE_FALLBACK_IMAGE=1 -# option ROM_IMAGE_SIZE=0x13800 -# option ROM_IMAGE_SIZE=0x19800 - option ROM_IMAGE_SIZE=0x20000 -# option ROM_IMAGE_SIZE=0x15800 -- option XIP_ROM_SIZE=0x40000 -- option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback" ++ option CONFIG_COMPRESSED_PAYLOAD_LZMA=1 ++ option CONFIG_PRECOMPRESSED_PAYLOAD=1 ++ option ROM_IMAGE_SIZE=0x18000 + 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 @@ -74,23 +80,23 @@ -# 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 --end -- --romimage "failover" ++ payload ../payload.elf + end + + romimage "failover" - option USE_FAILOVER_IMAGE=1 - option USE_FALLBACK_IMAGE=0 - option ROM_IMAGE_SIZE=FAILOVER_SIZE - option XIP_ROM_SIZE=FAILOVER_SIZE - option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover" -+ option USE_FALLBACK_IMAGE=1 -+ option CONFIG_COMPRESSED_PAYLOAD_LZMA=1 -+ option CONFIG_PRECOMPRESSED_PAYLOAD=1 -+ option ROM_IMAGE_SIZE=0x17000 -+ option XIP_ROM_SIZE=0x40000 -+ option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback" -+ payload ../payload.elf ++ option USE_FAILOVER_IMAGE=1 ++ option USE_FALLBACK_IMAGE=0 ++ option ROM_IMAGE_SIZE=FAILOVER_SIZE ++ option XIP_ROM_SIZE=FAILOVER_SIZE ++ option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Failover" end -#buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" -buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover" -+buildrom ./linuxbios.rom ROM_SIZE "fallback" ++ ++buildrom ./linuxbios.rom ROM_SIZE "fallback" "failover" -- 2.11.4.GIT