From d07b1a0fe8d7a3e79e9ee9d4ee7fce2be1921291 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Wed, 9 Oct 2019 19:15:25 +0200 Subject: or1k: default to gcc 9.2.0, add more ram patches for linux 5.3.1 and 4.19.75 --- target/config/Config.in.compiler | 1 + target/linux/patches/4.19.75/or1k-more-ram.patch | 12 ++++++++++++ target/linux/patches/5.3.1/or1k-more-ram.patch | 12 ++++++++++++ 3 files changed, 25 insertions(+) create mode 100644 target/linux/patches/4.19.75/or1k-more-ram.patch create mode 100644 target/linux/patches/5.3.1/or1k-more-ram.patch (limited to 'target') 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 { -- cgit v1.2.3