summaryrefslogtreecommitdiff
path: root/target/xtensa
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-03-18 08:23:14 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-03-18 08:23:21 +0100
commitf35dbe482cb0a2b1ed9c9241a10c073238fdb907 (patch)
tree4b9f84c62de1973fb73710366b099e0340d91ce7 /target/xtensa
parente80e2408d4e54999784338182527ec16949addd8 (diff)
xtensa: fix noMMU qemu sample, with help from Max
Diffstat (limited to 'target/xtensa')
-rw-r--r--target/xtensa/Makefile4
-rw-r--r--target/xtensa/kernel/qemu-xtensa1
2 files changed, 3 insertions, 2 deletions
diff --git a/target/xtensa/Makefile b/target/xtensa/Makefile
index d391ef49e..f0d3b95a2 100644
--- a/target/xtensa/Makefile
+++ b/target/xtensa/Makefile
@@ -11,7 +11,7 @@ else
KERNEL:=$(LINUX_DIR)/arch/xtensa/boot/uImage
endif
-QEMU_ARGS:=-M ml605 -monitor null
+QEMU_ARGS:=-M kc705
QEMU_ARGS+=${ADK_QEMU_ARGS}
ifeq ($(ADK_TARGET_CPU_XTENSA_DC233C),y)
QEMU_ARGS+=-cpu dc233c
@@ -20,7 +20,7 @@ ifeq ($(ADK_TARGET_CPU_XTENSA_DC232B),y)
QEMU_ARGS+=-cpu dc232b
endif
ifeq ($(ADK_TARGET_CPU_XTENSA_DE212),y)
-QEMU_ARGS+=-cpu de212
+QEMU_ARGS+=-cpu de212 -m 256
endif
# target helper text
diff --git a/target/xtensa/kernel/qemu-xtensa b/target/xtensa/kernel/qemu-xtensa
index a6202d5a0..5db1a1077 100644
--- a/target/xtensa/kernel/qemu-xtensa
+++ b/target/xtensa/kernel/qemu-xtensa
@@ -1,2 +1,3 @@
CONFIG_XTENSA=y
CONFIG_XTENSA_PLATFORM_XTFPGA=y
+CONFIG_CMDLINE_BOOL=y