diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2020-07-31 10:08:42 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-08-04 02:43:13 +0200 |
commit | cb9958d31b68bf56a9dc18af40c726adde5842c3 (patch) | |
tree | 8e8ae44bf37248ec0740b0c2ad66eea8648d2c12 /target/linux | |
parent | 13823c84f03e96c2fb9a06dbe4eef31b4833a427 (diff) |
update mpfr, binutils, linux. remove arc specific binutils/gcc
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/Config.in.kernelversion | 2 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/arc.patch | 12 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/darwin-dtc.patch | 26 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/darwin-file2alias.patch (renamed from target/linux/patches/5.4.42/darwin-file2alias.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/dtc-noyaml.patch | 16 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/or1k-more-ram.patch (renamed from target/linux/patches/5.4.42/or1k-more-ram.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/relocs.patch (renamed from target/linux/patches/5.4.42/relocs.patch) | 0 | ||||
-rw-r--r-- | target/linux/patches/5.4.53/startup.patch | 21 |
8 files changed, 76 insertions, 1 deletions
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion index 1061f74bb..c06f6e358 100644 --- a/target/linux/Config.in.kernelversion +++ b/target/linux/Config.in.kernelversion @@ -40,7 +40,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_GIT select ADK_TARGET_LINUX_KERNEL_IMAGE if ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK config ADK_TARGET_LINUX_KERNEL_VERSION_5_4 - bool "5.4.42" + bool "5.4.53" select ADK_TARGET_LINUX_KERNEL_NEW depends on !ADK_TARGET_ARCH_AVR32 depends on !ADK_TARGET_ARCH_BFIN diff --git a/target/linux/patches/5.4.53/arc.patch b/target/linux/patches/5.4.53/arc.patch new file mode 100644 index 000000000..20810ce64 --- /dev/null +++ b/target/linux/patches/5.4.53/arc.patch @@ -0,0 +1,12 @@ +diff -Nur linux-4.17.1.orig/arch/arc/boot/Makefile linux-4.17.1/arch/arc/boot/Makefile +--- linux-4.17.1.orig/arch/arc/boot/Makefile 2018-06-11 22:43:19.000000000 +0200 ++++ linux-4.17.1/arch/arc/boot/Makefile 2018-06-16 18:28:02.000000000 +0200 +@@ -7,7 +7,7 @@ + + OBJCOPYFLAGS= -O binary -R .note -R .note.gnu.build-id -R .comment -S + +-LINUX_START_TEXT = $$(readelf -h vmlinux | \ ++LINUX_START_TEXT = $$(${CROSS_COMPILE}readelf -h vmlinux | \ + grep "Entry point address" | grep -o 0x.*) + + UIMAGE_LOADADDR = $(CONFIG_LINUX_LINK_BASE) diff --git a/target/linux/patches/5.4.53/darwin-dtc.patch b/target/linux/patches/5.4.53/darwin-dtc.patch new file mode 100644 index 000000000..0cdc23ab4 --- /dev/null +++ b/target/linux/patches/5.4.53/darwin-dtc.patch @@ -0,0 +1,26 @@ +diff -Nur linux-4.19.132.orig/scripts/dtc/dtc.h linux-4.19.132/scripts/dtc/dtc.h +--- linux-4.19.132.orig/scripts/dtc/dtc.h 2020-07-09 09:37:13.000000000 +0200 ++++ linux-4.19.132/scripts/dtc/dtc.h 2020-07-15 02:38:00.000000000 +0200 +@@ -33,8 +33,8 @@ + #include <unistd.h> + #include <inttypes.h> + +-#include <libfdt_env.h> +-#include <fdt.h> ++#include "libfdt/libfdt_env.h" ++#include "libfdt/fdt.h" + + #include "util.h" + +diff -Nur linux-4.19.132.orig/scripts/dtc/util.c linux-4.19.132/scripts/dtc/util.c +--- linux-4.19.132.orig/scripts/dtc/util.c 2020-07-09 09:37:13.000000000 +0200 ++++ linux-4.19.132/scripts/dtc/util.c 2020-07-15 02:38:18.000000000 +0200 +@@ -32,7 +32,7 @@ + #include <fcntl.h> + #include <unistd.h> + +-#include "libfdt.h" ++#include "libfdt/libfdt.h" + #include "util.h" + #include "version_gen.h" + diff --git a/target/linux/patches/5.4.42/darwin-file2alias.patch b/target/linux/patches/5.4.53/darwin-file2alias.patch index fdbc598a8..fdbc598a8 100644 --- a/target/linux/patches/5.4.42/darwin-file2alias.patch +++ b/target/linux/patches/5.4.53/darwin-file2alias.patch diff --git a/target/linux/patches/5.4.53/dtc-noyaml.patch b/target/linux/patches/5.4.53/dtc-noyaml.patch new file mode 100644 index 000000000..759bb01f7 --- /dev/null +++ b/target/linux/patches/5.4.53/dtc-noyaml.patch @@ -0,0 +1,16 @@ +diff -Nur linux-5.4.53.orig/scripts/dtc/dtc.c linux-5.4.53/scripts/dtc/dtc.c +--- linux-5.4.53.orig/scripts/dtc/dtc.c 2020-07-22 09:33:18.000000000 +0200 ++++ linux-5.4.53/scripts/dtc/dtc.c 2020-07-28 14:20:10.000000000 +0200 +@@ -349,12 +349,6 @@ + + if (streq(outform, "dts")) { + dt_to_source(outf, dti); +-#ifndef NO_YAML +- } else if (streq(outform, "yaml")) { +- if (!streq(inform, "dts")) +- die("YAML output format requires dts input format\n"); +- dt_to_yaml(outf, dti); +-#endif + } else if (streq(outform, "dtb")) { + dt_to_blob(outf, dti, outversion); + } else if (streq(outform, "asm")) { diff --git a/target/linux/patches/5.4.42/or1k-more-ram.patch b/target/linux/patches/5.4.53/or1k-more-ram.patch index de848c838..de848c838 100644 --- a/target/linux/patches/5.4.42/or1k-more-ram.patch +++ b/target/linux/patches/5.4.53/or1k-more-ram.patch diff --git a/target/linux/patches/5.4.42/relocs.patch b/target/linux/patches/5.4.53/relocs.patch index 5bcd974c7..5bcd974c7 100644 --- a/target/linux/patches/5.4.42/relocs.patch +++ b/target/linux/patches/5.4.53/relocs.patch diff --git a/target/linux/patches/5.4.53/startup.patch b/target/linux/patches/5.4.53/startup.patch new file mode 100644 index 000000000..7c6c5661a --- /dev/null +++ b/target/linux/patches/5.4.53/startup.patch @@ -0,0 +1,21 @@ +diff -Nur linux-5.4.53.orig/init/main.c linux-5.4.53/init/main.c +--- linux-5.4.53.orig/init/main.c 2020-07-22 09:33:18.000000000 +0200 ++++ linux-5.4.53/init/main.c 2020-07-28 17:33:28.000000000 +0200 +@@ -1196,6 +1196,8 @@ + if (ksys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) + pr_err("Warning: unable to open an initial console.\n"); + ++ printk(KERN_WARNING "Starting Linux (built with OpenADK).\n"); ++ + (void) ksys_dup(0); + (void) ksys_dup(0); + /* +@@ -1204,7 +1206,7 @@ + */ + + if (!ramdisk_execute_command) +- ramdisk_execute_command = "/init"; ++ ramdisk_execute_command = "/sbin/init"; + + if (ksys_access((const char __user *) + ramdisk_execute_command, 0) != 0) { |