Преглед изворни кода

or1k: try with openrisc linux version, minimize defconfig

Waldemar Brodkorb пре 9 година
родитељ
комит
4e6e36f25a
3 измењених фајлова са 4 додато и 11 уклоњено
  1. 0 9
      target/or1k/kernel/or1k-sim
  2. 1 2
      target/or1k/or1ksim.cfg
  3. 3 0
      target/or1k/systems/or1k-sim

+ 0 - 9
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

+ 1 - 2
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

+ 3 - 0
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.