qemu abuild fix

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2440 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2006-10-04 22:57:26 +00:00
parent 5f9624d211
commit 31ed8983c3
2 changed files with 37 additions and 5 deletions

View File

@ -8,11 +8,12 @@ mainboard amd/serengeti_leopard
# serengeti_leopard
romimage "normal"
# 48K for SCSI FW
# option ROM_SIZE = 512*1024-48*1024
# option ROM_SIZE = 475136
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 512*1024-48*1024-48*1024
# option ROM_SIZE = 425984
# 64K for Etherboot
# option ROM_SIZE = 512*1024-64*1024
# option ROM_SIZE = 458752
option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=0
# option ROM_IMAGE_SIZE=0x13800
# option ROM_IMAGE_SIZE=0x17800
@ -38,6 +39,7 @@ romimage "normal"
end
romimage "fallback"
option USE_FAILOVER_IMAGE=0
option USE_FALLBACK_IMAGE=1
# option ROM_IMAGE_SIZE=0x13800
# option ROM_IMAGE_SIZE=0x17800
@ -52,8 +54,9 @@ romimage "fallback"
# payload ../../../payloads/tg3--filo_hda2.zelf
# payload ../../../payloads/tg3.zelf
# payload ../../../payloads/tg3_vga.zelf
payload ../../../../payloads/memtest
# payload ../../../../payloads/tg3--filo_hda2_vga.zelf
payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf
# payload ../../../../payloads/tg3--filo_hda2_vga_5_4.zelf
# payload ../../../payloads/tg3_com2.zelf
# payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf
@ -62,4 +65,13 @@ romimage "fallback"
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2_com2.zelf
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
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"
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" "failover"
#buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -0,0 +1,20 @@
# This will make a target directory of ./emulation_qemu-i386
target emulation_qemu-i386
mainboard emulation/qemu-i386
option ROM_SIZE=256*1024
option CC="gcc -m32"
option HAVE_PIRQ_TABLE=1
option IRQ_SLOT_COUNT=6
romimage "image"
option ROM_IMAGE_SIZE=0x10000
option LINUXBIOS_EXTRA_VERSION="-OpenBIOS"
payload PAYLOAD
end
buildrom ./qemu-bios.rom ROM_SIZE "image"