summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorRomain Naour <romain.naour@gmail.com>2017-01-25 22:48:13 +0100
committerPeter Korsgaard <peter@korsgaard.com>2017-01-25 23:27:01 +0100
commit6c8f7011cb2246a5a546ff0bb12f723f2d7a9735 (patch)
tree0d6d60fcebfa33b79a4d948f1cfe12a1f8a5ea4f /board
parentc1395b347fb2e4a7551d220881e1a075d1e6e7bd (diff)
configs: add Qemu nios2 defconfig
Tested with Qemu the latest master (upcoming 2.9 release) Signed-off-by: Romain Naour <romain.naour@gmail.com> Cc: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'board')
-rw-r--r--board/qemu/nios2-10m50/linux-4.9.fragment3
-rw-r--r--board/qemu/nios2-10m50/readme.txt9
2 files changed, 12 insertions, 0 deletions
diff --git a/board/qemu/nios2-10m50/linux-4.9.fragment b/board/qemu/nios2-10m50/linux-4.9.fragment
new file mode 100644
index 000000000..76c864f5c
--- /dev/null
+++ b/board/qemu/nios2-10m50/linux-4.9.fragment
@@ -0,0 +1,3 @@
+# Embed the DTB in the kernel image
+CONFIG_NIOS2_DTB_SOURCE_BOOL=y
+CONFIG_NIOS2_DTB_SOURCE="arch/nios2/boot/dts/10m50_devboard.dts"
diff --git a/board/qemu/nios2-10m50/readme.txt b/board/qemu/nios2-10m50/readme.txt
new file mode 100644
index 000000000..978ba95cb
--- /dev/null
+++ b/board/qemu/nios2-10m50/readme.txt
@@ -0,0 +1,9 @@
+Run the emulation with:
+
+ qemu-system-nios2 -kernel output/images/vmlinux -nographic
+
+The login prompt will appear in the terminal that started Qemu.
+
+Tested with the upcoming QEMU 2.9.0 [1]
+
+[1] http://git.qemu.org/?p=qemu.git;h=ae5045ae5b2bbd8ce1335d1b05f9ecacca83a6cf