Browse Source

linux: update 5.x kernels

Waldemar Brodkorb 1 year ago
parent
commit
dfb8480370
35 changed files with 11 additions and 115 deletions
  1. 7 7
      mk/linux-ver.mk
  2. 4 4
      target/linux/Config.in.kernelversion
  3. 0 52
      target/linux/patches/5.10.100/riscv.patch
  4. 0 0
      target/linux/patches/5.10.146/arc.patch
  5. 0 0
      target/linux/patches/5.10.146/darwin-dtc.patch
  6. 0 0
      target/linux/patches/5.10.146/darwin-file2alias.patch
  7. 0 0
      target/linux/patches/5.10.146/dtc-noyaml.patch
  8. 0 0
      target/linux/patches/5.10.146/nds32-ag101p.patch
  9. 0 0
      target/linux/patches/5.10.146/or1k-more-ram.patch
  10. 0 0
      target/linux/patches/5.10.146/relocs.patch
  11. 0 0
      target/linux/patches/5.10.146/startup.patch
  12. 0 52
      target/linux/patches/5.15.23/riscv.patch
  13. 0 0
      target/linux/patches/5.15.71/darwin-dtc.patch
  14. 0 0
      target/linux/patches/5.15.71/darwin-file2alias.patch
  15. 0 0
      target/linux/patches/5.15.71/dtc-noyaml.patch
  16. 0 0
      target/linux/patches/5.15.71/nds32-ag101p.patch
  17. 0 0
      target/linux/patches/5.15.71/or1k-more-ram.patch
  18. 0 0
      target/linux/patches/5.15.71/relocs.patch
  19. 0 0
      target/linux/patches/5.15.71/startup.patch
  20. 0 0
      target/linux/patches/5.19.12/darwin-dtc.patch
  21. 0 0
      target/linux/patches/5.19.12/darwin-file2alias.patch
  22. 0 0
      target/linux/patches/5.19.12/dtc-noyaml.patch
  23. 0 0
      target/linux/patches/5.19.12/or1k-more-ram.patch
  24. 0 0
      target/linux/patches/5.19.12/relocs.patch
  25. 0 0
      target/linux/patches/5.19.12/startup.patch
  26. 0 0
      target/linux/patches/5.4.215/arc.patch
  27. 0 0
      target/linux/patches/5.4.215/arm-nommu.patch
  28. 0 0
      target/linux/patches/5.4.215/darwin-dtc.patch
  29. 0 0
      target/linux/patches/5.4.215/darwin-file2alias.patch
  30. 0 0
      target/linux/patches/5.4.215/dtc-noyaml.patch
  31. 0 0
      target/linux/patches/5.4.215/macsonic.patch
  32. 0 0
      target/linux/patches/5.4.215/or1k-more-ram.patch
  33. 0 0
      target/linux/patches/5.4.215/relocs.patch
  34. 0 0
      target/linux/patches/5.4.215/sh4.patch
  35. 0 0
      target/linux/patches/5.4.215/startup.patch

+ 7 - 7
mk/linux-ver.mk

@@ -16,25 +16,25 @@ KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(ADK_TARGET_LINUX_KERNEL_GIT_VER)-$(KERNEL_RELEASE)
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_19),y)
-KERNEL_FILE_VER:=	5.19.9
+KERNEL_FILE_VER:=	5.19.12
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		0ad5b5986693adc1962be807bc3a64423a24b6a9da9df39b259d7e3bfd927f37
+KERNEL_HASH:=		c436a548c7312ce6fc5a3472cbead895eef8f52841fbe7c71fd8e48bdfe2b0ba
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_15),y)
-KERNEL_FILE_VER:=	5.15.23
+KERNEL_FILE_VER:=	5.15.71
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		e839c6fe4db9327178ecccc7fb14035000496bb8028a32735213675eefa97a1c
+KERNEL_HASH:=		5f5408138e016c0e029e015d98ceab86f4e6366c65cd611259dac808ab1d1e53
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_10),y)
-KERNEL_FILE_VER:=	5.10.100
+KERNEL_FILE_VER:=	5.10.146
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		d56965afc9b6a3d26d53db40ccd37fd9d15f2ca6bfd54ef6f0f8b6e92c170999
+KERNEL_HASH:=		7bbd97f3278eadb73c19a1ca8c1a655c60afcee9f487b910063cdd15e9ee6dc1
 endif
 ifeq ($(ADK_TARGET_LINUX_KERNEL_VERSION_5_4),y)
-KERNEL_FILE_VER:=	5.4.193
+KERNEL_FILE_VER:=	5.4.215
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
 KERNEL_HASH:=		0d16d343956d311e3f4ab3f032fd626d8e6b67c0db94edd32f561407d374f2a0

+ 4 - 4
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

+ 0 - 52
target/linux/patches/5.10.100/riscv.patch

@@ -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 
-

+ 0 - 0
target/linux/patches/5.10.100/arc.patch → target/linux/patches/5.10.146/arc.patch


+ 0 - 0
target/linux/patches/5.10.100/darwin-dtc.patch → target/linux/patches/5.10.146/darwin-dtc.patch


+ 0 - 0
target/linux/patches/5.10.100/darwin-file2alias.patch → target/linux/patches/5.10.146/darwin-file2alias.patch


+ 0 - 0
target/linux/patches/5.10.100/dtc-noyaml.patch → target/linux/patches/5.10.146/dtc-noyaml.patch


+ 0 - 0
target/linux/patches/5.10.100/nds32-ag101p.patch → target/linux/patches/5.10.146/nds32-ag101p.patch


+ 0 - 0
target/linux/patches/5.10.100/or1k-more-ram.patch → target/linux/patches/5.10.146/or1k-more-ram.patch


+ 0 - 0
target/linux/patches/5.10.100/relocs.patch → target/linux/patches/5.10.146/relocs.patch


+ 0 - 0
target/linux/patches/5.10.100/startup.patch → target/linux/patches/5.10.146/startup.patch


+ 0 - 52
target/linux/patches/5.15.23/riscv.patch

@@ -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 
-

+ 0 - 0
target/linux/patches/5.15.23/darwin-dtc.patch → target/linux/patches/5.15.71/darwin-dtc.patch


+ 0 - 0
target/linux/patches/5.15.23/darwin-file2alias.patch → target/linux/patches/5.15.71/darwin-file2alias.patch


+ 0 - 0
target/linux/patches/5.15.23/dtc-noyaml.patch → target/linux/patches/5.15.71/dtc-noyaml.patch


+ 0 - 0
target/linux/patches/5.15.23/nds32-ag101p.patch → target/linux/patches/5.15.71/nds32-ag101p.patch


+ 0 - 0
target/linux/patches/5.15.23/or1k-more-ram.patch → target/linux/patches/5.15.71/or1k-more-ram.patch


+ 0 - 0
target/linux/patches/5.15.23/relocs.patch → target/linux/patches/5.15.71/relocs.patch


+ 0 - 0
target/linux/patches/5.15.23/startup.patch → target/linux/patches/5.15.71/startup.patch


+ 0 - 0
target/linux/patches/5.19.9/darwin-dtc.patch → target/linux/patches/5.19.12/darwin-dtc.patch


+ 0 - 0
target/linux/patches/5.19.9/darwin-file2alias.patch → target/linux/patches/5.19.12/darwin-file2alias.patch


+ 0 - 0
target/linux/patches/5.19.9/dtc-noyaml.patch → target/linux/patches/5.19.12/dtc-noyaml.patch


+ 0 - 0
target/linux/patches/5.19.9/or1k-more-ram.patch → target/linux/patches/5.19.12/or1k-more-ram.patch


+ 0 - 0
target/linux/patches/5.19.9/relocs.patch → target/linux/patches/5.19.12/relocs.patch


+ 0 - 0
target/linux/patches/5.19.9/startup.patch → target/linux/patches/5.19.12/startup.patch


+ 0 - 0
target/linux/patches/5.4.193/arc.patch → target/linux/patches/5.4.215/arc.patch


+ 0 - 0
target/linux/patches/5.4.193/arm-nommu.patch → target/linux/patches/5.4.215/arm-nommu.patch


+ 0 - 0
target/linux/patches/5.4.193/darwin-dtc.patch → target/linux/patches/5.4.215/darwin-dtc.patch


+ 0 - 0
target/linux/patches/5.4.193/darwin-file2alias.patch → target/linux/patches/5.4.215/darwin-file2alias.patch


+ 0 - 0
target/linux/patches/5.4.193/dtc-noyaml.patch → target/linux/patches/5.4.215/dtc-noyaml.patch


+ 0 - 0
target/linux/patches/5.4.193/macsonic.patch → target/linux/patches/5.4.215/macsonic.patch


+ 0 - 0
target/linux/patches/5.4.193/or1k-more-ram.patch → target/linux/patches/5.4.215/or1k-more-ram.patch


+ 0 - 0
target/linux/patches/5.4.193/relocs.patch → target/linux/patches/5.4.215/relocs.patch


+ 0 - 0
target/linux/patches/5.4.193/sh4.patch → target/linux/patches/5.4.215/sh4.patch


+ 0 - 0
target/linux/patches/5.4.193/startup.patch → target/linux/patches/5.4.215/startup.patch