aboutsummaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorGravatar Waldemar Brodkorb <wbx@openadk.org>2015-08-29 09:59:06 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-10-10 12:52:16 +0200
commit8a150d4f5e0804f79fc2a197b68164a476b1269d (patch)
treecaaf247ecc7ae34872d5378aff633ca73ae09e33 /board
parent4a92f6754a39d8dc22a8285fef36b0b58619cb24 (diff)
downloadbuildroot-8a150d4f5e0804f79fc2a197b68164a476b1269d.tar.gz
buildroot-8a150d4f5e0804f79fc2a197b68164a476b1269d.tar.bz2
qemu: add new board support for qemu-system-sparc64
SPARC64 builds can be tested with Qemu. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Tested-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/sparc64-sun4u/linux-4.1.config27
-rw-r--r--board/qemu/sparc64-sun4u/readme.txt7
2 files changed, 34 insertions, 0 deletions
diff --git a/board/qemu/sparc64-sun4u/linux-4.1.config b/board/qemu/sparc64-sun4u/linux-4.1.config
new file mode 100644
index 0000000000..2b282f9ae4
--- /dev/null
+++ b/board/qemu/sparc64-sun4u/linux-4.1.config
@@ -0,0 +1,27 @@
+# CONFIG_SWAP is not set
+CONFIG_SYSVIPC=y
+CONFIG_POSIX_MQUEUE=y
+CONFIG_NO_HZ_IDLE=y
+CONFIG_EMBEDDED=y
+CONFIG_MODULES=y
+CONFIG_PCI=y
+CONFIG_SUN_OPENPROMFS=y
+CONFIG_NET=y
+CONFIG_PACKET=y
+CONFIG_UNIX=y
+CONFIG_INET=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+CONFIG_PATA_CMD64X=y
+CONFIG_NETDEVICES=y
+CONFIG_NE2K_PCI=y
+CONFIG_SERIAL_SUNSU=y
+CONFIG_SERIAL_SUNSU_CONSOLE=y
+CONFIG_EXT4_FS=y
+CONFIG_EXT4_USE_FOR_EXT23=y
+CONFIG_TMPFS=y
+CONFIG_NLS=y
+CONFIG_NLS_DEFAULT="utf-8"
+CONFIG_MAGIC_SYSRQ=y
diff --git a/board/qemu/sparc64-sun4u/readme.txt b/board/qemu/sparc64-sun4u/readme.txt
new file mode 100644
index 0000000000..90d1edc29e
--- /dev/null
+++ b/board/qemu/sparc64-sun4u/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-sparc64 -M sun4u -kernel output/images/vmlinux -append "root=/dev/sda console=ttyS0,115200" -serial stdio output/images/rootfs.ext2
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.3.0