conf/machine: Add qemumips64 machine configuration and tune file.
authorKhem Raj <raj.khem@gmail.com>
Sat, 25 Sep 2010 22:57:15 +0000 (15:57 -0700)
committerKhem Raj <raj.khem@gmail.com>
Mon, 27 Sep 2010 22:05:26 +0000 (15:05 -0700)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
conf/machine/include/tune-mips64.inc [new file with mode: 0644]
conf/machine/qemumips64.conf [new file with mode: 0644]

diff --git a/conf/machine/include/tune-mips64.inc b/conf/machine/include/tune-mips64.inc
new file mode 100644 (file)
index 0000000..8fddf89
--- /dev/null
@@ -0,0 +1,2 @@
+# eglibc needs this flag to default to 64bit otherwise it chooses N32 ABI
+TARGET_CC_ARCH = "-mabi=64"
diff --git a/conf/machine/qemumips64.conf b/conf/machine/qemumips64.conf
new file mode 100644 (file)
index 0000000..3327b01
--- /dev/null
@@ -0,0 +1,15 @@
+#@TYPE: Machine
+#@NAME: qemu MIPS (big-endian) Emulator setup
+#@DESCRIPTION: Machine configuration for running an MIPS64 platform system under qemu emulation 
+
+TARGET_ARCH = "mips64"
+FEED_ARCH = "${TARGET_ARCH}"
+require conf/machine/include/qemu.inc
+require conf/machine/include/tune-mips64.inc
+
+KERNEL_IMAGETYPE = "vmlinux"
+KERNEL_OUTPUT = "vmlinux"
+SERIAL_CONSOLE = "115200 ttyS0"
+
+PREFERRED_PROVIDER_virtual/kernel = "linux"
+MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"