summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-12-24 12:59:26 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2017-12-24 12:59:26 +0100
commitf238c9e4d9a85a9d969d9146a460c0a340e9cd85 (patch)
treefae39110ec894e0abf3a2332c81ae22233a68bca /target
parent43c7686b4d6afc56d2909c1630ea2eee626490bb (diff)
h8300: updates
Add single hush package for experiments. 4.9 kernel serial ouput seems broken, default to 4.4. Combine h8300 patches.
Diffstat (limited to 'target')
-rw-r--r--target/config/Config.in.kernelversion1
-rw-r--r--target/config/Config.in.runtime3
-rw-r--r--target/linux/patches/4.4.96/h8300-moreram.patch32
-rw-r--r--target/linux/patches/4.4.96/h8300.patch32
-rw-r--r--target/linux/patches/4.9.60/h8300.patch32
5 files changed, 68 insertions, 32 deletions
diff --git a/target/config/Config.in.kernelversion b/target/config/Config.in.kernelversion
index 8e958a4c9..b3c57ac21 100644
--- a/target/config/Config.in.kernelversion
+++ b/target/config/Config.in.kernelversion
@@ -15,6 +15,7 @@ default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_LM32
default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV32
default ADK_TARGET_KERNEL_VERSION_GIT if ADK_TARGET_ARCH_RISCV64
default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_CRIS
+default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_H8300
default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_ARCH_METAG
default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
default ADK_TARGET_KERNEL_VERSION_4_4 if ADK_TARGET_SYSTEM_QEMU_ARM_REALVIEW_EB_MPCORE
diff --git a/target/config/Config.in.runtime b/target/config/Config.in.runtime
index db3eaa110..e0527d78f 100644
--- a/target/config/Config.in.runtime
+++ b/target/config/Config.in.runtime
@@ -102,6 +102,9 @@ config ADK_RUNTIME_BASE_COREUTILS
select ADK_PACKAGE_GREP
select ADK_PACKAGE_FIND
+config ADK_RUNTIME_BASE_NONE
+ bool "Use no base tools"
+
endchoice
config ADK_RUNTIME_LOAD_KERNEL_MODULES
diff --git a/target/linux/patches/4.4.96/h8300-moreram.patch b/target/linux/patches/4.4.96/h8300-moreram.patch
deleted file mode 100644
index 325eb659e..000000000
--- a/target/linux/patches/4.4.96/h8300-moreram.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-diff -Nur linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts
---- linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-02 09:40:50.000000000 +0100
-+++ linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-18 21:59:54.665879649 +0100
-@@ -37,7 +37,7 @@
-
- memory@400000 {
- device_type = "memory";
-- reg = <0x400000 0x400000>;
-+ reg = <0x400000 0x800000>;
- };
-
- cpus {
-diff -Nur linux-4.4.96.orig/drivers/tty/serial/sh-sci.c linux-4.4.96/drivers/tty/serial/sh-sci.c
---- linux-4.4.96.orig/drivers/tty/serial/sh-sci.c 2017-11-02 09:40:50.000000000 +0100
-+++ linux-4.4.96/drivers/tty/serial/sh-sci.c 2017-11-18 22:15:05.951976319 +0100
-@@ -898,8 +898,6 @@
- /* overrun error */
- if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
- copied++;
--
-- dev_notice(port->dev, "overrun error\n");
- }
-
- if (status & SCxSR_FER(port)) {
-@@ -972,7 +970,6 @@
- tty_insert_flip_char(tport, 0, TTY_OVERRUN);
- tty_flip_buffer_push(tport);
-
-- dev_dbg(port->dev, "overrun error\n");
- copied++;
- }
-
diff --git a/target/linux/patches/4.4.96/h8300.patch b/target/linux/patches/4.4.96/h8300.patch
index 1f9328df3..cf73989a6 100644
--- a/target/linux/patches/4.4.96/h8300.patch
+++ b/target/linux/patches/4.4.96/h8300.patch
@@ -10,3 +10,35 @@ diff -Nur linux-4.4.88.orig/arch/h8300/Kconfig.cpu linux-4.4.88/arch/h8300/Kconf
+ default 0x400000
+
endmenu
+diff -Nur linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts
+--- linux-4.4.96.orig/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-02 09:40:50.000000000 +0100
++++ linux-4.4.96/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-18 21:59:54.665879649 +0100
+@@ -37,7 +37,7 @@
+
+ memory@400000 {
+ device_type = "memory";
+- reg = <0x400000 0x400000>;
++ reg = <0x400000 0x800000>;
+ };
+
+ cpus {
+diff -Nur linux-4.4.96.orig/drivers/tty/serial/sh-sci.c linux-4.4.96/drivers/tty/serial/sh-sci.c
+--- linux-4.4.96.orig/drivers/tty/serial/sh-sci.c 2017-11-02 09:40:50.000000000 +0100
++++ linux-4.4.96/drivers/tty/serial/sh-sci.c 2017-11-18 22:15:05.951976319 +0100
+@@ -898,8 +898,6 @@
+ /* overrun error */
+ if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
+ copied++;
+-
+- dev_notice(port->dev, "overrun error\n");
+ }
+
+ if (status & SCxSR_FER(port)) {
+@@ -972,7 +970,6 @@
+ tty_insert_flip_char(tport, 0, TTY_OVERRUN);
+ tty_flip_buffer_push(tport);
+
+- dev_dbg(port->dev, "overrun error\n");
+ copied++;
+ }
+
diff --git a/target/linux/patches/4.9.60/h8300.patch b/target/linux/patches/4.9.60/h8300.patch
index a58b3f137..c71194f0a 100644
--- a/target/linux/patches/4.9.60/h8300.patch
+++ b/target/linux/patches/4.9.60/h8300.patch
@@ -10,3 +10,35 @@ diff -Nur linux-4.9.20.orig/arch/h8300/Kconfig.cpu linux-4.9.20/arch/h8300/Kconf
+ default 0x400000
+
endmenu
+diff -Nur linux-4.9.60.orig/arch/h8300/boot/dts/h8300h_sim.dts linux-4.9.60/arch/h8300/boot/dts/h8300h_sim.dts
+--- linux-4.9.60.orig/arch/h8300/boot/dts/h8300h_sim.dts 2017-11-02 09:49:15.000000000 +0100
++++ linux-4.9.60/arch/h8300/boot/dts/h8300h_sim.dts 2017-12-24 11:30:55.121463793 +0100
+@@ -37,7 +37,7 @@
+
+ memory@400000 {
+ device_type = "memory";
+- reg = <0x400000 0x400000>;
++ reg = <0x400000 0x800000>;
+ };
+
+ cpus {
+diff -Nur linux-4.9.60.orig/drivers/tty/serial/sh-sci.c linux-4.9.60/drivers/tty/serial/sh-sci.c
+--- linux-4.9.60.orig/drivers/tty/serial/sh-sci.c 2017-11-02 09:49:15.000000000 +0100
++++ linux-4.9.60/drivers/tty/serial/sh-sci.c 2017-12-24 11:30:55.121463793 +0100
+@@ -986,8 +986,6 @@
+ /* overrun error */
+ if (tty_insert_flip_char(tport, 0, TTY_OVERRUN))
+ copied++;
+-
+- dev_notice(port->dev, "overrun error\n");
+ }
+
+ if (status & SCxSR_FER(port)) {
+@@ -1060,7 +1058,6 @@
+ tty_insert_flip_char(tport, 0, TTY_OVERRUN);
+ tty_flip_buffer_push(tport);
+
+- dev_dbg(port->dev, "overrun error\n");
+ copied++;
+ }
+