onboard pci rom

git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1859 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
Yinghai Lu 2005-01-13 00:04:56 +00:00
parent c47eeb2cec
commit 6c615429d3
4 changed files with 18 additions and 13 deletions

View File

@ -5,41 +5,45 @@
target s2850 target s2850
mainboard tyan/s2850 mainboard tyan/s2850
# Tyan s2895 # Tyan s2850
romimage "normal" romimage "normal"
# 48K for SCSI FW # 48K for SCSI FW or ati rom
# option ROM_SIZE = 475136 option ROM_SIZE = 475136
# 48K for SCSI FW and 48K for ATI ROM # 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984 # option ROM_SIZE = 425984
# 64K for Etherboot # 64K for Etherboot
# option ROM_SIZE = 458752 # option ROM_SIZE = 458752
option USE_FALLBACK_IMAGE=0 option USE_FALLBACK_IMAGE=0
option ROM_IMAGE_SIZE=0x10000 # option ROM_IMAGE_SIZE=0x10000
option ROM_IMAGE_SIZE=0x13800
option XIP_ROM_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal" option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Normal"
# payload ../../../payloads/tg3--ide_disk.zelf # payload ../../../payloads/tg3--ide_disk.zelf
# payload ../../../payloads/filo.elf # payload ../../../payloads/filo.elf
# payload ../../../payloads/filo_mem.elf # payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf # payload ../../../payloads/filo.zelf
# payload ../../../payloads/tg3--filo.zelf payload ../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/e1000--filo.zelf # payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf # payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf # payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
payload ../../../payloads/tg3--filo_btext_hda2.zelf # payload ../../../payloads/tg3--filo_btext_hda2.zelf
end end
romimage "fallback" romimage "fallback"
option USE_FALLBACK_IMAGE=1 option USE_FALLBACK_IMAGE=1
option ROM_IMAGE_SIZE=0x10000 # option ROM_IMAGE_SIZE=0x10000
option ROM_IMAGE_SIZE=0x13800
option XIP_ROM_SIZE=0x20000
option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback" option LINUXBIOS_EXTRA_VERSION="$(shell cat ../../VERSION)_Fallback"
# payload ../../../payloads/tg3--ide_disk.zelf # payload ../../../payloads/tg3--ide_disk.zelf
# payload ../../../payloads/filo.elf # payload ../../../payloads/filo.elf
# payload ../../../payloads/filo_mem.elf # payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf # payload ../../../payloads/filo.zelf
# payload ../../../payloads/tg3--filo.zelf payload ../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/e1000--filo.zelf # payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf # payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf # payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
payload ../../../payloads/tg3--filo_btext_hda2.zelf # payload ../../../payloads/tg3--filo_btext_hda2.zelf
end end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback" buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"

View File

@ -1 +1 @@
2.0 _s2850

View File

@ -0,0 +1 @@
dd if=/dev/mem of=atix.rom skip=1536 count=96

View File

@ -2,6 +2,6 @@
TYANMB=s2850 TYANMB=s2850
cd "$TYANMB" cd "$TYANMB"
make make
#cat ../atix.rom ./normal/linuxbios.rom ./fallback/linuxbios.rom > $TYANMB"_linuxbios.rom" cat ../atix.rom ./normal/linuxbios.rom ./fallback/linuxbios.rom > $TYANMB"_linuxbios.rom"
cat ./normal/linuxbios.rom ./fallback/linuxbios.rom > $TYANMB"_linuxbios.rom" #cat ./normal/linuxbios.rom ./fallback/linuxbios.rom > $TYANMB"_linuxbios.rom"
cp -f $TYANMB"_linuxbios.rom" /home/yhlu/ #cp -f $TYANMB"_linuxbios.rom" /home/yhlu/