summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/machine/include/imx-base.inc8
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch71
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch85
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch126
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch31
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt/defconfig439
-rw-r--r--recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb26
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch47
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch51
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch84
-rw-r--r--recipes-kernel/linux/linux-fslc-imx/defconfig426
-rw-r--r--recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb21
12 files changed, 4 insertions, 1411 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 8bab75b6..4f1b0419 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -290,13 +290,13 @@ PREFERRED_VERSION_optee-test_mx8 ?= "3.2.0.imx"
290IMX_DEFAULT_KERNEL = "linux-imx" 290IMX_DEFAULT_KERNEL = "linux-imx"
291IMX_DEFAULT_KERNEL_mxs = "linux-fslc" 291IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
292IMX_DEFAULT_KERNEL_mx5 = "linux-fslc" 292IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
293IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx" 293IMX_DEFAULT_KERNEL_mx6 = "linux-imx"
294IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx" 294IMX_DEFAULT_KERNEL_mx7 = "linux-imx"
295IMX_DEFAULT_KERNEL_mx8 = "linux-imx" 295IMX_DEFAULT_KERNEL_mx8 = "linux-imx"
296IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx" 296IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx"
297IMX_DEFAULT_KERNEL_mx6sll = "linux-imx" 297IMX_DEFAULT_KERNEL_mx6sll = "linux-imx"
298IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx" 298IMX_DEFAULT_KERNEL_mx6ul = "linux-imx"
299IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx" 299IMX_DEFAULT_KERNEL_mx6ull = "linux-imx"
300IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc" 300IMX_DEFAULT_KERNEL_use-mainline-bsp = "linux-fslc"
301 301
302PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" 302PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}"
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch
deleted file mode 100644
index 4be4066d..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt/0001-fix-build.patch
+++ /dev/null
@@ -1,71 +0,0 @@
1Fix build errors when RT patch is applied
2
3Upstream-Status: Inappropriate [other]
4Freescale does not support the RT patch
5
6Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
7Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28]
8
9diff --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
10index 2ec98dc..5d0b7df 100644
11--- a/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
13@@ -7344,7 +7344,7 @@ gckOS_WaitSignal(
14
15 might_sleep();
16
17- spin_lock_irq(&signal->obj.wait.lock);
18+ raw_spin_lock_irq(&signal->obj.wait.lock);
19
20 if (signal->obj.done)
21 {
22@@ -7366,9 +7366,8 @@ gckOS_WaitSignal(
23 ? MAX_SCHEDULE_TIMEOUT
24 : Wait * HZ / 1000;
25
26- DECLARE_WAITQUEUE(wait, current);
27- wait.flags |= WQ_FLAG_EXCLUSIVE;
28- __add_wait_queue_tail(&signal->obj.wait, &wait);
29+ DEFINE_SWAITER(wait);
30+ swait_prepare_locked(&signal->obj.wait, &wait);
31
32 while (gcvTRUE)
33 {
34@@ -7380,9 +7379,9 @@ gckOS_WaitSignal(
35 }
36
37 __set_current_state(TASK_INTERRUPTIBLE);
38- spin_unlock_irq(&signal->obj.wait.lock);
39+ raw_spin_unlock_irq(&signal->obj.wait.lock);
40 timeout = schedule_timeout(timeout);
41- spin_lock_irq(&signal->obj.wait.lock);
42+ raw_spin_lock_irq(&signal->obj.wait.lock);
43
44 if (signal->obj.done)
45 {
46@@ -7403,10 +7402,10 @@ gckOS_WaitSignal(
47 }
48 }
49
50- __remove_wait_queue(&signal->obj.wait, &wait);
51+ swait_finish_locked(&signal->obj.wait, &wait);
52 }
53
54- spin_unlock_irq(&signal->obj.wait.lock);
55+ raw_spin_unlock_irq(&signal->obj.wait.lock);
56
57 OnError:
58 /* Return status. */
59diff --git a/include/linux/imx_sema4.h b/include/linux/imx_sema4.h
60index 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/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch
deleted file mode 100644
index 40c012a5..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt/0002-no-split-ptlocks.patch
+++ /dev/null
@@ -1,85 +0,0 @@
1Work around the oops below by disabling split ptlocks
2
3Upstream-Status: Inappropriate [disable feature]
4
5Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se>
6Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> [updated for 3.14.28]
7
8Unable to handle kernel NULL pointer dereference at virtual address 00000000
9pgd = ac5a8000
10[00000000] *pgd=3c8db831, *pte=00000000, *ppte=00000000
11Internal error: Oops: 17 [#1] PREEMPT SMP ARM
12Modules linked in:
13CPU: 1 PID: 277 Comm: test-qt5 Not tainted 3.10.17-rt12-monkey+gec1af9f #2
14task: ac65df80 ti: ac968000 task.ti: ac968000
15PC is at _raw_spin_lock+0x10/0x4c
16LR is at get_parent_ip+0x10/0x2c
17pc : [<80623fd4>] lr : [<8004ef18>] psr: 60010013
18sp : ac969c38 ip : 80c44404 fp : 00000000
19r10: ac65df80 r9 : ac969cd8 r8 : 00000000
20r7 : 00000054 r6 : afffe000 r5 : 00000000 r4 : 00000000
21r3 : ac65df80 r2 : 00000001 r1 : 00000000 r0 : 00000000
22Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
23Control: 10c53c7d Table: 3c5a804a DAC: 00000015
24Process test-qt5 (pid: 277, stack limit = 0xac968238)
25Stack: (0xac969c38 to 0xac96a000)
269c20: b00549a8 806235e0
279c40: 00000000 ac968000 812f9a00 80017cec ac969c74 fffffffe 00000000 00005000
289c60: 00000000 80017e6c ac968000 ac65df80 00000000 00000000 00000001 ac968001
299c80: ac65df80 b00549a8 00000000 afffe000 00000054 00000000 ac969cd8 afffe150
309ca0: b0054bf8 8044e540 ac969cd8 b00549a8 ac0b8180 00000230 ac8fd000 00000230
319cc0: 00000000 8044f6f4 ac155700 ac969cf4 ac155700 804605b8 ac155700 ac969d8c
329ce0: 00000002 ac969d24 b0054bf8 804607f4 7ef1fcd0 80450078 ac0b8180 ac155700
339d00: ac969d8c 00000002 ac8fd000 8045f1a0 ac969d24 00000000 ac8fd01c b00549a8
349d20: b0050000 00000008 ac969d98 ac0b8300 ac969d8c 00000115 ac969d98 ac969e00
359d40: ac155600 ac3985f0 7ef1fcd0 8045661c 00000115 00000000 00000001 00000000
369d60: 00007530 80454144 80c32e18 00000001 81518e18 806237dc 00000001 ac968038
379d80: 00000000 00000000 00000000 00000000 00000115 806237dc ac6f5688 ac968018
389da0: 812e1640 00000000 00000001 ac968000 ac969dc4 8004efe4 ac968008 ac39a000
399dc0: ac744400 ac968020 00007530 ac968000 ac968000 ac3985f0 7ef1fcd0 8044d374
409de0: 7ef1fd20 00000000 000000f8 00000000 7ef1fd20 00000000 000000f8 00000000
419e00: 00000028 00000002 00000000 6437d1dd 7ef1fddc 76f9c030 7ef1fd88 76fb9abc
429e20: 00000320 00005007 e02c7eca c1399eff 020fb2db 00000000 00000000 00000000
439e40: 00000001 00000040 00000400 00000004 00000010 00000400 00000002 00000100
449e60: 00000100 00000008 00000008 00000000 ffffffff 00000000 7588e180 76fb1000
459e80: 08000000 00000000 00000000 76fb11b8 000000af 760b6cd8 ffffffff 7431d4c0
469ea0: 000cb1ac 75889000 00000000 00000001 000000b0 00000000 00000000 76fa0da0
479ec0: 00000000 00000001 00000001 00000000 00000000 7588cb40 00000001 75957ecc
489ee0: 00000001 7ef1fe7c 75953e94 7ef1fedc 00000002 76fa789c 00007530 ac6813c0
499f00: 00000000 7ef1fcd0 ac6813c0 ac968000 ac3985f0 800d68fc 00000001 ac968000
509f20: ac969f34 8004efe4 ac4f71d4 6c31d000 00000000 80623fd4 00000000 80623578
519f40: ac4f71d4 800a3d40 00000001 00000000 ac969f5c 00000003 ac6813c8 00000000
529f60: 00000001 00007530 00000003 00000000 7ef1fcd0 ac6813c0 ac968000 00000000
539f80: 00000000 800d6afc ac4f7180 00000000 00002710 00007530 75957e40 00000036
549fa0: 8000e2c4 8000e140 00002710 00007530 00000003 00007530 7ef1fcd0 01bc3008
559fc0: 00002710 00007530 75957e40 00000036 01bd2e70 00000001 7ef1fd20 00000000
569fe0: 759540c4 7ef1fcbc 7593f698 760a0ccc 20010010 00000003 00000000 00000000
57[<80623fd4>] (_raw_spin_lock+0x10/0x4c) from [<806235e0>] (rt_spin_lock_slowlock+0x34/0x29c)
58[<806235e0>] (rt_spin_lock_slowlock+0x34/0x29c) from [<8044e540>] (_QueryProcessPageTable+0x8c/0xdc)
59[<8044e540>] (_QueryProcessPageTable+0x8c/0xdc) from [<8044f6f4>] (gckOS_GetPhysicalAddress+0x20/0x58)
60[<8044f6f4>] (gckOS_GetPhysicalAddress+0x20/0x58) from [<804605b8>] (gckHARDWARE_ConvertLogical+0x2c/0x90)
61[<804605b8>] (gckHARDWARE_ConvertLogical+0x2c/0x90) from [<804607f4>] (gckHARDWARE_Link+0x60/0x104)
62[<804607f4>] (gckHARDWARE_Link+0x60/0x104) from [<8045f1a0>] (gckCONTEXT_Construct+0x264/0x2bc)
63[<8045f1a0>] (gckCONTEXT_Construct+0x264/0x2bc) from [<8045661c>] (gckCOMMAND_Attach+0x44/0x88)
64[<8045661c>] (gckCOMMAND_Attach+0x44/0x88) from [<80454144>] (gckKERNEL_Dispatch+0x358/0x12c8)
65[<80454144>] (gckKERNEL_Dispatch+0x358/0x12c8) from [<8044d374>] (drv_ioctl+0x120/0x284)
66[<8044d374>] (drv_ioctl+0x120/0x284) from [<800d68fc>] (do_vfs_ioctl+0x408/0x5d0)
67[<800d68fc>] (do_vfs_ioctl+0x408/0x5d0) from [<800d6afc>] (SyS_ioctl+0x38/0x64)
68[<800d6afc>] (SyS_ioctl+0x38/0x64) from [<8000e140>] (ret_fast_syscall+0x0/0x30)
69Code: e92d4010 e1a04000 e3a00001 ebe8abd7 (e1943f9f)
70---[ end trace 0000000000000002 ]---
71note: test-qt5[277] exited with preempt_count 1
72
73diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h
74index 6c1dc6c..8c00faf 100644
75--- a/include/linux/mm_types.h
76+++ b/include/linux/mm_types.h
77@@ -24,7 +24,7 @@
78
79 struct address_space;
80
81-#define USE_SPLIT_PTE_PTLOCKS (NR_CPUS >= CONFIG_SPLIT_PTLOCK_CPUS)
82+#define USE_SPLIT_PTE_PTLOCKS (0)
83 #define USE_SPLIT_PMD_PTLOCKS (USE_SPLIT_PTE_PTLOCKS && \
84 IS_ENABLED(CONFIG_ARCH_ENABLE_SPLIT_PMD_PTLOCK))
85 #define ALLOC_SPLIT_PTLOCKS (SPINLOCK_SIZE > BITS_PER_LONG/8)
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
deleted file mode 100644
index 93200c62..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
+++ /dev/null
@@ -1,126 +0,0 @@
1From f7cba8d49a980909cea48c5b9dcfefc6e13fef0b Mon Sep 17 00:00:00 2001
2From: =?UTF-8?q?Dominic=20Sacr=C3=A9?= <dominic.sacre@gmx.de>
3Date: Fri, 29 Apr 2016 15:48:40 +0200
4Subject: [PATCH] Work around CPU stalls in the imx-sdma driver
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9Replace spinlocks with raw spinlocks. This prevents preemption during
10the spinlock's critical section, as is the case on non PREEMPT_RT kernels.
11
12Without this patch, the following error can occur, for example when
13using the audio codec on an i.MX6Q SabreSD board:
14
15INFO: rcu_preempt self-detected stall on CPU { 0} (t=2100 jiffies g=106 c=105 q=93)
16CPU: 0 PID: 120 Comm: irq/34-sdma Not tainted 3.14.28-rt25-1.0.0_ga+g91cf351 #1
17[<80014a8c>] (unwind_backtrace) from [<8001173c>] (show_stack+0x10/0x14)
18[<8001173c>] (show_stack) from [<806ee750>] (dump_stack+0x7c/0xc8)
19[<806ee750>] (dump_stack) from [<800771c8>] (rcu_check_callbacks+0x454/0x888)
20[<800771c8>] (rcu_check_callbacks) from [<80037f28>] (update_process_times+0x40/0x5c)
21[<80037f28>] (update_process_times) from [<80082230>] (tick_sched_timer+0x4c/0x78)
22[<80082230>] (tick_sched_timer) from [<8004bf30>] (__run_hrtimer.isra.34+0x74/0x124)
23[<8004bf30>] (__run_hrtimer.isra.34) from [<8004cbb0>] (hrtimer_interrupt+0x154/0x3ac)
24[<8004cbb0>] (hrtimer_interrupt) from [<80014464>] (twd_handler+0x30/0x38)
25[<80014464>] (twd_handler) from [<8006fa2c>] (handle_percpu_devid_irq+0x6c/0x84)
26[<8006fa2c>] (handle_percpu_devid_irq) from [<8006bc64>] (generic_handle_irq+0x2c/0x3c)
27[<8006bc64>] (generic_handle_irq) from [<8000ed8c>] (handle_IRQ+0x40/0x90)
28[<8000ed8c>] (handle_IRQ) from [<8000856c>] (gic_handle_irq+0x2c/0x5c)
29[<8000856c>] (gic_handle_irq) from [<80012240>] (__irq_svc+0x40/0x84)
30Exception stack(0xa840feb8 to 0xa840ff00)
31fea0: a8007a28 00000002
32fec0: 00000001 0000a6a6 a80079c0 a8007a28 a83ea080 00000000 a80079c0 a83ea080
33fee0: 285190f0 00000000 00000000 a840ff00 8006d04c 806f3070 20030113 ffffffff
34[<80012240>] (__irq_svc) from [<806f3070>] (_raw_spin_unlock_irq+0x20/0x60)
35[<806f3070>] (_raw_spin_unlock_irq) from [<8006d04c>] (irq_finalize_oneshot.part.37+0x70/0xcc)
36[<8006d04c>] (irq_finalize_oneshot.part.37) from [<8006d148>] (irq_forced_thread_fn+0x60/0x64)
37[<8006d148>] (irq_forced_thread_fn) from [<8006d3dc>] (irq_thread+0x138/0x1a4)
38[<8006d3dc>] (irq_thread) from [<8004913c>] (kthread+0xbc/0xd4)
39[<8004913c>] (kthread) from [<8000e538>] (ret_from_fork+0x14/0x3c)
40
41Upstream-Status: Pending
42
43Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
44---
45 drivers/dma/imx-sdma.c | 16 ++++++++--------
46 1 file changed, 8 insertions(+), 8 deletions(-)
47
48diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
49index 31b7fed..bb7d6aa 100644
50--- a/drivers/dma/imx-sdma.c
51+++ b/drivers/dma/imx-sdma.c
52@@ -408,7 +408,7 @@ struct sdma_engine {
53 struct dma_device dma_device;
54 struct clk *clk_ipg;
55 struct clk *clk_ahb;
56- spinlock_t channel_0_lock;
57+ raw_spinlock_t channel_0_lock;
58 u32 script_number;
59 struct sdma_script_start_addrs *script_addrs;
60 const struct sdma_driver_data *drvdata;
61@@ -700,7 +700,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
62 return -ENOMEM;
63 }
64
65- spin_lock_irqsave(&sdma->channel_0_lock, flags);
66+ raw_spin_lock_irqsave(&sdma->channel_0_lock, flags);
67
68 bd0->mode.command = C0_SETPM;
69 bd0->mode.status = BD_DONE | BD_INTR | BD_WRAP | BD_EXTD;
70@@ -712,7 +712,7 @@ static int sdma_load_script(struct sdma_engine *sdma, void *buf, int size,
71
72 ret = sdma_run_channel0(sdma);
73
74- spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
75+ raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
76
77 if (use_iram)
78 gen_pool_free(sdma->iram_pool, (unsigned long)buf_virt, size);
79@@ -979,7 +979,7 @@ static int sdma_load_context(struct sdma_channel *sdmac)
80 dev_dbg(sdma->dev, "event_mask0 = 0x%08x\n", (u32)sdmac->event_mask[0]);
81 dev_dbg(sdma->dev, "event_mask1 = 0x%08x\n", (u32)sdmac->event_mask[1]);
82
83- spin_lock_irqsave(&sdma->channel_0_lock, flags);
84+ raw_spin_lock_irqsave(&sdma->channel_0_lock, flags);
85
86 memset(context, 0, sizeof(*context));
87 context->channel_state.pc = load_address;
88@@ -1005,7 +1005,7 @@ static int sdma_load_context(struct sdma_channel *sdmac)
89 bd0->ext_buffer_addr = 2048 + (sizeof(*context) / 4) * channel;
90 ret = sdma_run_channel0(sdma);
91
92- spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
93+ raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
94
95 sdmac->context_loaded = true;
96
97@@ -1019,7 +1019,7 @@ static int sdma_save_restore_context(struct sdma_engine *sdma, bool save)
98 unsigned long flags;
99 int ret;
100
101- spin_lock_irqsave(&sdma->channel_0_lock, flags);
102+ raw_spin_lock_irqsave(&sdma->channel_0_lock, flags);
103
104 if (save)
105 bd0->mode.command = C0_GETDM;
106@@ -1032,7 +1032,7 @@ static int sdma_save_restore_context(struct sdma_engine *sdma, bool save)
107 bd0->ext_buffer_addr = 2048;
108 ret = sdma_run_channel0(sdma);
109
110- spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
111+ raw_spin_unlock_irqrestore(&sdma->channel_0_lock, flags);
112
113 return ret;
114 }
115@@ -2152,7 +2152,7 @@ static int sdma_probe(struct platform_device *pdev)
116 if (!sdma)
117 return -ENOMEM;
118
119- spin_lock_init(&sdma->channel_0_lock);
120+ raw_spin_lock_init(&sdma->channel_0_lock);
121
122 sdma->dev = &pdev->dev;
123 sdma->drvdata = drvdata;
124--
1252.8.1
126
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch b/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch
deleted file mode 100644
index 1a616aa3..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt/0004-export-swait-locked-functions.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 2460dd985b0cf477f74396de92d1bc5df496abdc Mon Sep 17 00:00:00 2001
2From: Julio Cruz <jcsistemas2001@gmail.com>
3Date: Wed, 20 Jan 2016 19:26:44 +0800
4Subject: [PATCH] Export symbols for iMX-GPU-VIV module
5
6---
7 kernel/sched/wait-simple.c | 2 ++
8 1 file changed, 2 insertions(+)
9
10diff --git a/kernel/sched/wait-simple.c b/kernel/sched/wait-simple.c
11index 7dfa86d..a3776ee 100644
12--- a/kernel/sched/wait-simple.c
13+++ b/kernel/sched/wait-simple.c
14@@ -40,6 +40,7 @@ void swait_prepare_locked(struct swait_head *head, struct swaiter *w)
15 if (list_empty(&w->node))
16 __swait_enqueue(head, w);
17 }
18+EXPORT_SYMBOL(swait_prepare_locked);
19
20 void swait_prepare(struct swait_head *head, struct swaiter *w, int state)
21 {
22@@ -58,6 +59,7 @@ void swait_finish_locked(struct swait_head *head, struct swaiter *w)
23 if (w->task)
24 __swait_dequeue(w);
25 }
26+EXPORT_SYMBOL(swait_finish_locked);
27
28 void swait_finish(struct swait_head *head, struct swaiter *w)
29 {
30--
312.1.0
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig b/recipes-kernel/linux/linux-fslc-imx-rt/defconfig
deleted file mode 100644
index 34ee14d1..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig
+++ /dev/null
@@ -1,439 +0,0 @@
1CONFIG_LOCALVERSION="-fslc"
2CONFIG_KERNEL_LZO=y
3CONFIG_SYSVIPC=y
4CONFIG_NO_HZ=y
5CONFIG_HIGH_RES_TIMERS=y
6CONFIG_IKCONFIG=y
7CONFIG_IKCONFIG_PROC=y
8CONFIG_LOG_BUF_SHIFT=18
9CONFIG_CGROUPS=y
10CONFIG_RELAY=y
11CONFIG_BLK_DEV_INITRD=y
12CONFIG_EXPERT=y
13CONFIG_KALLSYMS_ALL=y
14CONFIG_PERF_EVENTS=y
15# CONFIG_SLUB_DEBUG is not set
16# CONFIG_COMPAT_BRK is not set
17CONFIG_MODULES=y
18CONFIG_MODULE_UNLOAD=y
19CONFIG_MODVERSIONS=y
20CONFIG_MODULE_SRCVERSION_ALL=y
21# CONFIG_BLK_DEV_BSG is not set
22CONFIG_ARCH_MXC=y
23CONFIG_SOC_IMX50=y
24CONFIG_SOC_IMX53=y
25CONFIG_SOC_IMX6Q=y
26CONFIG_SOC_IMX6SL=y
27CONFIG_SOC_IMX6SX=y
28CONFIG_SOC_IMX6ULL=y
29CONFIG_SOC_IMX7D=y
30CONFIG_SOC_VF610=y
31# CONFIG_SWP_EMULATE is not set
32CONFIG_SMP=y
33CONFIG_HAVE_ARM_ARCH_TIMER=y
34CONFIG_VMSPLIT_2G=y
35CONFIG_PREEMPT_RT_FULL=y
36CONFIG_AEABI=y
37CONFIG_HIGHMEM=y
38CONFIG_CMA=y
39CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
40CONFIG_CPU_FREQ=y
41CONFIG_CPU_FREQ_GOV_POWERSAVE=y
42CONFIG_CPU_FREQ_GOV_USERSPACE=y
43CONFIG_CPU_FREQ_GOV_ONDEMAND=y
44CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
45CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
46CONFIG_ARM_IMX6Q_CPUFREQ=y
47CONFIG_ARM_IMX7D_CPUFREQ=y
48CONFIG_CPU_IDLE=y
49CONFIG_VFP=y
50CONFIG_NEON=y
51CONFIG_BINFMT_MISC=m
52CONFIG_PM_DEBUG=y
53CONFIG_PM_TEST_SUSPEND=y
54CONFIG_NET=y
55CONFIG_PACKET=y
56CONFIG_UNIX=y
57CONFIG_INET=y
58CONFIG_IP_PNP=y
59CONFIG_IP_PNP_DHCP=y
60# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
61# CONFIG_INET_XFRM_MODE_TUNNEL is not set
62# CONFIG_INET_XFRM_MODE_BEET is not set
63# CONFIG_INET_LRO is not set
64CONFIG_IPV6=y
65CONFIG_VLAN_8021Q=y
66CONFIG_LLC2=y
67CONFIG_CAN=y
68CONFIG_CAN_FLEXCAN=y
69CONFIG_CAN_M_CAN=y
70CONFIG_BT=y
71CONFIG_BT_RFCOMM=y
72CONFIG_BT_RFCOMM_TTY=y
73CONFIG_BT_BNEP=y
74CONFIG_BT_BNEP_MC_FILTER=y
75CONFIG_BT_BNEP_PROTO_FILTER=y
76CONFIG_BT_HIDP=y
77CONFIG_BT_HCIBTUSB=y
78CONFIG_BT_HCIUART=y
79CONFIG_BT_HCIUART_BCSP=y
80CONFIG_BT_HCIUART_ATH3K=y
81CONFIG_BT_HCIBCM203X=y
82CONFIG_BT_ATH3K=y
83CONFIG_CFG80211=y
84CONFIG_MAC80211=y
85CONFIG_DEVTMPFS=y
86CONFIG_DEVTMPFS_MOUNT=y
87# CONFIG_STANDALONE is not set
88CONFIG_DMA_CMA=y
89CONFIG_CMA_SIZE_MBYTES=0
90CONFIG_IMX_WEIM=y
91CONFIG_CONNECTOR=y
92CONFIG_MTD=y
93CONFIG_MTD_CMDLINE_PARTS=y
94CONFIG_MTD_BLOCK=y
95CONFIG_MTD_CFI=y
96CONFIG_MTD_JEDECPROBE=y
97CONFIG_MTD_CFI_INTELEXT=y
98CONFIG_MTD_CFI_AMDSTD=y
99CONFIG_MTD_CFI_STAA=y
100CONFIG_MTD_PHYSMAP_OF=y
101CONFIG_MTD_DATAFLASH=y
102CONFIG_MTD_M25P80=y
103CONFIG_MTD_SST25L=y
104CONFIG_MTD_NAND=y
105CONFIG_MTD_NAND_GPMI_NAND=y
106CONFIG_MTD_NAND_MXC=y
107CONFIG_MTD_SPI_NOR=y
108CONFIG_SPI_FSL_QUADSPI=y
109CONFIG_MTD_UBI=y
110CONFIG_BLK_DEV_LOOP=y
111CONFIG_BLK_DEV_RAM=y
112CONFIG_BLK_DEV_RAM_SIZE=65536
113CONFIG_SENSORS_FXOS8700=y
114CONFIG_SENSORS_FXAS2100X=y
115CONFIG_EEPROM_AT24=y
116CONFIG_EEPROM_AT25=y
117# CONFIG_SCSI_PROC_FS is not set
118CONFIG_BLK_DEV_SD=y
119CONFIG_SCSI_CONSTANTS=y
120CONFIG_SCSI_LOGGING=y
121CONFIG_SCSI_SCAN_ASYNC=y
122# CONFIG_SCSI_LOWLEVEL is not set
123CONFIG_ATA=y
124CONFIG_SATA_AHCI_PLATFORM=y
125CONFIG_AHCI_IMX=y
126CONFIG_PATA_IMX=y
127CONFIG_NETDEVICES=y
128# CONFIG_NET_VENDOR_BROADCOM is not set
129CONFIG_CS89x0=y
130CONFIG_CS89x0_PLATFORM=y
131# CONFIG_NET_VENDOR_FARADAY is not set
132# CONFIG_NET_VENDOR_INTEL is not set
133# CONFIG_NET_VENDOR_MARVELL is not set
134# CONFIG_NET_VENDOR_MICREL is not set
135# CONFIG_NET_VENDOR_MICROCHIP is not set
136# CONFIG_NET_VENDOR_NATSEMI is not set
137# CONFIG_NET_VENDOR_SEEQ is not set
138CONFIG_SMC91X=y
139CONFIG_SMC911X=y
140CONFIG_SMSC911X=y
141# CONFIG_NET_VENDOR_STMICRO is not set
142CONFIG_MICREL_PHY=y
143CONFIG_USB_PEGASUS=m
144CONFIG_USB_RTL8150=m
145CONFIG_USB_RTL8152=m
146CONFIG_USB_USBNET=m
147CONFIG_USB_NET_CDC_EEM=m
148CONFIG_BCMDHD=y
149CONFIG_BCMDHD_SDIO=y
150CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin"
151CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal"
152# CONFIG_RTL_CARDS is not set
153# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
154CONFIG_INPUT_EVDEV=y
155CONFIG_INPUT_EVBUG=m
156CONFIG_KEYBOARD_GPIO=y
157CONFIG_KEYBOARD_IMX=y
158CONFIG_MOUSE_PS2=m
159CONFIG_MOUSE_PS2_ELANTECH=y
160CONFIG_INPUT_TOUCHSCREEN=y
161CONFIG_TOUCHSCREEN_ADS7846=y
162CONFIG_TOUCHSCREEN_EGALAX=y
163CONFIG_TOUCHSCREEN_ELAN_TS=y
164CONFIG_TOUCHSCREEN_MAX11801=y
165CONFIG_TOUCHSCREEN_IMX6UL_TSC=y
166CONFIG_TOUCHSCREEN_MC13783=y
167CONFIG_TOUCHSCREEN_TSC2007=y
168CONFIG_TOUCHSCREEN_STMPE=y
169CONFIG_INPUT_MISC=y
170CONFIG_INPUT_MMA8450=y
171CONFIG_INPUT_MPL3115=y
172CONFIG_SENSOR_FXLS8471=y
173CONFIG_INPUT_ISL29023=y
174CONFIG_SERIO_SERPORT=m
175# CONFIG_LEGACY_PTYS is not set
176# CONFIG_DEVKMEM is not set
177CONFIG_SERIAL_IMX=y
178CONFIG_SERIAL_IMX_CONSOLE=y
179CONFIG_SERIAL_FSL_LPUART=y
180CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
181CONFIG_FSL_OTP=y
182CONFIG_HW_RANDOM_IMX_RNG=y
183# CONFIG_I2C_COMPAT is not set
184CONFIG_I2C_CHARDEV=y
185# CONFIG_I2C_HELPER_AUTO is not set
186CONFIG_I2C_ALGOPCF=m
187CONFIG_I2C_ALGOPCA=m
188CONFIG_I2C_IMX=y
189CONFIG_SPI=y
190CONFIG_SPI_GPIO=y
191CONFIG_SPI_IMX=y
192CONFIG_GPIO_SYSFS=y
193CONFIG_GPIO_MAX732X=y
194CONFIG_GPIO_PCA953X=y
195CONFIG_GPIO_74X164=y
196CONFIG_POWER_SUPPLY=y
197CONFIG_SABRESD_MAX8903=y
198CONFIG_POWER_RESET=y
199CONFIG_POWER_RESET_SYSCON_POWEROFF=y
200CONFIG_SENSORS_MAX17135=y
201CONFIG_SENSORS_MAG3110=y
202CONFIG_THERMAL=y
203CONFIG_CPU_THERMAL=y
204CONFIG_IMX_THERMAL=y
205CONFIG_DEVICE_THERMAL=y
206CONFIG_WATCHDOG=y
207CONFIG_IMX2_WDT=y
208CONFIG_MFD_DA9052_I2C=y
209CONFIG_MFD_MC13XXX_SPI=y
210CONFIG_MFD_MC13XXX_I2C=y
211CONFIG_MFD_MAX17135=y
212CONFIG_MFD_SI476X_CORE=y
213CONFIG_MFD_STMPE=y
214CONFIG_REGULATOR=y
215CONFIG_REGULATOR_FIXED_VOLTAGE=y
216CONFIG_REGULATOR_ANATOP=y
217CONFIG_REGULATOR_DA9052=y
218CONFIG_REGULATOR_GPIO=y
219CONFIG_REGULATOR_MAX17135=y
220CONFIG_REGULATOR_MC13783=y
221CONFIG_REGULATOR_MC13892=y
222CONFIG_REGULATOR_PFUZE100=y
223CONFIG_MEDIA_SUPPORT=y
224CONFIG_MEDIA_CAMERA_SUPPORT=y
225CONFIG_MEDIA_RADIO_SUPPORT=y
226CONFIG_MEDIA_RC_SUPPORT=y
227CONFIG_RC_DEVICES=y
228CONFIG_IR_GPIO_CIR=y
229CONFIG_MEDIA_USB_SUPPORT=y
230CONFIG_USB_VIDEO_CLASS=m
231CONFIG_V4L_PLATFORM_DRIVERS=y
232CONFIG_VIDEO_MXC_OUTPUT=y
233CONFIG_VIDEO_MXC_CAPTURE=m
234CONFIG_MXC_CAMERA_OV5640=m
235CONFIG_MXC_CAMERA_OV5642=m
236CONFIG_MXC_CAMERA_OV5640_MIPI=m
237CONFIG_MXC_TVIN_ADV7180=m
238CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
239CONFIG_VIDEO_MXC_IPU_OUTPUT=y
240CONFIG_VIDEO_MXC_PXP_V4L2=y
241CONFIG_VIDEO_MXC_CSI_CAMERA=m
242CONFIG_MXC_VADC=m
243CONFIG_MXC_MIPI_CSI=m
244CONFIG_MXC_CAMERA_OV5647_MIPI=m
245CONFIG_SOC_CAMERA=y
246CONFIG_VIDEO_MX3=y
247CONFIG_V4L_MEM2MEM_DRIVERS=y
248CONFIG_VIDEO_CODA=y
249CONFIG_RADIO_SI476X=y
250CONFIG_SOC_CAMERA_OV2640=y
251CONFIG_DRM=y
252CONFIG_DRM_VIVANTE=y
253CONFIG_FB=y
254CONFIG_FB_MXS=y
255CONFIG_FB_MXC_SYNC_PANEL=y
256CONFIG_FB_MXC_MIPI_DSI=y
257CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
258CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
259CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y
260CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y
261CONFIG_FB_MXC_LDB=y
262CONFIG_FB_MXC_HDMI=y
263CONFIG_FB_MXS_SII902X=y
264CONFIG_FB_MXC_DCIC=m
265CONFIG_HANNSTAR_CABC=y
266CONFIG_FB_MXC_EINK_PANEL=y
267CONFIG_FB_MXC_EINK_V2_PANEL=y
268CONFIG_LCD_CLASS_DEVICE=y
269CONFIG_LCD_L4F00242T03=y
270CONFIG_LCD_PLATFORM=y
271CONFIG_BACKLIGHT_PWM=y
272CONFIG_FRAMEBUFFER_CONSOLE=y
273CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
274CONFIG_LOGO=y
275CONFIG_SOUND=y
276CONFIG_SND=y
277CONFIG_SND_USB_AUDIO=m
278CONFIG_SND_SOC=y
279CONFIG_SND_IMX_SOC=y
280CONFIG_SND_SOC_EUKREA_TLV320=y
281CONFIG_SND_SOC_IMX_WM8960=y
282CONFIG_SND_SOC_IMX_SII902X=y
283CONFIG_SND_SOC_IMX_WM8958=y
284CONFIG_SND_SOC_IMX_CS42888=y
285CONFIG_SND_SOC_IMX_WM8962=y
286CONFIG_SND_SOC_IMX_SGTL5000=y
287CONFIG_SND_SOC_IMX_MQS=y
288CONFIG_SND_SOC_IMX_SPDIF=y
289CONFIG_SND_SOC_IMX_MC13783=y
290CONFIG_SND_SOC_IMX_SI476X=y
291CONFIG_SND_SOC_IMX_HDMI=y
292CONFIG_SND_SIMPLE_CARD=y
293CONFIG_USB=y
294CONFIG_USB_OTG_WHITELIST=y
295CONFIG_USB_OTG_FSM=y
296CONFIG_USB_EHCI_HCD=y
297CONFIG_USB_EHCI_MXC=y
298CONFIG_USB_HCD_TEST_MODE=y
299CONFIG_USB_ACM=m
300CONFIG_USB_STORAGE=y
301CONFIG_USB_CHIPIDEA=y
302CONFIG_USB_CHIPIDEA_UDC=y
303CONFIG_USB_CHIPIDEA_HOST=y
304CONFIG_USB_SERIAL=m
305CONFIG_USB_SERIAL_GENERIC=y
306CONFIG_USB_SERIAL_FTDI_SIO=m
307CONFIG_USB_SERIAL_OPTION=m
308CONFIG_USB_EHSET_TEST_FIXTURE=y
309CONFIG_NOP_USB_XCEIV=y
310CONFIG_USB_MXS_PHY=y
311CONFIG_USB_GADGET=y
312CONFIG_USB_CONFIGFS=m
313CONFIG_USB_CONFIGFS_SERIAL=y
314CONFIG_USB_CONFIGFS_ACM=y
315CONFIG_USB_CONFIGFS_OBEX=y
316CONFIG_USB_CONFIGFS_NCM=y
317CONFIG_USB_CONFIGFS_ECM=y
318CONFIG_USB_CONFIGFS_ECM_SUBSET=y
319CONFIG_USB_CONFIGFS_RNDIS=y
320CONFIG_USB_CONFIGFS_EEM=y
321CONFIG_USB_CONFIGFS_MASS_STORAGE=y
322CONFIG_USB_CONFIGFS_F_LB_SS=y
323CONFIG_USB_CONFIGFS_F_FS=y
324CONFIG_USB_ZERO=m
325CONFIG_USB_ETH=m
326CONFIG_USB_G_NCM=m
327CONFIG_USB_GADGETFS=m
328CONFIG_USB_MASS_STORAGE=m
329CONFIG_USB_G_SERIAL=m
330CONFIG_MMC=y
331CONFIG_MMC_SDHCI=y
332CONFIG_MMC_SDHCI_PLTFM=y
333CONFIG_MMC_SDHCI_ESDHC_IMX=y
334CONFIG_MXC_IPU=y
335CONFIG_MXC_IPU_V3_PRE=y
336CONFIG_MXC_GPU_VIV=y
337CONFIG_MXC_SIM=y
338CONFIG_MXC_MIPI_CSI2=y
339CONFIG_MXC_HDMI_CEC=y
340CONFIG_NEW_LEDS=y
341CONFIG_LEDS_CLASS=y
342CONFIG_LEDS_GPIO=y
343CONFIG_LEDS_TRIGGERS=y
344CONFIG_LEDS_TRIGGER_TIMER=y
345CONFIG_LEDS_TRIGGER_ONESHOT=y
346CONFIG_LEDS_TRIGGER_HEARTBEAT=y
347CONFIG_LEDS_TRIGGER_BACKLIGHT=y
348CONFIG_LEDS_TRIGGER_GPIO=y
349CONFIG_RTC_CLASS=y
350CONFIG_RTC_INTF_DEV_UIE_EMUL=y
351CONFIG_RTC_DRV_MC13XXX=y
352CONFIG_RTC_DRV_MXC=y
353CONFIG_RTC_DRV_SNVS=y
354CONFIG_DMADEVICES=y
355CONFIG_MXC_PXP_V2=y
356CONFIG_MXC_PXP_V3=y
357CONFIG_IMX_SDMA=y
358CONFIG_MXS_DMA=y
359CONFIG_DMATEST=m
360CONFIG_STAGING=y
361CONFIG_STAGING_MEDIA=y
362# CONFIG_IOMMU_SUPPORT is not set
363CONFIG_IIO=y
364CONFIG_IMX7D_ADC=y
365CONFIG_VF610_ADC=y
366CONFIG_PWM=y
367CONFIG_PWM_IMX=y
368CONFIG_EXT2_FS=y
369CONFIG_EXT2_FS_XATTR=y
370CONFIG_EXT2_FS_POSIX_ACL=y
371CONFIG_EXT2_FS_SECURITY=y
372CONFIG_EXT3_FS=y
373CONFIG_EXT3_FS_POSIX_ACL=y
374CONFIG_EXT3_FS_SECURITY=y
375CONFIG_EXT4_FS=y
376CONFIG_EXT4_FS_POSIX_ACL=y
377CONFIG_EXT4_FS_SECURITY=y
378CONFIG_QUOTA=y
379CONFIG_QUOTA_NETLINK_INTERFACE=y
380# CONFIG_PRINT_QUOTA_WARNING is not set
381CONFIG_AUTOFS4_FS=y
382CONFIG_FUSE_FS=y
383CONFIG_ISO9660_FS=m
384CONFIG_JOLIET=y
385CONFIG_ZISOFS=y
386CONFIG_UDF_FS=m
387CONFIG_MSDOS_FS=m
388CONFIG_VFAT_FS=y
389CONFIG_TMPFS=y
390CONFIG_JFFS2_FS=y
391CONFIG_UBIFS_FS=y
392CONFIG_NFS_FS=y
393CONFIG_NFS_V3_ACL=y
394CONFIG_NFS_V4=y
395CONFIG_ROOT_NFS=y
396CONFIG_NLS_DEFAULT="cp437"
397CONFIG_NLS_CODEPAGE_437=y
398CONFIG_NLS_ASCII=y
399CONFIG_NLS_ISO8859_1=y
400CONFIG_NLS_ISO8859_15=m
401CONFIG_NLS_UTF8=y
402CONFIG_DEBUG_FS=y
403CONFIG_MAGIC_SYSRQ=y
404# CONFIG_SCHED_DEBUG is not set
405# CONFIG_DEBUG_BUGVERBOSE is not set
406# CONFIG_FTRACE is not set
407CONFIG_SECURITYFS=y
408CONFIG_CRYPTO_USER=y
409CONFIG_CRYPTO_TEST=m
410CONFIG_CRYPTO_CTS=y
411CONFIG_CRYPTO_LRW=y
412CONFIG_CRYPTO_XTS=y
413CONFIG_CRYPTO_MD4=y
414CONFIG_CRYPTO_MD5=y
415CONFIG_CRYPTO_MICHAEL_MIC=y
416CONFIG_CRYPTO_RMD128=y
417CONFIG_CRYPTO_RMD160=y
418CONFIG_CRYPTO_RMD256=y
419CONFIG_CRYPTO_RMD320=y
420CONFIG_CRYPTO_SHA512=y
421CONFIG_CRYPTO_TGR192=y
422CONFIG_CRYPTO_WP512=y
423CONFIG_CRYPTO_BLOWFISH=y
424CONFIG_CRYPTO_CAMELLIA=y
425CONFIG_CRYPTO_DES=y
426CONFIG_CRYPTO_TWOFISH=y
427# CONFIG_CRYPTO_ANSI_CPRNG is not set
428CONFIG_CRYPTO_DEV_FSL_CAAM=y
429CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
430CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
431CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
432CONFIG_CRYPTO_DEV_MXS_DCP=y
433CONFIG_CRC_CCITT=m
434CONFIG_CRC_T10DIF=y
435CONFIG_CRC7=m
436CONFIG_LIBCRC32C=m
437CONFIG_FONTS=y
438CONFIG_FONT_8x8=y
439CONFIG_FONT_8x16=y
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb b/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb
deleted file mode 100644
index 621023b4..00000000
--- a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb
+++ /dev/null
@@ -1,26 +0,0 @@
1SUMMARY = "Realtime version of the FSL Community BSP i.MX6 Linux kernel with backported features and fixes"
2DESCRIPTION = "Linux kernel based on NXP 4.1-2.0.0 GA release, used by FSL Community BSP in order to \
3provide support for i.MX6 based platforms and include official Linux kernel stable updates, backported \
4features and fixes coming from the vendors, kernel community or FSL Community itself. \
5In addition, this kernel has the realtime patch (PREEMPT_RT) applied."
6
7include linux-fslc.inc
8
9PV .= "+git${SRCPV}"
10
11SRCBRANCH = "4.1-2.0.x-imx"
12SRCREV = "ee67fc7e072df596577e3a4e4fce7b51816d4b0a"
13
14SRC_URI += " \
15 ${KERNELORG_MIRROR}/linux/kernel/projects/rt/4.1/older/patch-4.1.38-rt45.patch.gz;name=rt-patch \
16 file://0001-fix-build.patch \
17 file://0002-no-split-ptlocks.patch \
18 file://0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch \
19 file://0004-export-swait-locked-functions.patch \
20"
21
22SRC_URI[rt-patch.md5sum] = "6e86714997e190a45fb5b9c951d2c179"
23SRC_URI[rt-patch.sha256sum] = "12aa4947ee656fa724e17d8971dcb3634a058c18afe59a472adfcd6f11d17f67"
24
25
26COMPATIBLE_MACHINE = "(mx6|mx7)"
diff --git a/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch b/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch
deleted file mode 100644
index aef97ea6..00000000
--- a/recipes-kernel/linux/linux-fslc-imx/0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch
+++ /dev/null
@@ -1,47 +0,0 @@
1From fe5844365ec6c4d61838f289926f4d55da94d2fb Mon Sep 17 00:00:00 2001
2From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
3Date: Fri, 2 Aug 2019 12:37:56 +0200
4Subject: [PATCH 1/2] Backport minimal compiler_attributes.h to support GCC 9
5
6This adds support for __copy to v4.9.y so that we can use it in
7init/exit_module to avoid -Werror=missing-attributes errors on GCC 9.
8
9Link: https://lore.kernel.org/lkml/259986242.BvXPX32bHu@devpool35/
10Cc: <stable@vger.kernel.org>
11Suggested-by: Rolf Eike Beer <eb@emlix.com>
12Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
13Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
14---
15 include/linux/compiler.h | 16 ++++++++++++++++
16 1 file changed, 16 insertions(+)
17
18diff --git a/include/linux/compiler.h b/include/linux/compiler.h
19index 3050de0dac96..0020ee1cab37 100644
20--- a/include/linux/compiler.h
21+++ b/include/linux/compiler.h
22@@ -54,6 +54,22 @@ extern void __chk_io_ptr(const volatile void __iomem *);
23
24 #ifdef __KERNEL__
25
26+/*
27+ * Minimal backport of compiler_attributes.h to add support for __copy
28+ * to v4.9.y so that we can use it in init/exit_module to avoid
29+ * -Werror=missing-attributes errors on GCC 9.
30+ */
31+#ifndef __has_attribute
32+# define __has_attribute(x) __GCC4_has_attribute_##x
33+# define __GCC4_has_attribute___copy__ 0
34+#endif
35+
36+#if __has_attribute(__copy__)
37+# define __copy(symbol) __attribute__((__copy__(symbol)))
38+#else
39+# define __copy(symbol)
40+#endif
41+
42 #ifdef __GNUC__
43 #include <linux/compiler-gcc.h>
44 #endif
45--
462.17.1
47
diff --git a/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch b/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
deleted file mode 100644
index 0b2d077d..00000000
--- a/recipes-kernel/linux/linux-fslc-imx/0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-.patch
+++ /dev/null
@@ -1,51 +0,0 @@
1From 846b11d8c834af4fa62393dadb490ea8246b332c Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@windriver.com>
3Date: Mon, 2 Jul 2018 23:10:28 -0400
4Subject: [PATCH] menuconfig,mconf-cfg: Allow specification of ncurses location
5
6In some cross build environments such as the Yocto Project build
7environment it provides an ncurses library that is compiled
8differently than the host's version. This causes display corruption
9problems when the host's curses includes are used instead of the
10includes from the provided compiler are overridden. There is a second
11case where there is no curses libraries at all on the host system and
12menuconfig will just fail entirely.
13
14The solution is simply to allow an override variable in
15check-lxdialog.sh for environments such as the Yocto Project. Adding
16a CROSS_CURSES_LIB and CROSS_CURSES_INC solves the issue and allowing
17compiling and linking against the right headers and libraries.
18
19Signed-off-by: Jason Wessel <jason.wessel@windriver.com>
20cc: Michal Marek <mmarek@suse.cz>
21cc: linux-kbuild@vger.kernel.org
22Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
23---
24 scripts/kconfig/mconf-cfg.sh | 8 ++++++++
25 1 file changed, 8 insertions(+)
26 mode change 100755 => 100644 scripts/kconfig/mconf-cfg.sh
27
28diff --git a/scripts/kconfig/mconf-cfg.sh b/scripts/kconfig/mconf-cfg.sh
29old mode 100755
30new mode 100644
31index c812872d7f9d..65a9b9e5b8a6
32--- a/scripts/kconfig/mconf-cfg.sh
33+++ b/scripts/kconfig/mconf-cfg.sh
34@@ -4,6 +4,14 @@
35 PKG="ncursesw"
36 PKG2="ncurses"
37
38+if [ "$CROSS_CURSES_LIB" != "" ]; then
39+ echo libs=\'$CROSS_CURSES_LIB\'
40+ if [ x"$CROSS_CURSES_INC" != x ]; then
41+ echo cflags=\'$CROSS_CURSES_INC\'
42+ fi
43+ exit 0
44+fi
45+
46 if [ -n "$(command -v pkg-config)" ]; then
47 if pkg-config --exists $PKG; then
48 echo cflags=\"$(pkg-config --cflags $PKG)\"
49--
502.20.1
51
diff --git a/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch b/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch
deleted file mode 100644
index 8472a151..00000000
--- a/recipes-kernel/linux/linux-fslc-imx/0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch
+++ /dev/null
@@ -1,84 +0,0 @@
1From 2d75d1869fb3d9d7d47ae7c0ac6fab4e7dd9487e Mon Sep 17 00:00:00 2001
2From: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
3Date: Fri, 2 Aug 2019 12:37:57 +0200
4Subject: [PATCH 2/2] include/linux/module.h: copy __init/__exit attrs to
5 init/cleanup_module
6
7commit a6e60d84989fa0e91db7f236eda40453b0e44afa upstream.
8
9The upcoming GCC 9 release extends the -Wmissing-attributes warnings
10(enabled by -Wall) to C and aliases: it warns when particular function
11attributes are missing in the aliases but not in their target.
12
13In particular, it triggers for all the init/cleanup_module
14aliases in the kernel (defined by the module_init/exit macros),
15ending up being very noisy.
16
17These aliases point to the __init/__exit functions of a module,
18which are defined as __cold (among other attributes). However,
19the aliases themselves do not have the __cold attribute.
20
21Since the compiler behaves differently when compiling a __cold
22function as well as when compiling paths leading to calls
23to __cold functions, the warning is trying to point out
24the possibly-forgotten attribute in the alias.
25
26In order to keep the warning enabled, we decided to silence
27this case. Ideally, we would mark the aliases directly
28as __init/__exit. However, there are currently around 132 modules
29in the kernel which are missing __init/__exit in their init/cleanup
30functions (either because they are missing, or for other reasons,
31e.g. the functions being called from somewhere else); and
32a section mismatch is a hard error.
33
34A conservative alternative was to mark the aliases as __cold only.
35However, since we would like to eventually enforce __init/__exit
36to be always marked, we chose to use the new __copy function
37attribute (introduced by GCC 9 as well to deal with this).
38With it, we copy the attributes used by the target functions
39into the aliases. This way, functions that were not marked
40as __init/__exit won't have their aliases marked either,
41and therefore there won't be a section mismatch.
42
43Note that the warning would go away marking either the extern
44declaration, the definition, or both. However, we only mark
45the definition of the alias, since we do not want callers
46(which only see the declaration) to be compiled as if the function
47was __cold (and therefore the paths leading to those calls
48would be assumed to be unlikely).
49
50Link: https://lore.kernel.org/lkml/259986242.BvXPX32bHu@devpool35/
51Cc: <stable@vger.kernel.org>
52Link: https://lore.kernel.org/lkml/20190123173707.GA16603@gmail.com/
53Link: https://lore.kernel.org/lkml/20190206175627.GA20399@gmail.com/
54Suggested-by: Martin Sebor <msebor@gcc.gnu.org>
55Acked-by: Jessica Yu <jeyu@kernel.org>
56Signed-off-by: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
57Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
58---
59 include/linux/module.h | 4 ++--
60 1 file changed, 2 insertions(+), 2 deletions(-)
61
62diff --git a/include/linux/module.h b/include/linux/module.h
63index 0c3207d26ac0..06aca48417c9 100644
64--- a/include/linux/module.h
65+++ b/include/linux/module.h
66@@ -129,13 +129,13 @@ extern void cleanup_module(void);
67 #define module_init(initfn) \
68 static inline initcall_t __inittest(void) \
69 { return initfn; } \
70- int init_module(void) __attribute__((alias(#initfn)));
71+ int init_module(void) __copy(initfn) __attribute__((alias(#initfn)));
72
73 /* This is only required if you want to be unloadable. */
74 #define module_exit(exitfn) \
75 static inline exitcall_t __exittest(void) \
76 { return exitfn; } \
77- void cleanup_module(void) __attribute__((alias(#exitfn)));
78+ void cleanup_module(void) __copy(exitfn) __attribute__((alias(#exitfn)));
79
80 #endif
81
82--
832.17.1
84
diff --git a/recipes-kernel/linux/linux-fslc-imx/defconfig b/recipes-kernel/linux/linux-fslc-imx/defconfig
deleted file mode 100644
index f9e53a6a..00000000
--- a/recipes-kernel/linux/linux-fslc-imx/defconfig
+++ /dev/null
@@ -1,426 +0,0 @@
1CONFIG_KERNEL_LZO=y
2CONFIG_SYSVIPC=y
3CONFIG_NO_HZ=y
4CONFIG_HIGH_RES_TIMERS=y
5CONFIG_IKCONFIG=y
6CONFIG_IKCONFIG_PROC=y
7CONFIG_LOG_BUF_SHIFT=18
8CONFIG_CGROUPS=y
9CONFIG_RELAY=y
10CONFIG_BLK_DEV_INITRD=y
11CONFIG_EXPERT=y
12CONFIG_KALLSYMS_ALL=y
13CONFIG_PERF_EVENTS=y
14# CONFIG_SLUB_DEBUG is not set
15# CONFIG_COMPAT_BRK is not set
16CONFIG_MODULES=y
17CONFIG_MODULE_UNLOAD=y
18CONFIG_MODVERSIONS=y
19CONFIG_MODULE_SRCVERSION_ALL=y
20# CONFIG_BLK_DEV_BSG is not set
21CONFIG_ARCH_MXC=y
22CONFIG_SOC_IMX50=y
23CONFIG_SOC_IMX53=y
24CONFIG_SOC_IMX6Q=y
25CONFIG_SOC_IMX6SL=y
26CONFIG_SOC_IMX6SX=y
27CONFIG_SOC_IMX6ULL=y
28CONFIG_SOC_IMX7D=y
29CONFIG_SOC_IMX6SLL=y
30CONFIG_SOC_VF610=y
31# CONFIG_SWP_EMULATE is not set
32CONFIG_SMP=y
33CONFIG_VMSPLIT_2G=y
34CONFIG_PREEMPT=y
35CONFIG_AEABI=y
36CONFIG_HIGHMEM=y
37CONFIG_CMA=y
38CONFIG_CMDLINE="noinitrd console=ttymxc0,115200"
39CONFIG_CPU_FREQ=y
40CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
41CONFIG_CPU_FREQ_GOV_POWERSAVE=y
42CONFIG_CPU_FREQ_GOV_USERSPACE=y
43CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
44CONFIG_CPU_FREQ_GOV_INTERACTIVE=y
45CONFIG_ARM_IMX6Q_CPUFREQ=y
46CONFIG_ARM_IMX7D_CPUFREQ=y
47CONFIG_CPU_IDLE=y
48CONFIG_VFP=y
49CONFIG_NEON=y
50CONFIG_BINFMT_MISC=m
51CONFIG_PM_DEBUG=y
52CONFIG_PM_TEST_SUSPEND=y
53CONFIG_NET=y
54CONFIG_PACKET=y
55CONFIG_UNIX=y
56CONFIG_INET=y
57CONFIG_IP_PNP=y
58CONFIG_IP_PNP_DHCP=y
59# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
60# CONFIG_INET_XFRM_MODE_TUNNEL is not set
61# CONFIG_INET_XFRM_MODE_BEET is not set
62CONFIG_VLAN_8021Q=y
63CONFIG_LLC2=y
64CONFIG_CAN=y
65CONFIG_CAN_FLEXCAN=y
66CONFIG_CAN_M_CAN=y
67CONFIG_BT=y
68CONFIG_BT_RFCOMM=y
69CONFIG_BT_RFCOMM_TTY=y
70CONFIG_BT_BNEP=y
71CONFIG_BT_BNEP_MC_FILTER=y
72CONFIG_BT_BNEP_PROTO_FILTER=y
73CONFIG_BT_HIDP=y
74CONFIG_BT_HCIBTUSB=y
75CONFIG_BT_HCIUART=y
76CONFIG_BT_HCIUART_BCSP=y
77CONFIG_BT_HCIUART_ATH3K=y
78CONFIG_BT_HCIBCM203X=y
79CONFIG_BT_ATH3K=y
80CONFIG_CFG80211=y
81CONFIG_MAC80211=y
82CONFIG_DEVTMPFS=y
83CONFIG_DEVTMPFS_MOUNT=y
84# CONFIG_STANDALONE is not set
85CONFIG_DMA_CMA=y
86CONFIG_CMA_SIZE_MBYTES=0
87CONFIG_IMX_WEIM=y
88CONFIG_CONNECTOR=y
89CONFIG_MTD=y
90CONFIG_MTD_CMDLINE_PARTS=y
91CONFIG_MTD_BLOCK=y
92CONFIG_MTD_CFI=y
93CONFIG_MTD_JEDECPROBE=y
94CONFIG_MTD_CFI_INTELEXT=y
95CONFIG_MTD_CFI_AMDSTD=y
96CONFIG_MTD_CFI_STAA=y
97CONFIG_MTD_PHYSMAP_OF=y
98CONFIG_MTD_DATAFLASH=y
99CONFIG_MTD_M25P80=y
100CONFIG_MTD_SST25L=y
101CONFIG_MTD_NAND=y
102CONFIG_MTD_NAND_GPMI_NAND=y
103CONFIG_MTD_NAND_MXC=y
104CONFIG_MTD_SPI_NOR=y
105CONFIG_SPI_FSL_QUADSPI=y
106CONFIG_MTD_UBI=y
107CONFIG_BLK_DEV_LOOP=y
108CONFIG_BLK_DEV_RAM=y
109CONFIG_BLK_DEV_RAM_SIZE=65536
110CONFIG_SENSORS_FXOS8700=y
111CONFIG_SENSORS_FXAS2100X=y
112CONFIG_EEPROM_AT24=y
113CONFIG_EEPROM_AT25=y
114# CONFIG_SCSI_PROC_FS is not set
115CONFIG_BLK_DEV_SD=y
116CONFIG_SCSI_CONSTANTS=y
117CONFIG_SCSI_LOGGING=y
118CONFIG_SCSI_SCAN_ASYNC=y
119# CONFIG_SCSI_LOWLEVEL is not set
120CONFIG_ATA=y
121CONFIG_SATA_AHCI_PLATFORM=y
122CONFIG_AHCI_IMX=y
123CONFIG_PATA_IMX=y
124CONFIG_NETDEVICES=y
125# CONFIG_NET_VENDOR_BROADCOM is not set
126CONFIG_CS89x0=y
127CONFIG_CS89x0_PLATFORM=y
128# CONFIG_NET_VENDOR_FARADAY is not set
129# CONFIG_NET_VENDOR_INTEL is not set
130# CONFIG_NET_VENDOR_MARVELL is not set
131# CONFIG_NET_VENDOR_MICREL is not set
132# CONFIG_NET_VENDOR_MICROCHIP is not set
133# CONFIG_NET_VENDOR_NATSEMI is not set
134# CONFIG_NET_VENDOR_SEEQ is not set
135CONFIG_SMC91X=y
136CONFIG_SMC911X=y
137CONFIG_SMSC911X=y
138# CONFIG_NET_VENDOR_STMICRO is not set
139CONFIG_MICREL_PHY=y
140CONFIG_USB_PEGASUS=m
141CONFIG_USB_RTL8150=m
142CONFIG_USB_RTL8152=m
143CONFIG_USB_USBNET=m
144CONFIG_USB_NET_CDC_EEM=m
145CONFIG_BCMDHD=y
146CONFIG_BCMDHD_SDIO=y
147CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin"
148CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal"
149# CONFIG_RTL_CARDS is not set
150# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
151CONFIG_INPUT_EVDEV=y
152CONFIG_INPUT_EVBUG=m
153CONFIG_KEYBOARD_GPIO=y
154CONFIG_KEYBOARD_IMX=y
155CONFIG_MOUSE_PS2=m
156CONFIG_MOUSE_PS2_ELANTECH=y
157CONFIG_INPUT_TOUCHSCREEN=y
158CONFIG_TOUCHSCREEN_ADS7846=y
159CONFIG_TOUCHSCREEN_EGALAX=y
160CONFIG_TOUCHSCREEN_ELAN_TS=y
161CONFIG_TOUCHSCREEN_MAX11801=y
162CONFIG_TOUCHSCREEN_IMX6UL_TSC=y
163CONFIG_TOUCHSCREEN_MC13783=y
164CONFIG_TOUCHSCREEN_TSC2007=y
165CONFIG_TOUCHSCREEN_STMPE=y
166CONFIG_INPUT_MISC=y
167CONFIG_INPUT_MMA8450=y
168CONFIG_INPUT_MPL3115=y
169CONFIG_SENSOR_FXLS8471=y
170CONFIG_INPUT_ISL29023=y
171CONFIG_SERIO_SERPORT=m
172# CONFIG_LEGACY_PTYS is not set
173# CONFIG_DEVKMEM is not set
174CONFIG_SERIAL_IMX=y
175CONFIG_SERIAL_IMX_CONSOLE=y
176CONFIG_SERIAL_FSL_LPUART=y
177CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
178CONFIG_FSL_OTP=y
179CONFIG_HW_RANDOM_IMX_RNG=y
180# CONFIG_I2C_COMPAT is not set
181CONFIG_I2C_CHARDEV=y
182# CONFIG_I2C_HELPER_AUTO is not set
183CONFIG_I2C_ALGOPCF=m
184CONFIG_I2C_ALGOPCA=m
185CONFIG_I2C_IMX=y
186CONFIG_SPI=y
187CONFIG_SPI_GPIO=y
188CONFIG_SPI_IMX=y
189CONFIG_GPIO_SYSFS=y
190CONFIG_GPIO_MAX732X=y
191CONFIG_GPIO_PCA953X=y
192CONFIG_GPIO_74X164=y
193CONFIG_POWER_RESET=y
194CONFIG_POWER_RESET_SYSCON_POWEROFF=y
195CONFIG_POWER_SUPPLY=y
196CONFIG_SABRESD_MAX8903=y
197CONFIG_SENSORS_MAX17135=y
198CONFIG_SENSORS_MAG3110=y
199CONFIG_THERMAL=y
200CONFIG_CPU_THERMAL=y
201CONFIG_IMX_THERMAL=y
202CONFIG_DEVICE_THERMAL=y
203CONFIG_WATCHDOG=y
204CONFIG_IMX2_WDT=y
205CONFIG_MFD_DA9052_I2C=y
206CONFIG_MFD_MC13XXX_SPI=y
207CONFIG_MFD_MC13XXX_I2C=y
208CONFIG_MFD_MAX17135=y
209CONFIG_MFD_SI476X_CORE=y
210CONFIG_MFD_STMPE=y
211CONFIG_REGULATOR=y
212CONFIG_REGULATOR_FIXED_VOLTAGE=y
213CONFIG_REGULATOR_ANATOP=y
214CONFIG_REGULATOR_DA9052=y
215CONFIG_REGULATOR_GPIO=y
216CONFIG_REGULATOR_MAX17135=y
217CONFIG_REGULATOR_MC13783=y
218CONFIG_REGULATOR_MC13892=y
219CONFIG_REGULATOR_PFUZE100=y
220CONFIG_MEDIA_SUPPORT=y
221CONFIG_MEDIA_CAMERA_SUPPORT=y
222CONFIG_MEDIA_RADIO_SUPPORT=y
223CONFIG_MEDIA_RC_SUPPORT=y
224CONFIG_RC_DEVICES=y
225CONFIG_IR_GPIO_CIR=y
226CONFIG_MEDIA_USB_SUPPORT=y
227CONFIG_USB_VIDEO_CLASS=m
228CONFIG_V4L_PLATFORM_DRIVERS=y
229CONFIG_VIDEO_MXC_OUTPUT=y
230CONFIG_VIDEO_MXC_CAPTURE=m
231CONFIG_MXC_CAMERA_OV5640=m
232CONFIG_MXC_CAMERA_OV5642=m
233CONFIG_MXC_CAMERA_OV5640_MIPI=m
234CONFIG_MXC_TVIN_ADV7180=m
235CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m
236CONFIG_VIDEO_MXC_IPU_OUTPUT=y
237CONFIG_VIDEO_MXC_PXP_V4L2=y
238CONFIG_VIDEO_MXC_CSI_CAMERA=m
239CONFIG_MXC_VADC=m
240CONFIG_MXC_MIPI_CSI=m
241CONFIG_MXC_CAMERA_OV5647_MIPI=m
242CONFIG_SOC_CAMERA=y
243CONFIG_V4L_MEM2MEM_DRIVERS=y
244CONFIG_VIDEO_CODA=y
245CONFIG_RADIO_SI476X=y
246CONFIG_SOC_CAMERA_OV2640=y
247CONFIG_DRM=y
248CONFIG_DRM_VIVANTE=y
249CONFIG_FB_MXS=y
250CONFIG_FB_MXC_SYNC_PANEL=y
251CONFIG_FB_MXC_MIPI_DSI=y
252CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
253CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
254CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y
255CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y
256CONFIG_FB_MXC_LDB=y
257CONFIG_FB_MXC_HDMI=y
258CONFIG_FB_MXS_SII902X=y
259CONFIG_FB_MXC_DCIC=m
260CONFIG_HANNSTAR_CABC=y
261CONFIG_FB_MXC_EINK_PANEL=y
262CONFIG_FB_MXC_EINK_V2_PANEL=y
263CONFIG_LCD_CLASS_DEVICE=y
264CONFIG_LCD_L4F00242T03=y
265CONFIG_LCD_PLATFORM=y
266CONFIG_BACKLIGHT_PWM=y
267CONFIG_FRAMEBUFFER_CONSOLE=y
268CONFIG_LOGO=y
269CONFIG_SOUND=y
270CONFIG_SND=y
271CONFIG_SND_USB_AUDIO=m
272CONFIG_SND_SOC=y
273CONFIG_SND_IMX_SOC=y
274CONFIG_SND_SOC_EUKREA_TLV320=y
275CONFIG_SND_SOC_IMX_WM8960=y
276CONFIG_SND_SOC_IMX_SII902X=y
277CONFIG_SND_SOC_IMX_WM8958=y
278CONFIG_SND_SOC_IMX_CS42888=y
279CONFIG_SND_SOC_IMX_WM8962=y
280CONFIG_SND_SOC_IMX_SGTL5000=y
281CONFIG_SND_SOC_IMX_MQS=y
282CONFIG_SND_SOC_IMX_SPDIF=y
283CONFIG_SND_SOC_IMX_MC13783=y
284CONFIG_SND_SOC_IMX_SI476X=y
285CONFIG_SND_SOC_IMX_HDMI=y
286CONFIG_SND_SIMPLE_CARD=y
287CONFIG_USB=y
288CONFIG_USB_OTG_WHITELIST=y
289CONFIG_USB_EHCI_HCD=y
290CONFIG_USB_EHCI_MXC=y
291CONFIG_USB_HCD_TEST_MODE=y
292CONFIG_USB_ACM=m
293CONFIG_USB_STORAGE=y
294CONFIG_USB_CHIPIDEA=y
295CONFIG_USB_CHIPIDEA_UDC=y
296CONFIG_USB_CHIPIDEA_HOST=y
297CONFIG_USB_SERIAL=m
298CONFIG_USB_SERIAL_GENERIC=y
299CONFIG_USB_SERIAL_FTDI_SIO=m
300CONFIG_USB_SERIAL_OPTION=m
301CONFIG_USB_EHSET_TEST_FIXTURE=y
302CONFIG_NOP_USB_XCEIV=y
303CONFIG_USB_MXS_PHY=y
304CONFIG_USB_GADGET=y
305CONFIG_USB_CONFIGFS=m
306CONFIG_USB_CONFIGFS_SERIAL=y
307CONFIG_USB_CONFIGFS_ACM=y
308CONFIG_USB_CONFIGFS_OBEX=y
309CONFIG_USB_CONFIGFS_NCM=y
310CONFIG_USB_CONFIGFS_ECM=y
311CONFIG_USB_CONFIGFS_ECM_SUBSET=y
312CONFIG_USB_CONFIGFS_RNDIS=y
313CONFIG_USB_CONFIGFS_EEM=y
314CONFIG_USB_CONFIGFS_MASS_STORAGE=y
315CONFIG_USB_CONFIGFS_F_LB_SS=y
316CONFIG_USB_CONFIGFS_F_FS=y
317CONFIG_USB_ZERO=m
318CONFIG_USB_ETH=m
319CONFIG_USB_G_NCM=m
320CONFIG_USB_GADGETFS=m
321CONFIG_USB_MASS_STORAGE=m
322CONFIG_USB_G_SERIAL=m
323CONFIG_MMC=y
324CONFIG_MMC_SDHCI=y
325CONFIG_MMC_SDHCI_PLTFM=y
326CONFIG_MMC_SDHCI_ESDHC_IMX=y
327CONFIG_MXC_IPU=y
328CONFIG_MXC_IPU_V3_PRE=y
329CONFIG_MXC_GPU_VIV=y
330CONFIG_MXC_SIM=y
331CONFIG_MXC_MIPI_CSI2=y
332CONFIG_MXC_HDMI_CEC=y
333CONFIG_NEW_LEDS=y
334CONFIG_LEDS_CLASS=y
335CONFIG_LEDS_GPIO=y
336CONFIG_LEDS_TRIGGERS=y
337CONFIG_LEDS_TRIGGER_TIMER=y
338CONFIG_LEDS_TRIGGER_ONESHOT=y
339CONFIG_LEDS_TRIGGER_HEARTBEAT=y
340CONFIG_LEDS_TRIGGER_BACKLIGHT=y
341CONFIG_LEDS_TRIGGER_GPIO=y
342CONFIG_RTC_CLASS=y
343CONFIG_RTC_INTF_DEV_UIE_EMUL=y
344CONFIG_RTC_DRV_MC13XXX=y
345CONFIG_RTC_DRV_MXC=y
346CONFIG_RTC_DRV_SNVS=y
347CONFIG_DMADEVICES=y
348CONFIG_IMX_SDMA=y
349CONFIG_MXS_DMA=y
350CONFIG_MXC_PXP_V2=y
351CONFIG_MXC_PXP_V3=y
352CONFIG_DMATEST=m
353CONFIG_STAGING=y
354CONFIG_STAGING_MEDIA=y
355# CONFIG_IOMMU_SUPPORT is not set
356CONFIG_IIO=y
357CONFIG_IMX7D_ADC=y
358CONFIG_VF610_ADC=y
359CONFIG_PWM=y
360CONFIG_PWM_IMX=y
361CONFIG_EXT2_FS=y
362CONFIG_EXT2_FS_XATTR=y
363CONFIG_EXT2_FS_POSIX_ACL=y
364CONFIG_EXT2_FS_SECURITY=y
365CONFIG_EXT3_FS=y
366CONFIG_EXT3_FS_POSIX_ACL=y
367CONFIG_EXT3_FS_SECURITY=y
368CONFIG_QUOTA=y
369CONFIG_QUOTA_NETLINK_INTERFACE=y
370# CONFIG_PRINT_QUOTA_WARNING is not set
371CONFIG_AUTOFS4_FS=y
372CONFIG_FUSE_FS=y
373CONFIG_ISO9660_FS=m
374CONFIG_JOLIET=y
375CONFIG_ZISOFS=y
376CONFIG_UDF_FS=m
377CONFIG_MSDOS_FS=m
378CONFIG_VFAT_FS=y
379CONFIG_TMPFS=y
380CONFIG_JFFS2_FS=y
381CONFIG_UBIFS_FS=y
382CONFIG_NFS_FS=y
383CONFIG_NFS_V3_ACL=y
384CONFIG_NFS_V4=y
385CONFIG_ROOT_NFS=y
386CONFIG_NLS_DEFAULT="cp437"
387CONFIG_NLS_CODEPAGE_437=y
388CONFIG_NLS_ASCII=y
389CONFIG_NLS_ISO8859_1=y
390CONFIG_NLS_ISO8859_15=m
391CONFIG_NLS_UTF8=y
392CONFIG_MAGIC_SYSRQ=y
393# CONFIG_SCHED_DEBUG is not set
394# CONFIG_DEBUG_BUGVERBOSE is not set
395CONFIG_FUNCTION_TRACER=y
396CONFIG_SECURITYFS=y
397CONFIG_CRYPTO_USER=y
398CONFIG_CRYPTO_TEST=m
399CONFIG_CRYPTO_CTS=y
400CONFIG_CRYPTO_LRW=y
401CONFIG_CRYPTO_XTS=y
402CONFIG_CRYPTO_MD4=y
403CONFIG_CRYPTO_MD5=y
404CONFIG_CRYPTO_MICHAEL_MIC=y
405CONFIG_CRYPTO_RMD128=y
406CONFIG_CRYPTO_RMD160=y
407CONFIG_CRYPTO_RMD256=y
408CONFIG_CRYPTO_RMD320=y
409CONFIG_CRYPTO_SHA512=y
410CONFIG_CRYPTO_TGR192=y
411CONFIG_CRYPTO_WP512=y
412CONFIG_CRYPTO_BLOWFISH=y
413CONFIG_CRYPTO_CAMELLIA=y
414CONFIG_CRYPTO_TWOFISH=y
415CONFIG_CRYPTO_DEV_FSL_CAAM=y
416CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
417CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
418CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
419CONFIG_CRYPTO_DEV_MXS_DCP=y
420CONFIG_CRC_CCITT=m
421CONFIG_CRC_T10DIF=y
422CONFIG_CRC7=m
423CONFIG_LIBCRC32C=m
424CONFIG_FONTS=y
425CONFIG_FONT_8x8=y
426CONFIG_FONT_8x16=y
diff --git a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb b/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
deleted file mode 100644
index b66d0888..00000000
--- a/recipes-kernel/linux/linux-fslc-imx_4.9-1.0.x.bb
+++ /dev/null
@@ -1,21 +0,0 @@
1# Copyright (C) 2015, 2017 O.S. Systems Software LTDA.
2# Released under the MIT license (see COPYING.MIT for the terms)
3
4SUMMARY = "FSL Community BSP i.MX Linux kernel with backported features and fixes"
5DESCRIPTION = "Linux kernel based on NXP 4.9.11-1.0.0 GA release, used by FSL Community BSP in order to \
6provide support for i.MX based platforms and include official Linux kernel stable updates, backported \
7features and fixes coming from the vendors, kernel community or FSL Community itself."
8
9include linux-fslc.inc
10
11PV .= "+git${SRCPV}"
12
13CVE_VERSION = "${KERNEL_VERSION}"
14
15SRCBRANCH = "4.9-1.0.x-imx"
16SRCREV = "953c6e30c9701fda69ef08e2476c541dc4fb1453"
17SRC_URI += "file://0001-Backport-minimal-compiler_attributes.h-to-support-GC.patch \
18 file://0002-include-linux-module.h-copy-__init-__exit-attrs-to-i.patch \
19 "
20
21COMPATIBLE_MACHINE = "(mx6|mx7)"