Browse Source

linux: update to 3.12.69, add qemu arm nommu patch

Waldemar Brodkorb 7 years ago
parent
commit
9f7daa8c21
29 changed files with 19 additions and 31 deletions
  1. 2 2
      mk/kernel-ver.mk
  2. 1 2
      target/config/Config.in.kernelversion
  3. 0 0
      target/linux/patches/3.12.69/bsd-compatibility.patch
  4. 0 0
      target/linux/patches/3.12.69/cleankernel.patch
  5. 0 0
      target/linux/patches/3.12.69/defaults.patch
  6. 0 0
      target/linux/patches/3.12.69/disable-netfilter.patch
  7. 0 0
      target/linux/patches/3.12.69/export-symbol-for-exmap.patch
  8. 0 0
      target/linux/patches/3.12.69/gemalto.patch
  9. 0 0
      target/linux/patches/3.12.69/lemote-rfkill.patch
  10. 0 0
      target/linux/patches/3.12.69/microblaze-ethernet.patch
  11. 0 0
      target/linux/patches/3.12.69/microblaze-setup.patch
  12. 0 0
      target/linux/patches/3.12.69/mips-lzo-fix.patch
  13. 0 0
      target/linux/patches/3.12.69/mkpiggy.patch
  14. 0 0
      target/linux/patches/3.12.69/mtd-rootfs.patch
  15. 0 0
      target/linux/patches/3.12.69/non-static.patch
  16. 0 0
      target/linux/patches/3.12.69/ppc64-missing-zlib.patch
  17. 0 0
      target/linux/patches/3.12.69/regmap-bool.patch
  18. 0 0
      target/linux/patches/3.12.69/relocs.patch
  19. 0 0
      target/linux/patches/3.12.69/sgidefs.patch
  20. 0 0
      target/linux/patches/3.12.69/sortext.patch
  21. 0 0
      target/linux/patches/3.12.69/startup.patch
  22. 0 0
      target/linux/patches/3.12.69/usb-defaults-off.patch
  23. 16 0
      target/linux/patches/3.12.69/versatile-nommu.patch
  24. 0 0
      target/linux/patches/3.12.69/wlan-cf.patch
  25. 0 0
      target/linux/patches/3.12.69/xargs.patch
  26. 0 0
      target/linux/patches/3.12.69/yaffs2.patch
  27. 0 0
      target/linux/patches/3.12.69/zlib-inflate.patch
  28. 0 16
      target/mips/mikrotik-rb532/patches/3.12.66/rb532-cfgfs.patch
  29. 0 11
      target/mips/mikrotik-rb532/patches/3.12.66/rb532-pci.patch

+ 2 - 2
mk/kernel-ver.mk

@@ -46,10 +46,10 @@ KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
 KERNEL_HASH:=		5661ccb8e45ec290d16d9617056d32f54bdea1357b1b3047c9c4042c78824db2
 endif
 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12),y)
-KERNEL_FILE_VER:=	3.12.66
+KERNEL_FILE_VER:=	3.12.69
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		8c219fd19367423be58a50584d293e593ff0aba65f95db2b08303090f561ca0a
+KERNEL_HASH:=		b5b2753d17e4f95acd7c8b2bd3a6d61a8fe35ff4d9ce6189ae500b096485efdf
 endif
 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_10),y)
 KERNEL_FILE_VER:=	3.10.104

+ 1 - 2
target/config/Config.in.kernelversion

@@ -85,7 +85,7 @@ config ADK_TARGET_KERNEL_VERSION_3_18
 	depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6
 
 config ADK_TARGET_KERNEL_VERSION_3_12
-	bool "3.12.66"
+	bool "3.12.69"
 	depends on !ADK_TARGET_ARCH_ARC
 	depends on !ADK_TARGET_ARCH_BFIN
 	depends on !ADK_TARGET_ARCH_H8300
@@ -99,7 +99,6 @@ config ADK_TARGET_KERNEL_VERSION_3_12
 	depends on !ADK_TARGET_SYSTEM_KINETIS_K70
 	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	depends on !ADK_TARGET_SYSTEM_QEMU_M68K_MCF5208
-	depends on !ADK_TARGET_SYSTEM_QEMU_ARM_VERSATILEPB_NOMMU
 	depends on !ADK_TARGET_SYSTEM_NUMATO_MIMASV2
 	depends on !ADK_TARGET_CPU_MIPS_MIPS32R6
 	depends on !ADK_TARGET_CPU_MIPS64_MIPS64R6

+ 0 - 0
target/linux/patches/3.12.66/bsd-compatibility.patch → target/linux/patches/3.12.69/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.12.66/cleankernel.patch → target/linux/patches/3.12.69/cleankernel.patch


+ 0 - 0
target/linux/patches/3.12.66/defaults.patch → target/linux/patches/3.12.69/defaults.patch


+ 0 - 0
target/linux/patches/3.12.66/disable-netfilter.patch → target/linux/patches/3.12.69/disable-netfilter.patch


+ 0 - 0
target/linux/patches/3.12.66/export-symbol-for-exmap.patch → target/linux/patches/3.12.69/export-symbol-for-exmap.patch


+ 0 - 0
target/linux/patches/3.12.66/gemalto.patch → target/linux/patches/3.12.69/gemalto.patch


+ 0 - 0
target/linux/patches/3.12.66/lemote-rfkill.patch → target/linux/patches/3.12.69/lemote-rfkill.patch


+ 0 - 0
target/linux/patches/3.12.66/microblaze-ethernet.patch → target/linux/patches/3.12.69/microblaze-ethernet.patch


+ 0 - 0
target/linux/patches/3.12.66/microblaze-setup.patch → target/linux/patches/3.12.69/microblaze-setup.patch


+ 0 - 0
target/linux/patches/3.12.66/mips-lzo-fix.patch → target/linux/patches/3.12.69/mips-lzo-fix.patch


+ 0 - 0
target/linux/patches/3.12.66/mkpiggy.patch → target/linux/patches/3.12.69/mkpiggy.patch


+ 0 - 0
target/linux/patches/3.12.66/mtd-rootfs.patch → target/linux/patches/3.12.69/mtd-rootfs.patch


+ 0 - 0
target/linux/patches/3.12.66/non-static.patch → target/linux/patches/3.12.69/non-static.patch


+ 0 - 0
target/linux/patches/3.12.66/ppc64-missing-zlib.patch → target/linux/patches/3.12.69/ppc64-missing-zlib.patch


+ 0 - 0
target/linux/patches/3.12.66/regmap-bool.patch → target/linux/patches/3.12.69/regmap-bool.patch


+ 0 - 0
target/linux/patches/3.12.66/relocs.patch → target/linux/patches/3.12.69/relocs.patch


+ 0 - 0
target/linux/patches/3.12.66/sgidefs.patch → target/linux/patches/3.12.69/sgidefs.patch


+ 0 - 0
target/linux/patches/3.12.66/sortext.patch → target/linux/patches/3.12.69/sortext.patch


+ 0 - 0
target/linux/patches/3.12.66/startup.patch → target/linux/patches/3.12.69/startup.patch


+ 0 - 0
target/linux/patches/3.12.66/usb-defaults-off.patch → target/linux/patches/3.12.69/usb-defaults-off.patch


+ 16 - 0
target/linux/patches/3.12.69/versatile-nommu.patch

@@ -0,0 +1,16 @@
+diff -Nur linux-3.12.69.orig/arch/arm/mach-versatile/include/mach/hardware.h linux-3.12.69/arch/arm/mach-versatile/include/mach/hardware.h
+--- linux-3.12.69.orig/arch/arm/mach-versatile/include/mach/hardware.h	2016-12-13 20:52:06.000000000 +0100
++++ linux-3.12.69/arch/arm/mach-versatile/include/mach/hardware.h	2016-12-27 14:28:35.896220019 +0100
+@@ -30,8 +30,12 @@
+ #define VERSATILE_PCI_VIRT_BASE		(void __iomem *)0xe8000000ul
+ #define VERSATILE_PCI_CFG_VIRT_BASE	(void __iomem *)0xe9000000ul
+ 
++#ifdef CONFIG_MMU
+ /* macro to get at MMIO space when running virtually */
+ #define IO_ADDRESS(x)		(((x) & 0x0fffffff) + (((x) >> 4) & 0x0f000000) + 0xf0000000)
++#else
++#define IO_ADDRESS(x)		(x)
++#endif
+ 
+ #define __io_address(n)		((void __iomem __force *)IO_ADDRESS(n))
+ 

+ 0 - 0
target/linux/patches/3.12.66/wlan-cf.patch → target/linux/patches/3.12.69/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.12.66/xargs.patch → target/linux/patches/3.12.69/xargs.patch


+ 0 - 0
target/linux/patches/3.12.66/yaffs2.patch → target/linux/patches/3.12.69/yaffs2.patch


+ 0 - 0
target/linux/patches/3.12.66/zlib-inflate.patch → target/linux/patches/3.12.69/zlib-inflate.patch


+ 0 - 16
target/mips/mikrotik-rb532/patches/3.12.66/rb532-cfgfs.patch

@@ -1,16 +0,0 @@
-diff -Nur linux-3.14.5.orig/arch/mips/rb532/devices.c linux-3.14.5/arch/mips/rb532/devices.c
---- linux-3.14.5.orig/arch/mips/rb532/devices.c	2014-05-31 21:34:37.000000000 +0200
-+++ linux-3.14.5/arch/mips/rb532/devices.c	2014-06-04 17:40:36.318731659 +0200
-@@ -191,7 +191,11 @@
- 	}, {
- 		.name = "rootfs",
- 		.offset = MTDPART_OFS_NXTBLK,
--		.size = MTDPART_SIZ_FULL,
-+		.size = 108 * 1024 * 1024,
-+	}, {
-+		.name = "cfgfs",
-+		.offset = MTDPART_OFS_NXTBLK,
-+		.size = 16 * 1024 * 1024,
- 	}
- };
- 

+ 0 - 11
target/mips/mikrotik-rb532/patches/3.12.66/rb532-pci.patch

@@ -1,11 +0,0 @@
-diff -Nur linux-3.14.3.orig/arch/mips/pci/pci-rc32434.c linux-3.14.3/arch/mips/pci/pci-rc32434.c
---- linux-3.14.3.orig/arch/mips/pci/pci-rc32434.c	2014-05-06 16:59:58.000000000 +0200
-+++ linux-3.14.3/arch/mips/pci/pci-rc32434.c	2014-05-13 17:15:48.000000000 +0200
-@@ -53,7 +53,6 @@
- 	.start = 0x50000000,
- 	.end = 0x5FFFFFFF,
- 	.flags = IORESOURCE_MEM,
--	.parent = &rc32434_res_pci_mem1,
- 	.sibling = NULL,
- 	.child = &rc32434_res_pci_mem2
- };