summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-12-02 13:20:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2015-12-02 13:20:29 +0100
commit4e6e36f25af9c113bdef737600275ca0671dee74 (patch)
tree99995dc71c05d823e3c300737f2062510a3c5dfe
parentf06aece697aeab98f44c6ad0017e87e36c8ae764 (diff)
or1k: try with openrisc linux version, minimize defconfig
-rw-r--r--target/or1k/kernel/or1k-sim9
-rw-r--r--target/or1k/or1ksim.cfg3
-rw-r--r--target/or1k/systems/or1k-sim3
3 files changed, 4 insertions, 11 deletions
diff --git a/target/or1k/kernel/or1k-sim b/target/or1k/kernel/or1k-sim
index 9cdac3406..b8d0f3546 100644
--- a/target/or1k/kernel/or1k-sim
+++ b/target/or1k/kernel/or1k-sim
@@ -1,12 +1,3 @@
CONFIG_OPENRISC=y
CONFIG_OPENRISC_BUILTIN_DTB="or1ksim"
CONFIG_OR1K_1200=y
-CONFIG_OPENRISC_HAVE_INST_FF1=y
-CONFIG_OPENRISC_HAVE_INST_FL1=y
-CONFIG_OPENRISC_HAVE_INST_MUL=y
-CONFIG_OPENRISC_HAVE_INST_DIV=y
-CONFIG_OPENRISC_HAVE_INST_LWA_SWA=y
-CONFIG_IRQCHIP=y
-CONFIG_OR1K_PIC=y
-CONFIG_SLOB=y
-CONFIG_MICREL_PHY=y
diff --git a/target/or1k/or1ksim.cfg b/target/or1k/or1ksim.cfg
index 47ed45998..fe5a0da01 100644
--- a/target/or1k/or1ksim.cfg
+++ b/target/or1k/or1ksim.cfg
@@ -639,8 +639,7 @@ section uart
baseaddr = 0x90000000
irq = 2
/* channel = "file:uart0.rx,uart0.tx" */
- channel = "tcp:2000"
-/* channel = "xterm:" */
+ channel = "xterm:"
jitter = -1 /* async behaviour */
16550 = 1
end
diff --git a/target/or1k/systems/or1k-sim b/target/or1k/systems/or1k-sim
index 56f51a852..66087c98b 100644
--- a/target/or1k/systems/or1k-sim
+++ b/target/or1k/systems/or1k-sim
@@ -3,6 +3,9 @@ config ADK_TARGET_SYSTEM_OR1K_SIM
select ADK_CPU_OR1K
select ADK_TARGET_WITH_SERIAL
select ADK_TARGET_WITH_NET
+ select ADK_TARGET_KERNEL_VERSION_GIT
+ select ADK_TARGET_KERNEL_REPO "https://github.com/openrisc/linux.git"
+ select ADK_TARGET_KERNEL_HASH "83bdd078d607f3b592afeb4033800687bdeeb1f3"
help
Simulator for OR1K architecture.