Browse Source

linux: update to 3.14.72, add working solidrun patch

Waldemar Brodkorb 9 years ago
parent
commit
0dc6006d7b
43 changed files with 94088 additions and 139 deletions
  1. 3 3
      mk/kernel-ver.mk
  2. 4 0
      package/u-boot/files/boot.script.imx6
  3. 0 0
      target/arm/bcm28xx/patches/4.1.26/0001-raspberry-pi-github.patch
  4. 1 0
      target/arm/kernel/solidrun-imx6
  5. 0 133
      target/arm/solidrun-imx6/patches/3.14.69/0001-cec-hdmi.patch
  6. 94075 0
      target/arm/solidrun-imx6/patches/3.14.72/0001-solidrun-imx6.patch
  7. 0 0
      target/arm/solidrun-imx6/patches/4.1.26/0001-xbian.patch
  8. 0 0
      target/arm/solidrun-imx6/patches/4.1.26/0002-rt.patch
  9. 0 0
      target/avr32/atmel-ngw100/patches/4.1.26/0001-net-macb-improve-big-endian-CPU-support.patch
  10. 5 3
      target/config/Config.in.kernelversion
  11. 0 0
      target/cris/qemu-cris/patches/4.1.26/crisv32_ethernet_driver.patch
  12. 0 0
      target/linux/patches/3.14.72/bsd-compatibility.patch
  13. 0 0
      target/linux/patches/3.14.72/cleankernel.patch
  14. 0 0
      target/linux/patches/3.14.72/defaults.patch
  15. 0 0
      target/linux/patches/3.14.72/disable-netfilter.patch
  16. 0 0
      target/linux/patches/3.14.72/export-symbol-for-exmap.patch
  17. 0 0
      target/linux/patches/3.14.72/fblogo.patch
  18. 0 0
      target/linux/patches/3.14.72/gemalto.patch
  19. 0 0
      target/linux/patches/3.14.72/initramfs-nosizelimit.patch
  20. 0 0
      target/linux/patches/3.14.72/lemote-rfkill.patch
  21. 0 0
      target/linux/patches/3.14.72/microblaze-axi.patch
  22. 0 0
      target/linux/patches/3.14.72/microblaze-ethernet.patch
  23. 0 0
      target/linux/patches/3.14.72/mips-fpu.patch
  24. 0 0
      target/linux/patches/3.14.72/mkpiggy.patch
  25. 0 0
      target/linux/patches/3.14.72/mtd-rootfs.patch
  26. 0 0
      target/linux/patches/3.14.72/nfsv3-tcp.patch
  27. 0 0
      target/linux/patches/3.14.72/non-static.patch
  28. 0 0
      target/linux/patches/3.14.72/ppc64-missing-zlib.patch
  29. 0 0
      target/linux/patches/3.14.72/regmap-boolean.patch
  30. 0 0
      target/linux/patches/3.14.72/relocs.patch
  31. 0 0
      target/linux/patches/3.14.72/sgidefs.patch
  32. 0 0
      target/linux/patches/3.14.72/sortext.patch
  33. 0 0
      target/linux/patches/3.14.72/startup.patch
  34. 0 0
      target/linux/patches/3.14.72/wlan-cf.patch
  35. 0 0
      target/linux/patches/3.14.72/xargs.patch
  36. 0 0
      target/linux/patches/3.14.72/yaffs2.patch
  37. 0 0
      target/linux/patches/3.14.72/zlib-inflate.patch
  38. 0 0
      target/m68k/qemu-m68k-mcf5208/patches/3.14.72/m68k-coldfire-fec.patch
  39. 0 0
      target/m68k/qemu-m68k-mcf5208/patches/4.1.26/m68k-coldfire-fec.patch
  40. 0 0
      target/mips/ath79/patches/4.1.26/0001-openwrt-ath79.patch
  41. 0 0
      target/mips/mikrotik-rb532/patches/3.14.72/rb532-cfgfs.patch
  42. 0 0
      target/mips/mikrotik-rb532/patches/3.14.72/rb532-pci.patch
  43. 0 0
      target/or1k/patches/4.1.26/ld-or1k.patch

+ 3 - 3
mk/kernel-ver.mk

@@ -49,11 +49,11 @@ KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
 KERNEL_HASH:=		33f2a5d10769c05f6ed6a9eff24429ffd4fbaeb492320e3f9da318d56afdaa30
 KERNEL_HASH:=		33f2a5d10769c05f6ed6a9eff24429ffd4fbaeb492320e3f9da318d56afdaa30
 endif
 endif
-ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_69),y)
-KERNEL_FILE_VER:=	3.14.69
+ifeq ($(ADK_TARGET_KERNEL_VERSION_3_14_72),y)
+KERNEL_FILE_VER:=	3.14.72
 KERNEL_RELEASE:=	1
 KERNEL_RELEASE:=	1
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
 KERNEL_VERSION:=	$(KERNEL_FILE_VER)-$(KERNEL_RELEASE)
-KERNEL_HASH:=		0effaa7f1036eeb4a71d64e42619b1b4fffe0901e7df51446cc14e799154fd69
+KERNEL_HASH:=		0c64e38255e591dc06d57881ce08e29009c2d31fcdaab2b1a4b736bc873f4724
 endif
 endif
 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_59),y)
 ifeq ($(ADK_TARGET_KERNEL_VERSION_3_12_59),y)
 KERNEL_FILE_VER:=	3.12.59
 KERNEL_FILE_VER:=	3.12.59

+ 4 - 0
package/u-boot/files/boot.script.imx6

@@ -0,0 +1,4 @@
+setenv bootargs console=ttymxc0,115200 video=mxcfb0:dev=hdmi,1920x1080M@60,if=RGB24,bpp=32
+ext4load mmc 0:1 0x42000000 boot/${fdtfile}
+ext4load mmc 0:1 0x10800000 boot/kernel
+bootz 0x10800000 - 0x42000000

+ 0 - 0
target/arm/bcm28xx/patches/4.1.24/0001-raspberry-pi-github.patch → target/arm/bcm28xx/patches/4.1.26/0001-raspberry-pi-github.patch


+ 1 - 0
target/arm/kernel/solidrun-imx6

@@ -9,5 +9,6 @@ CONFIG_LOCAL_TIMERS=y
 CONFIG_MXC_DEBUG_BOARD=y
 CONFIG_MXC_DEBUG_BOARD=y
 CONFIG_KUSER_HELPERS=y
 CONFIG_KUSER_HELPERS=y
 CONFIG_PCI_IMX6=y
 CONFIG_PCI_IMX6=y
+CONFIG_PM_SLEEP=y
 CONFIG_ATAGS=y
 CONFIG_ATAGS=y
 CONFIG_CMDLINE_FORCE=y
 CONFIG_CMDLINE_FORCE=y

+ 0 - 133
target/arm/solidrun-imx6/patches/3.14.69/0001-cec-hdmi.patch

@@ -1,133 +0,0 @@
-diff -Nur linux-3.14.45.orig/drivers/mxc/hdmi-cec/mxc_hdmi-cec.c linux-3.14.45/drivers/mxc/hdmi-cec/mxc_hdmi-cec.c
---- linux-3.14.45.orig/drivers/mxc/hdmi-cec/mxc_hdmi-cec.c	2015-07-16 01:45:57.033999867 -0500
-+++ linux-3.14.45/drivers/mxc/hdmi-cec/mxc_hdmi-cec.c	2015-07-16 01:44:12.826000821 -0500
-@@ -67,7 +67,6 @@
- 	u8 msg_len;
- 	int tx_answer;
- 	u16 latest_cec_stat;
--	u8 link_status;
- 	spinlock_t irq_lock;
- 	struct delayed_work hdmi_cec_work;
- 	struct mutex lock;
-@@ -83,8 +82,6 @@
- 
- static LIST_HEAD(head);
- 
--static int hdmi_cec_ready = 0;
--static int hdmi_cec_started;
- static int hdmi_cec_major;
- static struct class *hdmi_cec_class;
- static struct hdmi_cec_priv hdmi_cec_data;
-@@ -98,7 +95,6 @@
- 	struct hdmi_cec_priv *hdmi_cec = data;
- 	u16 cec_stat = 0;
- 	unsigned long flags;
--	u8 phy_stat0;
- 	irqreturn_t ret = IRQ_HANDLED;
- 
- 	spin_lock_irqsave(&hdmi_cec->irq_lock, flags);
-@@ -107,7 +103,6 @@
- 
- 	cec_stat = hdmi_readb(HDMI_IH_CEC_STAT0);
- 	hdmi_writeb(cec_stat, HDMI_IH_CEC_STAT0);
--	phy_stat0 = hdmi_readb(HDMI_PHY_STAT0) & 0x02;
- 
- 	if ((cec_stat & (HDMI_IH_CEC_STAT0_ERROR_INIT | \
- 		HDMI_IH_CEC_STAT0_NACK | HDMI_IH_CEC_STAT0_EOM | \
-@@ -115,14 +110,7 @@
- 		ret = IRQ_NONE;
- 		cec_stat = 0;
- 	}
--	if (hdmi_cec->link_status ^ phy_stat0) {
--		/* HPD value changed */
--		hdmi_cec->link_status = phy_stat0;
--		if (hdmi_cec->link_status)
--			cec_stat |= 0x80; /* Connected */
--		else
--			cec_stat |= 0x100; /* Disconnected */
--	}
-+
- 	pr_debug("HDMI CEC interrupt received\n");
- 	hdmi_cec->latest_cec_stat = cec_stat ;
- 
-@@ -315,7 +303,7 @@
- 		mutex_unlock(&hdmi_cec_data.lock);
- 		return -EACCES;
- 	}
--	/* Ensure that there is only one writer who is the only listener of tx_cec_queue */
-+	/* Ensure that there is only one writer who is the unique listener of tx_cec_queue */
- 	if (hdmi_cec_data.tx_answer != CEC_TX_AVAIL) {
- 		mutex_unlock(&hdmi_cec_data.lock);
- 		return -EBUSY;
-@@ -363,9 +351,6 @@
- {
- 	u8 val;
- 
--	if (!hdmi_cec_ready || hdmi_cec_started)
--		return;
--
- 	val = hdmi_readb(HDMI_MC_CLKDIS);
- 	val &= ~HDMI_MC_CLKDIS_CECCLK_DISABLE;
- 	hdmi_writeb(val, HDMI_MC_CLKDIS);
-@@ -377,12 +362,7 @@
- 	val = HDMI_IH_CEC_STAT0_WAKEUP | HDMI_IH_CEC_STAT0_ERROR_FOLL | HDMI_IH_CEC_STAT0_ARB_LOST;
- 	hdmi_writeb(val, HDMI_CEC_MASK);
- 	hdmi_writeb(val, HDMI_IH_MUTE_CEC_STAT0);
--	hdmi_cec_data.link_status = hdmi_readb(HDMI_PHY_STAT0) & 0x02;
--	mutex_lock(&hdmi_cec_data.lock);
- 	hdmi_cec_data.cec_state = true;
--	mutex_unlock(&hdmi_cec_data.lock);
--
--	hdmi_cec_started = 1;
- }
- EXPORT_SYMBOL(hdmi_cec_start_device);
- 
-@@ -390,9 +370,6 @@
- { 
- 	u8 val;
- 
--	if (!hdmi_cec_ready || !hdmi_cec_started)
--		return;
--
- 	hdmi_writeb(0x10, HDMI_CEC_CTRL);
- 	val = HDMI_IH_CEC_STAT0_WAKEUP | HDMI_IH_CEC_STAT0_ERROR_FOLL | HDMI_IH_CEC_STAT0_ERROR_INIT | HDMI_IH_CEC_STAT0_ARB_LOST | \
- 			HDMI_IH_CEC_STAT0_NACK | HDMI_IH_CEC_STAT0_EOM | HDMI_IH_CEC_STAT0_DONE;
-@@ -402,11 +379,7 @@
- 	val = hdmi_readb(HDMI_MC_CLKDIS);
- 	val |= HDMI_MC_CLKDIS_CECCLK_DISABLE;
- 	hdmi_writeb(val, HDMI_MC_CLKDIS);
--	mutex_lock(&hdmi_cec_data.lock);
- 	hdmi_cec_data.cec_state = false;
--	mutex_unlock(&hdmi_cec_data.lock);
--
--	hdmi_cec_started = 0;
- }
- EXPORT_SYMBOL(hdmi_cec_stop_device);
- 
-@@ -481,11 +454,18 @@
-  */
- static int hdmi_cec_release(struct inode *inode, struct file *filp)
- {
-+	struct hdmi_cec_event *event, *tmp_event;
- 	mutex_lock(&hdmi_cec_data.lock);
- 	if (open_count) {
- 		open_count = 0;
- 		hdmi_cec_data.cec_state = false;
- 		hdmi_cec_data.Logical_address = 15;
-+
-+		/* Flush eventual events which have not been read by user space */
-+		list_for_each_entry_safe(event, tmp_event, &head, list) {
-+			list_del(&event->list);
-+			vfree(event);
-+		}
- 	}
- 	mutex_unlock(&hdmi_cec_data.lock);
- 
-@@ -580,7 +560,6 @@
- 	INIT_DELAYED_WORK(&hdmi_cec_data.hdmi_cec_work, mxc_hdmi_cec_worker);
- 
- 	dev_info(&pdev->dev, "HDMI CEC initialized\n");
--	hdmi_cec_ready = 1;
- 	goto out;
- 
- err_out_class:

File diff suppressed because it is too large
+ 94075 - 0
target/arm/solidrun-imx6/patches/3.14.72/0001-solidrun-imx6.patch


+ 0 - 0
target/arm/solidrun-imx6/patches/4.1.24/0001-xbian.patch → target/arm/solidrun-imx6/patches/4.1.26/0001-xbian.patch


+ 0 - 0
target/arm/solidrun-imx6/patches/4.1.24/0002-rt.patch → target/arm/solidrun-imx6/patches/4.1.26/0002-rt.patch


+ 0 - 0
target/avr32/atmel-ngw100/patches/4.1.24/0001-net-macb-improve-big-endian-CPU-support.patch → target/avr32/atmel-ngw100/patches/4.1.26/0001-net-macb-improve-big-endian-CPU-support.patch


+ 5 - 3
target/config/Config.in.kernelversion

@@ -15,17 +15,20 @@ config ADK_TARGET_KERNEL_VERSION_GIT
 config ADK_TARGET_KERNEL_VERSION_4_6_2
 config ADK_TARGET_KERNEL_VERSION_4_6_2
 	bool "4.6.2"
 	bool "4.6.2"
 	depends on !ADK_TARGET_BOARD_BCM28XX
 	depends on !ADK_TARGET_BOARD_BCM28XX
+	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_KERNEL_VERSION_4_6
 	select ADK_TARGET_KERNEL_VERSION_4_6
 
 
 config ADK_TARGET_KERNEL_VERSION_4_5_7
 config ADK_TARGET_KERNEL_VERSION_4_5_7
 	bool "4.5.7"
 	bool "4.5.7"
 	depends on !ADK_TARGET_ARCH_NIOS2
 	depends on !ADK_TARGET_ARCH_NIOS2
 	depends on !ADK_TARGET_BOARD_BCM28XX
 	depends on !ADK_TARGET_BOARD_BCM28XX
+	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_KERNEL_VERSION_4_5
 	select ADK_TARGET_KERNEL_VERSION_4_5
 
 
 config ADK_TARGET_KERNEL_VERSION_4_4_13
 config ADK_TARGET_KERNEL_VERSION_4_4_13
 	bool "4.4.13"
 	bool "4.4.13"
 	depends on !ADK_TARGET_ARCH_NIOS2
 	depends on !ADK_TARGET_ARCH_NIOS2
+	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_KERNEL_VERSION_4_4
 	select ADK_TARGET_KERNEL_VERSION_4_4
 
 
 config ADK_TARGET_KERNEL_VERSION_4_1_26
 config ADK_TARGET_KERNEL_VERSION_4_1_26
@@ -36,7 +39,6 @@ config ADK_TARGET_KERNEL_VERSION_4_1_26
 	depends on !ADK_TARGET_ARCH_NIOS2
 	depends on !ADK_TARGET_ARCH_NIOS2
 	depends on !ADK_TARGET_ARCH_SPARC
 	depends on !ADK_TARGET_ARCH_SPARC
 	depends on !ADK_TARGET_SYSTEM_KINETIS_K70
 	depends on !ADK_TARGET_SYSTEM_KINETIS_K70
-	depends on !ADK_TARGET_SYSTEM_SOLIDRUN_IMX6
 	select ADK_TARGET_KERNEL_VERSION_4_1
 	select ADK_TARGET_KERNEL_VERSION_4_1
 
 
 config ADK_TARGET_KERNEL_VERSION_3_18_33
 config ADK_TARGET_KERNEL_VERSION_3_18_33
@@ -53,8 +55,8 @@ config ADK_TARGET_KERNEL_VERSION_3_18_33
 	depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
 	depends on !ADK_TARGET_SYSTEM_BEAGLEBONE_BLACK
 	select ADK_TARGET_KERNEL_VERSION_3_18
 	select ADK_TARGET_KERNEL_VERSION_3_18
 
 
-config ADK_TARGET_KERNEL_VERSION_3_14_69
-	bool "3.14.69"
+config ADK_TARGET_KERNEL_VERSION_3_14_72
+	bool "3.14.72"
 	depends on !ADK_TARGET_ARCH_ARC
 	depends on !ADK_TARGET_ARCH_ARC
 	depends on !ADK_TARGET_ARCH_BFIN
 	depends on !ADK_TARGET_ARCH_BFIN
 	depends on !ADK_TARGET_ARCH_H8300
 	depends on !ADK_TARGET_ARCH_H8300

+ 0 - 0
target/cris/qemu-cris/patches/4.1.24/crisv32_ethernet_driver.patch → target/cris/qemu-cris/patches/4.1.26/crisv32_ethernet_driver.patch


+ 0 - 0
target/linux/patches/3.14.69/bsd-compatibility.patch → target/linux/patches/3.14.72/bsd-compatibility.patch


+ 0 - 0
target/linux/patches/3.14.69/cleankernel.patch → target/linux/patches/3.14.72/cleankernel.patch


+ 0 - 0
target/linux/patches/3.14.69/defaults.patch → target/linux/patches/3.14.72/defaults.patch


+ 0 - 0
target/linux/patches/3.14.69/disable-netfilter.patch → target/linux/patches/3.14.72/disable-netfilter.patch


+ 0 - 0
target/linux/patches/3.14.69/export-symbol-for-exmap.patch → target/linux/patches/3.14.72/export-symbol-for-exmap.patch


+ 0 - 0
target/linux/patches/3.14.69/fblogo.patch → target/linux/patches/3.14.72/fblogo.patch


+ 0 - 0
target/linux/patches/3.14.69/gemalto.patch → target/linux/patches/3.14.72/gemalto.patch


+ 0 - 0
target/linux/patches/3.14.69/initramfs-nosizelimit.patch → target/linux/patches/3.14.72/initramfs-nosizelimit.patch


+ 0 - 0
target/linux/patches/3.14.69/lemote-rfkill.patch → target/linux/patches/3.14.72/lemote-rfkill.patch


+ 0 - 0
target/linux/patches/3.14.69/microblaze-axi.patch → target/linux/patches/3.14.72/microblaze-axi.patch


+ 0 - 0
target/linux/patches/3.14.69/microblaze-ethernet.patch → target/linux/patches/3.14.72/microblaze-ethernet.patch


+ 0 - 0
target/linux/patches/3.14.69/mips-fpu.patch → target/linux/patches/3.14.72/mips-fpu.patch


+ 0 - 0
target/linux/patches/3.14.69/mkpiggy.patch → target/linux/patches/3.14.72/mkpiggy.patch


+ 0 - 0
target/linux/patches/3.14.69/mtd-rootfs.patch → target/linux/patches/3.14.72/mtd-rootfs.patch


+ 0 - 0
target/linux/patches/3.14.69/nfsv3-tcp.patch → target/linux/patches/3.14.72/nfsv3-tcp.patch


+ 0 - 0
target/linux/patches/3.14.69/non-static.patch → target/linux/patches/3.14.72/non-static.patch


+ 0 - 0
target/linux/patches/3.14.69/ppc64-missing-zlib.patch → target/linux/patches/3.14.72/ppc64-missing-zlib.patch


+ 0 - 0
target/linux/patches/3.14.69/regmap-boolean.patch → target/linux/patches/3.14.72/regmap-boolean.patch


+ 0 - 0
target/linux/patches/3.14.69/relocs.patch → target/linux/patches/3.14.72/relocs.patch


+ 0 - 0
target/linux/patches/3.14.69/sgidefs.patch → target/linux/patches/3.14.72/sgidefs.patch


+ 0 - 0
target/linux/patches/3.14.69/sortext.patch → target/linux/patches/3.14.72/sortext.patch


+ 0 - 0
target/linux/patches/3.14.69/startup.patch → target/linux/patches/3.14.72/startup.patch


+ 0 - 0
target/linux/patches/3.14.69/wlan-cf.patch → target/linux/patches/3.14.72/wlan-cf.patch


+ 0 - 0
target/linux/patches/3.14.69/xargs.patch → target/linux/patches/3.14.72/xargs.patch


+ 0 - 0
target/linux/patches/3.14.69/yaffs2.patch → target/linux/patches/3.14.72/yaffs2.patch


+ 0 - 0
target/linux/patches/3.14.69/zlib-inflate.patch → target/linux/patches/3.14.72/zlib-inflate.patch


+ 0 - 0
target/m68k/qemu-m68k-mcf5208/patches/3.14.69/m68k-coldfire-fec.patch → target/m68k/qemu-m68k-mcf5208/patches/3.14.72/m68k-coldfire-fec.patch


+ 0 - 0
target/m68k/qemu-m68k-mcf5208/patches/4.1.24/m68k-coldfire-fec.patch → target/m68k/qemu-m68k-mcf5208/patches/4.1.26/m68k-coldfire-fec.patch


+ 0 - 0
target/mips/ath79/patches/4.1.24/0001-openwrt-ath79.patch → target/mips/ath79/patches/4.1.26/0001-openwrt-ath79.patch


+ 0 - 0
target/mips/mikrotik-rb532/patches/3.14.69/rb532-cfgfs.patch → target/mips/mikrotik-rb532/patches/3.14.72/rb532-cfgfs.patch


+ 0 - 0
target/mips/mikrotik-rb532/patches/3.14.69/rb532-pci.patch → target/mips/mikrotik-rb532/patches/3.14.72/rb532-pci.patch


+ 0 - 0
target/or1k/patches/4.1.24/ld-or1k.patch → target/or1k/patches/4.1.26/ld-or1k.patch


Some files were not shown because too many files changed in this diff