diff options
12 files changed, 405 insertions, 106 deletions
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch deleted file mode 100644 index 820ce68e..00000000 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From 0e981452d7130513e796c1c3d7348905c0d00dce Mon Sep 17 00:00:00 2001 | ||
2 | From: Gary Bisson <bisson.gary@gmail.com> | ||
3 | Date: Tue, 2 Dec 2014 22:11:14 -0800 | ||
4 | Subject: [PATCH] ARM: clk-imx6q: fix video divider for revision 1.0 of i.MX6q | ||
5 | |||
6 | As post dividers do not work on i.MX6Q revision 1.0 they must be fixed | ||
7 | to 1. As the table index was wrong, a divider a of 4 could still be | ||
8 | requested which implied the clock not to be set properly. This is the | ||
9 | root cause of the HDMI not working at high resolution on T1.0 version of | ||
10 | the SoC, giving the following error: | ||
11 | mxc_sdc_fb fb.27: timeout when waiting for flip irq | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Gary Bisson <bisson.gary@gmail.com> | ||
16 | --- | ||
17 | arch/arm/mach-imx/clk-imx6q.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c | ||
21 | index 25734ed..34e1616f 100644 | ||
22 | --- a/arch/arm/mach-imx/clk-imx6q.c | ||
23 | +++ b/arch/arm/mach-imx/clk-imx6q.c | ||
24 | @@ -312,7 +312,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | ||
25 | post_div_table[1].div = 1; | ||
26 | post_div_table[2].div = 1; | ||
27 | video_div_table[1].div = 1; | ||
28 | - video_div_table[2].div = 1; | ||
29 | + video_div_table[3].div = 1; | ||
30 | }; | ||
31 | |||
32 | /* type name parent_name base div_mask */ | ||
33 | -- | ||
34 | 2.1.3 | ||
35 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch new file mode 100644 index 00000000..8d431832 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 5332a5467624b01d0c166309cd1dceac5f7b9d96 Mon Sep 17 00:00:00 2001 | ||
2 | From: Dmitry Voytik <voytikd@gmail.com> | ||
3 | Date: Thu, 6 Nov 2014 22:46:20 +0400 | ||
4 | Subject: [PATCH 1/3] ARM: imx6q: drop unnecessary semicolon | ||
5 | |||
6 | commit d2a10a1727b3948019128e83162f22c65859f1fd upstream. | ||
7 | |||
8 | Drop unnecessary semicolon after closing curly bracket. | ||
9 | |||
10 | Signed-off-by: Dmitry Voytik <voytikd@gmail.com> | ||
11 | Signed-off-by: Shawn Guo <shawn.guo@linaro.org> | ||
12 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
13 | |||
14 | Upstream-Status: Backport [3.14.29] | ||
15 | |||
16 | --- | ||
17 | arch/arm/mach-imx/clk-imx6q.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c | ||
21 | index f0d8000..a5107ab 100644 | ||
22 | --- a/arch/arm/mach-imx/clk-imx6q.c | ||
23 | +++ b/arch/arm/mach-imx/clk-imx6q.c | ||
24 | @@ -149,7 +149,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | ||
25 | post_div_table[2].div = 1; | ||
26 | video_div_table[1].div = 1; | ||
27 | video_div_table[2].div = 1; | ||
28 | - }; | ||
29 | + } | ||
30 | |||
31 | clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels)); | ||
32 | clk[IMX6QDL_PLL2_BYPASS_SRC] = imx_clk_mux("pll2_bypass_src", base + 0x30, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels)); | ||
33 | -- | ||
34 | 2.1.4 | ||
35 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0001-fix-build.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-fix-build.patch index ffc6b74f..4be4066d 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0001-fix-build.patch +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-fix-build.patch | |||
@@ -4,12 +4,13 @@ Upstream-Status: Inappropriate [other] | |||
4 | Freescale does not support the RT patch | 4 | Freescale does not support the RT patch |
5 | 5 | ||
6 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | 6 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> |
7 | Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28] | ||
7 | 8 | ||
8 | Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | 9 | diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c |
9 | =================================================================== | 10 | index 2ec98dc..5d0b7df 100644 |
10 | --- git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | 11 | --- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c |
11 | +++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | 12 | +++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c |
12 | @@ -7746,7 +7746,7 @@ gckOS_WaitSignal( | 13 | @@ -7344,7 +7344,7 @@ gckOS_WaitSignal( |
13 | 14 | ||
14 | might_sleep(); | 15 | might_sleep(); |
15 | 16 | ||
@@ -18,7 +19,7 @@ Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | |||
18 | 19 | ||
19 | if (signal->obj.done) | 20 | if (signal->obj.done) |
20 | { | 21 | { |
21 | @@ -7768,9 +7768,8 @@ gckOS_WaitSignal( | 22 | @@ -7366,9 +7366,8 @@ gckOS_WaitSignal( |
22 | ? MAX_SCHEDULE_TIMEOUT | 23 | ? MAX_SCHEDULE_TIMEOUT |
23 | : Wait * HZ / 1000; | 24 | : Wait * HZ / 1000; |
24 | 25 | ||
@@ -30,7 +31,7 @@ Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | |||
30 | 31 | ||
31 | while (gcvTRUE) | 32 | while (gcvTRUE) |
32 | { | 33 | { |
33 | @@ -7782,9 +7781,9 @@ gckOS_WaitSignal( | 34 | @@ -7380,9 +7379,9 @@ gckOS_WaitSignal( |
34 | } | 35 | } |
35 | 36 | ||
36 | __set_current_state(TASK_INTERRUPTIBLE); | 37 | __set_current_state(TASK_INTERRUPTIBLE); |
@@ -42,7 +43,7 @@ Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | |||
42 | 43 | ||
43 | if (signal->obj.done) | 44 | if (signal->obj.done) |
44 | { | 45 | { |
45 | @@ -7805,10 +7804,10 @@ gckOS_WaitSignal( | 46 | @@ -7403,10 +7402,10 @@ gckOS_WaitSignal( |
46 | } | 47 | } |
47 | } | 48 | } |
48 | 49 | ||
@@ -55,3 +56,16 @@ Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | |||
55 | 56 | ||
56 | OnError: | 57 | OnError: |
57 | /* Return status. */ | 58 | /* Return status. */ |
59 | diff --git a/include/linux/imx_sema4.h b/include/linux/imx_sema4.h | ||
60 | index 9787980..3586199 100644 | ||
61 | --- a/include/linux/imx_sema4.h | ||
62 | +++ b/include/linux/imx_sema4.h | ||
63 | @@ -9,6 +9,8 @@ | ||
64 | #ifndef __LINUX_IMX_SEMA4_H__ | ||
65 | #define __LINUX_IMX_SEMA4_H__ | ||
66 | |||
67 | +#include <linux/wait.h> | ||
68 | + | ||
69 | #define SEMA4_NUM_DEVICES 1 | ||
70 | #define SEMA4_NUM_GATES 16 | ||
71 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch new file mode 100644 index 00000000..d7b852da --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch | |||
@@ -0,0 +1,40 @@ | |||
1 | From 5b9eb0cdaefd7ac8e31c1e1812582e0169ba9722 Mon Sep 17 00:00:00 2001 | ||
2 | From: Gary Bisson <bisson.gary@gmail.com> | ||
3 | Date: Wed, 3 Dec 2014 15:03:51 -0800 | ||
4 | Subject: [PATCH 2/3] ARM: clk-imx6q: fix video divider for rev T0 1.0 | ||
5 | |||
6 | commit 81ef447950bf0955aca46f4a7617d8ce435cf0ce upstream. | ||
7 | |||
8 | The post dividers do not work on i.MX6Q rev T0 1.0 so they must be fixed | ||
9 | to 1. As the table index was wrong, a divider a of 4 could still be | ||
10 | requested which implied the clock not to be set properly. This is the | ||
11 | root cause of the HDMI not working at high resolution on rev T0 1.0 of | ||
12 | the SoC. | ||
13 | |||
14 | Signed-off-by: Gary Bisson <bisson.gary@gmail.com> | ||
15 | Cc: <stable@vger.kernel.org> | ||
16 | Signed-off-by: Shawn Guo <shawn.guo@linaro.org> | ||
17 | Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> | ||
18 | |||
19 | Upstream-Status: Backport [3.14.29] | ||
20 | |||
21 | --- | ||
22 | arch/arm/mach-imx/clk-imx6q.c | 2 +- | ||
23 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
24 | |||
25 | diff --git a/arch/arm/mach-imx/clk-imx6q.c b/arch/arm/mach-imx/clk-imx6q.c | ||
26 | index a5107ab..cf060a9 100644 | ||
27 | --- a/arch/arm/mach-imx/clk-imx6q.c | ||
28 | +++ b/arch/arm/mach-imx/clk-imx6q.c | ||
29 | @@ -148,7 +148,7 @@ static void __init imx6q_clocks_init(struct device_node *ccm_node) | ||
30 | post_div_table[1].div = 1; | ||
31 | post_div_table[2].div = 1; | ||
32 | video_div_table[1].div = 1; | ||
33 | - video_div_table[2].div = 1; | ||
34 | + video_div_table[3].div = 1; | ||
35 | } | ||
36 | |||
37 | clk[IMX6QDL_PLL1_BYPASS_SRC] = imx_clk_mux("pll1_bypass_src", base + 0x00, 14, 2, pll_bypass_src_sels, ARRAY_SIZE(pll_bypass_src_sels)); | ||
38 | -- | ||
39 | 2.1.4 | ||
40 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0002-fix-build-with-rt-enabled.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch index 83652c96..83652c96 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0002-fix-build-with-rt-enabled.patch +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch new file mode 100644 index 00000000..0743099f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch | |||
@@ -0,0 +1,56 @@ | |||
1 | From 8340ad4ab71b568e65dfd1b92cc0967152887f97 Mon Sep 17 00:00:00 2001 | ||
2 | From: Nikolay Dimitrov <picmaster@mail.bg> | ||
3 | Date: Sun, 8 Feb 2015 22:18:09 +0200 | ||
4 | Subject: [PATCH 3/3] ARM: imx6sl: Disable imx6sl-specific code when imx6sl SOC | ||
5 | support is disabled | ||
6 | |||
7 | Currently the build fails when CONFIG_SOC_IMX6SL is disabled, due to some | ||
8 | hard-coded stuff. The patch purpose is to handle enabling/disabling this | ||
9 | config option. | ||
10 | |||
11 | Signed-off-by: Nikolay Dimitrov <picmaster@mail.bg> | ||
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
13 | |||
14 | Upstream-Status: Pending | ||
15 | |||
16 | --- | ||
17 | arch/arm/mach-imx/Makefile | 3 ++- | ||
18 | arch/arm/mach-imx/mxc.h | 4 ++++ | ||
19 | 2 files changed, 6 insertions(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/arch/arm/mach-imx/Makefile b/arch/arm/mach-imx/Makefile | ||
22 | index b76a214..27f1976 100644 | ||
23 | --- a/arch/arm/mach-imx/Makefile | ||
24 | +++ b/arch/arm/mach-imx/Makefile | ||
25 | @@ -122,7 +122,8 @@ obj-$(CONFIG_SOC_IMX6SL) += busfreq_lpddr2.o lpddr2_freq_imx6.o imx6sl_lpm_wfi.o | ||
26 | AFLAGS_lpddr2_freq_imx6sx.o :=-Wa,-march=armv7-a | ||
27 | AFLAGS_ddr3_freq_imx6sx.o :=-Wa,-march=armv7-a | ||
28 | AFLAGS_imx6sx_low_power_idle.o :=-Wa,-march=armv7-a | ||
29 | -obj-$(CONFIG_SOC_IMX6SX) += ddr3_freq_imx6sx.o lpddr2_freq_imx6sx.o imx6sx_low_power_idle.o | ||
30 | +obj-$(CONFIG_SOC_IMX6SX) += ddr3_freq_imx6sx.o lpddr2_freq_imx6sx.o imx6sx_low_power_idle.o \ | ||
31 | + busfreq_lpddr2.o lpddr2_freq_imx6.o | ||
32 | endif | ||
33 | |||
34 | |||
35 | diff --git a/arch/arm/mach-imx/mxc.h b/arch/arm/mach-imx/mxc.h | ||
36 | index 1510769..e6af4dd 100644 | ||
37 | --- a/arch/arm/mach-imx/mxc.h | ||
38 | +++ b/arch/arm/mach-imx/mxc.h | ||
39 | @@ -158,10 +158,14 @@ extern unsigned int __mxc_cpu_type; | ||
40 | #endif | ||
41 | |||
42 | #ifndef __ASSEMBLY__ | ||
43 | +#ifdef CONFIG_SOC_IMX6SL | ||
44 | static inline bool cpu_is_imx6sl(void) | ||
45 | { | ||
46 | return __mxc_cpu_type == MXC_CPU_IMX6SL; | ||
47 | } | ||
48 | +#else | ||
49 | +# define cpu_is_imx6sl() (0) | ||
50 | +#endif | ||
51 | |||
52 | static inline bool cpu_is_imx6dl(void) | ||
53 | { | ||
54 | -- | ||
55 | 2.1.4 | ||
56 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0003-no-split-ptlocks.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-no-split-ptlocks.patch index b7995b63..40c012a5 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/0003-no-split-ptlocks.patch +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-no-split-ptlocks.patch | |||
@@ -3,6 +3,7 @@ Work around the oops below by disabling split ptlocks | |||
3 | Upstream-Status: Inappropriate [disable feature] | 3 | Upstream-Status: Inappropriate [disable feature] |
4 | 4 | ||
5 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | 5 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> |
6 | Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28] | ||
6 | 7 | ||
7 | Unable to handle kernel NULL pointer dereference at virtual address 00000000 | 8 | Unable to handle kernel NULL pointer dereference at virtual address 00000000 |
8 | pgd = ac5a8000 | 9 | pgd = ac5a8000 |
@@ -69,16 +70,16 @@ Code: e92d4010 e1a04000 e3a00001 ebe8abd7 (e1943f9f) | |||
69 | ---[ end trace 0000000000000002 ]--- | 70 | ---[ end trace 0000000000000002 ]--- |
70 | note: test-qt5[277] exited with preempt_count 1 | 71 | note: test-qt5[277] exited with preempt_count 1 |
71 | 72 | ||
72 | Index: git/include/linux/mm_types.h | 73 | diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h |
73 | =================================================================== | 74 | index 6c1dc6c..8c00faf 100644 |
74 | --- git.orig/include/linux/mm_types.h | 75 | --- a/include/linux/mm_types.h |
75 | +++ git/include/linux/mm_types.h | 76 | +++ b/include/linux/mm_types.h |
76 | @@ -24,7 +24,7 @@ | 77 | @@ -24,7 +24,7 @@ |
77 | 78 | ||
78 | struct address_space; | 79 | struct address_space; |
79 | 80 | ||
80 | -#define USE_SPLIT_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS) | 81 | -#define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS) |
81 | +#define USE_SPLIT_PTLOCKS (0) | 82 | +#define USE_SPLIT_PTE_PTLOCKS (0) |
82 | 83 | #define USE_SPLIT_PMD_PTLOCKS (USE_SPLIT_PTE_PTLOCKS && \ | |
83 | /* | 84 | IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK)) |
84 | * Each physical page in the system has a struct page associated with | 85 | #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8) |
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch new file mode 100644 index 00000000..0d3caa40 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | From 77903c01d8c6c5d2544085ba074aceadc1191d21 Mon Sep 17 00:00:00 2001 | ||
2 | From: Ulf Hansson <ulf.hansson@linaro.org> | ||
3 | Date: Thu, 11 Dec 2014 15:12:25 +0100 | ||
4 | Subject: [PATCH 2/2] mmc: sdhci-esdhc-imx: Fixup runtime PM conditions during | ||
5 | ->probe() | ||
6 | |||
7 | By configure runtime PM prior we enable the use of it, we close the gap | ||
8 | for strange and unhandled conditions. Moreover it makes us rely on the | ||
9 | driver core, after finalized ->probe(), to request an inactive device | ||
10 | to become runtime PM idle/suspended, which earlier potentially could | ||
11 | happen already at pm_runtime_set_autosuspend_delay(). | ||
12 | |||
13 | Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> | ||
14 | --- | ||
15 | drivers/mmc/host/sdhci-esdhc-imx.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/drivers/mmc/host/sdhci-esdhc-imx.c b/drivers/mmc/host/sdhci-esdhc-imx.c | ||
19 | index 043866c..10ef824 100644 | ||
20 | --- a/drivers/mmc/host/sdhci-esdhc-imx.c | ||
21 | +++ b/drivers/mmc/host/sdhci-esdhc-imx.c | ||
22 | @@ -1080,10 +1080,10 @@ static int sdhci_esdhc_imx_probe(struct platform_device *pdev) | ||
23 | goto disable_clk; | ||
24 | |||
25 | pm_runtime_set_active(&pdev->dev); | ||
26 | - pm_runtime_enable(&pdev->dev); | ||
27 | pm_runtime_set_autosuspend_delay(&pdev->dev, 50); | ||
28 | pm_runtime_use_autosuspend(&pdev->dev); | ||
29 | pm_suspend_ignore_children(&pdev->dev, 1); | ||
30 | + pm_runtime_enable(&pdev->dev); | ||
31 | |||
32 | return 0; | ||
33 | |||
34 | -- | ||
35 | 1.9.3 | ||
36 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch new file mode 100644 index 00000000..5e5721cf --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch | |||
@@ -0,0 +1,100 @@ | |||
1 | From a2fe37b69d4fe369c284d50927193fed81c238a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Fabio Estevam <fabio.estevam@freescale.com> | ||
3 | Date: Fri, 13 Mar 2015 14:07:54 -0300 | ||
4 | Subject: [PATCH] Revert "net: fec: fix the warning found by dma debug" | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | This reverts commit 2b995f63987013bacde99168218f9c7b252bdcf1. | ||
10 | |||
11 | ????? ?????? reported the following regression: | ||
12 | |||
13 | "Commit 2b995f63987013bacde99168218f9c7b252bdcf1 in 4.0.0-rc3 introduces a | ||
14 | nasty bug in transmit, corrupting packets. | ||
15 | |||
16 | To reproduce: | ||
17 | |||
18 | $ dd if=/dev/zero of=zeros bs=1M count=20 | ||
19 | $ md5sum -b zeros | ||
20 | 8f4e33f3dc3e414ff94e5fb6905cba8c *zeros | ||
21 | |||
22 | This checksum is correct. | ||
23 | |||
24 | Copy file "zeros" to another host with NFS, and it gets corrupted, checksum is | ||
25 | changed. | ||
26 | File should be big, small amounts of transmit isn't affected. | ||
27 | |||
28 | I use an i.MX6 Quad board. | ||
29 | |||
30 | If this commit is reverted, all works fine." | ||
31 | |||
32 | Reported-by: ????? ?????? <rockford@yandex.ru> | ||
33 | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> | ||
34 | Signed-off-by: David S. Miller <davem@davemloft.net> | ||
35 | --- | ||
36 | drivers/net/ethernet/freescale/fec_main.c | 34 ++++++++++--------------------- | ||
37 | 1 file changed, 11 insertions(+), 23 deletions(-) | ||
38 | |||
39 | diff --git a/drivers/net/ethernet/freescale/fec_main.c b/drivers/net/ethernet/freescale/fec_main.c | ||
40 | index 787db50..78e1ce0 100644 | ||
41 | --- a/drivers/net/ethernet/freescale/fec_main.c | ||
42 | +++ b/drivers/net/ethernet/freescale/fec_main.c | ||
43 | @@ -1189,13 +1189,12 @@ static void | ||
44 | fec_enet_tx_queue(struct net_device *ndev, u16 queue_id) | ||
45 | { | ||
46 | struct fec_enet_private *fep; | ||
47 | - struct bufdesc *bdp, *bdp_t; | ||
48 | + struct bufdesc *bdp; | ||
49 | unsigned short status; | ||
50 | struct sk_buff *skb; | ||
51 | struct fec_enet_priv_tx_q *txq; | ||
52 | struct netdev_queue *nq; | ||
53 | int index = 0; | ||
54 | - int i, bdnum; | ||
55 | int entries_free; | ||
56 | |||
57 | fep = netdev_priv(ndev); | ||
58 | @@ -1216,29 +1215,18 @@ fec_enet_tx_queue(struct net_device *ndev, u16 queue_id) | ||
59 | if (bdp == txq->cur_tx) | ||
60 | break; | ||
61 | |||
62 | - bdp_t = bdp; | ||
63 | - bdnum = 1; | ||
64 | - index = fec_enet_get_bd_index(txq->tx_bd_base, bdp_t, fep); | ||
65 | - skb = txq->tx_skbuff[index]; | ||
66 | - while (!skb) { | ||
67 | - bdp_t = fec_enet_get_nextdesc(bdp_t, fep, queue_id); | ||
68 | - index = fec_enet_get_bd_index(txq->tx_bd_base, bdp_t, fep); | ||
69 | - skb = txq->tx_skbuff[index]; | ||
70 | - bdnum++; | ||
71 | - } | ||
72 | - if (skb_shinfo(skb)->nr_frags && | ||
73 | - (status = bdp_t->cbd_sc) & BD_ENET_TX_READY) | ||
74 | - break; | ||
75 | + index = fec_enet_get_bd_index(txq->tx_bd_base, bdp, fep); | ||
76 | |||
77 | - for (i = 0; i < bdnum; i++) { | ||
78 | - if (!IS_TSO_HEADER(txq, bdp->cbd_bufaddr)) | ||
79 | - dma_unmap_single(&fep->pdev->dev, bdp->cbd_bufaddr, | ||
80 | - bdp->cbd_datlen, DMA_TO_DEVICE); | ||
81 | - bdp->cbd_bufaddr = 0; | ||
82 | - if (i < bdnum - 1) | ||
83 | - bdp = fec_enet_get_nextdesc(bdp, fep, queue_id); | ||
84 | - } | ||
85 | + skb = txq->tx_skbuff[index]; | ||
86 | txq->tx_skbuff[index] = NULL; | ||
87 | + if (!IS_TSO_HEADER(txq, bdp->cbd_bufaddr)) | ||
88 | + dma_unmap_single(&fep->pdev->dev, bdp->cbd_bufaddr, | ||
89 | + bdp->cbd_datlen, DMA_TO_DEVICE); | ||
90 | + bdp->cbd_bufaddr = 0; | ||
91 | + if (!skb) { | ||
92 | + bdp = fec_enet_get_nextdesc(bdp, fep, queue_id); | ||
93 | + continue; | ||
94 | + } | ||
95 | |||
96 | /* Check for errors. */ | ||
97 | if (status & (BD_ENET_TX_HB | BD_ENET_TX_LC | | ||
98 | -- | ||
99 | 1.9.3 | ||
100 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/mx6/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/mx6/defconfig index eb0b6ae2..30aabbd3 100644 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.10.31/mx6/defconfig +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/mx6/defconfig | |||
@@ -1,14 +1,14 @@ | |||
1 | CONFIG_LOCALVERSION="-1.0.0_ga" | ||
1 | CONFIG_KERNEL_LZO=y | 2 | CONFIG_KERNEL_LZO=y |
2 | CONFIG_SYSVIPC=y | 3 | CONFIG_SYSVIPC=y |
3 | CONFIG_NO_HZ=y | 4 | CONFIG_NO_HZ=y |
4 | CONFIG_HIGH_RES_TIMERS=y | 5 | CONFIG_HIGH_RES_TIMERS=y |
5 | CONFIG_IKCONFIG=y | ||
6 | CONFIG_IKCONFIG_PROC=y | ||
7 | CONFIG_LOG_BUF_SHIFT=18 | 6 | CONFIG_LOG_BUF_SHIFT=18 |
8 | CONFIG_CGROUPS=y | 7 | CONFIG_CGROUPS=y |
9 | CONFIG_RELAY=y | 8 | CONFIG_RELAY=y |
10 | CONFIG_BLK_DEV_INITRD=y | 9 | CONFIG_BLK_DEV_INITRD=y |
11 | CONFIG_EXPERT=y | 10 | CONFIG_EXPERT=y |
11 | CONFIG_KALLSYMS_ALL=y | ||
12 | CONFIG_PERF_EVENTS=y | 12 | CONFIG_PERF_EVENTS=y |
13 | # CONFIG_SLUB_DEBUG is not set | 13 | # CONFIG_SLUB_DEBUG is not set |
14 | # CONFIG_COMPAT_BRK is not set | 14 | # CONFIG_COMPAT_BRK is not set |
@@ -19,9 +19,9 @@ CONFIG_MODULE_SRCVERSION_ALL=y | |||
19 | # CONFIG_BLK_DEV_BSG is not set | 19 | # CONFIG_BLK_DEV_BSG is not set |
20 | CONFIG_GPIO_PCA953X=y | 20 | CONFIG_GPIO_PCA953X=y |
21 | CONFIG_ARCH_MXC=y | 21 | CONFIG_ARCH_MXC=y |
22 | CONFIG_MXC_DEBUG_BOARD=y | ||
23 | CONFIG_MACH_IMX51_DT=y | 22 | CONFIG_MACH_IMX51_DT=y |
24 | CONFIG_MACH_EUKREA_CPUIMX51SD=y | 23 | CONFIG_MACH_EUKREA_CPUIMX51SD=y |
24 | CONFIG_SOC_IMX50=y | ||
25 | CONFIG_SOC_IMX53=y | 25 | CONFIG_SOC_IMX53=y |
26 | CONFIG_SOC_IMX6Q=y | 26 | CONFIG_SOC_IMX6Q=y |
27 | CONFIG_SOC_IMX6SL=y | 27 | CONFIG_SOC_IMX6SL=y |
@@ -32,12 +32,16 @@ CONFIG_SMP=y | |||
32 | CONFIG_VMSPLIT_2G=y | 32 | CONFIG_VMSPLIT_2G=y |
33 | CONFIG_PREEMPT_RT_FULL=y | 33 | CONFIG_PREEMPT_RT_FULL=y |
34 | CONFIG_AEABI=y | 34 | CONFIG_AEABI=y |
35 | # CONFIG_OABI_COMPAT is not set | ||
36 | CONFIG_HIGHMEM=y | 35 | CONFIG_HIGHMEM=y |
36 | CONFIG_CMA=y | ||
37 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | 37 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" |
38 | CONFIG_CPU_FREQ=y | 38 | CONFIG_CPU_FREQ=y |
39 | # CONFIG_CPU_FREQ_STAT is not set | 39 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y |
40 | CONFIG_ARM_IMX6_CPUFREQ=y | 40 | CONFIG_CPU_FREQ_GOV_USERSPACE=y |
41 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
42 | CONFIG_CPU_FREQ_GOV_INTERACTIVE=y | ||
43 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
44 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
41 | CONFIG_CPU_IDLE=y | 45 | CONFIG_CPU_IDLE=y |
42 | CONFIG_VFP=y | 46 | CONFIG_VFP=y |
43 | CONFIG_NEON=y | 47 | CONFIG_NEON=y |
@@ -62,13 +66,27 @@ CONFIG_LLC2=y | |||
62 | CONFIG_CAN=y | 66 | CONFIG_CAN=y |
63 | CONFIG_CAN_FLEXCAN=y | 67 | CONFIG_CAN_FLEXCAN=y |
64 | CONFIG_CAN_M_CAN=y | 68 | CONFIG_CAN_M_CAN=y |
69 | CONFIG_BT=y | ||
70 | CONFIG_BT_RFCOMM=y | ||
71 | CONFIG_BT_RFCOMM_TTY=y | ||
72 | CONFIG_BT_BNEP=y | ||
73 | CONFIG_BT_BNEP_MC_FILTER=y | ||
74 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
75 | CONFIG_BT_HIDP=y | ||
76 | CONFIG_BT_HCIBTUSB=y | ||
77 | CONFIG_BT_HCIBTSDIO=y | ||
78 | CONFIG_BT_HCIUART=y | ||
79 | CONFIG_BT_HCIUART_H4=y | ||
80 | CONFIG_BT_HCIUART_BCSP=y | ||
81 | CONFIG_BT_HCIUART_ATH3K=y | ||
82 | CONFIG_BT_HCIBCM203X=y | ||
83 | CONFIG_BT_ATH3K=y | ||
65 | CONFIG_CFG80211=y | 84 | CONFIG_CFG80211=y |
66 | CONFIG_CFG80211_WEXT=y | ||
67 | CONFIG_MAC80211=y | 85 | CONFIG_MAC80211=y |
68 | CONFIG_DEVTMPFS=y | 86 | CONFIG_DEVTMPFS=y |
69 | CONFIG_DEVTMPFS_MOUNT=y | 87 | CONFIG_DEVTMPFS_MOUNT=y |
70 | # CONFIG_STANDALONE is not set | 88 | # CONFIG_STANDALONE is not set |
71 | CONFIG_CMA=y | 89 | CONFIG_DMA_CMA=y |
72 | CONFIG_CMA_SIZE_MBYTES=320 | 90 | CONFIG_CMA_SIZE_MBYTES=320 |
73 | CONFIG_IMX_WEIM=y | 91 | CONFIG_IMX_WEIM=y |
74 | CONFIG_CONNECTOR=y | 92 | CONFIG_CONNECTOR=y |
@@ -87,7 +105,7 @@ CONFIG_MTD_SST25L=y | |||
87 | CONFIG_MTD_NAND=y | 105 | CONFIG_MTD_NAND=y |
88 | CONFIG_MTD_NAND_GPMI_NAND=y | 106 | CONFIG_MTD_NAND_GPMI_NAND=y |
89 | CONFIG_MTD_NAND_MXC=y | 107 | CONFIG_MTD_NAND_MXC=y |
90 | CONFIG_MTD_SPI_NOR_BASE=y | 108 | CONFIG_MTD_SPI_NOR=y |
91 | CONFIG_SPI_FSL_QUADSPI=y | 109 | CONFIG_SPI_FSL_QUADSPI=y |
92 | CONFIG_MTD_UBI=y | 110 | CONFIG_MTD_UBI=y |
93 | CONFIG_BLK_DEV_LOOP=y | 111 | CONFIG_BLK_DEV_LOOP=y |
@@ -121,9 +139,15 @@ CONFIG_SMC91X=y | |||
121 | CONFIG_SMC911X=y | 139 | CONFIG_SMC911X=y |
122 | CONFIG_SMSC911X=y | 140 | CONFIG_SMSC911X=y |
123 | # CONFIG_NET_VENDOR_STMICRO is not set | 141 | # CONFIG_NET_VENDOR_STMICRO is not set |
142 | CONFIG_USB_PEGASUS=m | ||
143 | CONFIG_USB_RTL8150=m | ||
144 | CONFIG_USB_RTL8152=m | ||
145 | CONFIG_USB_USBNET=m | ||
146 | CONFIG_USB_NET_CDC_EEM=m | ||
124 | CONFIG_ATH_CARDS=y | 147 | CONFIG_ATH_CARDS=y |
125 | CONFIG_ATH6KL=m | 148 | CONFIG_ATH6KL=m |
126 | CONFIG_ATH6KL_SDIO=m | 149 | CONFIG_ATH6KL_SDIO=m |
150 | CONFIG_BRCMFMAC=m | ||
127 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | 151 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set |
128 | CONFIG_INPUT_EVDEV=y | 152 | CONFIG_INPUT_EVDEV=y |
129 | CONFIG_INPUT_EVBUG=m | 153 | CONFIG_INPUT_EVBUG=m |
@@ -137,11 +161,12 @@ CONFIG_TOUCHSCREEN_EGALAX=y | |||
137 | CONFIG_TOUCHSCREEN_ELAN=y | 161 | CONFIG_TOUCHSCREEN_ELAN=y |
138 | CONFIG_TOUCHSCREEN_MAX11801=y | 162 | CONFIG_TOUCHSCREEN_MAX11801=y |
139 | CONFIG_TOUCHSCREEN_MC13783=y | 163 | CONFIG_TOUCHSCREEN_MC13783=y |
164 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
165 | CONFIG_TOUCHSCREEN_STMPE=y | ||
140 | CONFIG_INPUT_MISC=y | 166 | CONFIG_INPUT_MISC=y |
141 | CONFIG_INPUT_MMA8450=y | 167 | CONFIG_INPUT_MMA8450=y |
142 | CONFIG_INPUT_ISL29023=y | 168 | CONFIG_INPUT_ISL29023=y |
143 | CONFIG_SERIO_SERPORT=m | 169 | CONFIG_SERIO_SERPORT=m |
144 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
145 | # CONFIG_LEGACY_PTYS is not set | 170 | # CONFIG_LEGACY_PTYS is not set |
146 | # CONFIG_DEVKMEM is not set | 171 | # CONFIG_DEVKMEM is not set |
147 | CONFIG_SERIAL_IMX=y | 172 | CONFIG_SERIAL_IMX=y |
@@ -149,7 +174,6 @@ CONFIG_SERIAL_IMX_CONSOLE=y | |||
149 | CONFIG_SERIAL_FSL_LPUART=y | 174 | CONFIG_SERIAL_FSL_LPUART=y |
150 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | 175 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y |
151 | CONFIG_FSL_OTP=y | 176 | CONFIG_FSL_OTP=y |
152 | CONFIG_MXS_VIIM=y | ||
153 | # CONFIG_I2C_COMPAT is not set | 177 | # CONFIG_I2C_COMPAT is not set |
154 | CONFIG_I2C_CHARDEV=y | 178 | CONFIG_I2C_CHARDEV=y |
155 | # CONFIG_I2C_HELPER_AUTO is not set | 179 | # CONFIG_I2C_HELPER_AUTO is not set |
@@ -159,10 +183,8 @@ CONFIG_I2C_IMX=y | |||
159 | CONFIG_SPI=y | 183 | CONFIG_SPI=y |
160 | CONFIG_SPI_IMX=y | 184 | CONFIG_SPI_IMX=y |
161 | CONFIG_GPIO_SYSFS=y | 185 | CONFIG_GPIO_SYSFS=y |
162 | CONFIG_GPIO_MAX732X=y | ||
163 | CONFIG_POWER_SUPPLY=y | 186 | CONFIG_POWER_SUPPLY=y |
164 | CONFIG_SABRESD_MAX8903=y | 187 | CONFIG_SABRESD_MAX8903=y |
165 | CONFIG_IMX6_USB_CHARGER=y | ||
166 | CONFIG_SENSORS_MAX17135=y | 188 | CONFIG_SENSORS_MAX17135=y |
167 | CONFIG_SENSORS_MAG3110=y | 189 | CONFIG_SENSORS_MAG3110=y |
168 | CONFIG_THERMAL=y | 190 | CONFIG_THERMAL=y |
@@ -176,34 +198,39 @@ CONFIG_MFD_MC13XXX_SPI=y | |||
176 | CONFIG_MFD_MC13XXX_I2C=y | 198 | CONFIG_MFD_MC13XXX_I2C=y |
177 | CONFIG_MFD_MAX17135=y | 199 | CONFIG_MFD_MAX17135=y |
178 | CONFIG_MFD_SI476X_CORE=y | 200 | CONFIG_MFD_SI476X_CORE=y |
201 | CONFIG_MFD_STMPE=y | ||
179 | CONFIG_REGULATOR=y | 202 | CONFIG_REGULATOR=y |
180 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | 203 | CONFIG_REGULATOR_FIXED_VOLTAGE=y |
181 | CONFIG_REGULATOR_DA9052=y | ||
182 | CONFIG_REGULATOR_ANATOP=y | 204 | CONFIG_REGULATOR_ANATOP=y |
205 | CONFIG_REGULATOR_DA9052=y | ||
206 | CONFIG_REGULATOR_MAX17135=y | ||
183 | CONFIG_REGULATOR_MC13783=y | 207 | CONFIG_REGULATOR_MC13783=y |
184 | CONFIG_REGULATOR_MC13892=y | 208 | CONFIG_REGULATOR_MC13892=y |
185 | CONFIG_REGULATOR_MAX17135=y | ||
186 | CONFIG_REGULATOR_PFUZE100=y | 209 | CONFIG_REGULATOR_PFUZE100=y |
187 | CONFIG_MEDIA_SUPPORT=y | 210 | CONFIG_MEDIA_SUPPORT=y |
188 | CONFIG_MEDIA_CAMERA_SUPPORT=y | 211 | CONFIG_MEDIA_CAMERA_SUPPORT=y |
189 | CONFIG_MEDIA_RADIO_SUPPORT=y | 212 | CONFIG_MEDIA_RADIO_SUPPORT=y |
190 | CONFIG_VIDEO_V4L2_INT_DEVICE=y | 213 | CONFIG_MEDIA_RC_SUPPORT=y |
214 | CONFIG_RC_DEVICES=y | ||
215 | CONFIG_IR_GPIO_CIR=y | ||
191 | CONFIG_MEDIA_USB_SUPPORT=y | 216 | CONFIG_MEDIA_USB_SUPPORT=y |
192 | CONFIG_USB_VIDEO_CLASS=m | 217 | CONFIG_USB_VIDEO_CLASS=m |
193 | CONFIG_V4L_PLATFORM_DRIVERS=y | 218 | CONFIG_V4L_PLATFORM_DRIVERS=y |
194 | CONFIG_VIDEO_MXC_OUTPUT=y | 219 | CONFIG_VIDEO_MXC_OUTPUT=y |
195 | CONFIG_VIDEO_MXC_CAPTURE=m | 220 | CONFIG_VIDEO_MXC_CAPTURE=m |
196 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
197 | CONFIG_MXC_CAMERA_OV5640=m | 221 | CONFIG_MXC_CAMERA_OV5640=m |
198 | CONFIG_MXC_CAMERA_OV5642=m | 222 | CONFIG_MXC_CAMERA_OV5642=m |
199 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | 223 | CONFIG_MXC_CAMERA_OV5640_MIPI=m |
200 | CONFIG_MXC_TVIN_ADV7180=m | 224 | CONFIG_MXC_TVIN_ADV7180=m |
201 | CONFIG_MXC_VADC=m | ||
202 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | 225 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m |
203 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | 226 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y |
204 | CONFIG_VIDEO_MXC_PXP_V4L2=y | 227 | CONFIG_VIDEO_MXC_PXP_V4L2=y |
228 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
229 | CONFIG_MXC_VADC=m | ||
205 | CONFIG_SOC_CAMERA=y | 230 | CONFIG_SOC_CAMERA=y |
206 | CONFIG_VIDEO_MX3=y | 231 | CONFIG_VIDEO_MX3=y |
232 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
233 | CONFIG_VIDEO_CODA=y | ||
207 | CONFIG_RADIO_SI476X=y | 234 | CONFIG_RADIO_SI476X=y |
208 | CONFIG_SOC_CAMERA_OV2640=y | 235 | CONFIG_SOC_CAMERA_OV2640=y |
209 | CONFIG_DRM=y | 236 | CONFIG_DRM=y |
@@ -227,9 +254,6 @@ CONFIG_FB_MXC_DCIC=m | |||
227 | CONFIG_HANNSTAR_CABC=y | 254 | CONFIG_HANNSTAR_CABC=y |
228 | CONFIG_FRAMEBUFFER_CONSOLE=y | 255 | CONFIG_FRAMEBUFFER_CONSOLE=y |
229 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | 256 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y |
230 | CONFIG_FONTS=y | ||
231 | CONFIG_FONT_8x8=y | ||
232 | CONFIG_FONT_8x16=y | ||
233 | CONFIG_LOGO=y | 257 | CONFIG_LOGO=y |
234 | CONFIG_SOUND=y | 258 | CONFIG_SOUND=y |
235 | CONFIG_SND=y | 259 | CONFIG_SND=y |
@@ -240,23 +264,43 @@ CONFIG_SND_SOC_EUKREA_TLV320=y | |||
240 | CONFIG_SND_SOC_IMX_CS42888=y | 264 | CONFIG_SND_SOC_IMX_CS42888=y |
241 | CONFIG_SND_SOC_IMX_WM8962=y | 265 | CONFIG_SND_SOC_IMX_WM8962=y |
242 | CONFIG_SND_SOC_IMX_SGTL5000=y | 266 | CONFIG_SND_SOC_IMX_SGTL5000=y |
267 | CONFIG_SND_SOC_IMX_MQS=y | ||
243 | CONFIG_SND_SOC_IMX_SPDIF=y | 268 | CONFIG_SND_SOC_IMX_SPDIF=y |
244 | CONFIG_SND_SOC_IMX_MC13783=y | 269 | CONFIG_SND_SOC_IMX_MC13783=y |
245 | CONFIG_SND_SOC_IMX_HDMI=y | 270 | CONFIG_SND_SOC_IMX_HDMI=y |
246 | CONFIG_SND_SOC_IMX_SI476X=y | 271 | CONFIG_SND_SOC_IMX_SI476X=y |
247 | CONFIG_SND_SOC_CS42XX8_I2C=y | ||
248 | CONFIG_USB=y | 272 | CONFIG_USB=y |
249 | CONFIG_USB_EHCI_HCD=y | 273 | CONFIG_USB_EHCI_HCD=y |
274 | CONFIG_USB_EHCI_MXC=y | ||
275 | CONFIG_USB_ACM=m | ||
250 | CONFIG_USB_STORAGE=y | 276 | CONFIG_USB_STORAGE=y |
251 | CONFIG_USB_CHIPIDEA=y | 277 | CONFIG_USB_CHIPIDEA=y |
252 | CONFIG_USB_CHIPIDEA_UDC=y | 278 | CONFIG_USB_CHIPIDEA_UDC=y |
253 | CONFIG_USB_CHIPIDEA_HOST=y | 279 | CONFIG_USB_CHIPIDEA_HOST=y |
280 | CONFIG_USB_SERIAL=m | ||
281 | CONFIG_USB_SERIAL_GENERIC=y | ||
282 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
283 | CONFIG_USB_SERIAL_OPTION=m | ||
284 | CONFIG_USB_EHSET_TEST_FIXTURE=m | ||
254 | CONFIG_NOP_USB_XCEIV=y | 285 | CONFIG_NOP_USB_XCEIV=y |
255 | CONFIG_USB_MXS_PHY=y | 286 | CONFIG_USB_MXS_PHY=y |
256 | CONFIG_USB_GADGET=y | 287 | CONFIG_USB_GADGET=y |
288 | CONFIG_USB_CONFIGFS=m | ||
289 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
290 | CONFIG_USB_CONFIGFS_ACM=y | ||
291 | CONFIG_USB_CONFIGFS_OBEX=y | ||
292 | CONFIG_USB_CONFIGFS_NCM=y | ||
293 | CONFIG_USB_CONFIGFS_ECM=y | ||
294 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
295 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
296 | CONFIG_USB_CONFIGFS_EEM=y | ||
297 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
298 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
299 | CONFIG_USB_CONFIGFS_F_FS=y | ||
257 | CONFIG_USB_ZERO=m | 300 | CONFIG_USB_ZERO=m |
258 | CONFIG_USB_ETH=m | 301 | CONFIG_USB_ETH=m |
259 | CONFIG_USB_G_NCM=m | 302 | CONFIG_USB_G_NCM=m |
303 | CONFIG_USB_GADGETFS=m | ||
260 | CONFIG_USB_MASS_STORAGE=m | 304 | CONFIG_USB_MASS_STORAGE=m |
261 | CONFIG_USB_G_SERIAL=m | 305 | CONFIG_USB_G_SERIAL=m |
262 | CONFIG_MMC=y | 306 | CONFIG_MMC=y |
@@ -266,13 +310,16 @@ CONFIG_MMC_SDHCI_PLTFM=y | |||
266 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | 310 | CONFIG_MMC_SDHCI_ESDHC_IMX=y |
267 | CONFIG_MXC_IPU=y | 311 | CONFIG_MXC_IPU=y |
268 | CONFIG_MXC_GPU_VIV=y | 312 | CONFIG_MXC_GPU_VIV=y |
269 | CONFIG_MXC_ASRC=y | ||
270 | CONFIG_MXC_MIPI_CSI2=y | 313 | CONFIG_MXC_MIPI_CSI2=y |
271 | CONFIG_MXC_MLB150=m | 314 | CONFIG_MXC_MLB150=m |
272 | CONFIG_NEW_LEDS=y | 315 | CONFIG_NEW_LEDS=y |
273 | CONFIG_LEDS_CLASS=y | 316 | CONFIG_LEDS_CLASS=y |
274 | CONFIG_LEDS_GPIO=y | 317 | CONFIG_LEDS_GPIO=y |
275 | CONFIG_LEDS_TRIGGERS=y | 318 | CONFIG_LEDS_TRIGGERS=y |
319 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
320 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
321 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
322 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
276 | CONFIG_LEDS_TRIGGER_GPIO=y | 323 | CONFIG_LEDS_TRIGGER_GPIO=y |
277 | CONFIG_RTC_CLASS=y | 324 | CONFIG_RTC_CLASS=y |
278 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | 325 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y |
@@ -284,7 +331,7 @@ CONFIG_MXC_PXP_V2=y | |||
284 | CONFIG_IMX_SDMA=y | 331 | CONFIG_IMX_SDMA=y |
285 | CONFIG_MXS_DMA=y | 332 | CONFIG_MXS_DMA=y |
286 | CONFIG_STAGING=y | 333 | CONFIG_STAGING=y |
287 | CONFIG_COMMON_CLK_DEBUG=y | 334 | CONFIG_STAGING_MEDIA=y |
288 | # CONFIG_IOMMU_SUPPORT is not set | 335 | # CONFIG_IOMMU_SUPPORT is not set |
289 | CONFIG_IIO=y | 336 | CONFIG_IIO=y |
290 | CONFIG_VF610_ADC=y | 337 | CONFIG_VF610_ADC=y |
@@ -324,6 +371,7 @@ CONFIG_NLS_ASCII=y | |||
324 | CONFIG_NLS_ISO8859_1=y | 371 | CONFIG_NLS_ISO8859_1=y |
325 | CONFIG_NLS_ISO8859_15=m | 372 | CONFIG_NLS_ISO8859_15=m |
326 | CONFIG_NLS_UTF8=y | 373 | CONFIG_NLS_UTF8=y |
374 | CONFIG_DEBUG_FS=y | ||
327 | CONFIG_MAGIC_SYSRQ=y | 375 | CONFIG_MAGIC_SYSRQ=y |
328 | # CONFIG_SCHED_DEBUG is not set | 376 | # CONFIG_SCHED_DEBUG is not set |
329 | # CONFIG_DEBUG_BUGVERBOSE is not set | 377 | # CONFIG_DEBUG_BUGVERBOSE is not set |
@@ -331,11 +379,9 @@ CONFIG_MAGIC_SYSRQ=y | |||
331 | CONFIG_SECURITYFS=y | 379 | CONFIG_SECURITYFS=y |
332 | CONFIG_CRYPTO_USER=y | 380 | CONFIG_CRYPTO_USER=y |
333 | CONFIG_CRYPTO_TEST=m | 381 | CONFIG_CRYPTO_TEST=m |
334 | CONFIG_CRYPTO_CCM=y | ||
335 | CONFIG_CRYPTO_GCM=y | 382 | CONFIG_CRYPTO_GCM=y |
336 | CONFIG_CRYPTO_CBC=y | 383 | CONFIG_CRYPTO_CBC=y |
337 | CONFIG_CRYPTO_CTS=y | 384 | CONFIG_CRYPTO_CTS=y |
338 | CONFIG_CRYPTO_ECB=y | ||
339 | CONFIG_CRYPTO_LRW=y | 385 | CONFIG_CRYPTO_LRW=y |
340 | CONFIG_CRYPTO_XTS=y | 386 | CONFIG_CRYPTO_XTS=y |
341 | CONFIG_CRYPTO_MD4=y | 387 | CONFIG_CRYPTO_MD4=y |
@@ -346,7 +392,6 @@ CONFIG_CRYPTO_RMD160=y | |||
346 | CONFIG_CRYPTO_RMD256=y | 392 | CONFIG_CRYPTO_RMD256=y |
347 | CONFIG_CRYPTO_RMD320=y | 393 | CONFIG_CRYPTO_RMD320=y |
348 | CONFIG_CRYPTO_SHA1=y | 394 | CONFIG_CRYPTO_SHA1=y |
349 | CONFIG_CRYPTO_SHA256=y | ||
350 | CONFIG_CRYPTO_SHA512=y | 395 | CONFIG_CRYPTO_SHA512=y |
351 | CONFIG_CRYPTO_TGR192=y | 396 | CONFIG_CRYPTO_TGR192=y |
352 | CONFIG_CRYPTO_WP512=y | 397 | CONFIG_CRYPTO_WP512=y |
@@ -363,3 +408,6 @@ CONFIG_CRC_CCITT=m | |||
363 | CONFIG_CRC_T10DIF=y | 408 | CONFIG_CRC_T10DIF=y |
364 | CONFIG_CRC7=m | 409 | CONFIG_CRC7=m |
365 | CONFIG_LIBCRC32C=m | 410 | CONFIG_LIBCRC32C=m |
411 | CONFIG_FONTS=y | ||
412 | CONFIG_FONT_8x8=y | ||
413 | CONFIG_FONT_8x16=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.10.31.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.10.31.bb deleted file mode 100644 index 7724b7b4..00000000 --- a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.10.31.bb +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | # Adapted from linux-imx_3.10.31.bb | ||
2 | |||
3 | SUMMARY = "Linux real-time kernel based on linux-imx" | ||
4 | DESCRIPTION = "Linux kernel that is based on Freescale's linux-imx, \ | ||
5 | with added real-time capabilities." | ||
6 | |||
7 | require recipes-kernel/linux/linux-imx.inc | ||
8 | require recipes-kernel/linux/linux-dtb.inc | ||
9 | |||
10 | DEPENDS += "lzop-native bc-native" | ||
11 | |||
12 | SRCBRANCH = "imx_3.10.31_1.1.0_beta2" | ||
13 | SRCREV = "30ad12bdf93050a5bae1345bd40dba5f2d63f70f" | ||
14 | LOCALVERSION = "-1.1.0_beta2" | ||
15 | |||
16 | SRC_URI += "\ | ||
17 | file://0001-ARM-clk-imx6q-fix-video-divider-for-revision-1.0-of-.patch \ | ||
18 | https://www.kernel.org/pub/linux/kernel/projects/rt/3.10/older/patch-3.10.27-rt25.patch.gz;name=rt-patch1 \ | ||
19 | file://0001-fix-build.patch \ | ||
20 | file://0002-fix-build-with-rt-enabled.patch \ | ||
21 | file://0003-no-split-ptlocks.patch \ | ||
22 | " | ||
23 | |||
24 | SRC_URI[rt-patch1.md5sum] = "aa231425f2a43220b5e8dbb057c7e5f9" | ||
25 | SRC_URI[rt-patch1.sha256sum] = "5fbee5cdf260db9b7751651ab141fb59f46d68c7aecfc32e81a2b5d702f47aac" | ||
26 | |||
27 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.14.28.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.14.28.bb new file mode 100644 index 00000000..f5cb5806 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt_3.14.28.bb | |||
@@ -0,0 +1,31 @@ | |||
1 | # Adapted from linux-imx_3.14.28.bb | ||
2 | |||
3 | SUMMARY = "Linux real-time kernel based on linux-imx" | ||
4 | DESCRIPTION = "Linux kernel that is based on Freescale's linux-imx, \ | ||
5 | with added real-time capabilities." | ||
6 | |||
7 | require recipes-kernel/linux/linux-imx.inc | ||
8 | require recipes-kernel/linux/linux-dtb.inc | ||
9 | |||
10 | DEPENDS += "lzop-native bc-native" | ||
11 | |||
12 | SRCBRANCH = "imx_3.14.28_1.0.0_ga" | ||
13 | SRCREV = "91cf351a2afc17ac4a260e4d2ad1e32d00925a1b" | ||
14 | LOCALVERSION = "-1.0.0_ga" | ||
15 | |||
16 | SRC_URI += "\ | ||
17 | file://0001-ARM-imx6q-drop-unnecessary-semicolon.patch \ | ||
18 | file://0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch \ | ||
19 | file://0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch \ | ||
20 | file://0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch \ | ||
21 | file://0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch \ | ||
22 | https://www.kernel.org/pub/linux/kernel/projects/rt/3.14/older/patch-3.14.28-rt25.patch.gz;name=rt-patch1 \ | ||
23 | file://0001-fix-build.patch \ | ||
24 | file://0002-fix-build-with-rt-enabled.patch \ | ||
25 | file://0003-no-split-ptlocks.patch \ | ||
26 | " | ||
27 | |||
28 | SRC_URI[rt-patch1.md5sum] = "28bfd1e14ccab1ea1fb48f56f982d80c" | ||
29 | SRC_URI[rt-patch1.sha256sum] = "4c9bd426cf559a99e169208df5535fcb18ec98daec73f148c88859a7c3333e52" | ||
30 | |||
31 | COMPATIBLE_MACHINE = "(mx6)" | ||