aboutsummaryrefslogtreecommitdiff
path: root/board/qemu
diff options
context:
space:
mode:
authorGravatar Matt Weber <matthew.weber@rockwellcollins.com>2018-04-01 15:01:13 -0500
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-02 00:42:59 +0200
commitdab038d1ac2ada87f89aa3bbae8a816481091e05 (patch)
tree09d71adc2ba035d0046280bc881336f2f5713162 /board/qemu
parent70e6b08d41be1c5d5a4272c8b4210963ca9a278e (diff)
downloadbuildroot-dab038d1ac2ada87f89aa3bbae8a816481091e05.tar.gz
buildroot-dab038d1ac2ada87f89aa3bbae8a816481091e05.tar.bz2
configs/qemu_ppc64_e5500: new defconfig
Adding basic support modeled after the Freescale/NXP T1040RDBD4 board. This target is used to support testing of the bootlin e5500 toolchain. Signed-off-by: Matthew Weber <matthew.weber@rockwellcollins.com> [Thomas: update .gitlab-ci.yml.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'board/qemu')
-rw-r--r--board/qemu/ppc64-e5500/linux.fragment10
-rw-r--r--board/qemu/ppc64-e5500/readme.txt7
2 files changed, 17 insertions, 0 deletions
diff --git a/board/qemu/ppc64-e5500/linux.fragment b/board/qemu/ppc64-e5500/linux.fragment
new file mode 100644
index 0000000000..071a55ccf7
--- /dev/null
+++ b/board/qemu/ppc64-e5500/linux.fragment
@@ -0,0 +1,10 @@
+# Enables generic PPC e500 base arch support for QEMU.
+# The e5500 is a variant of the e500 arch.
+CONFIG_PPC_QEMU_E500=y
+
+# Enable virtio (blk, rng and net devices)
+CONFIG_VIRTIO=y
+CONFIG_VIRTIO_PCI=y
+CONFIG_HW_RANDOM_VIRTIO=y
+CONFIG_VIRTIO_BLK=y
+CONFIG_VIRTIO_NET=y
diff --git a/board/qemu/ppc64-e5500/readme.txt b/board/qemu/ppc64-e5500/readme.txt
new file mode 100644
index 0000000000..0bfd41d76b
--- /dev/null
+++ b/board/qemu/ppc64-e5500/readme.txt
@@ -0,0 +1,7 @@
+Run the emulation with:
+
+ qemu-system-ppc64 -M ppce500 -cpu e5500 -m 256 -kernel output/images/uImage -drive file=output/images/rootfs.ext2,if=virtio,format=raw -append 'console=ttyS0 root=/dev/vda' -serial mon:stdio -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with QEMU 2.0.0