summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2019-10-09 19:15:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2019-10-09 19:15:35 +0200
commitd07b1a0fe8d7a3e79e9ee9d4ee7fce2be1921291 (patch)
tree561a572f8d6d6c4d510f99d14a8f3626ecd634f5
parentff5e4823deb6fc7a03c0173f02abc506e800f04d (diff)
or1k: default to gcc 9.2.0, add more ram patches for linux 5.3.1 and 4.19.75
-rw-r--r--target/config/Config.in.compiler1
-rw-r--r--target/linux/patches/4.19.75/or1k-more-ram.patch12
-rw-r--r--target/linux/patches/5.3.1/or1k-more-ram.patch12
3 files changed, 25 insertions, 0 deletions
diff --git a/target/config/Config.in.compiler b/target/config/Config.in.compiler
index b44da2882..7c2adb055 100644
--- a/target/config/Config.in.compiler
+++ b/target/config/Config.in.compiler
@@ -19,6 +19,7 @@ default ADK_TOOLCHAIN_GCC_METAG if ADK_TARGET_ARCH_METAG
default ADK_TOOLCHAIN_GCC_NDS32 if ADK_TARGET_ARCH_NDS32
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_ARM11MPCORE
default ADK_TOOLCHAIN_GCC_7 if ADK_TARGET_CPU_ARM_CORTEX_A53
+default ADK_TOOLCHAIN_GCC_9 if ADK_TARGET_ARCH_OR1K
default ADK_TOOLCHAIN_GCC_8
config ADK_TOOLCHAIN_GCC_GIT
diff --git a/target/linux/patches/4.19.75/or1k-more-ram.patch b/target/linux/patches/4.19.75/or1k-more-ram.patch
new file mode 100644
index 000000000..de848c838
--- /dev/null
+++ b/target/linux/patches/4.19.75/or1k-more-ram.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts
+--- linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts 2016-11-26 09:57:13.000000000 +0100
++++ linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts 2016-12-04 14:39:46.092952799 +0100
+@@ -11,7 +11,7 @@
+
+ memory@0 {
+ device_type = "memory";
+- reg = <0x00000000 0x02000000>;
++ reg = <0x00000000 0x04000000>;
+ };
+
+ cpus {
diff --git a/target/linux/patches/5.3.1/or1k-more-ram.patch b/target/linux/patches/5.3.1/or1k-more-ram.patch
new file mode 100644
index 000000000..de848c838
--- /dev/null
+++ b/target/linux/patches/5.3.1/or1k-more-ram.patch
@@ -0,0 +1,12 @@
+diff -Nur linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts
+--- linux-4.8.11.orig/arch/openrisc/boot/dts/or1ksim.dts 2016-11-26 09:57:13.000000000 +0100
++++ linux-4.8.11/arch/openrisc/boot/dts/or1ksim.dts 2016-12-04 14:39:46.092952799 +0100
+@@ -11,7 +11,7 @@
+
+ memory@0 {
+ device_type = "memory";
+- reg = <0x00000000 0x02000000>;
++ reg = <0x00000000 0x04000000>;
+ };
+
+ cpus {