Author: ward Date: 2007-12-06 00:00:50 +0100 (Thu, 06 Dec 2007) New Revision: 75
Modified: buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch Log:
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 ward@gnu.org Acked-by: Ward Vandewege ward@gnu.org
Modified: buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch =================================================================== --- buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch 2007-12-05 18:35:36 UTC (rev 74) +++ buildrom-devel/packages/linuxbios/patches/supermicro-h8dmr-kernel-and-lab-Config.lb.patch 2007-12-05 23:00:50 UTC (rev 75) @@ -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"