summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYinghai Lu <yinghailu@gmail.com>2005-01-13 00:04:56 +0000
committerYinghai Lu <yinghailu@gmail.com>2005-01-13 00:04:56 +0000
commit6c615429d39d7e14f7ea97a63cabcb616d5c2438 (patch)
tree69874182353a5af3e2dd8c2ec36452090259737f
parentc47eeb2cecb65047cf4c6e449b8763ab47c5c8d8 (diff)
onboard pci rom
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1859 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
-rw-r--r--targets/tyan/s2850/Config.lb22
-rw-r--r--targets/tyan/s2850/VERSION2
-rw-r--r--targets/tyan/s2850/atix.txt1
-rw-r--r--targets/tyan/s2850/ns28506
4 files changed, 18 insertions, 13 deletions
diff --git a/targets/tyan/s2850/Config.lb b/targets/tyan/s2850/Config.lb
index a3a0ef6f62..7c763e75a8 100644
--- a/targets/tyan/s2850/Config.lb
+++ b/targets/tyan/s2850/Config.lb
@@ -5,41 +5,45 @@
target s2850
mainboard tyan/s2850
-# Tyan s2895
+# Tyan s2850
romimage "normal"
-# 48K for SCSI FW
-# option ROM_SIZE = 475136
+# 48K for SCSI FW or ati rom
+ option ROM_SIZE = 475136
# 48K for SCSI FW and 48K for ATI ROM
# option ROM_SIZE = 425984
# 64K for Etherboot
# option ROM_SIZE = 458752
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"
# payload ../../../payloads/tg3--ide_disk.zelf
# payload ../../../payloads/filo.elf
# payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf
-# payload ../../../payloads/tg3--filo.zelf
+ payload ../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
- payload ../../../payloads/tg3--filo_btext_hda2.zelf
+# payload ../../../payloads/tg3--filo_btext_hda2.zelf
end
romimage "fallback"
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"
# payload ../../../payloads/tg3--ide_disk.zelf
# payload ../../../payloads/filo.elf
# payload ../../../payloads/filo_mem.elf
# payload ../../../payloads/filo.zelf
-# payload ../../../payloads/tg3--filo.zelf
+ payload ../../../payloads/tg3--filo_hda2_vga.zelf
# payload ../../../payloads/e1000--filo.zelf
# payload ../../../payloads/tg3--e1000--filo.zelf
# payload ../../../payloads/tg3--eepro100--e1000--filo_hda2.zelf
- payload ../../../payloads/tg3--filo_btext_hda2.zelf
+# payload ../../../payloads/tg3--filo_btext_hda2.zelf
end
buildrom ./linuxbios.rom ROM_SIZE "normal" "fallback"
diff --git a/targets/tyan/s2850/VERSION b/targets/tyan/s2850/VERSION
index cd5ac039d6..eaf624aaa3 100644
--- a/targets/tyan/s2850/VERSION
+++ b/targets/tyan/s2850/VERSION
@@ -1 +1 @@
-2.0
+_s2850
diff --git a/targets/tyan/s2850/atix.txt b/targets/tyan/s2850/atix.txt
new file mode 100644
index 0000000000..ae0a5c8f8b
--- /dev/null
+++ b/targets/tyan/s2850/atix.txt
@@ -0,0 +1 @@
+dd if=/dev/mem of=atix.rom skip=1536 count=96
diff --git a/targets/tyan/s2850/ns2850 b/targets/tyan/s2850/ns2850
index 546d5629e3..0094229935 100644
--- a/targets/tyan/s2850/ns2850
+++ b/targets/tyan/s2850/ns2850
@@ -2,6 +2,6 @@
TYANMB=s2850
cd "$TYANMB"
make
-#cat ../atix.rom ./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/
+cat ../atix.rom ./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/