summaryrefslogtreecommitdiff
path: root/targets/emulation/qemu-x86/Config.OLPC.lb
diff options
context:
space:
mode:
Diffstat (limited to 'targets/emulation/qemu-x86/Config.OLPC.lb')
-rw-r--r--targets/emulation/qemu-x86/Config.OLPC.lb22
1 files changed, 22 insertions, 0 deletions
diff --git a/targets/emulation/qemu-x86/Config.OLPC.lb b/targets/emulation/qemu-x86/Config.OLPC.lb
new file mode 100644
index 0000000000..de7f0ee587
--- /dev/null
+++ b/targets/emulation/qemu-x86/Config.OLPC.lb
@@ -0,0 +1,22 @@
+# This will make a target directory of ./emulation_qemu-x86
+
+target qemu-x86-OLPC
+mainboard emulation/qemu-x86
+
+option ROM_SIZE=1024*1024 - (128 * 1024)
+option CONFIG_COMPRESSED_PAYLOAD_LZMA=1
+option CONFIG_PRECOMPRESSED_PAYLOAD=0
+
+option CC="gcc -m32"
+
+option HAVE_PIRQ_TABLE=1
+option IRQ_SLOT_COUNT=6
+
+romimage "image"
+ option ROM_IMAGE_SIZE=0x10000
+ option COREBOOT_EXTRA_VERSION="-OpenBIOS"
+ payload /tmp/olpcpayload.elf
+end
+
+buildrom ./coreboot.rom ROM_SIZE "image"
+