summaryrefslogtreecommitdiff
path: root/targets/emulation
diff options
context:
space:
mode:
authorMyles Watson <myles@pel.cs.byu.edu>2008-02-06 22:33:50 +0000
committerMyles Watson <mylesgw@gmail.com>2008-02-06 22:33:50 +0000
commitf2b380ad8588a6c6cd9d334a34704ee86dc43550 (patch)
tree9fa00b49777b802aaad2846a55b0ca8fd55ea075 /targets/emulation
parentc23b3a57321dfa1b3341608074facde81aa2a8de (diff)
downloadcoreboot-f2b380ad8588a6c6cd9d334a34704ee86dc43550.tar.xz
This patch changes the Config.lb files and adds Config-lab.lb files for
architectures supported by buildrom. Myles Signed-off-by: Myles Watson <myles@pel.cs.byu.edu> Acked-by: Ward Vandewege <ward@gnu.org> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3092 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'targets/emulation')
-rw-r--r--targets/emulation/qemu-i386/Config-lab.lb22
-rw-r--r--targets/emulation/qemu-i386/Config.lb3
2 files changed, 24 insertions, 1 deletions
diff --git a/targets/emulation/qemu-i386/Config-lab.lb b/targets/emulation/qemu-i386/Config-lab.lb
new file mode 100644
index 0000000000..76e542ac4e
--- /dev/null
+++ b/targets/emulation/qemu-i386/Config-lab.lb
@@ -0,0 +1,22 @@
+# This will make a target directory of ./emulation_qemu-i386
+
+target qemu-i386
+mainboard emulation/qemu-i386
+
+option ROM_SIZE=2048*1024
+option CONFIG_COMPRESSED_PAYLOAD_LZMA=0
+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="-LAB"
+ payload ../payload.elf.lzma
+end
+
+buildrom ./qemu.rom ROM_SIZE "image"
+
diff --git a/targets/emulation/qemu-i386/Config.lb b/targets/emulation/qemu-i386/Config.lb
index ca7ae3b034..d3978c3867 100644
--- a/targets/emulation/qemu-i386/Config.lb
+++ b/targets/emulation/qemu-i386/Config.lb
@@ -13,7 +13,8 @@ option IRQ_SLOT_COUNT=6
romimage "image"
option ROM_IMAGE_SIZE=0x10000
option COREBOOT_EXTRA_VERSION="-GRUB2"
- payload /home/stepan/core.img
+# payload /home/stepan/core.img
+ payload ../payload.elf
end
buildrom ./coreboot.rom ROM_SIZE "image"