summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-i386/Config.OLPC.lb
diff options
context:
space:
mode:
authorRonald G. Minnich <rminnich@gmail.com>2006-09-19 03:43:30 +0000
committerRonald G. Minnich <rminnich@gmail.com>2006-09-19 03:43:30 +0000
commit830a79eeab1d71840ff1fce59dd2ac76c91b1d22 (patch)
tree29c122d62b55ae9a42162dadd2c6ec3270d2a61f /targets/emulation/qemu-i386/Config.OLPC.lb
parent4d6810c60cda5a47b13813b590c57d39b719c013 (diff)
downloadcoreboot-830a79eeab1d71840ff1fce59dd2ac76c91b1d22.tar.xz
add an OLPC target for qemu
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2422 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/emulation/qemu-i386/Config.OLPC.lb')
-rw-r--r--targets/emulation/qemu-i386/Config.OLPC.lb22
1 files changed, 22 insertions, 0 deletions
diff --git a/targets/emulation/qemu-i386/Config.OLPC.lb b/targets/emulation/qemu-i386/Config.OLPC.lb
new file mode 100644
index 0000000000..e6f9ded76a
--- /dev/null
+++ b/targets/emulation/qemu-i386/Config.OLPC.lb
@@ -0,0 +1,22 @@
+# This will make a target directory of ./emulation_qemu-i386
+
+target qemu-i386-OLPC
+mainboard emulation/qemu-i386
+
+option ROM_SIZE=1024*1024
+option CONFIG_COMPRESSED_ROM_STREAM_LZMA=1
+option CONFIG_PRECOMPRESSED_ROM_STREAM=0
+
+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 /tmp/olpcpayload.elf
+end
+
+buildrom ./qemu-bios-OLPC.rom ROM_SIZE "image"
+