summaryrefslogtreecommitdiffstats
path: root/recipes-kernel
diff options
context:
space:
mode:
authorJun Zhu <junzhu@nxp.com>2017-10-10 01:52:23 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2017-10-11 10:28:01 -0300
commit77aba4e0d8584409fd736abd7521c7afb758e59f (patch)
tree7cdcc138132e139769fd179f2ed1e1b466ce9b8b /recipes-kernel
parent1ec623d04e1346a2005dfb42669ede3328a089ca (diff)
downloadmeta-freescale-77aba4e0d8584409fd736abd7521c7afb758e59f.tar.gz
linux-imx: Upgrade kernel to v4.9.11
Signed-off-by: Jun Zhu <junzhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-kernel')
-rw-r--r--recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch28
-rw-r--r--recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch369
-rw-r--r--recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch30
-rw-r--r--recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig (renamed from recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig)56
-rw-r--r--recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb9
-rw-r--r--recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb25
-rw-r--r--recipes-kernel/linux/linux-imx_4.9.11.bb (renamed from recipes-kernel/linux/linux-imx_4.1.15.bb)10
7 files changed, 66 insertions, 461 deletions
diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
deleted file mode 100644
index 4946930f..00000000
--- a/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch
+++ /dev/null
@@ -1,28 +0,0 @@
1From 86e5baf037a03464e56ee1edcebb598c43ffb1f6 Mon Sep 17 00:00:00 2001
2From: Lauren Post <lauren.post@nxp.com>
3Date: Wed, 13 Jul 2016 01:37:31 -0500
4Subject: [PATCH] bcmdhd: dhd_sdio: Fix indent for gcc 6.0 error
5
6Upstream-Status: Pending
7
8Signed-off-by: Lauren Post <lauren.post@nxp.com>
9---
10 drivers/net/wireless/bcmdhd/dhd_sdio.c | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c
14index 8cb8796..09e1f32 100644
15--- a/drivers/net/wireless/bcmdhd/dhd_sdio.c
16+++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c
17@@ -8046,7 +8046,7 @@ dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag)
18 } else
19 bcmerror = BCME_SDIO_ERROR;
20
21- dhd_os_sdunlock(dhdp);
22+ dhd_os_sdunlock(dhdp);
23 } else {
24 bcmerror = BCME_SDIO_ERROR;
25 DHD_INFO(("%s called when dongle is not in reset\n",
26--
271.9.1
28
diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
deleted file mode 100644
index 98f21e2c..00000000
--- a/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch
+++ /dev/null
@@ -1,369 +0,0 @@
1From e9809ecf104f0c584c9c00917037a864e9f2ffba Mon Sep 17 00:00:00 2001
2From: Joe Perches <joe@perches.com>
3Date: Thu, 25 Jun 2015 15:01:02 -0700
4Subject: [PATCH] compiler-gcc: integrate the various compiler-gcc[345].h files
5
6[ Upstream commit cb984d101b30eb7478d32df56a0023e4603cba7f ]
7
8As gcc major version numbers are going to advance rather rapidly in the
9future, there's no real value in separate files for each compiler
10version.
11
12Deduplicate some of the macros #defined in each file too.
13
14Neaten comments using normal kernel commenting style.
15
16Signed-off-by: Joe Perches <joe@perches.com>
17Cc: Andi Kleen <andi@firstfloor.org>
18Cc: Michal Marek <mmarek@suse.cz>
19Cc: Segher Boessenkool <segher@kernel.crashing.org>
20Cc: Sasha Levin <levinsasha928@gmail.com>
21Cc: Anton Blanchard <anton@samba.org>
22Cc: Alan Modra <amodra@gmail.com>
23Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
24Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
25Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
26(cherry picked from commit f320793e52aee78f0fbb8bcaf10e6614d2e67bfc)
27---
28 include/linux/compiler-gcc.h | 120 ++++++++++++++++++++++++++++++++++++++++--
29 include/linux/compiler-gcc3.h | 23 --------
30 include/linux/compiler-gcc4.h | 91 --------------------------------
31 include/linux/compiler-gcc5.h | 67 -----------------------
32 4 files changed, 116 insertions(+), 185 deletions(-)
33 delete mode 100644 include/linux/compiler-gcc3.h
34 delete mode 100644 include/linux/compiler-gcc4.h
35 delete mode 100644 include/linux/compiler-gcc5.h
36
37diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h
38index 371e560..484ef6e 100644
39--- a/include/linux/compiler-gcc.h
40+++ b/include/linux/compiler-gcc.h
41@@ -115,10 +115,122 @@
42 #define __maybe_unused __attribute__((unused))
43 #define __always_unused __attribute__((unused))
44
45-#define __gcc_header(x) #x
46-#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h)
47-#define gcc_header(x) _gcc_header(x)
48-#include gcc_header(__GNUC__)
49+/* gcc version specific checks */
50+
51+#if GCC_VERSION < 30200
52+# error Sorry, your compiler is too old - please upgrade it.
53+#endif
54+
55+#if GCC_VERSION < 30300
56+# define __used __attribute__((__unused__))
57+#else
58+# define __used __attribute__((__used__))
59+#endif
60+
61+#ifdef CONFIG_GCOV_KERNEL
62+# if GCC_VERSION < 30400
63+# error "GCOV profiling support for gcc versions below 3.4 not included"
64+# endif /* __GNUC_MINOR__ */
65+#endif /* CONFIG_GCOV_KERNEL */
66+
67+#if GCC_VERSION >= 30400
68+#define __must_check __attribute__((warn_unused_result))
69+#endif
70+
71+#if GCC_VERSION >= 40000
72+
73+/* GCC 4.1.[01] miscompiles __weak */
74+#ifdef __KERNEL__
75+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
76+# error Your version of gcc miscompiles the __weak directive
77+# endif
78+#endif
79+
80+#define __used __attribute__((__used__))
81+#define __compiler_offsetof(a, b) \
82+ __builtin_offsetof(a, b)
83+
84+#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
85+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
86+#endif
87+
88+#if GCC_VERSION >= 40300
89+/* Mark functions as cold. gcc will assume any path leading to a call
90+ * to them will be unlikely. This means a lot of manual unlikely()s
91+ * are unnecessary now for any paths leading to the usual suspects
92+ * like BUG(), printk(), panic() etc. [but let's keep them for now for
93+ * older compilers]
94+ *
95+ * Early snapshots of gcc 4.3 don't support this and we can't detect this
96+ * in the preprocessor, but we can live with this because they're unreleased.
97+ * Maketime probing would be overkill here.
98+ *
99+ * gcc also has a __attribute__((__hot__)) to move hot functions into
100+ * a special section, but I don't see any sense in this right now in
101+ * the kernel context
102+ */
103+#define __cold __attribute__((__cold__))
104+
105+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
106+
107+#ifndef __CHECKER__
108+# define __compiletime_warning(message) __attribute__((warning(message)))
109+# define __compiletime_error(message) __attribute__((error(message)))
110+#endif /* __CHECKER__ */
111+#endif /* GCC_VERSION >= 40300 */
112+
113+#if GCC_VERSION >= 40500
114+/*
115+ * Mark a position in code as unreachable. This can be used to
116+ * suppress control flow warnings after asm blocks that transfer
117+ * control elsewhere.
118+ *
119+ * Early snapshots of gcc 4.5 don't support this and we can't detect
120+ * this in the preprocessor, but we can live with this because they're
121+ * unreleased. Really, we need to have autoconf for the kernel.
122+ */
123+#define unreachable() __builtin_unreachable()
124+
125+/* Mark a function definition as prohibited from being cloned. */
126+#define __noclone __attribute__((__noclone__))
127+
128+#endif /* GCC_VERSION >= 40500 */
129+
130+#if GCC_VERSION >= 40600
131+/*
132+ * Tell the optimizer that something else uses this function or variable.
133+ */
134+#define __visible __attribute__((externally_visible))
135+#endif
136+
137+/*
138+ * GCC 'asm goto' miscompiles certain code sequences:
139+ *
140+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
141+ *
142+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
143+ *
144+ * (asm goto is automatically volatile - the naming reflects this.)
145+ */
146+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
147+
148+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
149+#if GCC_VERSION >= 40400
150+#define __HAVE_BUILTIN_BSWAP32__
151+#define __HAVE_BUILTIN_BSWAP64__
152+#endif
153+#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
154+#define __HAVE_BUILTIN_BSWAP16__
155+#endif
156+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
157+
158+#if GCC_VERSION >= 50000
159+#define KASAN_ABI_VERSION 4
160+#elif GCC_VERSION >= 40902
161+#define KASAN_ABI_VERSION 3
162+#endif
163+
164+#endif /* gcc version >= 40000 specific checks */
165
166 #if !defined(__noclone)
167 #define __noclone /* not needed */
168diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h
169deleted file mode 100644
170index 7d89feb..0000000
171--- a/include/linux/compiler-gcc3.h
172+++ /dev/null
173@@ -1,23 +0,0 @@
174-#ifndef __LINUX_COMPILER_H
175-#error "Please don't include <linux/compiler-gcc3.h> directly, include <linux/compiler.h> instead."
176-#endif
177-
178-#if GCC_VERSION < 30200
179-# error Sorry, your compiler is too old - please upgrade it.
180-#endif
181-
182-#if GCC_VERSION >= 30300
183-# define __used __attribute__((__used__))
184-#else
185-# define __used __attribute__((__unused__))
186-#endif
187-
188-#if GCC_VERSION >= 30400
189-#define __must_check __attribute__((warn_unused_result))
190-#endif
191-
192-#ifdef CONFIG_GCOV_KERNEL
193-# if GCC_VERSION < 30400
194-# error "GCOV profiling support for gcc versions below 3.4 not included"
195-# endif /* __GNUC_MINOR__ */
196-#endif /* CONFIG_GCOV_KERNEL */
197diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h
198deleted file mode 100644
199index 769e198..0000000
200--- a/include/linux/compiler-gcc4.h
201+++ /dev/null
202@@ -1,91 +0,0 @@
203-#ifndef __LINUX_COMPILER_H
204-#error "Please don't include <linux/compiler-gcc4.h> directly, include <linux/compiler.h> instead."
205-#endif
206-
207-/* GCC 4.1.[01] miscompiles __weak */
208-#ifdef __KERNEL__
209-# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101
210-# error Your version of gcc miscompiles the __weak directive
211-# endif
212-#endif
213-
214-#define __used __attribute__((__used__))
215-#define __must_check __attribute__((warn_unused_result))
216-#define __compiler_offsetof(a,b) __builtin_offsetof(a,b)
217-
218-#if GCC_VERSION >= 40100 && GCC_VERSION < 40600
219-# define __compiletime_object_size(obj) __builtin_object_size(obj, 0)
220-#endif
221-
222-#if GCC_VERSION >= 40300
223-/* Mark functions as cold. gcc will assume any path leading to a call
224- to them will be unlikely. This means a lot of manual unlikely()s
225- are unnecessary now for any paths leading to the usual suspects
226- like BUG(), printk(), panic() etc. [but let's keep them for now for
227- older compilers]
228-
229- Early snapshots of gcc 4.3 don't support this and we can't detect this
230- in the preprocessor, but we can live with this because they're unreleased.
231- Maketime probing would be overkill here.
232-
233- gcc also has a __attribute__((__hot__)) to move hot functions into
234- a special section, but I don't see any sense in this right now in
235- the kernel context */
236-#define __cold __attribute__((__cold__))
237-
238-#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
239-
240-#ifndef __CHECKER__
241-# define __compiletime_warning(message) __attribute__((warning(message)))
242-# define __compiletime_error(message) __attribute__((error(message)))
243-#endif /* __CHECKER__ */
244-#endif /* GCC_VERSION >= 40300 */
245-
246-#if GCC_VERSION >= 40500
247-/*
248- * Mark a position in code as unreachable. This can be used to
249- * suppress control flow warnings after asm blocks that transfer
250- * control elsewhere.
251- *
252- * Early snapshots of gcc 4.5 don't support this and we can't detect
253- * this in the preprocessor, but we can live with this because they're
254- * unreleased. Really, we need to have autoconf for the kernel.
255- */
256-#define unreachable() __builtin_unreachable()
257-
258-/* Mark a function definition as prohibited from being cloned. */
259-#define __noclone __attribute__((__noclone__))
260-
261-#endif /* GCC_VERSION >= 40500 */
262-
263-#if GCC_VERSION >= 40600
264-/*
265- * Tell the optimizer that something else uses this function or variable.
266- */
267-#define __visible __attribute__((externally_visible))
268-#endif
269-
270-/*
271- * GCC 'asm goto' miscompiles certain code sequences:
272- *
273- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
274- *
275- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
276- *
277- * (asm goto is automatically volatile - the naming reflects this.)
278- */
279-#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
280-
281-#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
282-#if GCC_VERSION >= 40400
283-#define __HAVE_BUILTIN_BSWAP32__
284-#define __HAVE_BUILTIN_BSWAP64__
285-#endif
286-#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600)
287-#define __HAVE_BUILTIN_BSWAP16__
288-#endif
289-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
290-
291-#if GCC_VERSION >= 40902
292-#define KASAN_ABI_VERSION 3
293-#endif
294diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
295deleted file mode 100644
296index efee493..0000000
297--- a/include/linux/compiler-gcc5.h
298+++ /dev/null
299@@ -1,67 +0,0 @@
300-#ifndef __LINUX_COMPILER_H
301-#error "Please don't include <linux/compiler-gcc5.h> directly, include <linux/compiler.h> instead."
302-#endif
303-
304-#define __used __attribute__((__used__))
305-#define __must_check __attribute__((warn_unused_result))
306-#define __compiler_offsetof(a, b) __builtin_offsetof(a, b)
307-
308-/* Mark functions as cold. gcc will assume any path leading to a call
309- to them will be unlikely. This means a lot of manual unlikely()s
310- are unnecessary now for any paths leading to the usual suspects
311- like BUG(), printk(), panic() etc. [but let's keep them for now for
312- older compilers]
313-
314- Early snapshots of gcc 4.3 don't support this and we can't detect this
315- in the preprocessor, but we can live with this because they're unreleased.
316- Maketime probing would be overkill here.
317-
318- gcc also has a __attribute__((__hot__)) to move hot functions into
319- a special section, but I don't see any sense in this right now in
320- the kernel context */
321-#define __cold __attribute__((__cold__))
322-
323-#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__)
324-
325-#ifndef __CHECKER__
326-# define __compiletime_warning(message) __attribute__((warning(message)))
327-# define __compiletime_error(message) __attribute__((error(message)))
328-#endif /* __CHECKER__ */
329-
330-/*
331- * Mark a position in code as unreachable. This can be used to
332- * suppress control flow warnings after asm blocks that transfer
333- * control elsewhere.
334- *
335- * Early snapshots of gcc 4.5 don't support this and we can't detect
336- * this in the preprocessor, but we can live with this because they're
337- * unreleased. Really, we need to have autoconf for the kernel.
338- */
339-#define unreachable() __builtin_unreachable()
340-
341-/* Mark a function definition as prohibited from being cloned. */
342-#define __noclone __attribute__((__noclone__))
343-
344-/*
345- * Tell the optimizer that something else uses this function or variable.
346- */
347-#define __visible __attribute__((externally_visible))
348-
349-/*
350- * GCC 'asm goto' miscompiles certain code sequences:
351- *
352- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670
353- *
354- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek.
355- *
356- * (asm goto is automatically volatile - the naming reflects this.)
357- */
358-#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0)
359-
360-#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP
361-#define __HAVE_BUILTIN_BSWAP32__
362-#define __HAVE_BUILTIN_BSWAP64__
363-#define __HAVE_BUILTIN_BSWAP16__
364-#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */
365-
366-#define KASAN_ABI_VERSION 4
367--
3681.9.1
369
diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
deleted file mode 100644
index b48606c1..00000000
--- a/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch
+++ /dev/null
@@ -1,30 +0,0 @@
1From 8d0142efbfcfe4e3998f748496ceba62890c47f0 Mon Sep 17 00:00:00 2001
2From: Lauren Post <lauren.post@nxp.com>
3Date: Wed, 13 Jul 2016 03:07:23 -0500
4Subject: [PATCH] gpu-viv: Fix gcc 6.0 indent warning error in gc_hal_kernel_platform_imx6ql4.c
5
6Upstream-Status: Pending
7
8Signed-off-by: Lauren Post <lauren.post@nxp.com>
9---
10 .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
14index e436ada..d98c2f8 100644
15--- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
16+++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
17@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam(
18
19 Args->gpu3DMinClock = initgpu3DMinClock;
20
21- if(Args->physSize == 0)
22- Args->physSize = 0x80000000;
23+ if(Args->physSize == 0)
24+ Args->physSize = 0x80000000;
25
26 return gcvSTATUS_OK;
27 }
28--
291.9.1
30
diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig b/recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig
index ab4fdd2e..25fbcf67 100644
--- a/recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig
+++ b/recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig
@@ -27,10 +27,10 @@ CONFIG_SOC_IMX6SX=y
27CONFIG_SOC_IMX6ULL=y 27CONFIG_SOC_IMX6ULL=y
28CONFIG_SOC_IMX7D=y 28CONFIG_SOC_IMX7D=y
29CONFIG_SOC_IMX6SLL=y 29CONFIG_SOC_IMX6SLL=y
30CONFIG_SOC_IMX7ULP=y
30CONFIG_SOC_VF610=y 31CONFIG_SOC_VF610=y
31# CONFIG_SWP_EMULATE is not set 32# CONFIG_SWP_EMULATE is not set
32CONFIG_SMP=y 33CONFIG_SMP=y
33CONFIG_HAVE_ARM_ARCH_TIMER=y
34CONFIG_VMSPLIT_2G=y 34CONFIG_VMSPLIT_2G=y
35CONFIG_PREEMPT=y 35CONFIG_PREEMPT=y
36CONFIG_AEABI=y 36CONFIG_AEABI=y
@@ -38,13 +38,15 @@ CONFIG_HIGHMEM=y
38CONFIG_CMA=y 38CONFIG_CMA=y
39CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" 39CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
40CONFIG_CPU_FREQ=y 40CONFIG_CPU_FREQ=y
41CONFIG_CPU_FREQ_STAT=y
41CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y 42CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
42CONFIG_CPU_FREQ_GOV_POWERSAVE=y 43CONFIG_CPU_FREQ_GOV_POWERSAVE=y
43CONFIG_CPU_FREQ_GOV_USERSPACE=y 44CONFIG_CPU_FREQ_GOV_USERSPACE=y
44CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
45CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y 45CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
46CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
46CONFIG_ARM_IMX6Q_CPUFREQ=y 47CONFIG_ARM_IMX6Q_CPUFREQ=y
47CONFIG_ARM_IMX7D_CPUFREQ=y 48CONFIG_ARM_IMX7D_CPUFREQ=y
49CONFIG_ARM_IMX7ULP_CPUFREQ=y
48CONFIG_CPU_IDLE=y 50CONFIG_CPU_IDLE=y
49CONFIG_VFP=y 51CONFIG_VFP=y
50CONFIG_NEON=y 52CONFIG_NEON=y
@@ -60,8 +62,6 @@ CONFIG_IP_PNP_DHCP=y
60# CONFIG_INET_XFRM_MODE_TRANSPORT is not set 62# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
61# CONFIG_INET_XFRM_MODE_TUNNEL is not set 63# CONFIG_INET_XFRM_MODE_TUNNEL is not set
62# CONFIG_INET_XFRM_MODE_BEET is not set 64# CONFIG_INET_XFRM_MODE_BEET is not set
63# CONFIG_INET_LRO is not set
64CONFIG_IPV6=y
65CONFIG_VLAN_8021Q=y 65CONFIG_VLAN_8021Q=y
66CONFIG_LLC2=y 66CONFIG_LLC2=y
67CONFIG_CAN=y 67CONFIG_CAN=y
@@ -105,6 +105,7 @@ CONFIG_MTD_NAND=y
105CONFIG_MTD_NAND_GPMI_NAND=y 105CONFIG_MTD_NAND_GPMI_NAND=y
106CONFIG_MTD_NAND_MXC=y 106CONFIG_MTD_NAND_MXC=y
107CONFIG_MTD_SPI_NOR=y 107CONFIG_MTD_SPI_NOR=y
108# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set
108CONFIG_SPI_FSL_QUADSPI=y 109CONFIG_SPI_FSL_QUADSPI=y
109CONFIG_MTD_UBI=y 110CONFIG_MTD_UBI=y
110CONFIG_BLK_DEV_LOOP=y 111CONFIG_BLK_DEV_LOOP=y
@@ -140,9 +141,10 @@ CONFIG_SMC911X=y
140CONFIG_SMSC911X=y 141CONFIG_SMSC911X=y
141# CONFIG_NET_VENDOR_STMICRO is not set 142# CONFIG_NET_VENDOR_STMICRO is not set
142CONFIG_MICREL_PHY=y 143CONFIG_MICREL_PHY=y
143CONFIG_USB_PEGASUS=m 144CONFIG_USB_KAWETH=y
144CONFIG_USB_RTL8150=m 145CONFIG_USB_PEGASUS=y
145CONFIG_USB_RTL8152=m 146CONFIG_USB_RTL8150=y
147CONFIG_USB_RTL8152=y
146CONFIG_USB_USBNET=y 148CONFIG_USB_USBNET=y
147CONFIG_USB_NET_CDC_EEM=m 149CONFIG_USB_NET_CDC_EEM=m
148CONFIG_BCMDHD=y 150CONFIG_BCMDHD=y
@@ -154,6 +156,8 @@ CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal"
154CONFIG_INPUT_EVDEV=y 156CONFIG_INPUT_EVDEV=y
155CONFIG_INPUT_EVBUG=m 157CONFIG_INPUT_EVBUG=m
156CONFIG_KEYBOARD_GPIO=y 158CONFIG_KEYBOARD_GPIO=y
159CONFIG_KEYBOARD_RPMSG=y
160CONFIG_KEYBOARD_PF1550_ONKEY=y
157CONFIG_KEYBOARD_IMX=y 161CONFIG_KEYBOARD_IMX=y
158CONFIG_MOUSE_PS2=m 162CONFIG_MOUSE_PS2=m
159CONFIG_MOUSE_PS2_ELANTECH=y 163CONFIG_MOUSE_PS2_ELANTECH=y
@@ -166,6 +170,7 @@ CONFIG_TOUCHSCREEN_IMX6UL_TSC=y
166CONFIG_TOUCHSCREEN_MC13783=y 170CONFIG_TOUCHSCREEN_MC13783=y
167CONFIG_TOUCHSCREEN_TSC2007=y 171CONFIG_TOUCHSCREEN_TSC2007=y
168CONFIG_TOUCHSCREEN_STMPE=y 172CONFIG_TOUCHSCREEN_STMPE=y
173CONFIG_TOUCHSCREEN_FTS=y
169CONFIG_INPUT_MISC=y 174CONFIG_INPUT_MISC=y
170CONFIG_INPUT_MMA8450=y 175CONFIG_INPUT_MMA8450=y
171CONFIG_INPUT_MPL3115=y 176CONFIG_INPUT_MPL3115=y
@@ -186,28 +191,35 @@ CONFIG_I2C_CHARDEV=y
186CONFIG_I2C_ALGOPCF=m 191CONFIG_I2C_ALGOPCF=m
187CONFIG_I2C_ALGOPCA=m 192CONFIG_I2C_ALGOPCA=m
188CONFIG_I2C_IMX=y 193CONFIG_I2C_IMX=y
194CONFIG_I2C_IMX_LPI2C=y
189CONFIG_SPI=y 195CONFIG_SPI=y
190CONFIG_SPI_GPIO=y 196CONFIG_SPI_GPIO=y
191CONFIG_SPI_IMX=y 197CONFIG_SPI_IMX=y
198CONFIG_SPI_FSL_LPSPI=y
199CONFIG_SPI_SPIDEV=y
192CONFIG_GPIO_SYSFS=y 200CONFIG_GPIO_SYSFS=y
193CONFIG_GPIO_MAX732X=y 201CONFIG_GPIO_MAX732X=y
194CONFIG_GPIO_PCA953X=y 202CONFIG_GPIO_PCA953X=y
195CONFIG_GPIO_74X164=y 203CONFIG_GPIO_74X164=y
196CONFIG_POWER_SUPPLY=y
197CONFIG_SABRESD_MAX8903=y
198CONFIG_POWER_RESET=y 204CONFIG_POWER_RESET=y
199CONFIG_POWER_RESET_SYSCON_POWEROFF=y 205CONFIG_POWER_RESET_SYSCON_POWEROFF=y
206CONFIG_POWER_SUPPLY=y
207CONFIG_CHARGER_PF1550=y
208CONFIG_SABRESD_MAX8903=y
200CONFIG_SENSORS_MAX17135=y 209CONFIG_SENSORS_MAX17135=y
201CONFIG_SENSORS_MAG3110=y 210CONFIG_SENSORS_MAG3110=y
202CONFIG_THERMAL=y 211CONFIG_THERMAL=y
212CONFIG_THERMAL_WRITABLE_TRIPS=y
203CONFIG_CPU_THERMAL=y 213CONFIG_CPU_THERMAL=y
204CONFIG_IMX_THERMAL=y 214CONFIG_IMX_THERMAL=y
205CONFIG_DEVICE_THERMAL=y 215CONFIG_DEVICE_THERMAL=y
206CONFIG_WATCHDOG=y 216CONFIG_WATCHDOG=y
207CONFIG_IMX2_WDT=y 217CONFIG_IMX2_WDT=y
218CONFIG_IMX7ULP_WDT=y
208CONFIG_MFD_DA9052_I2C=y 219CONFIG_MFD_DA9052_I2C=y
209CONFIG_MFD_MC13XXX_SPI=y 220CONFIG_MFD_MC13XXX_SPI=y
210CONFIG_MFD_MC13XXX_I2C=y 221CONFIG_MFD_MC13XXX_I2C=y
222CONFIG_MFD_PF1550=y
211CONFIG_MFD_MAX17135=y 223CONFIG_MFD_MAX17135=y
212CONFIG_MFD_SI476X_CORE=y 224CONFIG_MFD_SI476X_CORE=y
213CONFIG_MFD_STMPE=y 225CONFIG_MFD_STMPE=y
@@ -220,6 +232,8 @@ CONFIG_REGULATOR_MAX17135=y
220CONFIG_REGULATOR_MC13783=y 232CONFIG_REGULATOR_MC13783=y
221CONFIG_REGULATOR_MC13892=y 233CONFIG_REGULATOR_MC13892=y
222CONFIG_REGULATOR_PFUZE100=y 234CONFIG_REGULATOR_PFUZE100=y
235CONFIG_REGULATOR_PF1550=y
236CONFIG_REGULATOR_PF1550_RPMSG=y
223CONFIG_MEDIA_SUPPORT=y 237CONFIG_MEDIA_SUPPORT=y
224CONFIG_MEDIA_CAMERA_SUPPORT=y 238CONFIG_MEDIA_CAMERA_SUPPORT=y
225CONFIG_MEDIA_RADIO_SUPPORT=y 239CONFIG_MEDIA_RADIO_SUPPORT=y
@@ -243,18 +257,18 @@ CONFIG_MXC_VADC=m
243CONFIG_MXC_MIPI_CSI=m 257CONFIG_MXC_MIPI_CSI=m
244CONFIG_MXC_CAMERA_OV5647_MIPI=m 258CONFIG_MXC_CAMERA_OV5647_MIPI=m
245CONFIG_SOC_CAMERA=y 259CONFIG_SOC_CAMERA=y
246CONFIG_VIDEO_MX3=y
247CONFIG_V4L_MEM2MEM_DRIVERS=y 260CONFIG_V4L_MEM2MEM_DRIVERS=y
248CONFIG_VIDEO_CODA=y 261CONFIG_VIDEO_CODA=y
249CONFIG_RADIO_SI476X=y 262CONFIG_RADIO_SI476X=y
250CONFIG_SOC_CAMERA_OV2640=y 263CONFIG_SOC_CAMERA_OV2640=y
251CONFIG_DRM=y 264CONFIG_DRM=y
252CONFIG_DRM_VIVANTE=y 265CONFIG_DRM_VIVANTE=y
253CONFIG_FB=y
254CONFIG_FB_MXS=y 266CONFIG_FB_MXS=y
255CONFIG_FB_MXC_SYNC_PANEL=y 267CONFIG_FB_MXC_SYNC_PANEL=y
268CONFIG_FB_MXC_OVERLAY=y
256CONFIG_FB_MXC_MIPI_DSI=y 269CONFIG_FB_MXC_MIPI_DSI=y
257CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y 270CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
271CONFIG_FB_MXC_MIPI_DSI_NORTHWEST=y
258CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y 272CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
259CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y 273CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y
260CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y 274CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y
@@ -262,6 +276,7 @@ CONFIG_FB_MXC_LDB=y
262CONFIG_FB_MXC_HDMI=y 276CONFIG_FB_MXC_HDMI=y
263CONFIG_FB_MXS_SII902X=y 277CONFIG_FB_MXS_SII902X=y
264CONFIG_FB_MXC_DCIC=m 278CONFIG_FB_MXC_DCIC=m
279CONFIG_FB_MXC_ADV7535=y
265CONFIG_HANNSTAR_CABC=y 280CONFIG_HANNSTAR_CABC=y
266CONFIG_FB_MXC_EINK_PANEL=y 281CONFIG_FB_MXC_EINK_PANEL=y
267CONFIG_FB_MXC_EINK_V2_PANEL=y 282CONFIG_FB_MXC_EINK_V2_PANEL=y
@@ -269,8 +284,8 @@ CONFIG_LCD_CLASS_DEVICE=y
269CONFIG_LCD_L4F00242T03=y 284CONFIG_LCD_L4F00242T03=y
270CONFIG_LCD_PLATFORM=y 285CONFIG_LCD_PLATFORM=y
271CONFIG_BACKLIGHT_PWM=y 286CONFIG_BACKLIGHT_PWM=y
287CONFIG_BACKLIGHT_GPIO=y
272CONFIG_FRAMEBUFFER_CONSOLE=y 288CONFIG_FRAMEBUFFER_CONSOLE=y
273CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
274CONFIG_LOGO=y 289CONFIG_LOGO=y
275CONFIG_SOUND=y 290CONFIG_SOUND=y
276CONFIG_SND=y 291CONFIG_SND=y
@@ -283,6 +298,7 @@ CONFIG_SND_SOC_IMX_SII902X=y
283CONFIG_SND_SOC_IMX_WM8958=y 298CONFIG_SND_SOC_IMX_WM8958=y
284CONFIG_SND_SOC_IMX_CS42888=y 299CONFIG_SND_SOC_IMX_CS42888=y
285CONFIG_SND_SOC_IMX_WM8962=y 300CONFIG_SND_SOC_IMX_WM8962=y
301CONFIG_SND_SOC_IMX_RPMSG=y
286CONFIG_SND_SOC_IMX_SGTL5000=y 302CONFIG_SND_SOC_IMX_SGTL5000=y
287CONFIG_SND_SOC_IMX_MQS=y 303CONFIG_SND_SOC_IMX_MQS=y
288CONFIG_SND_SOC_IMX_SPDIF=y 304CONFIG_SND_SOC_IMX_SPDIF=y
@@ -291,7 +307,6 @@ CONFIG_SND_SOC_IMX_SI476X=y
291CONFIG_SND_SOC_IMX_HDMI=y 307CONFIG_SND_SOC_IMX_HDMI=y
292CONFIG_USB=y 308CONFIG_USB=y
293CONFIG_USB_OTG_WHITELIST=y 309CONFIG_USB_OTG_WHITELIST=y
294CONFIG_USB_OTG_FSM=y
295CONFIG_USB_EHCI_HCD=y 310CONFIG_USB_EHCI_HCD=y
296CONFIG_USB_EHCI_MXC=y 311CONFIG_USB_EHCI_MXC=y
297CONFIG_USB_HCD_TEST_MODE=y 312CONFIG_USB_HCD_TEST_MODE=y
@@ -304,6 +319,7 @@ CONFIG_USB_SERIAL=m
304CONFIG_USB_SERIAL_GENERIC=y 319CONFIG_USB_SERIAL_GENERIC=y
305CONFIG_USB_SERIAL_FTDI_SIO=m 320CONFIG_USB_SERIAL_FTDI_SIO=m
306CONFIG_USB_SERIAL_OPTION=m 321CONFIG_USB_SERIAL_OPTION=m
322CONFIG_USB_TEST=m
307CONFIG_USB_EHSET_TEST_FIXTURE=y 323CONFIG_USB_EHSET_TEST_FIXTURE=y
308CONFIG_NOP_USB_XCEIV=y 324CONFIG_NOP_USB_XCEIV=y
309CONFIG_USB_MXS_PHY=y 325CONFIG_USB_MXS_PHY=y
@@ -351,19 +367,24 @@ CONFIG_RTC_DRV_MC13XXX=y
351CONFIG_RTC_DRV_MXC=y 367CONFIG_RTC_DRV_MXC=y
352CONFIG_RTC_DRV_SNVS=y 368CONFIG_RTC_DRV_SNVS=y
353CONFIG_DMADEVICES=y 369CONFIG_DMADEVICES=y
354CONFIG_MXC_PXP_V2=y 370CONFIG_FSL_EDMA=y
355CONFIG_MXC_PXP_V3=y
356CONFIG_IMX_SDMA=y 371CONFIG_IMX_SDMA=y
357CONFIG_MXS_DMA=y 372CONFIG_MXS_DMA=y
373CONFIG_MXC_PXP_V2=y
374CONFIG_MXC_PXP_V3=y
358CONFIG_DMATEST=m 375CONFIG_DMATEST=m
359CONFIG_STAGING=y 376CONFIG_STAGING=y
360CONFIG_STAGING_MEDIA=y 377CONFIG_STAGING_MEDIA=y
378CONFIG_ION=y
379CONFIG_ION_MXC=y
361# CONFIG_IOMMU_SUPPORT is not set 380# CONFIG_IOMMU_SUPPORT is not set
381CONFIG_EXTCON_USB_GPIO=y
362CONFIG_IIO=y 382CONFIG_IIO=y
363CONFIG_IMX7D_ADC=y 383CONFIG_IMX7D_ADC=y
364CONFIG_VF610_ADC=y 384CONFIG_VF610_ADC=y
365CONFIG_PWM=y 385CONFIG_PWM=y
366CONFIG_PWM_IMX=y 386CONFIG_PWM_IMX=y
387CONFIG_PWM_TPM=y
367CONFIG_EXT2_FS=y 388CONFIG_EXT2_FS=y
368CONFIG_EXT2_FS_XATTR=y 389CONFIG_EXT2_FS_XATTR=y
369CONFIG_EXT2_FS_POSIX_ACL=y 390CONFIG_EXT2_FS_POSIX_ACL=y
@@ -371,9 +392,6 @@ CONFIG_EXT2_FS_SECURITY=y
371CONFIG_EXT3_FS=y 392CONFIG_EXT3_FS=y
372CONFIG_EXT3_FS_POSIX_ACL=y 393CONFIG_EXT3_FS_POSIX_ACL=y
373CONFIG_EXT3_FS_SECURITY=y 394CONFIG_EXT3_FS_SECURITY=y
374CONFIG_EXT4_FS=y
375CONFIG_EXT4_FS_POSIX_ACL=y
376CONFIG_EXT4_FS_SECURITY=y
377CONFIG_QUOTA=y 395CONFIG_QUOTA=y
378CONFIG_QUOTA_NETLINK_INTERFACE=y 396CONFIG_QUOTA_NETLINK_INTERFACE=y
379# CONFIG_PRINT_QUOTA_WARNING is not set 397# CONFIG_PRINT_QUOTA_WARNING is not set
@@ -421,9 +439,7 @@ CONFIG_CRYPTO_TGR192=y
421CONFIG_CRYPTO_WP512=y 439CONFIG_CRYPTO_WP512=y
422CONFIG_CRYPTO_BLOWFISH=y 440CONFIG_CRYPTO_BLOWFISH=y
423CONFIG_CRYPTO_CAMELLIA=y 441CONFIG_CRYPTO_CAMELLIA=y
424CONFIG_CRYPTO_DES=y
425CONFIG_CRYPTO_TWOFISH=y 442CONFIG_CRYPTO_TWOFISH=y
426# CONFIG_CRYPTO_ANSI_CPRNG is not set
427CONFIG_CRYPTO_DEV_FSL_CAAM=y 443CONFIG_CRYPTO_DEV_FSL_CAAM=y
428CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y 444CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
429CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y 445CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
diff --git a/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb b/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb
deleted file mode 100644
index 5393874f..00000000
--- a/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb
+++ /dev/null
@@ -1,9 +0,0 @@
1# Copyright (C) 2014 O.S. Systems Software LTDA.
2# Copyright (C) 2014-2016 Freescale Semiconductor
3
4SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel"
5DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \
6Manufacturing Tool compatible Linux Kernel to be used in updater environment"
7
8require linux-imx_${PV}.bb
9require linux-mfgtool.inc
diff --git a/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb b/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb
new file mode 100644
index 00000000..0193ba6d
--- /dev/null
+++ b/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb
@@ -0,0 +1,25 @@
1# Copyright (C) 2014 O.S. Systems Software LTDA.
2# Copyright (C) 2014-2016 Freescale Semiconductor
3
4SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel"
5DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \
6Manufacturing Tool compatible Linux Kernel to be used in updater environment"
7
8require linux-imx_${PV}.bb
9require linux-mfgtool.inc
10
11KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
12MODULE_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME"
13do_package[vardepsexclude] = "DATETIME"
14
15do_configure_prepend() {
16 if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then
17 cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/.config
18 cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/../defconfig
19 fi
20}
21
22do_deploy () {
23 install -d ${DEPLOY_DIR_IMAGE}
24 install arch/arm/boot/zImage ${DEPLOY_DIR_IMAGE}/zImage_mfgtool
25}
diff --git a/recipes-kernel/linux/linux-imx_4.1.15.bb b/recipes-kernel/linux/linux-imx_4.9.11.bb
index 20dae347..5f2caa82 100644
--- a/recipes-kernel/linux/linux-imx_4.1.15.bb
+++ b/recipes-kernel/linux/linux-imx_4.9.11.bb
@@ -2,17 +2,17 @@
2# Copyright 2017 NXP 2# Copyright 2017 NXP
3# Released under the MIT license (see COPYING.MIT for the terms) 3# Released under the MIT license (see COPYING.MIT for the terms)
4 4
5SUMMARY = "Linux Kernel provided and supported by Freescale" 5SUMMARY = "Linux Kernel provided and supported by NXP"
6DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ 6DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \
7i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." 7i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU."
8 8
9require recipes-kernel/linux/linux-imx.inc 9require recipes-kernel/linux/linux-imx.inc
10 10
11DEPENDS += "lzop-native bc-native" 11DEPENDS += "lzop-native bc-native"
12 12
13SRCBRANCH = "imx_4.1.15_2.0.0_ga" 13SRCBRANCH = "imx_4.9.11_1.0.0_ga"
14LOCALVERSION = "-2.1.0" 14LOCALVERSION = "-1.0.0"
15SRCREV = "30278abfe0977b1d2f065271ce1ea23c0e2d1b6e" 15SRCREV = "c27010d99a3d91703ea2d1a3f9630a9dedc3f86f"
16 16
17DEFAULT_PREFERENCE = "1" 17DEFAULT_PREFERENCE = "1"
18 18