summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2022-10-10 13:56:25 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2022-10-10 13:56:25 +0200
commitdfb84803705a29a0f2f306f836a6c1b6f9274217 (patch)
tree06fd506d472673fd4dc7a64a2c3ca47d9385aa0e /target
parent55ce5be7afa96934b37fb1145d05bb19c7cdd70a (diff)
linux: update 5.x kernels
Diffstat (limited to 'target')
-rw-r--r--target/linux/Config.in.kernelversion8
-rw-r--r--target/linux/patches/5.10.100/riscv.patch52
-rw-r--r--target/linux/patches/5.10.146/arc.patch (renamed from target/linux/patches/5.10.100/arc.patch)0
-rw-r--r--target/linux/patches/5.10.146/darwin-dtc.patch (renamed from target/linux/patches/5.10.100/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.10.146/darwin-file2alias.patch (renamed from target/linux/patches/5.10.100/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.10.146/dtc-noyaml.patch (renamed from target/linux/patches/5.10.100/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.10.146/nds32-ag101p.patch (renamed from target/linux/patches/5.10.100/nds32-ag101p.patch)0
-rw-r--r--target/linux/patches/5.10.146/or1k-more-ram.patch (renamed from target/linux/patches/5.10.100/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.10.146/relocs.patch (renamed from target/linux/patches/5.10.100/relocs.patch)0
-rw-r--r--target/linux/patches/5.10.146/startup.patch (renamed from target/linux/patches/5.10.100/startup.patch)0
-rw-r--r--target/linux/patches/5.15.23/riscv.patch52
-rw-r--r--target/linux/patches/5.15.71/darwin-dtc.patch (renamed from target/linux/patches/5.15.23/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.15.71/darwin-file2alias.patch (renamed from target/linux/patches/5.15.23/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.15.71/dtc-noyaml.patch (renamed from target/linux/patches/5.15.23/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.15.71/nds32-ag101p.patch (renamed from target/linux/patches/5.15.23/nds32-ag101p.patch)0
-rw-r--r--target/linux/patches/5.15.71/or1k-more-ram.patch (renamed from target/linux/patches/5.15.23/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.15.71/relocs.patch (renamed from target/linux/patches/5.15.23/relocs.patch)0
-rw-r--r--target/linux/patches/5.15.71/startup.patch (renamed from target/linux/patches/5.15.23/startup.patch)0
-rw-r--r--target/linux/patches/5.19.12/darwin-dtc.patch (renamed from target/linux/patches/5.19.9/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.19.12/darwin-file2alias.patch (renamed from target/linux/patches/5.19.9/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.19.12/dtc-noyaml.patch (renamed from target/linux/patches/5.19.9/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.19.12/or1k-more-ram.patch (renamed from target/linux/patches/5.19.9/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.19.12/relocs.patch (renamed from target/linux/patches/5.19.9/relocs.patch)0
-rw-r--r--target/linux/patches/5.19.12/startup.patch (renamed from target/linux/patches/5.19.9/startup.patch)0
-rw-r--r--target/linux/patches/5.4.215/arc.patch (renamed from target/linux/patches/5.4.193/arc.patch)0
-rw-r--r--target/linux/patches/5.4.215/arm-nommu.patch (renamed from target/linux/patches/5.4.193/arm-nommu.patch)0
-rw-r--r--target/linux/patches/5.4.215/darwin-dtc.patch (renamed from target/linux/patches/5.4.193/darwin-dtc.patch)0
-rw-r--r--target/linux/patches/5.4.215/darwin-file2alias.patch (renamed from target/linux/patches/5.4.193/darwin-file2alias.patch)0
-rw-r--r--target/linux/patches/5.4.215/dtc-noyaml.patch (renamed from target/linux/patches/5.4.193/dtc-noyaml.patch)0
-rw-r--r--target/linux/patches/5.4.215/macsonic.patch (renamed from target/linux/patches/5.4.193/macsonic.patch)0
-rw-r--r--target/linux/patches/5.4.215/or1k-more-ram.patch (renamed from target/linux/patches/5.4.193/or1k-more-ram.patch)0
-rw-r--r--target/linux/patches/5.4.215/relocs.patch (renamed from target/linux/patches/5.4.193/relocs.patch)0
-rw-r--r--target/linux/patches/5.4.215/sh4.patch (renamed from target/linux/patches/5.4.193/sh4.patch)0
-rw-r--r--target/linux/patches/5.4.215/startup.patch (renamed from target/linux/patches/5.4.193/startup.patch)0
34 files changed, 4 insertions, 108 deletions
diff --git a/target/linux/Config.in.kernelversion b/target/linux/Config.in.kernelversion
index 6c192a820..2a62542c2 100644
--- a/target/linux/Config.in.kernelversion
+++ b/target/linux/Config.in.kernelversion
@@ -35,7 +35,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_19
- bool "5.19.9"
+ bool "5.19.12"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_CRIS
@@ -43,7 +43,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_5_19
depends on !ADK_TARGET_ARCH_METAG
config ADK_TARGET_LINUX_KERNEL_VERSION_5_15
- bool "5.15.23"
+ bool "5.15.71"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_CRIS
@@ -51,7 +51,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_5_15
depends on !ADK_TARGET_ARCH_METAG
config ADK_TARGET_LINUX_KERNEL_VERSION_5_10
- bool "5.10.100"
+ bool "5.10.146"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_CRIS
@@ -60,7 +60,7 @@ config ADK_TARGET_LINUX_KERNEL_VERSION_5_10
depends on !ADK_TARGET_SYSTEM_SIPEED_MAIX_BIT
config ADK_TARGET_LINUX_KERNEL_VERSION_5_4
- bool "5.4.193"
+ bool "5.4.215"
depends on !ADK_TARGET_ARCH_AVR32
depends on !ADK_TARGET_ARCH_BFIN
depends on !ADK_TARGET_ARCH_CRIS
diff --git a/target/linux/patches/5.10.100/riscv.patch b/target/linux/patches/5.10.100/riscv.patch
deleted file mode 100644
index cc9018d47..000000000
--- a/target/linux/patches/5.10.100/riscv.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 6df2a016c0c8a3d0933ef33dd192ea6606b115e3 Mon Sep 17 00:00:00 2001
-From: Aurelien Jarno <aurelien@aurel32.net>
-Date: Wed, 26 Jan 2022 18:14:42 +0100
-Subject: riscv: fix build with binutils 2.38
-
-From version 2.38, binutils default to ISA spec version 20191213. This
-means that the csr read/write (csrr*/csrw*) instructions and fence.i
-instruction has separated from the `I` extension, become two standalone
-extensions: Zicsr and Zifencei. As the kernel uses those instruction,
-this causes the following build failure:
-
- CC arch/riscv/kernel/vdso/vgettimeofday.o
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h: Assembler messages:
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
-
-The fix is to specify those extensions explicitely in -march. However as
-older binutils version do not support this, we first need to detect
-that.
-
-Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
-Cc: stable@vger.kernel.org
-Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
----
- arch/riscv/Makefile | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-(limited to 'arch/riscv')
-
-diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
-index 8a107ed18b0dc..7d81102cffd48 100644
---- a/arch/riscv/Makefile
-+++ b/arch/riscv/Makefile
-@@ -50,6 +50,12 @@ riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
- riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima
- riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd
- riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c
-+
-+# Newer binutils versions default to ISA spec version 20191213 which moves some
-+# instructions from the I extension to the Zicsr and Zifencei extensions.
-+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -march=$(riscv-march-y)_zicsr_zifencei)
-+riscv-march-$(toolchain-need-zicsr-zifencei) := $(riscv-march-y)_zicsr_zifencei
-+
- KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
- KBUILD_AFLAGS += -march=$(riscv-march-y)
-
---
-cgit
-
diff --git a/target/linux/patches/5.10.100/arc.patch b/target/linux/patches/5.10.146/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/5.10.100/arc.patch
+++ b/target/linux/patches/5.10.146/arc.patch
diff --git a/target/linux/patches/5.10.100/darwin-dtc.patch b/target/linux/patches/5.10.146/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.10.100/darwin-dtc.patch
+++ b/target/linux/patches/5.10.146/darwin-dtc.patch
diff --git a/target/linux/patches/5.10.100/darwin-file2alias.patch b/target/linux/patches/5.10.146/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.10.100/darwin-file2alias.patch
+++ b/target/linux/patches/5.10.146/darwin-file2alias.patch
diff --git a/target/linux/patches/5.10.100/dtc-noyaml.patch b/target/linux/patches/5.10.146/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.10.100/dtc-noyaml.patch
+++ b/target/linux/patches/5.10.146/dtc-noyaml.patch
diff --git a/target/linux/patches/5.10.100/nds32-ag101p.patch b/target/linux/patches/5.10.146/nds32-ag101p.patch
index a8beea478..a8beea478 100644
--- a/target/linux/patches/5.10.100/nds32-ag101p.patch
+++ b/target/linux/patches/5.10.146/nds32-ag101p.patch
diff --git a/target/linux/patches/5.10.100/or1k-more-ram.patch b/target/linux/patches/5.10.146/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/5.10.100/or1k-more-ram.patch
+++ b/target/linux/patches/5.10.146/or1k-more-ram.patch
diff --git a/target/linux/patches/5.10.100/relocs.patch b/target/linux/patches/5.10.146/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.10.100/relocs.patch
+++ b/target/linux/patches/5.10.146/relocs.patch
diff --git a/target/linux/patches/5.10.100/startup.patch b/target/linux/patches/5.10.146/startup.patch
index eef481021..eef481021 100644
--- a/target/linux/patches/5.10.100/startup.patch
+++ b/target/linux/patches/5.10.146/startup.patch
diff --git a/target/linux/patches/5.15.23/riscv.patch b/target/linux/patches/5.15.23/riscv.patch
deleted file mode 100644
index cc9018d47..000000000
--- a/target/linux/patches/5.15.23/riscv.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From 6df2a016c0c8a3d0933ef33dd192ea6606b115e3 Mon Sep 17 00:00:00 2001
-From: Aurelien Jarno <aurelien@aurel32.net>
-Date: Wed, 26 Jan 2022 18:14:42 +0100
-Subject: riscv: fix build with binutils 2.38
-
-From version 2.38, binutils default to ISA spec version 20191213. This
-means that the csr read/write (csrr*/csrw*) instructions and fence.i
-instruction has separated from the `I` extension, become two standalone
-extensions: Zicsr and Zifencei. As the kernel uses those instruction,
-this causes the following build failure:
-
- CC arch/riscv/kernel/vdso/vgettimeofday.o
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h: Assembler messages:
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
- <<BUILDDIR>>/arch/riscv/include/asm/vdso/gettimeofday.h:71: Error: unrecognized opcode `csrr a5,0xc01'
-
-The fix is to specify those extensions explicitely in -march. However as
-older binutils version do not support this, we first need to detect
-that.
-
-Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
-Tested-by: Alexandre Ghiti <alexandre.ghiti@canonical.com>
-Cc: stable@vger.kernel.org
-Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
----
- arch/riscv/Makefile | 6 ++++++
- 1 file changed, 6 insertions(+)
-
-(limited to 'arch/riscv')
-
-diff --git a/arch/riscv/Makefile b/arch/riscv/Makefile
-index 8a107ed18b0dc..7d81102cffd48 100644
---- a/arch/riscv/Makefile
-+++ b/arch/riscv/Makefile
-@@ -50,6 +50,12 @@ riscv-march-$(CONFIG_ARCH_RV32I) := rv32ima
- riscv-march-$(CONFIG_ARCH_RV64I) := rv64ima
- riscv-march-$(CONFIG_FPU) := $(riscv-march-y)fd
- riscv-march-$(CONFIG_RISCV_ISA_C) := $(riscv-march-y)c
-+
-+# Newer binutils versions default to ISA spec version 20191213 which moves some
-+# instructions from the I extension to the Zicsr and Zifencei extensions.
-+toolchain-need-zicsr-zifencei := $(call cc-option-yn, -march=$(riscv-march-y)_zicsr_zifencei)
-+riscv-march-$(toolchain-need-zicsr-zifencei) := $(riscv-march-y)_zicsr_zifencei
-+
- KBUILD_CFLAGS += -march=$(subst fd,,$(riscv-march-y))
- KBUILD_AFLAGS += -march=$(riscv-march-y)
-
---
-cgit
-
diff --git a/target/linux/patches/5.15.23/darwin-dtc.patch b/target/linux/patches/5.15.71/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.15.23/darwin-dtc.patch
+++ b/target/linux/patches/5.15.71/darwin-dtc.patch
diff --git a/target/linux/patches/5.15.23/darwin-file2alias.patch b/target/linux/patches/5.15.71/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.15.23/darwin-file2alias.patch
+++ b/target/linux/patches/5.15.71/darwin-file2alias.patch
diff --git a/target/linux/patches/5.15.23/dtc-noyaml.patch b/target/linux/patches/5.15.71/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.15.23/dtc-noyaml.patch
+++ b/target/linux/patches/5.15.71/dtc-noyaml.patch
diff --git a/target/linux/patches/5.15.23/nds32-ag101p.patch b/target/linux/patches/5.15.71/nds32-ag101p.patch
index a8beea478..a8beea478 100644
--- a/target/linux/patches/5.15.23/nds32-ag101p.patch
+++ b/target/linux/patches/5.15.71/nds32-ag101p.patch
diff --git a/target/linux/patches/5.15.23/or1k-more-ram.patch b/target/linux/patches/5.15.71/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/5.15.23/or1k-more-ram.patch
+++ b/target/linux/patches/5.15.71/or1k-more-ram.patch
diff --git a/target/linux/patches/5.15.23/relocs.patch b/target/linux/patches/5.15.71/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.15.23/relocs.patch
+++ b/target/linux/patches/5.15.71/relocs.patch
diff --git a/target/linux/patches/5.15.23/startup.patch b/target/linux/patches/5.15.71/startup.patch
index eef481021..eef481021 100644
--- a/target/linux/patches/5.15.23/startup.patch
+++ b/target/linux/patches/5.15.71/startup.patch
diff --git a/target/linux/patches/5.19.9/darwin-dtc.patch b/target/linux/patches/5.19.12/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.19.9/darwin-dtc.patch
+++ b/target/linux/patches/5.19.12/darwin-dtc.patch
diff --git a/target/linux/patches/5.19.9/darwin-file2alias.patch b/target/linux/patches/5.19.12/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.19.9/darwin-file2alias.patch
+++ b/target/linux/patches/5.19.12/darwin-file2alias.patch
diff --git a/target/linux/patches/5.19.9/dtc-noyaml.patch b/target/linux/patches/5.19.12/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.19.9/dtc-noyaml.patch
+++ b/target/linux/patches/5.19.12/dtc-noyaml.patch
diff --git a/target/linux/patches/5.19.9/or1k-more-ram.patch b/target/linux/patches/5.19.12/or1k-more-ram.patch
index de848c838..de848c838 100644
--- a/target/linux/patches/5.19.9/or1k-more-ram.patch
+++ b/target/linux/patches/5.19.12/or1k-more-ram.patch
diff --git a/target/linux/patches/5.19.9/relocs.patch b/target/linux/patches/5.19.12/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.19.9/relocs.patch
+++ b/target/linux/patches/5.19.12/relocs.patch
diff --git a/target/linux/patches/5.19.9/startup.patch b/target/linux/patches/5.19.12/startup.patch
index eef481021..eef481021 100644
--- a/target/linux/patches/5.19.9/startup.patch
+++ b/target/linux/patches/5.19.12/startup.patch
diff --git a/target/linux/patches/5.4.193/arc.patch b/target/linux/patches/5.4.215/arc.patch
index 20810ce64..20810ce64 100644
--- a/target/linux/patches/5.4.193/arc.patch
+++ b/target/linux/patches/5.4.215/arc.patch
diff --git a/target/linux/patches/5.4.193/arm-nommu.patch b/target/linux/patches/5.4.215/arm-nommu.patch
index fdcec3f09..fdcec3f09 100644
--- a/target/linux/patches/5.4.193/arm-nommu.patch
+++ b/target/linux/patches/5.4.215/arm-nommu.patch
diff --git a/target/linux/patches/5.4.193/darwin-dtc.patch b/target/linux/patches/5.4.215/darwin-dtc.patch
index 0cdc23ab4..0cdc23ab4 100644
--- a/target/linux/patches/5.4.193/darwin-dtc.patch
+++ b/target/linux/patches/5.4.215/darwin-dtc.patch
diff --git a/target/linux/patches/5.4.193/darwin-file2alias.patch b/target/linux/patches/5.4.215/darwin-file2alias.patch
index fdbc598a8..fdbc598a8 100644
--- a/target/linux/patches/5.4.193/darwin-file2alias.patch
+++ b/target/linux/patches/5.4.215/darwin-file2alias.patch
diff --git a/target/linux/patches/5.4.193/dtc-noyaml.patch b/target/linux/patches/5.4.215/dtc-noyaml.patch
index 759bb01f7..759bb01f7 100644
--- a/target/linux/patches/5.4.193/dtc-noyaml.patch
+++ b/target/linux/patches/5.4.215/dtc-noyaml.patch
diff --git a/target/linux/patches/5.4.193/macsonic.patch b/target/linux/patches/5.4.215/macsonic.patch
index 75a6fcad2..75a6fcad2 100644
--- a/target/linux/patches/5.4.193/macsonic.patch
+++ b/target/linux/patches/5.4.215/macsonic.patch
diff --git a/target/linux/patches/5.4.193/or1k-more-ram.patch b/target/linux/patches/5.4.215/or1k-more-ram.patch
index 540dc43b5..540dc43b5 100644
--- a/target/linux/patches/5.4.193/or1k-more-ram.patch
+++ b/target/linux/patches/5.4.215/or1k-more-ram.patch
diff --git a/target/linux/patches/5.4.193/relocs.patch b/target/linux/patches/5.4.215/relocs.patch
index 5bcd974c7..5bcd974c7 100644
--- a/target/linux/patches/5.4.193/relocs.patch
+++ b/target/linux/patches/5.4.215/relocs.patch
diff --git a/target/linux/patches/5.4.193/sh4.patch b/target/linux/patches/5.4.215/sh4.patch
index 8ae79d49d..8ae79d49d 100644
--- a/target/linux/patches/5.4.193/sh4.patch
+++ b/target/linux/patches/5.4.215/sh4.patch
diff --git a/target/linux/patches/5.4.193/startup.patch b/target/linux/patches/5.4.215/startup.patch
index 081aa103a..081aa103a 100644
--- a/target/linux/patches/5.4.193/startup.patch
+++ b/target/linux/patches/5.4.215/startup.patch