diff options
241 files changed, 27093 insertions, 0 deletions
diff --git a/meta-fsl-arm/.gitignore b/meta-fsl-arm/.gitignore new file mode 100644 index 00000000..b25c15b8 --- /dev/null +++ b/meta-fsl-arm/.gitignore | |||
@@ -0,0 +1 @@ | |||
*~ | |||
diff --git a/meta-fsl-arm/EULA b/meta-fsl-arm/EULA new file mode 100644 index 00000000..4c129828 --- /dev/null +++ b/meta-fsl-arm/EULA | |||
@@ -0,0 +1,590 @@ | |||
1 | LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
2 | |||
3 | IMPORTANT. Read the following Freescale Semiconductor Software License | ||
4 | Agreement ("Agreement") completely. By selecting the "I Accept" button at | ||
5 | the end of this page, you indicate that you accept the terms of the Agreement | ||
6 | and you acknowledge that you have the authority, for yourself or on behalf of | ||
7 | your company, to bind your company to these terms. You may then download or | ||
8 | install the file. | ||
9 | |||
10 | FREESCALE SEMICONDUCTOR SOFTWARE LICENSE AGREEMENT | ||
11 | |||
12 | This is a legal agreement between you, as an authorized representative of your | ||
13 | employer, or if you have no employer, as an individual (together "you"), and | ||
14 | Freescale Semiconductor, Inc. ("Freescale") and its Affiliates. It concerns | ||
15 | your rights to use the software identified in the Software Content Register | ||
16 | and provided to you in binary or source code form and any accompanying written | ||
17 | materials (the "Licensed Software"). The Licensed Software may include any | ||
18 | updates or error corrections or documentation relating to the Licensed Software | ||
19 | provided to you by Freescale under this License. In consideration for Freescale | ||
20 | allowing you to access the Licensed Software, you are agreeing to be bound by | ||
21 | the terms of this Agreement. If you do not agree to all of the terms of this | ||
22 | Agreement, do not download or install the Licensed Software. If you change your | ||
23 | mind later, stop using the Licensed Software and delete all copies of the | ||
24 | Licensed Software in your possession or control. Any copies of the Licensed | ||
25 | Software that you have already distributed, where permitted, and do not destroy | ||
26 | will continue to be governed by this Agreement. Your prior use will also | ||
27 | continue to be governed by this Agreement. | ||
28 | |||
29 | 1. DEFINITIONS | ||
30 | |||
31 | 1.1. "Affiliates" means, any corporation, or entity directly or | ||
32 | indirectly controlled by, controlling, or under common control with Freescale. | ||
33 | |||
34 | 1.2. "Essential Patent" means a patent to the limited extent that | ||
35 | infringement of such patent cannot be avoided in remaining compliant with the | ||
36 | technology standards implicated by the usage of any of the Licensed Software, | ||
37 | including optional implementation of the standards, on technical but not | ||
38 | commercial grounds, taking into account normal technical practice and the state | ||
39 | of the art generally available at the time of standardization. | ||
40 | |||
41 | 1.3. "Intellectual Property Rights" means any and all rights under | ||
42 | statute, common law or equity in and under copyrights, trade secrets, and | ||
43 | patents (including utility models), and analogous rights throughout the world, | ||
44 | including any applications for and the right to apply for, any of the | ||
45 | foregoing. | ||
46 | |||
47 | 1.4. "Software Content Register" means the documentation | ||
48 | accompanying the Licensed Software which identifies the contents of the | ||
49 | Licensed Software, including but not limited to identification of any Third | ||
50 | Party Software. | ||
51 | |||
52 | 1.5. "Third Party Software" means, any software included in the | ||
53 | Licensed Software that is not Freescale Proprietary software, and is not open | ||
54 | source software, and to which different license terms may apply. | ||
55 | |||
56 | 2. LICENSE GRANT. | ||
57 | |||
58 | 2.1. Separate license grants to Third Party Software, or other | ||
59 | terms applicable to the Licensed Software if different from those granted in | ||
60 | this Section 2, are contained in Appendix A. The Licensed Software is | ||
61 | accompanied by a Software Content Register which will identify that portion of | ||
62 | the Licensed Software, if any, that is subject to the different terms in | ||
63 | Appendix A. | ||
64 | |||
65 | 2.2. Exclusively in connection with your development and | ||
66 | distribution of product containing a programmable processing unit (e.g. a | ||
67 | microprocessor, microcontroller, or digital signal processor) supplied directly | ||
68 | or indirectly from Freescale ("Authorized System") Freescale grants you a | ||
69 | world-wide, personal, non-transferable, non-exclusive, non-sublicensable, | ||
70 | license, under Freescale's Intellectual Property Rights: | ||
71 | |||
72 | (a) to use and reproduce the Licensed Software only as part of, or | ||
73 | integrated within, Authorized Systems and not on a standalone basis; | ||
74 | |||
75 | (b) to directly or indirectly manufacture, demonstrate, copy, distribute, | ||
76 | market and sell the Licensed Software in object code (machine readable) only as | ||
77 | part of, or embedded within, Authorized Systems in object code form and not on | ||
78 | a standalone basis. Notwithstanding the foregoing, those files marked as .h | ||
79 | files ("Header files") may be distributed in source or object code form, but | ||
80 | only as part of, or embedded within Authorized Systems. | ||
81 | |||
82 | (c) to copy, use and distribute as needed, solely in connection with an | ||
83 | Authorized System, proprietary Freescale information associated with the | ||
84 | Licensed Software for the purpose of developing, maintaining and supporting | ||
85 | Authorized Systems with which the Licensed Software is integrated or | ||
86 | associated. | ||
87 | |||
88 | 2.3. For Freescale Licensed Software provided to you in source code | ||
89 | form (human readable), Freescale further grants to you a worldwide, personal, | ||
90 | non-transferable, non-exclusive, non-sublicensable, license, under Freescale's | ||
91 | Intellectual Property Rights: | ||
92 | |||
93 | (a) to prepare derivative works of the Licensed Software, only as part of, | ||
94 | or integrated within, Authorized Systems and not on a standalone basis,; | ||
95 | |||
96 | (b) to use, demonstrate, copy, distribute, market and sell the derivative | ||
97 | works of the Licensed Software in object code (machine readable) only as part | ||
98 | of, or integrated within, Authorized Systems and not on a standalone basis. | ||
99 | Notwithstanding the foregoing, those files marked as .h files ("Header files") | ||
100 | may be distributed in source or object code form, but only as part of, or | ||
101 | embedded within Authorized Systems. | ||
102 | |||
103 | 2.4. You may use subcontractors on your premises to exercise your | ||
104 | rights under Section 2.2 and 2.3 so long as you have an agreement in place with | ||
105 | the subcontractor containing confidentiality restrictions no less stringent | ||
106 | than those contained in this Agreement. You will remain liable for your | ||
107 | subcontractors' adherence to the terms of this Agreement and for any and all | ||
108 | acts and omissions of such subcontractors with respect to this Agreement and | ||
109 | the Licensed Software. | ||
110 | |||
111 | 3. LICENSE LIMITATIONS AND RESTRICTIONS. | ||
112 | |||
113 | 3.1. The licenses granted above in Section 2.3 only extend to | ||
114 | Freescale intellectual property rights that would be infringed by the Licensed | ||
115 | Software prior to your preparation of any derivative work. | ||
116 | |||
117 | 3.2. The Licensed Software is licensed to you, not sold. Title to | ||
118 | Licensed Software delivered hereunder remains vested in Freescale or | ||
119 | Freescale's licensor and cannot be assigned or transferred. You are expressly | ||
120 | forbidden from selling or otherwise distributing the Licensed Software, or any | ||
121 | portion thereof, except as expressly permitted herein. This Agreement does not | ||
122 | grant to you any implied rights under any Freescale or third party intellectual | ||
123 | property. | ||
124 | |||
125 | 3.3. You may not translate, reverse engineer, decompile, or | ||
126 | disassemble the Licensed Software except to the extent applicable law | ||
127 | specifically prohibits such restriction. You must prohibit your sub-licensees | ||
128 | from translating, reverse engineering, decompiling, or disassembling the | ||
129 | Licensed Software except to the extent applicable law specifically prohibits | ||
130 | such restriction. | ||
131 | |||
132 | 3.4. You must reproduce any and all of Freescale's (or its third | ||
133 | party licensor's) copyright notices and other proprietary legends on copies of | ||
134 | Licensed Software. | ||
135 | |||
136 | 3.5. If you distribute the Licensed Software to the United States | ||
137 | Government, then the Licensed Software is "restricted computer software" and | ||
138 | is subject to FAR 52.227-19 (c)(1) and (c)(2). | ||
139 | |||
140 | 3.6. You grant to Freescale a non-exclusive, non-transferable, | ||
141 | irrevocable, perpetual, worldwide, royalty-free, sub-licensable license under | ||
142 | your Intellectual Property Rights to use without restriction and for any | ||
143 | purpose any suggestion, comment or other feedback related to the Licensed | ||
144 | Software (including, but not limited to, error corrections and bug fixes). | ||
145 | |||
146 | 3.7. You will not take or fail to take any action that could | ||
147 | subject the Licensed Software to an Excluded License. An Excluded License means | ||
148 | any license that requires, as a condition of use, modification or distribution | ||
149 | of software subject to the Excluded License, that such software or other | ||
150 | software combined and/or distributed with the software be (i) disclosed or | ||
151 | distributed in source code form; (ii) licensed for the purpose of making | ||
152 | derivative works; or (iii) redistributable at no charge. | ||
153 | |||
154 | 3.8. You may not publish or distribute information, results or data | ||
155 | associated with the use of the Licensed Software to anyone other than | ||
156 | Freescale; however you must advise Freescale of any results obtained including | ||
157 | any problems or suggested improvements thereof. Freescale retains the right to | ||
158 | use such results and related information in any manner it deems appropriate. | ||
159 | |||
160 | 4. OPEN SOURCE. Open source software included in the Licensed | ||
161 | Software is not licensed under the terms of this Agreement, but is instead | ||
162 | licensed under the terms of the applicable open source license(s), such as the | ||
163 | BSD License, Apache License or the GNU Lesser General Public License. Your use | ||
164 | of the open source software is subject to the terms of each applicable license. | ||
165 | You must agree to the terms of each applicable license, or you cannot use the | ||
166 | open source software. | ||
167 | |||
168 | 5. INTELLECTUAL PROPERTY RIGHTS. Subject to Freescale's ownership | ||
169 | interest in the underlying Licensed Software, all intellectual property rights | ||
170 | associated with, and title to, your Authorized System will be retained by or | ||
171 | will vest in you. Your modifications to the Licensed Software, and all | ||
172 | intellectual property rights associated with, and title thereto, will be the | ||
173 | property of Freescale. Upon request, you must provide Freescale the source | ||
174 | code of any derivative of the Licensed Software. You agree to assign all, | ||
175 | and hereby do assign all rights, title, and interest to any such modifications | ||
176 | to the Licensed Software to Freescale and agree to provide all assistance | ||
177 | reasonably requested by Freescale to establish, preserve or enforce such right. | ||
178 | Further, you agree to waive all moral rights relating to your modifications to | ||
179 | the Licensed Software, including, without limitation, all rights of | ||
180 | identification of authorship and all rights of approval, restriction, or | ||
181 | limitation on use or subsequent modification. Notwithstanding the foregoing, | ||
182 | you will have the license rights granted in Section 2 hereto to any such | ||
183 | modifications made by you or your licensees. | ||
184 | |||
185 | 6. PATENT COVENANT NOT TO SUE. As partial, material consideration for the | ||
186 | rights granted to you under this Agreement, you covenant not to sue or | ||
187 | otherwise assert your patents against Freescale, a Freescale Affiliate or | ||
188 | subsidiary, or a Freescale licensee of the Licensed Software for infringement | ||
189 | of your Intellectual Property Rights by the manufacture, use, sale, offer for | ||
190 | sale, importation or other disposition or promotion of the Licensed Software | ||
191 | and/or any redistributed portions of the Licensed Software. | ||
192 | |||
193 | 7. ESSENTIAL PATENTS. You are solely responsible for obtaining licenses | ||
194 | for any relevant Essential Patents for your use in connection with technology | ||
195 | that you incorporate into the your product (whether as part of the Licensed | ||
196 | Software or not). | ||
197 | |||
198 | 8. TERM AND TERMINATION. This Agreement will remain in effect unless | ||
199 | terminated as provided in this Section 8. | ||
200 | |||
201 | 8.1. You may terminate this Agreement immediately upon written | ||
202 | notice to Freescale at the address provided below. | ||
203 | |||
204 | 8.2. Either party may terminate this Agreement if the other party | ||
205 | is in default of any of the terms and conditions of this Agreement, and | ||
206 | termination is effective if the defaulting party fails to correct such default | ||
207 | within 30 days after written notice thereof by the non-defaulting party to the | ||
208 | defaulting party at the address below. | ||
209 | |||
210 | 8.3. Notwithstanding the foregoing, Freescale may terminate this | ||
211 | Agreement immediately upon written notice if you: breach any of your | ||
212 | confidentiality obligations or the license restrictions under this Agreement; | ||
213 | become bankrupt, insolvent, or file a petition for bankruptcy or insolvency, | ||
214 | make an assignment for the benefit of its creditors; enter proceedings for | ||
215 | winding up or dissolution ;are dissolved; or are nationalized or become subject | ||
216 | to the expropriation of all or substantially all of its business or assets. | ||
217 | |||
218 | 8.4. Upon termination of this Agreement, all licenses granted under | ||
219 | Section 2 will expire, except that any licenses extended to end-users pursuant | ||
220 | to Sections 2.2(b), 2.2(c), and 2.3(b), which have been granted prior to such | ||
221 | termination will survive. | ||
222 | |||
223 | 8.5. After termination of this Agreement by either party and upon | ||
224 | Freescale's written request, you will, at your discretion, return to the | ||
225 | Freescale any confidential information including all copies thereof or furnish | ||
226 | to Freescale at the address below, a statement certifying, with respect to the | ||
227 | Licensed Software delivered hereunder that the original and all copies, except | ||
228 | for archival copies to be used solely for dispute resolution purposes, in whole | ||
229 | or in part, in any form, of the Licensed Software have been destroyed. | ||
230 | |||
231 | 8.6. Notwithstanding the termination of this Agreement for any | ||
232 | reason, the terms of Sections 1, 3, 5 through 25 will survive. | ||
233 | |||
234 | 9. SUPPORT. Freescale is not obligated to provide any | ||
235 | support, upgrades or new releases of the Licensed Software under this | ||
236 | Agreement. If you wish, you may contact Freescale and report problems and | ||
237 | provide suggestions regarding the Licensed Software. Freescale has no | ||
238 | obligation to respond to such a problem report or suggestion. Freescale may | ||
239 | make changes to the Licensed Software at any time, without any obligation to | ||
240 | notify or provide updated versions of the Licensed Software to you. | ||
241 | |||
242 | 10. NO WARRANTY. To the maximum extent permitted by law, | ||
243 | Freescale expressly disclaims any warranty for the Licensed Software. The | ||
244 | Licensed Software is provided "AS IS", without warranty of any kind, either | ||
245 | express or implied, including without limitation the implied warranties of | ||
246 | merchantability, fitness for a particular purpose, or non-infringement. You | ||
247 | assume the entire risk arising out of the use or performance of the licensed | ||
248 | software, or any systems you design using the licensed software (if any). | ||
249 | |||
250 | 11. INDEMNITY. You agree to fully defend and indemnify Freescale | ||
251 | from all claims, liabilities, and costs (including reasonable attorney's fees) | ||
252 | related to (1) your use (including your contractors or distributee's use, if | ||
253 | permitted) of the Licensed Software or (2) your violation of the terms and | ||
254 | conditions of this Agreement. | ||
255 | |||
256 | 12. LIMITATION OF LIABILITY. EXCLUDING LIABILITY FOR A BREACH | ||
257 | OF SECTION 2 (LICENSE GRANTS), SECTION 3 (LICENSE LIMITATIONS AND | ||
258 | RESTRICTIONS), SECTION 17 (CONFIDENTIAL INFORMATION), OR CLAIMS UNDER SECTION | ||
259 | 11(INDEMNITY), IN NO EVENT WILL EITHER PARTY BE LIABLE, WHETHER IN CONTRACT, | ||
260 | TORT, OR OTHERWISE, FOR ANY INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR | ||
261 | PUNITIVE DAMAGES, INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE, | ||
262 | LOSS OF TIME, INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR | ||
263 | REVENUES, TO THE FULL EXTENT SUCH MAY BE DISCLAIMED BY LAW. FREESCALE'S TOTAL | ||
264 | LIABILITY FOR ALL COSTS, DAMAGES, CLAIMS, OR LOSSES WHATSOEVER ARISING OUT OF | ||
265 | OR IN CONNECTION WITH THIS AGREEMENT OR PRODUCT(S) SUPPLIED UNDER THIS | ||
266 | AGREEMENT IS LIMITED TO THE AGGREGATE AMOUNT PAID BY YOU TO FREESCALE IN | ||
267 | CONNECTION WITH THE LICENSED SOFTWARE TO WHICH LOSSES OR DAMAGES ARE CLAIMED. | ||
268 | |||
269 | 13. EXPORT RESTRICTIONS. | ||
270 | |||
271 | 13.1. Licensed Software (collectively referred to as "items") is | ||
272 | subject to the export control laws of the United States and other countries | ||
273 | that may lawfully control the export of the Licensed Software. Furnishing | ||
274 | support services with respect to Licensed Software that is controlled as | ||
275 | defense or military items may also be subject to such laws. Accordingly, you | ||
276 | agree you will not transfer the Licensed Software or furnish such services | ||
277 | except in compliance with the export laws of the United States and any other | ||
278 | country that may lawfully control the export of the Licensed Software or the | ||
279 | provision of such services. You will indemnify and hold Freescale harmless | ||
280 | from any claims, liabilities, damages, penalties, forfeitures, and associated | ||
281 | costs and expenses (including attorneys' fees) that Freescale may incur due to | ||
282 | your non-compliance with applicable export laws, rules, and regulations. You | ||
283 | will immediately notify Freescale of any violation of any export law, rule, or | ||
284 | regulation, which may affect Freescale or relate to the activities covered | ||
285 | under this Agreement. | ||
286 | |||
287 | 13.2. If an export/import license, permit, or other government | ||
288 | required authority (collectively referred to as "government authorization") | ||
289 | is required for Freescale to transfer the Licensed Software or any other | ||
290 | Freescale property under this Agreement and such government authorization to | ||
291 | non-Freescale party(ies) is not approved, then Freescale is not obligated to | ||
292 | proceed with the transfer until the required government authorization is | ||
293 | granted. | ||
294 | |||
295 | 14. GOVERNMENT CONTRACT COMPLIANCE. | ||
296 | |||
297 | 14.1. If you sell Authorized Systems directly to any government or | ||
298 | public entity, including U.S., state, local, foreign or international | ||
299 | governments or public entities, or indirectly via a prime contractor or | ||
300 | subcontractor of such governments or entities, Freescale makes no | ||
301 | representations, certifications, or warranties whatsoever about compliance with | ||
302 | government or public entity acquisition statutes or regulations, including, | ||
303 | without limitation, statutes or regulations that may relate to pricing, | ||
304 | quality, origin or content. | ||
305 | |||
306 | 14.2. The Licensed Software has been developed at private expense and | ||
307 | is a "Commercial Item" as defined in 48 C.F.R. Section 2.101, consisting of | ||
308 | "Commercial Computer Software", and/or "Commercial Computer Software | ||
309 | Documentation," as such terms are used in 48 C.F.R. Section 12.212 (or | ||
310 | 48 C.F.R. Section 227.7202, as applicable) and may only be licensed to or | ||
311 | shared with U.S.Government end users in object code form as part of, or | ||
312 | embedded within, Authorized Systems. Any agreement pursuant to which you share | ||
313 | the Licensed Software will include a provision that reiterates the limitations | ||
314 | of this document and requires all sub-agreements to similarly contain such limitations. | ||
315 | |||
316 | 15. SAFETY CRITICAL APPLICATIONS | ||
317 | |||
318 | 15.1. In some cases, Freescale may promote certain Licensed Software | ||
319 | for use in safety-related applications. Freescale's goal is to educate | ||
320 | licensees so that they can design their own end-product solutions to meet | ||
321 | applicable functional safety standards and requirements. You make the | ||
322 | ultimate design decisions regarding your products and are solely responsible | ||
323 | for compliance with all legal, regulatory, safety, and security related | ||
324 | requirements concerning your products, regardless of any information or support | ||
325 | that may be provided by Freescale. Accordingly, you will indemnify and hold | ||
326 | Freescale harmless from any claims, liabilities, damages and associated costs | ||
327 | and expenses (including attorneys' fees) that Freescale may incur related to | ||
328 | your incorporation of any Product in a safety-critical application or system. | ||
329 | |||
330 | 15.2. Only Licensed Software that Freescale has specifically | ||
331 | designated as "Automotive Qualified" is intended for use in automotive, | ||
332 | military, or aerospace applications or environments. If you use Licensed | ||
333 | Software that has not been designated as "Automotive Qualified" in an | ||
334 | automotive, military, or aerospace application or environment, you do so at | ||
335 | your own risk. | ||
336 | |||
337 | 15.3. Licensed Software is not intended or authorized for any use in | ||
338 | anti-personnel landmines. | ||
339 | |||
340 | 16. CHOICE OF LAW; VENUE. This Agreement will be governed by, | ||
341 | construed, and enforced in accordance with the laws of the State of Texas, USA, | ||
342 | without regard to conflicts of laws principles, will apply to all matters | ||
343 | relating to this Agreement or the Licensed Software, and you agree that any | ||
344 | litigation will be subject to the exclusive jurisdiction of the state or | ||
345 | federal courts Texas, USA. The United Nations Convention on Contracts for the | ||
346 | International Sale of Goods will not apply to this document. | ||
347 | |||
348 | 17. CONFIDENTIAL INFORMATION. You must treat the Licensed | ||
349 | Software as confidential information and you agree to retain the Licensed | ||
350 | Software in confidence perpetually, with respect to Licensed Software in source | ||
351 | code form (human readable), or for a period of five (5) years from the date of | ||
352 | termination of this Agreement, with respect to all other parts of the Licensed | ||
353 | Software. During this period you may not disclose any part of the Licensed | ||
354 | Software to anyone other than employees who have a need to know of the | ||
355 | Licensed Software and who have executed written agreements obligating them to | ||
356 | protect such Licensed Software to at least the same degree of care as in this | ||
357 | Agreement. You agree to use the same degree of care, but no less than a | ||
358 | reasonable degree of care, with the Licensed Software as you do with your own | ||
359 | confidential information. You may disclose Licensed Software to the extent | ||
360 | required by a court or under operation of law or order provided that you | ||
361 | notify Freescale of such requirement prior to disclosure, which you only | ||
362 | disclose information required, and that you allow Freescale the opportunity | ||
363 | to object to such court or other legal body requiring such disclosure. | ||
364 | |||
365 | 18. TRADEMARKS. You are not authorized to use any Freescale | ||
366 | trademarks, brand names, or logos. | ||
367 | |||
368 | 19. ENTIRE AGREEMENT. This Agreement constitutes the entire | ||
369 | agreement between you and Freescale regarding the subject matter of this | ||
370 | Agreement, and supersedes all prior communications, negotiations, | ||
371 | understandings, agreements or representations, either written or oral, if any. | ||
372 | This Agreement may only be amended in written form, signed by you and | ||
373 | Freescale. | ||
374 | |||
375 | 20. SEVERABILITY. If any provision of this Agreement is held for | ||
376 | any reason to be invalid or unenforceable, then the remaining provisions of | ||
377 | this Agreement will be unimpaired and, unless a modification or replacement of | ||
378 | the invalid or unenforceable provision is further held to deprive you or | ||
379 | Freescale of a material benefit, in which case the Agreement will immediately | ||
380 | terminate, the invalid or unenforceable provision will be replaced with a | ||
381 | provision that is valid and enforceable and that comes closest to the intention | ||
382 | underlying the invalid or unenforceable provision. | ||
383 | |||
384 | 21. NO WAIVER. The waiver by Freescale of any breach of any | ||
385 | provision of this Agreement will not operate or be construed as a waiver of | ||
386 | any other or a subsequent breach of the same or a different provision. | ||
387 | |||
388 | 22. AUDIT. You will keep full, clear and accurate records with | ||
389 | respect to your compliance with the limited license rights granted under this | ||
390 | Agreement for three years following expiration or termination of this | ||
391 | Agreement. Freescale will have the right, either itself or through an | ||
392 | independent certified public accountant to examine and audit, at Freescale's | ||
393 | expense, not more than once a year, and during normal business hours, all such | ||
394 | records that may bear upon your compliance with the limited license rights | ||
395 | granted above. You must make prompt adjustment to compensate for any errors | ||
396 | and/or omissions disclosed by such examination or audit. | ||
397 | |||
398 | 23. NOTICES. All notices and communications under | ||
399 | this Agreement will be made in writing, and will be effective when received | ||
400 | at the following addresses: | ||
401 | |||
402 | Freescale: Freescale Semiconductor, Inc. | ||
403 | 6501 William Cannon West OE62 | ||
404 | Austin, Texas 78735 | ||
405 | ATTN: General Counsel | ||
406 | |||
407 | You: | ||
408 | The address provided at registration will be used. | ||
409 | |||
410 | 24. RELATIONSHIP OF THE PARTIES. The parties are | ||
411 | independent contractors. Nothing in this Agreement will be construed to create | ||
412 | any partnership, joint venture, or similar relationship. Neither party is | ||
413 | authorized to bind the other to any obligations with third parties. | ||
414 | |||
415 | 25. SUCCESSION AND ASSIGNMENT. This Agreement will be binding | ||
416 | upon and inure to the benefit of the parties and their permitted successors and | ||
417 | assigns. Neither party may assign this Agreement, or any part of this | ||
418 | Agreement, without the prior written approval of the other party, which | ||
419 | approval will not be unreasonably withheld or delayed. | ||
420 | |||
421 | |||
422 | |||
423 | |||
424 | |||
425 | |||
426 | APPENDIX A | ||
427 | |||
428 | Other License Grants and Restrictions: | ||
429 | |||
430 | The Licensed Software may include some or all of the following software, which | ||
431 | is either 1) not Freescale proprietary software or 2) Freescale proprietary | ||
432 | software subject to different terms than those in the Agreement. If the | ||
433 | Software Content Register that accompanies the Licensed Software identifies any | ||
434 | of the following Third Party Software or specific components of the Freescale | ||
435 | Proprietary Software, the following terms apply to the extent they deviate from | ||
436 | the terms in the Agreement: | ||
437 | |||
438 | Third Party Software | ||
439 | |||
440 | Use Restrictions | ||
441 | |||
442 | Atheros | ||
443 | |||
444 | Use of Atheros software is limited to evaluation and demonstration only. | ||
445 | Permitted distributions must be similarly limited. Further rights must be | ||
446 | obtained directly from Atheros. | ||
447 | |||
448 | ATI (AMD) | ||
449 | |||
450 | Distribution of ATI software must be a part of, or embedded within, Authorized | ||
451 | Systems that include a ATI graphics processor core. | ||
452 | |||
453 | Coding Technologies (Dolby Labs) | ||
454 | |||
455 | Use of CTS software is limited to evaluation and demonstration only. Permitted | ||
456 | distributions must be similarly limited. Further rights must be obtained from | ||
457 | Dolby Laboratories. | ||
458 | |||
459 | CSR | ||
460 | |||
461 | Use of Cambridge Silicon Radio, Inc. ("CSR") software is limited to evaluation | ||
462 | and demonstration only. Permitted distributions must be similarly limited. | ||
463 | Further rights must be obtained directly from CSR. | ||
464 | |||
465 | Freescale Wireless Charging Library | ||
466 | |||
467 | License to the Software is limited to use in inductive coupling or wireless | ||
468 | charging applications | ||
469 | |||
470 | Global Locate (Broadcom Corporation) | ||
471 | |||
472 | Use of Global Locate, Inc. software is limited to evaluation and demonstration | ||
473 | only. Permitted distributions must be similarly limited. Further rights must | ||
474 | be obtained from Global Locate. | ||
475 | |||
476 | Imagination Technologies Limited (IMG) | ||
477 | |||
478 | If the Licensed Software includes proprietary software developed by IMG, your | ||
479 | rights are limited to a non-exclusive, world-wide right and non-transferrable | ||
480 | and non-sub-licensable license (i) to use and modify the Licensed Software and | ||
481 | documentation and (ii) to copy and distribute the Licensed Software only in | ||
482 | object code form solely for use on Freescale Rayleigh products. If you are | ||
483 | provided with the Licensed Software in source code format, you are restricted | ||
484 | to accessing only those deliverables in source code format which are necessary | ||
485 | for you to carry out either specific customization or porting work in | ||
486 | association with Freescale's Rayleigh products or your Authorized System. | ||
487 | |||
488 | The confidentiality restrictions shall continue in force without limit in time | ||
489 | notwithstanding the termination or expiration of this Agreement. | ||
490 | |||
491 | Micrium | ||
492 | |||
493 | uC/OS-II and uC/OS-III is provided in source form for FREE short-term | ||
494 | evaluation, for educational use or for peaceful research. If you plan or | ||
495 | intend to use uC/OS-II or uC/OS-III in a commercial application/product then, | ||
496 | you need to contact Micrium to properly license uC/OS-II or uC/OS-III for its | ||
497 | use in your application/product. We provide ALL the source code for your | ||
498 | convenience and to help you experience uC/OS-II or uC/OS-III. The fact that | ||
499 | the source is provided does NOT mean that you can use it commercially without | ||
500 | paying a licensing fee. | ||
501 | |||
502 | Microsoft | ||
503 | |||
504 | If the Licensed Software includes software owned by Microsoft Corporation | ||
505 | ("Microsoft"), it is subject to the terms of your license with Microsoft (the | ||
506 | "Microsoft Underlying Licensed Software") and as such, Freescale grants no | ||
507 | license to you, beyond evaluation and demonstration in connection with Freescale | ||
508 | processors, in the Microsoft Underlying Licensed Software. You must separately | ||
509 | obtain rights beyond evaluation and demonstration in connection with the | ||
510 | Microsoft Underlying Licensed Software from Microsoft. | ||
511 | |||
512 | Microsoft does not provide support services for the components provided to you | ||
513 | through this Agreement. If you have any questions or require technical | ||
514 | assistance, please contact Freescale. Microsoft Corporation is a third party | ||
515 | beneficiary to this Agreement with the right to enforce the terms of this | ||
516 | Agreement. TO THE MAXIMUM EXTENT PERMITTED BY LAW, MICROSOFT AND ITS | ||
517 | AFFILIATES DISCLAIM ANY WARRANTIES FOR THE MICROSOFT UNDERLYING LICENSED | ||
518 | SOFTWARE. TO THE MAXIMUM EXTENT PERMITTED BY LAW, NEITHER MICROSOFT NOR ITS | ||
519 | AFFILIATES WILL BE LIABLE, WHETHER IN CONTRACT, TORT, OR OTHERWISE, FOR ANY | ||
520 | DIRECT, INCIDENTAL, SPECIAL, INDIRECT, CONSEQUENTIAL OR PUNITIVE DAMAGES, | ||
521 | INCLUDING, BUT NOT LIMITED TO, DAMAGES FOR ANY LOSS OF USE, LOSS OF TIME, | ||
522 | INCONVENIENCE, COMMERCIAL LOSS, OR LOST PROFITS, SAVINGS, OR REVENUES, ARISING | ||
523 | FROM THE FROM THE USE OF THE MICROSOFT UNDERLYING LICENSED SOFTWARE. | ||
524 | |||
525 | MindTree | ||
526 | |||
527 | Notwithstanding the terms contained in Section 2.3 (a), if the Licensed | ||
528 | Software includes proprietary software of MindTree in source code format, | ||
529 | Licensee may make modifications and create derivative works only to the | ||
530 | extent necessary for debugging of the Licensed Software. | ||
531 | |||
532 | MPEG LA | ||
533 | |||
534 | Use of MPEG LA audio or video codec technology is limited to evaluation | ||
535 | and demonstration only. Permitted distributions must be similarly limited. | ||
536 | Further rights must be obtained directly from MPEG LA. | ||
537 | |||
538 | MQX RTOS Code | ||
539 | |||
540 | MQX RTOS source code may not be re-distributed by any FSL Licensee under | ||
541 | any circumstance, even by a signed written amendment to this Agreement. | ||
542 | |||
543 | Opus | ||
544 | |||
545 | Use of Opus software must be consistent with the terms of the Opus license | ||
546 | which can be found at: http://www.opus-codec.org/license/ | ||
547 | |||
548 | Real Networks - its GStreamer Optimized Real Format Client Code implementation | ||
549 | or OpenMax Optimized Real Format Client Code | ||
550 | |||
551 | Use of the GStreamer Optimized Real Format Client Code, or OpenMax Optimized | ||
552 | Real Format Client code is restricted to applications in the automotive market. | ||
553 | Licensee must be a final manufacturer in good standing with a current license | ||
554 | with Real Networks for the commercial use and distribution of products | ||
555 | containing the GStreamer Optimized Real Format Client Code implementation or | ||
556 | OpenMax Optimized Real Format Client Code | ||
557 | |||
558 | SanDisk Corporation | ||
559 | |||
560 | If the Licensed Software includes software developed by SanDisk Corporation | ||
561 | ("SanDisk"), you must separately obtain the rights to reproduce and distribute | ||
562 | this software in source code form from SanDisk. Please follow these easy steps | ||
563 | to obtain the license and software: | ||
564 | |||
565 | 1. Contact your local SanDisk sales representative to obtain the SanDisk | ||
566 | License Agreement. | ||
567 | |||
568 | 2. Sign the license agreement. Fax the signed agreement to SanDisk USA | ||
569 | marketing department at 408-542-0403. The license will be valid when fully | ||
570 | executed by SanDisk. | ||
571 | |||
572 | 3. If you have specific questions, please send an email to | ||
573 | sales@sandisk.com | ||
574 | |||
575 | You may only use the SanDisk Corporation Licensed Software on products | ||
576 | compatible with a SanDisk Secure Digital Card. You may not use the SanDisk | ||
577 | Corporation Licensed Software on any memory device product. SanDisk retains | ||
578 | all rights to any modifications or derivative works to the SanDisk Corporation | ||
579 | Licensed Software that you may create. | ||
580 | |||
581 | Texas Instruments | ||
582 | |||
583 | Your use of Texas Instruments Inc. WiLink8 Licensed Software is restricted | ||
584 | to Freescale SoC based systems that include a compatible connectivity device | ||
585 | manufactured by TI. | ||
586 | |||
587 | Vivante | ||
588 | |||
589 | Distribution of Vivante software must be a part of, or embedded within, | ||
590 | Authorized Systems that include a Vivante Graphics Processing Unit. | ||
diff --git a/meta-fsl-arm/README b/meta-fsl-arm/README new file mode 100644 index 00000000..154f0f0d --- /dev/null +++ b/meta-fsl-arm/README | |||
@@ -0,0 +1,51 @@ | |||
1 | OpenEmbedded/Yocto BSP layer for Freescale's ARM platforms | ||
2 | ========================================================== | ||
3 | |||
4 | This layer provides support for Freescale's ARM platforms for use with | ||
5 | OpenEmbedded and/or Yocto. | ||
6 | |||
7 | This layer depends on: | ||
8 | |||
9 | URI: git://git.openembedded.org/openembedded-core | ||
10 | branch: master | ||
11 | revision: HEAD | ||
12 | |||
13 | EULA | ||
14 | ---- | ||
15 | |||
16 | Some SoC depends on libraries and packages that are covered by | ||
17 | Freescale EULA. To have the right to use those binaries in your images | ||
18 | you need to read and accept the EULA at EULA.txt file. | ||
19 | |||
20 | In order to accept it, you should add, in your local.conf file: | ||
21 | |||
22 | ACCEPT_FSL_EULA = "1" | ||
23 | |||
24 | Contributing | ||
25 | ------------ | ||
26 | |||
27 | To contribute to this layer you should submit the patches for review to the | ||
28 | mailing list (meta-freescale@yoctoproject.org). | ||
29 | |||
30 | Please refer to: | ||
31 | https://wiki.yoctoproject.org/wiki/Contribution_Guidelines#General_Information | ||
32 | |||
33 | for some useful guidelines to be followed when submitting patches. | ||
34 | |||
35 | Mailing list: | ||
36 | |||
37 | https://lists.yoctoproject.org/listinfo/meta-freescale | ||
38 | |||
39 | Source code: | ||
40 | |||
41 | git://git.yoctoproject.org/meta-fsl-arm | ||
42 | http://git.yoctoproject.org/git/meta-fsl-arm | ||
43 | https://github.com/Freescale/meta-fsl-arm | ||
44 | |||
45 | When creating patches, please use something like: | ||
46 | |||
47 | git format-patch -s --subject-prefix='meta-fsl-arm][PATCH' origin | ||
48 | |||
49 | When sending patches, please use something like: | ||
50 | |||
51 | git send-email --to meta-freescale@yoctoproject.org <generated patch> | ||
diff --git a/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.0-ga.txt b/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.0-ga.txt new file mode 100644 index 00000000..3576d723 --- /dev/null +++ b/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.0-ga.txt | |||
@@ -0,0 +1,355 @@ | |||
1 | Freescale Software Content Register | ||
2 | |||
3 | Release - Linux 3.14.28-1.0.0_GA | ||
4 | |||
5 | Date Created: 2015-Feb-12 | ||
6 | |||
7 | -------------------------------------------- | ||
8 | BSP PACKAGES | ||
9 | -------------------------------------------- | ||
10 | |||
11 | Package: linux-2.6-imx | ||
12 | |||
13 | Outgoing License: GPLv2+ | ||
14 | |||
15 | License Files: COPYING: GPLv2 | ||
16 | |||
17 | Package Category: BSP | ||
18 | |||
19 | Type of content: Source code | ||
20 | |||
21 | Description and comments: The Linux kernel with Freescale-specific drivers | ||
22 | |||
23 | Release Location: git.freescale.com branch imx_3.14.28_1.0.0_ga | ||
24 | |||
25 | Origin: Freescale and kernel.org - https://www.kernel.org/ | ||
26 | |||
27 | -------------------------------------------- | ||
28 | |||
29 | Package: u-boot-imx | ||
30 | |||
31 | Outgoing License: GPLv2+ | ||
32 | |||
33 | License Files: COPYING: GPLv2 | ||
34 | |||
35 | Package Category: Bootloader | ||
36 | |||
37 | Type of content: Source code | ||
38 | |||
39 | Description and comments: Bootloader with Freescale-specific capabilities | ||
40 | |||
41 | Release Location: git.freescale.com branch imx_v2014.04_3.14.28_1.0.0_ga | ||
42 | |||
43 | Origin: Freescale | ||
44 | Das U-Boot - Universal Bootloader (LGPLv2+) - http://www.denx.de/wiki/U-Boot/WebHome | ||
45 | Android Open Source Project (BSD-2-Clause) - https://source.android.com/ | ||
46 | zlib (zlib license) - http://www.zlib.net/ | ||
47 | |||
48 | -------------------------------------------- | ||
49 | |||
50 | Package: firmware-imx-3.14.28-1.0.0.bin | ||
51 | |||
52 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
53 | |||
54 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
55 | |||
56 | Package Category: BSP | ||
57 | |||
58 | Type of content: Binaries | ||
59 | |||
60 | Description and comments: BSP firmware - SDMA, VPU | ||
61 | |||
62 | Release Location: Freescale mirror | ||
63 | |||
64 | Origin: Freescale and Chips and Media | ||
65 | |||
66 | -------------------------------------------- | ||
67 | |||
68 | Package: imx-kobs-3.14.28-1.0.0.tar.gz | ||
69 | |||
70 | Outgoing License: GPLv2+ | ||
71 | |||
72 | License Files: COPYING: GPLv2 | ||
73 | |||
74 | Package Category: BSP | ||
75 | |||
76 | Type of content: Source code | ||
77 | |||
78 | Description and comments: NAND boot writer | ||
79 | |||
80 | Release Location: Freescale mirror | ||
81 | |||
82 | Origin: Freescale | ||
83 | AES (BSD-3-Clause) - http://brgladman.org/oldsite/AES/ | ||
84 | Secure Hash Algorithm Implementation (Public Domain) - http://www.nic.funet.fi/pub/crypt/hash/sha/ | ||
85 | IGEP Linux Kernel (GPLv2+) - http://www.igep.es/ | ||
86 | |||
87 | -------------------------------------------- | ||
88 | |||
89 | Package: imx-lib-3.14.28-1.0.0.tar.gz | ||
90 | |||
91 | Outgoing License: LGPLv2.1+ | ||
92 | |||
93 | License Files: See source code. | ||
94 | |||
95 | Package Category: BSP | ||
96 | |||
97 | Type of content: Source code | ||
98 | |||
99 | Description and comments: BSP libraries | ||
100 | ls | ||
101 | Release Location: Freescale mirror | ||
102 | |||
103 | Origin: Freescale | ||
104 | |||
105 | -------------------------------------------- | ||
106 | |||
107 | Package: imx-test-3.14.28-1.0.0.tar.gz | ||
108 | |||
109 | Outgoing License: Each test has its own license | ||
110 | |||
111 | License Files: See source code. | ||
112 | |||
113 | Package Category: BSP | ||
114 | |||
115 | Type of content: Source code | ||
116 | |||
117 | Description and comments: Linux unit test applications | ||
118 | |||
119 | Release Location: Freescale mirror | ||
120 | |||
121 | Origin: Freescale | ||
122 | Linux Test Project (GPLv2+) - https://github.com/linux-test-project/ltp | ||
123 | Chips and Media Resource (GPL2+) | ||
124 | RTC Test in Linux Kernel (GPLv2+) | ||
125 | BlueZ (GPLv2+) - http://www.bluez.org/ | ||
126 | Embedded Alley v4l2 test (GPLv2+) | ||
127 | Android Open Source Project (BSD-2-Clause) - https://source.android.com/ | ||
128 | Hantro Memalloc in Linux (GPLv2+) | ||
129 | Linux driver for Atheros AR5210 802.11a (GPLv2+) - http://sourceforge.net/projects/ar5k/ | ||
130 | Hannu Savolainen's soundcard.h (BSD 2-clause) | ||
131 | |||
132 | -------------------------------------------- | ||
133 | |||
134 | Package: imx-vpu-5.4.28.bin | ||
135 | |||
136 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
137 | |||
138 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
139 | |||
140 | Package Category: BSP | ||
141 | |||
142 | Type of content: Source code | ||
143 | |||
144 | Description and comments: VPU library | ||
145 | |||
146 | Release Location: Freescale mirror | ||
147 | |||
148 | Origin: Freescale and Chips and Media | ||
149 | |||
150 | -------------------------------------------- | ||
151 | GRAPHICS PACKAGES | ||
152 | -------------------------------------------- | ||
153 | |||
154 | Package: imx-gpu-viv-5.0.11.p4.4.bin | ||
155 | |||
156 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
157 | |||
158 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
159 | |||
160 | Package Category: Graphics | ||
161 | |||
162 | Type of content: Binaries, scripts and header files | ||
163 | |||
164 | Description and comments: GPU Core IP in binary and test application source | ||
165 | |||
166 | Release Location: Freescale mirror | ||
167 | |||
168 | Origin: Freescale and Vivante | ||
169 | Khronos Group (MIT) - http://www.khronos.org/opencl/ | ||
170 | Mesa3D - Mesa Lib (GL3ext header) (SGI Free Software License B v2.0) - http://mesa3d.sourceforge.net/ | ||
171 | |||
172 | -------------------------------------------- | ||
173 | |||
174 | Package: imx-gpu-viv-kernel-5.0.11.p4.4.tar.gz | ||
175 | |||
176 | Outgoing License: GPLv2+ | ||
177 | |||
178 | License Files: See source code. | ||
179 | |||
180 | Package Category: Graphics | ||
181 | |||
182 | Type of content: Source code | ||
183 | |||
184 | Description and comments: GPU kernel source provided for kernel loadable modules | ||
185 | |||
186 | Release Location: Freescale mirror | ||
187 | |||
188 | Origin: Freescale and Vivante Corp. | ||
189 | |||
190 | -------------------------------------------- | ||
191 | |||
192 | Package: xserver-xorg-video-imx-viv-5.0.11.p4.4.tar.gz | ||
193 | |||
194 | Outgoing License: GPLv2+ | ||
195 | |||
196 | License Files: See source code. | ||
197 | |||
198 | Package Category: Graphics | ||
199 | |||
200 | Type of content: Source code | ||
201 | |||
202 | Description and comments: Xserver Library extensions | ||
203 | |||
204 | Release Location: Freescale mirror | ||
205 | |||
206 | Origin: Freescale and Vivante Corp. | ||
207 | xorg-server (MIT) - http://xorg.freedesktop.org/ | ||
208 | XFree86 Project (XFree86 License v1.0) - http://sourceforge.net/projects/xfree86/ | ||
209 | xf86-video-freedreno (MIT) - http://github.com/freedreno/xf86-video-freedreno/ | ||
210 | |||
211 | -------------------------------------------- | ||
212 | |||
213 | Package: fsl-gpu-sdk-2.0.1.bin | ||
214 | |||
215 | Outgoing License: Apache 2.0 | ||
216 | |||
217 | License Files: COPYING: Apache license | ||
218 | |||
219 | Package Category: Graphics | ||
220 | |||
221 | Type of content: Source code | ||
222 | |||
223 | Description and comments: Graphics sample applications | ||
224 | |||
225 | Release Location: Freescale mirror | ||
226 | |||
227 | Origin: Freescale | ||
228 | Templatized C++ Command Line Parser (tclap) (MIT) - http://sourceforge.net/projects/tclap/ | ||
229 | Opengles book samples (MIT) - http://github.com/zemanel/opengles-book-samples/ | ||
230 | XFree86 (XFree86 License v 1.0) - http://www.xfree86.org/ | ||
231 | Wayland (Seetex License) - http://cgit.freedesktop.org/~krh/wayland/ | ||
232 | |||
233 | -------------------------------------------- | ||
234 | MULTIMEDIA PACKAGES | ||
235 | -------------------------------------------- | ||
236 | |||
237 | Package: gst1.0-fsl-plugins-4.0.3.tar.gz | ||
238 | |||
239 | Outgoing License: LGPLv2.1+ | ||
240 | |||
241 | License Files: COPYING (GPLv2) | ||
242 | COPYING-LGPL-2 | ||
243 | COPYING-LGPL-2.1 | ||
244 | |||
245 | Package Category: Multimedia | ||
246 | |||
247 | Type of content: Source code | ||
248 | |||
249 | Description and comments: Freescale Gstreamer 1.0 plugins | ||
250 | |||
251 | Release Location: Freescale mirror | ||
252 | |||
253 | Origin: Freescale | ||
254 | Gstreamer plugins-Base (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-base/ | ||
255 | Gstreamer plugins-Good (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-good/ | ||
256 | Gstreamer plugins-Bad (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-bad/ | ||
257 | |||
258 | -------------------------------------------- | ||
259 | |||
260 | Package: gst-fsl-plugins-4.0.3.tar.gz | ||
261 | |||
262 | Outgoing License: LGPLv2.1+ | ||
263 | |||
264 | License Files: COPYING (GPLv2) | ||
265 | COPYING-LGPL-2 | ||
266 | COPYING-LGPL-2.1 | ||
267 | |||
268 | Package Category: Multimedia | ||
269 | |||
270 | Type of content: Source code | ||
271 | |||
272 | Description and comments: Freescale Gstreamer 0.1 plugins | ||
273 | |||
274 | Release Location: Freescale mirror | ||
275 | |||
276 | Origin: Freescale | ||
277 | Gstreamer plugins-Base (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-base/ | ||
278 | Gstreamer plugins-Good (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-good/ | ||
279 | Gstreamer plugins-Bad (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-bad/ | ||
280 | mingw-runtime tchar.h (public domain) - http://www.mingw.org/ | ||
281 | |||
282 | -------------------------------------------- | ||
283 | |||
284 | Package: libfslcodec-4.0.3.bin | ||
285 | |||
286 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
287 | |||
288 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
289 | |||
290 | Package Category: Multimedia | ||
291 | |||
292 | Type of content: Binaries and header files | ||
293 | |||
294 | Description and comments: Freescale multimedia codec libraries | ||
295 | |||
296 | Release Location: Freescale mirror | ||
297 | |||
298 | Origin: Freescale | ||
299 | |||
300 | -------------------------------------------- | ||
301 | |||
302 | Package: libfslparser-4.0.3.bin | ||
303 | |||
304 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
305 | |||
306 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
307 | |||
308 | Package Category: Multimedia | ||
309 | |||
310 | Type of content: Binaries and header files | ||
311 | |||
312 | Description and comments: Freescale multimedia parser libraries | ||
313 | |||
314 | Release Location: Freescale mirror | ||
315 | |||
316 | Origin: Freescale | ||
317 | |||
318 | -------------------------------------------- | ||
319 | |||
320 | Package: libfslvpuwrap-1.0.58.bin | ||
321 | |||
322 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
323 | |||
324 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
325 | |||
326 | Package Category: Multimedia | ||
327 | |||
328 | Type of content: Source code | ||
329 | |||
330 | Description and comments: Freescale VPU wrapper library | ||
331 | |||
332 | Release Location: Freescale mirror | ||
333 | |||
334 | Origin: Freescale | ||
335 | sqlite (Public Domain) - http://www.hwaci.com/sw/sqlite/index.html | ||
336 | |||
337 | -------------------------------------------- | ||
338 | |||
339 | Package: fslqtapplications-1.0.1.bin | ||
340 | |||
341 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
342 | |||
343 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
344 | |||
345 | Package Category: Multimedia | ||
346 | |||
347 | Type of content: Binaries | ||
348 | |||
349 | Description and comments: i.MX QT multimedia player application | ||
350 | |||
351 | Release Location: Freescale mirror | ||
352 | |||
353 | Origin: Freescale | ||
354 | |||
355 | -------------------------------------------- | ||
diff --git a/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.1-patch.txt b/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.1-patch.txt new file mode 100644 index 00000000..cabb94fc --- /dev/null +++ b/meta-fsl-arm/SCR/imx/SCR-3.14.28-1.0.1-patch.txt | |||
@@ -0,0 +1,355 @@ | |||
1 | Freescale Software Content Register | ||
2 | |||
3 | Release - Linux 3.14.28-1.0.1_patch | ||
4 | |||
5 | Date Created: 2015-Feb-12 | ||
6 | |||
7 | -------------------------------------------- | ||
8 | BSP PACKAGES | ||
9 | -------------------------------------------- | ||
10 | |||
11 | Package: linux-2.6-imx | ||
12 | |||
13 | Outgoing License: GPLv2+ | ||
14 | |||
15 | License Files: COPYING: GPLv2 | ||
16 | |||
17 | Package Category: BSP | ||
18 | |||
19 | Type of content: Source code | ||
20 | |||
21 | Description and comments: The Linux kernel with Freescale-specific drivers | ||
22 | |||
23 | Release Location: git.freescale.com branch imx_3.14.28_1.0.0_ga | ||
24 | |||
25 | Origin: Freescale and kernel.org - https://www.kernel.org/ | ||
26 | |||
27 | -------------------------------------------- | ||
28 | |||
29 | Package: u-boot-imx | ||
30 | |||
31 | Outgoing License: GPLv2+ | ||
32 | |||
33 | License Files: COPYING: GPLv2 | ||
34 | |||
35 | Package Category: Bootloader | ||
36 | |||
37 | Type of content: Source code | ||
38 | |||
39 | Description and comments: Bootloader with Freescale-specific capabilities | ||
40 | |||
41 | Release Location: git.freescale.com branch imx_v2014.04_3.14.28_1.0.0_ga | ||
42 | |||
43 | Origin: Freescale | ||
44 | Das U-Boot - Universal Bootloader (LGPLv2+) - http://www.denx.de/wiki/U-Boot/WebHome | ||
45 | Android Open Source Project (BSD-2-Clause) - https://source.android.com/ | ||
46 | zlib (zlib license) - http://www.zlib.net/ | ||
47 | |||
48 | -------------------------------------------- | ||
49 | |||
50 | Package: firmware-imx-3.14.28-1.0.0.bin | ||
51 | |||
52 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
53 | |||
54 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
55 | |||
56 | Package Category: BSP | ||
57 | |||
58 | Type of content: Binaries | ||
59 | |||
60 | Description and comments: BSP firmware - SDMA, VPU | ||
61 | |||
62 | Release Location: Freescale mirror | ||
63 | |||
64 | Origin: Freescale and Chips and Media | ||
65 | |||
66 | -------------------------------------------- | ||
67 | |||
68 | Package: imx-kobs-3.14.28-1.0.0.tar.gz | ||
69 | |||
70 | Outgoing License: GPLv2+ | ||
71 | |||
72 | License Files: COPYING: GPLv2 | ||
73 | |||
74 | Package Category: BSP | ||
75 | |||
76 | Type of content: Source code | ||
77 | |||
78 | Description and comments: NAND boot writer | ||
79 | |||
80 | Release Location: Freescale mirror | ||
81 | |||
82 | Origin: Freescale | ||
83 | AES (BSD-3-Clause) - http://brgladman.org/oldsite/AES/ | ||
84 | Secure Hash Algorithm Implementation (Public Domain) - http://www.nic.funet.fi/pub/crypt/hash/sha/ | ||
85 | IGEP Linux Kernel (GPLv2+) - http://www.igep.es/ | ||
86 | |||
87 | -------------------------------------------- | ||
88 | |||
89 | Package: imx-lib-3.10.53-1.1.0.tar.gz | ||
90 | |||
91 | Outgoing License: LGPLv2.1+ | ||
92 | |||
93 | License Files: See source code. | ||
94 | |||
95 | Package Category: BSP | ||
96 | |||
97 | Type of content: Source code | ||
98 | |||
99 | Description and comments: BSP libraries | ||
100 | ls | ||
101 | Release Location: Freescale mirror | ||
102 | |||
103 | Origin: Freescale | ||
104 | |||
105 | -------------------------------------------- | ||
106 | |||
107 | Package: imx-test-3.14.28-1.0.0.tar.gz | ||
108 | |||
109 | Outgoing License: Each test has its own license | ||
110 | |||
111 | License Files: See source code. | ||
112 | |||
113 | Package Category: BSP | ||
114 | |||
115 | Type of content: Source code | ||
116 | |||
117 | Description and comments: Linux unit test applications | ||
118 | |||
119 | Release Location: Freescale mirror | ||
120 | |||
121 | Origin: Freescale | ||
122 | Linux Test Project (GPLv2+) - https://github.com/linux-test-project/ltp | ||
123 | Chips and Media Resource (GPL2+) | ||
124 | RTC Test in Linux Kernel (GPLv2+) | ||
125 | BlueZ (GPLv2+) - http://www.bluez.org/ | ||
126 | Embedded Alley v4l2 test (GPLv2+) | ||
127 | Android Open Source Project (BSD-2-Clause) - https://source.android.com/ | ||
128 | Hantro Memalloc in Linux (GPLv2+) | ||
129 | Linux driver for Atheros AR5210 802.11a (GPLv2+) - http://sourceforge.net/projects/ar5k/ | ||
130 | Hannu Savolainen's soundcard.h (BSD 2-clause) | ||
131 | |||
132 | -------------------------------------------- | ||
133 | |||
134 | Package: imx-vpu-5.4.28.bin | ||
135 | |||
136 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
137 | |||
138 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
139 | |||
140 | Package Category: BSP | ||
141 | |||
142 | Type of content: Source code | ||
143 | |||
144 | Description and comments: VPU library | ||
145 | |||
146 | Release Location: Freescale mirror | ||
147 | |||
148 | Origin: Freescale and Chips and Media | ||
149 | |||
150 | -------------------------------------------- | ||
151 | GRAPHICS PACKAGES | ||
152 | -------------------------------------------- | ||
153 | |||
154 | Package: imx-gpu-viv-5.0.11.p4.5.bin | ||
155 | |||
156 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
157 | |||
158 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
159 | |||
160 | Package Category: Graphics | ||
161 | |||
162 | Type of content: Binaries, scripts and header files | ||
163 | |||
164 | Description and comments: GPU Core IP in binary and test application source | ||
165 | |||
166 | Release Location: Freescale mirror | ||
167 | |||
168 | Origin: Freescale and Vivante | ||
169 | Khronos Group (MIT) - http://www.khronos.org/opencl/ | ||
170 | Mesa3D - Mesa Lib (GL3ext header) (SGI Free Software License B v2.0) - http://mesa3d.sourceforge.net/ | ||
171 | |||
172 | -------------------------------------------- | ||
173 | |||
174 | Package: imx-gpu-viv-kernel-5.0.11.p4.5.tar.gz | ||
175 | |||
176 | Outgoing License: GPLv2+ | ||
177 | |||
178 | License Files: See source code. | ||
179 | |||
180 | Package Category: Graphics | ||
181 | |||
182 | Type of content: Source code | ||
183 | |||
184 | Description and comments: GPU kernel source provided for kernel loadable modules | ||
185 | |||
186 | Release Location: Freescale mirror | ||
187 | |||
188 | Origin: Freescale and Vivante Corp. | ||
189 | |||
190 | -------------------------------------------- | ||
191 | |||
192 | Package: xserver-xorg-video-imx-viv-5.0.11.p4.5.tar.gz | ||
193 | |||
194 | Outgoing License: GPLv2+ | ||
195 | |||
196 | License Files: See source code. | ||
197 | |||
198 | Package Category: Graphics | ||
199 | |||
200 | Type of content: Source code | ||
201 | |||
202 | Description and comments: Xserver Library extensions | ||
203 | |||
204 | Release Location: Freescale mirror | ||
205 | |||
206 | Origin: Freescale and Vivante Corp. | ||
207 | xorg-server (MIT) - http://xorg.freedesktop.org/ | ||
208 | XFree86 Project (XFree86 License v1.0) - http://sourceforge.net/projects/xfree86/ | ||
209 | xf86-video-freedreno (MIT) - http://github.com/freedreno/xf86-video-freedreno/ | ||
210 | |||
211 | -------------------------------------------- | ||
212 | |||
213 | Package: fsl-gpu-sdk-2.0.1.bin | ||
214 | |||
215 | Outgoing License: Apache 2.0 | ||
216 | |||
217 | License Files: COPYING: Apache license | ||
218 | |||
219 | Package Category: Graphics | ||
220 | |||
221 | Type of content: Source code | ||
222 | |||
223 | Description and comments: Graphics sample applications | ||
224 | |||
225 | Release Location: Freescale mirror | ||
226 | |||
227 | Origin: Freescale | ||
228 | Templatized C++ Command Line Parser (tclap) (MIT) - http://sourceforge.net/projects/tclap/ | ||
229 | Opengles book samples (MIT) - http://github.com/zemanel/opengles-book-samples/ | ||
230 | XFree86 (XFree86 License v 1.0) - http://www.xfree86.org/ | ||
231 | Wayland (Seetex License) - http://cgit.freedesktop.org/~krh/wayland/ | ||
232 | |||
233 | -------------------------------------------- | ||
234 | MULTIMEDIA PACKAGES | ||
235 | -------------------------------------------- | ||
236 | |||
237 | Package: gst1.0-fsl-plugins-4.0.3.tar.gz | ||
238 | |||
239 | Outgoing License: LGPLv2.1+ | ||
240 | |||
241 | License Files: COPYING (GPLv2) | ||
242 | COPYING-LGPL-2 | ||
243 | COPYING-LGPL-2.1 | ||
244 | |||
245 | Package Category: Multimedia | ||
246 | |||
247 | Type of content: Source code | ||
248 | |||
249 | Description and comments: Freescale Gstreamer 1.0 plugins | ||
250 | |||
251 | Release Location: Freescale mirror | ||
252 | |||
253 | Origin: Freescale | ||
254 | Gstreamer plugins-Base (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-base/ | ||
255 | Gstreamer plugins-Good (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-good/ | ||
256 | Gstreamer plugins-Bad (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-bad/ | ||
257 | |||
258 | -------------------------------------------- | ||
259 | |||
260 | Package: gst-fsl-plugins-4.0.3.tar.gz | ||
261 | |||
262 | Outgoing License: LGPLv2.1+ | ||
263 | |||
264 | License Files: COPYING (GPLv2) | ||
265 | COPYING-LGPL-2 | ||
266 | COPYING-LGPL-2.1 | ||
267 | |||
268 | Package Category: Multimedia | ||
269 | |||
270 | Type of content: Source code | ||
271 | |||
272 | Description and comments: Freescale Gstreamer 0.1 plugins | ||
273 | |||
274 | Release Location: Freescale mirror | ||
275 | |||
276 | Origin: Freescale | ||
277 | Gstreamer plugins-Base (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-base/ | ||
278 | Gstreamer plugins-Good (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-good/ | ||
279 | Gstreamer plugins-Bad (LGPLv2.1+) - http://gstreamer.freedesktop.org/src/gst-plugins-bad/ | ||
280 | mingw-runtime tchar.h (public domain) - http://www.mingw.org/ | ||
281 | |||
282 | -------------------------------------------- | ||
283 | |||
284 | Package: libfslcodec-4.0.3.bin | ||
285 | |||
286 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
287 | |||
288 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
289 | |||
290 | Package Category: Multimedia | ||
291 | |||
292 | Type of content: Binaries and header files | ||
293 | |||
294 | Description and comments: Freescale multimedia codec libraries | ||
295 | |||
296 | Release Location: Freescale mirror | ||
297 | |||
298 | Origin: Freescale | ||
299 | |||
300 | -------------------------------------------- | ||
301 | |||
302 | Package: libfslparser-4.0.3.bin | ||
303 | |||
304 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
305 | |||
306 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
307 | |||
308 | Package Category: Multimedia | ||
309 | |||
310 | Type of content: Binaries and header files | ||
311 | |||
312 | Description and comments: Freescale multimedia parser libraries | ||
313 | |||
314 | Release Location: Freescale mirror | ||
315 | |||
316 | Origin: Freescale | ||
317 | |||
318 | -------------------------------------------- | ||
319 | |||
320 | Package: libfslvpuwrap-1.0.58.bin | ||
321 | |||
322 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
323 | |||
324 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
325 | |||
326 | Package Category: Multimedia | ||
327 | |||
328 | Type of content: Source code | ||
329 | |||
330 | Description and comments: Freescale VPU wrapper library | ||
331 | |||
332 | Release Location: Freescale mirror | ||
333 | |||
334 | Origin: Freescale | ||
335 | sqlite (Public Domain) - http://www.hwaci.com/sw/sqlite/index.html | ||
336 | |||
337 | -------------------------------------------- | ||
338 | |||
339 | Package: fslqtapplications-1.0.1.bin | ||
340 | |||
341 | Outgoing License: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
342 | |||
343 | License Files: COPYING: LA_OPT_FSL_OPEN_3RD_PARTY_IP v6 February 2015 | ||
344 | |||
345 | Package Category: Multimedia | ||
346 | |||
347 | Type of content: Binaries | ||
348 | |||
349 | Description and comments: i.MX QT multimedia player application | ||
350 | |||
351 | Release Location: Freescale mirror | ||
352 | |||
353 | Origin: Freescale | ||
354 | |||
355 | -------------------------------------------- | ||
diff --git a/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium-imx.inc b/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium-imx.inc new file mode 100644 index 00000000..f63807d5 --- /dev/null +++ b/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium-imx.inc | |||
@@ -0,0 +1,49 @@ | |||
1 | DEPENDS_append_mx6q = " libfslvpuwrap" | ||
2 | DEPENDS_append_mx6dl = " libfslvpuwrap" | ||
3 | |||
4 | # Additional imx code and patches are included in the chromium-imx git repository. | ||
5 | # The code below fetches this repository, copies the extra source over to the main | ||
6 | # chromium source directory, and applies the patches. | ||
7 | |||
8 | CHROMIUM_IMX_BRANCH ?= "master" | ||
9 | CHROMIUM_IMX_SRCREV ?= "HEAD" | ||
10 | CHROMIUM_IMX_DESTSUFFIX ?= "chromium-imx-git" | ||
11 | |||
12 | PATCH_BASE_DIR = "${WORKDIR}/${CHROMIUM_IMX_DESTSUFFIX}/patches" | ||
13 | |||
14 | CHROMIUM_IMX_COMMON_PATCHES ?= " " | ||
15 | CHROMIUM_IMX_VPU_PATCHES ?= " " | ||
16 | CHROMIUM_IMX_WAYLAND_PATCHES ?= " " | ||
17 | |||
18 | SRC_URI += "git://github.com/Freescale/chromium-imx.git;destsuffix=${CHROMIUM_IMX_DESTSUFFIX};branch=${CHROMIUM_IMX_BRANCH};rev=${CHROMIUM_IMX_SRCREV}" | ||
19 | |||
20 | do_unpack[postfuncs] += "copy_chromium_imx_files" | ||
21 | # using =+ instead of += to make sure add_chromium_imx_patches is | ||
22 | # executed before add_ozone_wayland_patches in the main recipe; | ||
23 | # this is necessary because add_chromium_imx_patches appends | ||
24 | # patches to the OZONE_WAYLAND_EXTRA_PATCHES variable | ||
25 | do_patch[prefuncs] =+ "add_chromium_imx_patches" | ||
26 | |||
27 | # * Lost context problems are not known to happen with Vivante GPUs, | ||
28 | # so it is safe to use ignore-lost-context | ||
29 | # * EGL is on by default due to the GPU on the i.MX6 | ||
30 | PACKAGECONFIG_append = " use-egl ignore-lost-context" | ||
31 | |||
32 | copy_chromium_imx_files() { | ||
33 | # sources in src/ are already organized in a manner | ||
34 | # that matches the subdirectories in the chromium | ||
35 | # source directory; just copy over the files in src/ | ||
36 | cp -r ${WORKDIR}/chromium-imx-git/src/* ${S}/ | ||
37 | } | ||
38 | |||
39 | python add_chromium_imx_patches() { | ||
40 | d.appendVar('SRC_URI', ' ' + d.getVar('CHROMIUM_IMX_COMMON_PATCHES', 1)) | ||
41 | d.appendVar('SRC_URI', ' ' + d.getVar('CHROMIUM_IMX_VPU_PATCHES', 1)) | ||
42 | d.appendVar('OZONE_WAYLAND_EXTRA_PATCHES', ' ' + d.getVar('CHROMIUM_IMX_WAYLAND_PATCHES', 1)) | ||
43 | } | ||
44 | |||
45 | # Necessary flags to enable support for h.264 and MP4 in Chromium | ||
46 | # (Parsing is done by ffmpeg) | ||
47 | EXTRA_OEGYP += "-Dproprietary_codecs=1 -Dffmpeg_branding=Chrome" | ||
48 | |||
49 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium_40.0.2214.91.bbappend b/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium_40.0.2214.91.bbappend new file mode 100644 index 00000000..d9c5d154 --- /dev/null +++ b/meta-fsl-arm/browser-layer/recipes-browser/chromium/chromium_40.0.2214.91.bbappend | |||
@@ -0,0 +1,12 @@ | |||
1 | include chromium-imx.inc | ||
2 | |||
3 | CHROMIUM_IMX_BRANCH = "chromium-40" | ||
4 | CHROMIUM_IMX_SRCREV = "af13a3dbdfdb4b162a9f9692761216e5d6204e57" | ||
5 | CHROMIUM_IMX_COMMON_PATCHES += "file://${PATCH_BASE_DIR}/common/0001-Enable-share-group-workaround-for-Vivante-GPUs.patch" | ||
6 | |||
7 | VPU_PATCHES = "file://${PATCH_BASE_DIR}/common/0002-Add-VPU-video-decode-accelerator-to-Chromium-GPU-.patch" | ||
8 | |||
9 | CHROMIUM_IMX_VPU_PATCHES_mx6q += "${VPU_PATCHES}" | ||
10 | CHROMIUM_IMX_VPU_PATCHES_mx6dl += "${VPU_PATCHES}" | ||
11 | |||
12 | CHROMIUM_IMX_WAYLAND_PATCHES += "file://${PATCH_BASE_DIR}/wayland/0001-Modify-eglwayland-versions-for-Vivante-GPUs.patch" | ||
diff --git a/meta-fsl-arm/classes/fsl-dynamic-packagearch.bbclass b/meta-fsl-arm/classes/fsl-dynamic-packagearch.bbclass new file mode 100644 index 00000000..fa542fce --- /dev/null +++ b/meta-fsl-arm/classes/fsl-dynamic-packagearch.bbclass | |||
@@ -0,0 +1,65 @@ | |||
1 | # Automatically set PACKAGE_ARCH for MACHINE_SOCARCH | ||
2 | # | ||
3 | # This allow to easy reuse of binary packages among similar SoCs. The | ||
4 | # usual use for this is to share SoC specific packages among different | ||
5 | # boards. | ||
6 | # | ||
7 | # MACHINE_SOCARCH_FILTER list all packages associated with | ||
8 | # MACHINE_SOCARCH and, when match, will set PACKAGE_ARCH as MACHINE_SOCARCH | ||
9 | # | ||
10 | # MACHINE_ARCH_FILTER list all packages associated with | ||
11 | # MACHINE_ARCH and, when match, will set PACKAGE_ARCH as MACHINE_ARCH | ||
12 | # | ||
13 | # For example, in meta-fsl-arm, this is used to share GPU packages for | ||
14 | # i.MX53 boards (as all them share the AMD GPU) and i.MX6 based boards | ||
15 | # (as all them share Vivante GPU). | ||
16 | # | ||
17 | # To use the class, specify, for example: | ||
18 | # | ||
19 | # MACHINE_SOCARCH_SUFFIX_soc = "-soc" | ||
20 | # | ||
21 | # and the need filters, as: | ||
22 | # | ||
23 | # MACHINE_ARCH_FILTER = "virtual/kernel" | ||
24 | # MACHINE_SOCARCH_FILTER_soc = "virtual/libgles1 ... virtual/libgl" | ||
25 | # | ||
26 | # Copyright 2013-2015 (C) O.S. Systems Software LTDA. | ||
27 | |||
28 | python __anonymous () { | ||
29 | machine_arch_filter = set((d.getVar("MACHINE_ARCH_FILTER", True) or "").split()) | ||
30 | machine_socarch_filter = set((d.getVar("MACHINE_SOCARCH_FILTER", True) or "").split()) | ||
31 | if machine_socarch_filter or machine_arch_filter: | ||
32 | provides = set((d.getVar("PROVIDES", True) or "").split()) | ||
33 | depends = set((d.getVar("DEPENDS", True) or "").split()) | ||
34 | PN = d.getVar("PN", True) | ||
35 | |||
36 | package_arch = None | ||
37 | if list(machine_arch_filter & (provides | depends)): | ||
38 | package_arch = d.getVar("MACHINE_ARCH", True) | ||
39 | elif list(machine_socarch_filter & (provides | depends)): | ||
40 | package_arch = d.getVar("MACHINE_SOCARCH", True) | ||
41 | if not package_arch: | ||
42 | raise bb.parse.SkipPackage("You must set MACHINE_SOCARCH as MACHINE_SOCARCH_FILTER is set for this SoC.") | ||
43 | |||
44 | machine_socarch_suffix = d.getVar("MACHINE_SOCARCH_SUFFIX", True) | ||
45 | if not machine_socarch_suffix: | ||
46 | raise bb.parse.SkipPackage("You must set MACHINE_SOCARCH_SUFFIX as MACHINE_SOCARCH_FILTER is set for this SoC.") | ||
47 | |||
48 | if package_arch: | ||
49 | bb.debug(1, "Use '%s' as package archictecture for '%s'" % (package_arch, PN)) | ||
50 | d.setVar("PACKAGE_ARCH", package_arch) | ||
51 | |||
52 | cur_package_archs = (d.getVar("PACKAGE_ARCHS", True) or "").split() | ||
53 | arch_extra_socarch = (d.getVar("ARM_EXTRA_SOCARCH", True) or "") | ||
54 | thumb_extra_socarch = (d.getVar("THUMB_EXTRA_SOCARCH", True) or "") | ||
55 | if not arch_extra_socarch in cur_package_archs: | ||
56 | d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % arch_extra_socarch) | ||
57 | |||
58 | if not thumb_extra_socarch in cur_package_archs: | ||
59 | d.appendVar("PACKAGE_EXTRA_ARCHS", " %s" % thumb_extra_socarch) | ||
60 | } | ||
61 | |||
62 | ARM_EXTRA_SOCARCH = "${ARMPKGARCH}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}${MACHINE_SOCARCH_SUFFIX}" | ||
63 | THUMB_EXTRA_SOCARCH = "${ARMPKGARCH}${ARM_THUMB_SUFFIX}${ARMPKGSFX_DSP}${ARMPKGSFX_EABI}${ARMPKGSFX_ENDIAN}${ARMPKGSFX_FPU}${MACHINE_SOCARCH_SUFFIX}" | ||
64 | |||
65 | MACHINE_SOCARCH = "${@bb.utils.contains('ARM_INSTRUCTION_SET', 'thumb', '${THUMB_EXTRA_SOCARCH}', '${ARM_EXTRA_SOCARCH}', d)}" | ||
diff --git a/meta-fsl-arm/classes/fsl-eula-unpack.bbclass b/meta-fsl-arm/classes/fsl-eula-unpack.bbclass new file mode 100644 index 00000000..a9f16ef0 --- /dev/null +++ b/meta-fsl-arm/classes/fsl-eula-unpack.bbclass | |||
@@ -0,0 +1,67 @@ | |||
1 | # fsl-eula-unpack.bbclass provides the mechanism used for unpacking | ||
2 | # the .bin file downloaded by HTTP and handle the EULA acceptance. | ||
3 | # | ||
4 | # To use it, the 'fsl-eula' parameter needs to be added to the | ||
5 | # SRC_URI entry, e.g: | ||
6 | # | ||
7 | # SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV};fsl-eula=true" | ||
8 | |||
9 | LIC_FILES_CHKSUM_append = " file://${FSL_EULA_FILE};md5=acdb807ac7275fe32f9f64992e111241" | ||
10 | LIC_FILES_CHKSUM[vardepsexclude] += "FSL_EULA_FILE" | ||
11 | |||
12 | python fsl_bin_do_unpack() { | ||
13 | src_uri = (d.getVar('SRC_URI', True) or "").split() | ||
14 | if len(src_uri) == 0: | ||
15 | return | ||
16 | |||
17 | localdata = bb.data.createCopy(d) | ||
18 | bb.data.update_data(localdata) | ||
19 | |||
20 | rootdir = localdata.getVar('WORKDIR', True) | ||
21 | fetcher = bb.fetch2.Fetch(src_uri, localdata) | ||
22 | |||
23 | for url in fetcher.ud.values(): | ||
24 | save_cwd = os.getcwd() | ||
25 | # Check for supported fetchers | ||
26 | if url.type in ['http', 'https', 'ftp', 'file']: | ||
27 | if url.parm.get('fsl-eula', False): | ||
28 | # If download has failed, do nothing | ||
29 | if not os.path.exists(url.localpath): | ||
30 | bb.debug(1, "Exiting as '%s' cannot be found" % url.basename) | ||
31 | return | ||
32 | |||
33 | # Change to the working directory | ||
34 | bb.note("Handling file '%s' as a Freescale's EULA binary." % url.basename) | ||
35 | save_cwd = os.getcwd() | ||
36 | os.chdir(rootdir) | ||
37 | |||
38 | cmd = "sh %s --auto-accept --force" % (url.localpath) | ||
39 | bb.fetch2.runfetchcmd(cmd, d, quiet=True) | ||
40 | |||
41 | # Return to the previous directory | ||
42 | os.chdir(save_cwd) | ||
43 | } | ||
44 | |||
45 | python do_unpack() { | ||
46 | eula = d.getVar('ACCEPT_FSL_EULA', True) | ||
47 | eula_file = d.getVar('FSL_EULA_FILE', True) | ||
48 | pkg = d.getVar('PN', True) | ||
49 | if eula == None: | ||
50 | bb.fatal("To use '%s' you need to accept the Freescale EULA at '%s'. " | ||
51 | "Please read it and in case you accept it, write: " | ||
52 | "ACCEPT_FSL_EULA = \"1\" in your local.conf." % (pkg, eula_file)) | ||
53 | elif eula == '0': | ||
54 | bb.fatal("To use '%s' you need to accept the Freescale EULA." % pkg) | ||
55 | else: | ||
56 | bb.note("Freescale EULA has been accepted for '%s'" % pkg) | ||
57 | |||
58 | # The binary unpack needs to be done first so 'S' is valid | ||
59 | bb.build.exec_func('fsl_bin_do_unpack', d) | ||
60 | |||
61 | try: | ||
62 | bb.build.exec_func('base_do_unpack', d) | ||
63 | except: | ||
64 | raise | ||
65 | } | ||
66 | |||
67 | do_unpack[vardepsexclude] += "FSL_EULA_FILE" | ||
diff --git a/meta-fsl-arm/classes/fsl-kernel-localversion.bbclass b/meta-fsl-arm/classes/fsl-kernel-localversion.bbclass new file mode 100644 index 00000000..1004e355 --- /dev/null +++ b/meta-fsl-arm/classes/fsl-kernel-localversion.bbclass | |||
@@ -0,0 +1,39 @@ | |||
1 | # Freescale Kernel LOCALVERSION extension | ||
2 | # | ||
3 | # This allow to easy reuse of code between different kernel recipes | ||
4 | # | ||
5 | # The following options are supported: | ||
6 | # | ||
7 | # SCMVERSION Puts the Git hash in kernel local version | ||
8 | # LOCALVERSION Value used in LOCALVERSION (default to '+fslc') | ||
9 | # | ||
10 | # Copyright 2014, 2015 (C) O.S. Systems Software LTDA. | ||
11 | |||
12 | SCMVERSION ??= "y" | ||
13 | LOCALVERSION ??= "+fslc" | ||
14 | |||
15 | kernel_conf_variable() { | ||
16 | CONF_SED_SCRIPT="$CONF_SED_SCRIPT /CONFIG_$1[ =]/d;" | ||
17 | if test "$2" = "n" | ||
18 | then | ||
19 | echo "# CONFIG_$1 is not set" >> ${B}/.config | ||
20 | else | ||
21 | echo "CONFIG_$1=$2" >> ${B}/.config | ||
22 | fi | ||
23 | } | ||
24 | |||
25 | do_configure_prepend() { | ||
26 | echo "" > ${B}/.config | ||
27 | CONF_SED_SCRIPT="" | ||
28 | |||
29 | kernel_conf_variable LOCALVERSION "\"${LOCALVERSION}\"" | ||
30 | kernel_conf_variable LOCALVERSION_AUTO y | ||
31 | |||
32 | sed -e "${CONF_SED_SCRIPT}" < '${WORKDIR}/defconfig' >> '${B}/.config' | ||
33 | |||
34 | if [ "${SCMVERSION}" = "y" ]; then | ||
35 | # Add GIT revision to the local version | ||
36 | head=`git --git-dir=${S}/.git rev-parse --verify --short HEAD 2> /dev/null` | ||
37 | printf "%s%s" +g $head > ${S}/.scmversion | ||
38 | fi | ||
39 | } | ||
diff --git a/meta-fsl-arm/classes/fsl-u-boot-localversion.bbclass b/meta-fsl-arm/classes/fsl-u-boot-localversion.bbclass new file mode 100644 index 00000000..f7e09714 --- /dev/null +++ b/meta-fsl-arm/classes/fsl-u-boot-localversion.bbclass | |||
@@ -0,0 +1,27 @@ | |||
1 | # Freescale U-Boot LOCALVERSION extension | ||
2 | # | ||
3 | # This allow to easy reuse of code between different U-Boot recipes | ||
4 | # | ||
5 | # The following options are supported: | ||
6 | # | ||
7 | # SCMVERSION Puts the Git hash in U-Boot local version | ||
8 | # LOCALVERSION Value used in LOCALVERSION (default to '+fslc') | ||
9 | # | ||
10 | # Copyright 2014 (C) O.S. Systems Software LTDA. | ||
11 | |||
12 | SCMVERSION ??= "y" | ||
13 | LOCALVERSION ??= "+fslc" | ||
14 | |||
15 | UBOOT_LOCALVERSION = "${LOCALVERSION}" | ||
16 | |||
17 | do_compile_prepend() { | ||
18 | if [ "${SCMVERSION}" = "y" ]; then | ||
19 | # Add GIT revision to the local version | ||
20 | head=`git rev-parse --verify --short HEAD 2> /dev/null` | ||
21 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${S}/.scmversion | ||
22 | printf "%s%s%s" "${UBOOT_LOCALVERSION}" +g $head > ${B}/.scmversion | ||
23 | else | ||
24 | printf "%s" "${UBOOT_LOCALVERSION}" > ${S}/.scmversion | ||
25 | printf "%s" "${UBOOT_LOCALVERSION}" > ${B}/.scmversion | ||
26 | fi | ||
27 | } | ||
diff --git a/meta-fsl-arm/classes/image_types_fsl.bbclass b/meta-fsl-arm/classes/image_types_fsl.bbclass new file mode 100644 index 00000000..b542549d --- /dev/null +++ b/meta-fsl-arm/classes/image_types_fsl.bbclass | |||
@@ -0,0 +1,320 @@ | |||
1 | inherit image_types | ||
2 | |||
3 | IMAGE_BOOTLOADER ?= "u-boot" | ||
4 | |||
5 | # Handle u-boot suffixes | ||
6 | UBOOT_SUFFIX ?= "bin" | ||
7 | UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}" | ||
8 | |||
9 | # | ||
10 | # Handles i.MX mxs bootstream generation | ||
11 | # | ||
12 | MXSBOOT_NAND_ARGS ?= "" | ||
13 | |||
14 | # IMX Bootlets Linux bootstream | ||
15 | IMAGE_DEPENDS_linux.sb = "elftosb-native:do_populate_sysroot \ | ||
16 | imx-bootlets:do_deploy \ | ||
17 | virtual/kernel:do_deploy" | ||
18 | IMAGE_LINK_NAME_linux.sb = "" | ||
19 | IMAGE_CMD_linux.sb () { | ||
20 | kernel_bin="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin`" | ||
21 | kernel_dtb="`readlink ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.dtb || true`" | ||
22 | linux_bd_file=imx-bootlets-linux.bd-${MACHINE} | ||
23 | if [ `basename $kernel_bin .bin` = `basename $kernel_dtb .dtb` ]; then | ||
24 | # When using device tree we build a zImage with the dtb | ||
25 | # appended on the end of the image | ||
26 | linux_bd_file=imx-bootlets-linux.bd-dtb-${MACHINE} | ||
27 | cat $kernel_bin $kernel_dtb \ | ||
28 | > $kernel_bin-dtb | ||
29 | rm -f ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin-dtb | ||
30 | ln -s $kernel_bin-dtb ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin-dtb | ||
31 | fi | ||
32 | |||
33 | # Ensure the file is generated | ||
34 | rm -f ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb | ||
35 | (cd ${DEPLOY_DIR_IMAGE}; elftosb -z -c $linux_bd_file -o ${IMAGE_NAME}.linux.sb) | ||
36 | |||
37 | # Remove the appended file as it is only used here | ||
38 | rm -f ${DEPLOY_DIR_IMAGE}/$kernel_bin-dtb | ||
39 | } | ||
40 | |||
41 | # IMX Bootlets barebox bootstream | ||
42 | IMAGE_DEPENDS_barebox.mxsboot-sdcard = "elftosb-native:do_populate_sysroot \ | ||
43 | u-boot-mxsboot-native:do_populate_sysroot \ | ||
44 | imx-bootlets:do_deploy \ | ||
45 | barebox:do_deploy" | ||
46 | IMAGE_CMD_barebox.mxsboot-sdcard () { | ||
47 | barebox_bd_file=imx-bootlets-barebox_ivt.bd-${MACHINE} | ||
48 | |||
49 | # Ensure the files are generated | ||
50 | (cd ${DEPLOY_DIR_IMAGE}; rm -f ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard; \ | ||
51 | elftosb -f mx28 -z -c $barebox_bd_file -o ${IMAGE_NAME}.barebox.sb; \ | ||
52 | mxsboot sd ${IMAGE_NAME}.barebox.sb ${IMAGE_NAME}.barebox.mxsboot-sdcard) | ||
53 | } | ||
54 | |||
55 | # U-Boot mxsboot generation to SD-Card | ||
56 | UBOOT_SUFFIX_SDCARD_mxs ?= "mxsboot-sdcard" | ||
57 | IMAGE_DEPENDS_uboot.mxsboot-sdcard = "u-boot-mxsboot-native:do_populate_sysroot \ | ||
58 | u-boot:do_deploy" | ||
59 | IMAGE_CMD_uboot.mxsboot-sdcard = "mxsboot sd ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | ||
60 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-sdcard" | ||
61 | |||
62 | IMAGE_DEPENDS_uboot.mxsboot-nand = "u-boot-mxsboot-native:do_populate_sysroot \ | ||
63 | u-boot:do_deploy" | ||
64 | IMAGE_CMD_uboot.mxsboot-nand = "mxsboot ${MXSBOOT_NAND_ARGS} nand \ | ||
65 | ${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX} \ | ||
66 | ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-nand" | ||
67 | |||
68 | # Boot partition volume id | ||
69 | BOOTDD_VOLUME_ID ?= "Boot ${MACHINE}" | ||
70 | |||
71 | # Boot partition size [in KiB] | ||
72 | BOOT_SPACE ?= "8192" | ||
73 | |||
74 | # Barebox environment size [in KiB] | ||
75 | BAREBOX_ENV_SPACE ?= "512" | ||
76 | |||
77 | # Set alignment to 4MB [in KiB] | ||
78 | IMAGE_ROOTFS_ALIGNMENT = "4096" | ||
79 | |||
80 | IMAGE_DEPENDS_sdcard = "parted-native:do_populate_sysroot \ | ||
81 | dosfstools-native:do_populate_sysroot \ | ||
82 | mtools-native:do_populate_sysroot \ | ||
83 | virtual/kernel:do_deploy \ | ||
84 | ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}" | ||
85 | |||
86 | SDCARD = "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.sdcard" | ||
87 | |||
88 | SDCARD_GENERATION_COMMAND_mxs = "generate_mxs_sdcard" | ||
89 | SDCARD_GENERATION_COMMAND_mx25 = "generate_imx_sdcard" | ||
90 | SDCARD_GENERATION_COMMAND_mx5 = "generate_imx_sdcard" | ||
91 | SDCARD_GENERATION_COMMAND_mx6 = "generate_imx_sdcard" | ||
92 | SDCARD_GENERATION_COMMAND_vf = "generate_imx_sdcard" | ||
93 | |||
94 | # | ||
95 | # Create an image that can by written onto a SD card using dd for use | ||
96 | # with i.MX SoC family | ||
97 | # | ||
98 | # External variables needed: | ||
99 | # ${SDCARD_ROOTFS} - the rootfs image to incorporate | ||
100 | # ${IMAGE_BOOTLOADER} - bootloader to use {u-boot, barebox} | ||
101 | # | ||
102 | # The disk layout used is: | ||
103 | # | ||
104 | # 0 -> IMAGE_ROOTFS_ALIGNMENT - reserved to bootloader (not partitioned) | ||
105 | # IMAGE_ROOTFS_ALIGNMENT -> BOOT_SPACE - kernel and other data | ||
106 | # BOOT_SPACE -> SDIMG_SIZE - rootfs | ||
107 | # | ||
108 | # Default Free space = 1.3x | ||
109 | # Use IMAGE_OVERHEAD_FACTOR to add more space | ||
110 | # <---------> | ||
111 | # 4MiB 8MiB SDIMG_ROOTFS 4MiB | ||
112 | # <-----------------------> <----------> <----------------------> <------------------------------> | ||
113 | # ------------------------ ------------ ------------------------ ------------------------------- | ||
114 | # | IMAGE_ROOTFS_ALIGNMENT | BOOT_SPACE | ROOTFS_SIZE | IMAGE_ROOTFS_ALIGNMENT | | ||
115 | # ------------------------ ------------ ------------------------ ------------------------------- | ||
116 | # ^ ^ ^ ^ ^ | ||
117 | # | | | | | | ||
118 | # 0 4096 4MiB + 8MiB 4MiB + 8Mib + SDIMG_ROOTFS 4MiB + 8MiB + SDIMG_ROOTFS + 4MiB | ||
119 | generate_imx_sdcard () { | ||
120 | # Create partition table | ||
121 | parted -s ${SDCARD} mklabel msdos | ||
122 | parted -s ${SDCARD} unit KiB mkpart primary fat32 ${IMAGE_ROOTFS_ALIGNMENT} $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | ||
123 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | ||
124 | parted ${SDCARD} print | ||
125 | |||
126 | # Burn bootloader | ||
127 | case "${IMAGE_BOOTLOADER}" in | ||
128 | imx-bootlets) | ||
129 | bberror "The imx-bootlets is not supported for i.MX based machines" | ||
130 | exit 1 | ||
131 | ;; | ||
132 | u-boot) | ||
133 | if [ -n "${SPL_BINARY}" ]; then | ||
134 | dd if=${DEPLOY_DIR_IMAGE}/${SPL_BINARY} of=${SDCARD} conv=notrunc seek=2 bs=512 | ||
135 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=69 bs=1K | ||
136 | else | ||
137 | dd if=${DEPLOY_DIR_IMAGE}/u-boot-${MACHINE}.${UBOOT_SUFFIX_SDCARD} of=${SDCARD} conv=notrunc seek=2 bs=512 | ||
138 | fi | ||
139 | ;; | ||
140 | barebox) | ||
141 | dd if=${DEPLOY_DIR_IMAGE}/barebox-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 skip=1 bs=512 | ||
142 | dd if=${DEPLOY_DIR_IMAGE}/bareboxenv-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=1 bs=512k | ||
143 | ;; | ||
144 | "") | ||
145 | ;; | ||
146 | *) | ||
147 | bberror "Unknown IMAGE_BOOTLOADER value" | ||
148 | exit 1 | ||
149 | ;; | ||
150 | esac | ||
151 | |||
152 | # Create boot partition image | ||
153 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | ||
154 | | awk '/ 1 / { print substr($4, 1, length($4 -1)) / 1024 }') | ||
155 | rm -f ${WORKDIR}/boot.img | ||
156 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | ||
157 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} | ||
158 | |||
159 | # Copy boot scripts | ||
160 | for item in ${BOOT_SCRIPTS}; do | ||
161 | src=`echo $item | awk -F':' '{ print $1 }'` | ||
162 | dst=`echo $item | awk -F':' '{ print $2 }'` | ||
163 | |||
164 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/$src ::/$dst | ||
165 | done | ||
166 | |||
167 | # Copy device tree file | ||
168 | if test -n "${KERNEL_DEVICETREE}"; then | ||
169 | for DTS_FILE in ${KERNEL_DEVICETREE}; do | ||
170 | DTS_BASE_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'` | ||
171 | if [ -e "${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb" ]; then | ||
172 | kernel_bin="`readlink ${KERNEL_IMAGETYPE}-${MACHINE}.bin`" | ||
173 | kernel_bin_for_dtb="`readlink ${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb | sed "s,$DTS_BASE_NAME,${MACHINE},g;s,\.dtb$,.bin,g"`" | ||
174 | if [ $kernel_bin = $kernel_bin_for_dtb ]; then | ||
175 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb ::/${DTS_BASE_NAME}.dtb | ||
176 | fi | ||
177 | fi | ||
178 | done | ||
179 | fi | ||
180 | |||
181 | # Burn Partition | ||
182 | dd if=${WORKDIR}/boot.img of=${SDCARD} conv=notrunc,fsync seek=1 bs=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) | ||
183 | dd if=${SDCARD_ROOTFS} of=${SDCARD} conv=notrunc,fsync seek=1 bs=$(expr ${BOOT_SPACE_ALIGNED} \* 1024 + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) | ||
184 | } | ||
185 | |||
186 | # | ||
187 | # Create an image that can by written onto a SD card using dd for use | ||
188 | # with i.MXS SoC family | ||
189 | # | ||
190 | # External variables needed: | ||
191 | # ${SDCARD_ROOTFS} - the rootfs image to incorporate | ||
192 | # ${IMAGE_BOOTLOADER} - bootloader to use {imx-bootlets, u-boot} | ||
193 | # | ||
194 | generate_mxs_sdcard () { | ||
195 | # Create partition table | ||
196 | parted -s ${SDCARD} mklabel msdos | ||
197 | |||
198 | case "${IMAGE_BOOTLOADER}" in | ||
199 | imx-bootlets) | ||
200 | # The disk layout used is: | ||
201 | # | ||
202 | # 0 -> 1024 - Unused (not partitioned) | ||
203 | # 1024 -> BOOT_SPACE - kernel and other data (bootstream) | ||
204 | # BOOT_SPACE -> SDIMG_SIZE - rootfs | ||
205 | # | ||
206 | # Default Free space = 1.3x | ||
207 | # Use IMAGE_OVERHEAD_FACTOR to add more space | ||
208 | # <---------> | ||
209 | # 1024 8MiB SDIMG_ROOTFS 4MiB | ||
210 | # <-------> <----------> <----------------------> <------------------------------> | ||
211 | # --------------------- ------------------------ ------------------------------- | ||
212 | # | Unused | BOOT_SPACE | ROOTFS_SIZE | IMAGE_ROOTFS_ALIGNMENT | | ||
213 | # --------------------- ------------------------ ------------------------------- | ||
214 | # ^ ^ ^ ^ ^ | ||
215 | # | | | | | | ||
216 | # 0 1024 1024 + 8MiB 1024 + 8Mib + SDIMG_ROOTFS 1024 + 8MiB + SDIMG_ROOTFS + 4MiB | ||
217 | parted -s ${SDCARD} unit KiB mkpart primary 1024 $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | ||
218 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | ||
219 | |||
220 | # Empty 4 blocks from boot partition | ||
221 | dd if=/dev/zero of=${SDCARD} conv=notrunc seek=2048 count=4 | ||
222 | |||
223 | # Write the bootstream in (2048 + 4) blocks | ||
224 | dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.linux.sb of=${SDCARD} conv=notrunc seek=2052 | ||
225 | ;; | ||
226 | u-boot) | ||
227 | # The disk layout used is: | ||
228 | # | ||
229 | # 1M - 2M - reserved to bootloader and other data | ||
230 | # 2M - BOOT_SPACE - kernel | ||
231 | # BOOT_SPACE - SDCARD_SIZE - rootfs | ||
232 | # | ||
233 | # The disk layout used is: | ||
234 | # | ||
235 | # 1M -> 2M - reserved to bootloader and other data | ||
236 | # 2M -> BOOT_SPACE - kernel and other data | ||
237 | # BOOT_SPACE -> SDIMG_SIZE - rootfs | ||
238 | # | ||
239 | # Default Free space = 1.3x | ||
240 | # Use IMAGE_OVERHEAD_FACTOR to add more space | ||
241 | # <---------> | ||
242 | # 4MiB 8MiB SDIMG_ROOTFS 4MiB | ||
243 | # <-----------------------> <-------------> <----------------------> <------------------------------> | ||
244 | # ---------------------------------------- ------------------------ ------------------------------- | ||
245 | # | | | |ROOTFS_SIZE | IMAGE_ROOTFS_ALIGNMENT | | ||
246 | # ---------------------------------------- ------------------------ ------------------------------- | ||
247 | # ^ ^ ^ ^ ^ ^ ^ | ||
248 | # | | | | | | | | ||
249 | # 0 1M 2M 4M 4MiB + BOOTSPACE 4MiB + BOOTSPACE + SDIMG_ROOTFS 4MiB + BOOTSPACE + SDIMG_ROOTFS + 4MiB | ||
250 | # | ||
251 | parted -s ${SDCARD} unit KiB mkpart primary 1024 2048 | ||
252 | parted -s ${SDCARD} unit KiB mkpart primary 2048 $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | ||
253 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | ||
254 | |||
255 | dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.uboot.mxsboot-sdcard of=${SDCARD} conv=notrunc seek=1 bs=$(expr 1024 \* 1024) | ||
256 | BOOT_BLOCKS=$(LC_ALL=C parted -s ${SDCARD} unit b print \ | ||
257 | | awk '/ 2 / { print substr($4, 1, length($4 -1)) / 1024 }') | ||
258 | |||
259 | rm -f ${WORKDIR}/boot.img | ||
260 | mkfs.vfat -n "${BOOTDD_VOLUME_ID}" -S 512 -C ${WORKDIR}/boot.img $BOOT_BLOCKS | ||
261 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${MACHINE}.bin ::/${KERNEL_IMAGETYPE} | ||
262 | if test -n "${KERNEL_DEVICETREE}"; then | ||
263 | for DTS_FILE in ${KERNEL_DEVICETREE}; do | ||
264 | DTS_BASE_NAME=`basename ${DTS_FILE} | awk -F "." '{print $1}'` | ||
265 | if [ -e "${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb" ]; then | ||
266 | kernel_bin="`readlink ${KERNEL_IMAGETYPE}-${MACHINE}.bin`" | ||
267 | kernel_bin_for_dtb="`readlink ${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb | sed "s,$DTS_BASE_NAME,${MACHINE},g;s,\.dtb$,.bin,g"`" | ||
268 | if [ $kernel_bin = $kernel_bin_for_dtb ]; then | ||
269 | mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${DTS_BASE_NAME}.dtb ::/${DTS_BASE_NAME}.dtb | ||
270 | fi | ||
271 | fi | ||
272 | done | ||
273 | fi | ||
274 | |||
275 | dd if=${WORKDIR}/boot.img of=${SDCARD} conv=notrunc seek=2 bs=$(expr 1024 \* 1024) | ||
276 | ;; | ||
277 | barebox) | ||
278 | # BAREBOX_ENV_SPACE is taken on BOOT_SPACE_ALIGNED but it doesn't really matter as long as the rootfs is aligned | ||
279 | parted -s ${SDCARD} unit KiB mkpart primary 1024 $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} - ${BAREBOX_ENV_SPACE}) | ||
280 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} - ${BAREBOX_ENV_SPACE}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) | ||
281 | parted -s ${SDCARD} unit KiB mkpart primary $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED}) $(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} \+ $ROOTFS_SIZE) | ||
282 | |||
283 | dd if=${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.barebox.mxsboot-sdcard of=${SDCARD} conv=notrunc seek=1 bs=$(expr 1024 \* 1024) | ||
284 | dd if=${DEPLOY_DIR_IMAGE}/bareboxenv-${MACHINE}.bin of=${SDCARD} conv=notrunc seek=$(expr ${IMAGE_ROOTFS_ALIGNMENT} \+ ${BOOT_SPACE_ALIGNED} - ${BAREBOX_ENV_SPACE}) bs=1024 | ||
285 | ;; | ||
286 | *) | ||
287 | bberror "Unknown IMAGE_BOOTLOADER value" | ||
288 | exit 1 | ||
289 | ;; | ||
290 | esac | ||
291 | |||
292 | # Change partition type for mxs processor family | ||
293 | bbnote "Setting partition type to 0x53 as required for mxs' SoC family." | ||
294 | echo -n S | dd of=${SDCARD} bs=1 count=1 seek=450 conv=notrunc | ||
295 | |||
296 | parted ${SDCARD} print | ||
297 | |||
298 | dd if=${SDCARD_ROOTFS} of=${SDCARD} conv=notrunc,fsync seek=1 bs=$(expr ${BOOT_SPACE_ALIGNED} \* 1024 + ${IMAGE_ROOTFS_ALIGNMENT} \* 1024) | ||
299 | } | ||
300 | |||
301 | IMAGE_CMD_sdcard () { | ||
302 | if [ -z "${SDCARD_ROOTFS}" ]; then | ||
303 | bberror "SDCARD_ROOTFS is undefined. To use sdcard image from Freescale's BSP it needs to be defined." | ||
304 | exit 1 | ||
305 | fi | ||
306 | |||
307 | # Align boot partition and calculate total SD card image size | ||
308 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE} + ${IMAGE_ROOTFS_ALIGNMENT} - 1) | ||
309 | BOOT_SPACE_ALIGNED=$(expr ${BOOT_SPACE_ALIGNED} - ${BOOT_SPACE_ALIGNED} % ${IMAGE_ROOTFS_ALIGNMENT}) | ||
310 | SDCARD_SIZE=$(expr ${IMAGE_ROOTFS_ALIGNMENT} + ${BOOT_SPACE_ALIGNED} + $ROOTFS_SIZE + ${IMAGE_ROOTFS_ALIGNMENT}) | ||
311 | |||
312 | # Initialize a sparse file | ||
313 | dd if=/dev/zero of=${SDCARD} bs=1 count=0 seek=$(expr 1024 \* ${SDCARD_SIZE}) | ||
314 | |||
315 | ${SDCARD_GENERATION_COMMAND} | ||
316 | } | ||
317 | |||
318 | # The sdcard requires the rootfs filesystem to be built before using | ||
319 | # it so we must make this dependency explicit. | ||
320 | IMAGE_TYPEDEP_sdcard = "${@d.getVar('SDCARD_ROOTFS', 1).split('.')[-1]}" | ||
diff --git a/meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass b/meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass new file mode 100644 index 00000000..a9a2adf1 --- /dev/null +++ b/meta-fsl-arm/classes/mfgtool-initramfs-image.bbclass | |||
@@ -0,0 +1,40 @@ | |||
1 | # Generates a Manufacturing Tool Initramfs image | ||
2 | # | ||
3 | # This generates the initramfs used for the installation process. The | ||
4 | # image provides the utilities which are used, in the target, during | ||
5 | # the process and receive the commands from the MfgTool application. | ||
6 | # | ||
7 | # Copyright 2014 (C) O.S. Systems Software LTDA. | ||
8 | |||
9 | DEPENDS += "u-boot-mfgtool linux-mfgtool" | ||
10 | |||
11 | FEATURE_PACKAGES_mtd = "packagegroup-fsl-mfgtool-mtd" | ||
12 | FEATURE_PACKAGES_extfs = "packagegroup-fsl-mfgtool-extfs" | ||
13 | |||
14 | IMAGE_FSTYPES = "cpio.gz.u-boot" | ||
15 | IMAGE_ROOTFS_SIZE ?= "8192" | ||
16 | IMAGE_CLASSES = "image_types_uboot" | ||
17 | |||
18 | # Filesystems enabled by default | ||
19 | DEFAULT_FS_SUPPORT = " \ | ||
20 | mtd \ | ||
21 | extfs \ | ||
22 | " | ||
23 | |||
24 | IMAGE_FEATURES = " \ | ||
25 | ${DEFAULT_FS_SUPPORT} \ | ||
26 | \ | ||
27 | read-only-rootfs \ | ||
28 | " | ||
29 | |||
30 | # Avoid installation of syslog | ||
31 | BAD_RECOMMENDATIONS += "busybox-syslog" | ||
32 | |||
33 | # Avoid static /dev | ||
34 | USE_DEVFS = "1" | ||
35 | |||
36 | inherit core-image | ||
37 | |||
38 | CORE_IMAGE_BASE_INSTALL = " \ | ||
39 | ${CORE_IMAGE_EXTRA_INSTALL} \ | ||
40 | " | ||
diff --git a/meta-fsl-arm/conf/layer.conf b/meta-fsl-arm/conf/layer.conf new file mode 100644 index 00000000..81d29f59 --- /dev/null +++ b/meta-fsl-arm/conf/layer.conf | |||
@@ -0,0 +1,26 @@ | |||
1 | # We have a conf and classes directory, add to BBPATH | ||
2 | BBPATH .= ":${LAYERDIR}" | ||
3 | |||
4 | # We have a packages directory, add to BBFILES | ||
5 | BBFILES += "${LAYERDIR}/recipes-*/*/*.bb \ | ||
6 | ${LAYERDIR}/recipes-*/*/*.bbappend" | ||
7 | |||
8 | BBFILE_COLLECTIONS += "fsl-arm" | ||
9 | BBFILE_PATTERN_fsl-arm := "^${LAYERDIR}/" | ||
10 | BBFILE_PRIORITY_fsl-arm = "5" | ||
11 | |||
12 | FSL_EULA_FILE = "${LAYERDIR}/EULA" | ||
13 | |||
14 | FSL_MIRROR ?= "http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/" | ||
15 | |||
16 | MIRRORS += " \ | ||
17 | ${FSL_MIRROR} http://download.ossystems.com.br/bsp/freescale/source/ \n \ | ||
18 | " | ||
19 | |||
20 | # Let us add layer-specific bbappends which are only applied when that | ||
21 | # layer is included in our configuration | ||
22 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bbappend' % layer \ | ||
23 | for layer in BBFILE_COLLECTIONS.split())}" | ||
24 | # Add layer-specific bb files too | ||
25 | BBFILES += "${@' '.join('${LAYERDIR}/%s/recipes*/*/*.bb' % layer \ | ||
26 | for layer in BBFILE_COLLECTIONS.split())}" | ||
diff --git a/meta-fsl-arm/conf/machine/imx23evk.conf b/meta-fsl-arm/conf/machine/imx23evk.conf new file mode 100644 index 00000000..ecaef9a6 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx23evk.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX23 Evaluation Kit | ||
3 | #@SOC: i.MX23 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX23 Evaluation Kit | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | include conf/machine/include/mxs-base.inc | ||
8 | |||
9 | SOC_FAMILY = "mxs:mx23" | ||
10 | |||
11 | IMXBOOTLETS_MACHINE = "stmp378x_dev" | ||
12 | UBOOT_MACHINE = "mx23evk_config" | ||
13 | |||
14 | KERNEL_DEVICETREE = "imx23-evk.dtb" | ||
15 | |||
16 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" | ||
17 | IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard" | ||
18 | |||
19 | MACHINE_FEATURES = "apm usbgadget usbhost vfat touchscreen" | ||
diff --git a/meta-fsl-arm/conf/machine/imx28evk.conf b/meta-fsl-arm/conf/machine/imx28evk.conf new file mode 100644 index 00000000..672e4587 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx28evk.conf | |||
@@ -0,0 +1,57 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX28 Evaluation Kit | ||
3 | #@SOC: i.MX28 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX28 Evaluation Kit | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | include conf/machine/include/mxs-base.inc | ||
8 | |||
9 | SOC_FAMILY = "mxs:mx28" | ||
10 | |||
11 | # Disable perf features as 2.6.35.3 fails to build otherwise | ||
12 | PERF_FEATURES_ENABLE = "" | ||
13 | |||
14 | IMXBOOTLETS_MACHINE = "iMX28_EVK" | ||
15 | |||
16 | UBOOT_CONFIG ??= "sd" | ||
17 | UBOOT_CONFIG[sd] = "mx28evk_config,sdcard" | ||
18 | UBOOT_CONFIG[nand] = "mx28evk_nand_config,ubifs" | ||
19 | UBOOT_CONFIG[sd-auart-console] = "mx28evk_auart_console_config,sdcard" | ||
20 | |||
21 | KERNEL_DEVICETREE = "imx28-evk.dtb" | ||
22 | |||
23 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" | ||
24 | IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard" | ||
25 | |||
26 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
27 | |||
28 | MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen" | ||
29 | |||
30 | ## Parameters for NAND IC part-# K9LBG08U0D-PCB0 | ||
31 | |||
32 | MKUBIFS_ARGS = "--min-io-size 4096 --leb-size 516096 --max-leb-cnt 8139" | ||
33 | UBINIZE_ARGS = "--min-io-size 4096 --peb-size 524288 --sub-page-size 4096" | ||
34 | MXSBOOT_NAND_ARGS = "-w 4096 -o 218 -e 524288" | ||
35 | |||
36 | ## To determine parameters' values, run "ubiattach -m 6 /dev/ubi_ctrl" | ||
37 | ## (assuming the rootfs device is /dev/mtd6). Here's an example: | ||
38 | |||
39 | # # ubiattach -m 6 /dev/ubi_ctrl | ||
40 | # [ 28.640396] UBI: attaching mtd6 to ubi0 | ||
41 | # [ 53.000817] UBI: scanning is finished | ||
42 | # [ 53.126052] UBI: attached mtd6 (name "filesystem", size 4079 MiB) to ubi0 | ||
43 | # [ 53.133109] UBI: PEB size: 524288 bytes (512 KiB), LEB size: 516096 bytes | ||
44 | # [ 53.140149] UBI: min./max. I/O unit sizes: 4096/4096, sub-page size 4096 | ||
45 | # [ 53.146895] UBI: VID header offset: 4096 (aligned 4096), data offset: 8192 | ||
46 | # [ 53.153931] UBI: good PEBs: 8139, bad PEBs: 20, corrupted PEBs: 0 | ||
47 | # [ 53.160263] UBI: user volume: 1, internal volumes: 1, max. volumes count: 128 | ||
48 | # [ 53.167444] UBI: max/mean erase counter: 2/1, WL threshold: 4096, image sequence number: 0 | ||
49 | # [ 53.175872] UBI: available PEBs: 4113, total reserved PEBs: 4026, PEBs reserved for bad PEB handling: 140 | ||
50 | # [ 53.189399] UBI: background thread "ubi_bgt0d" started, PID 217 | ||
51 | # UBI device number 0, total 8139 LEBs (4200505344 bytes, f GiB), available 4113 LEBs (2122702848 bytes, f GiB), LEB size 516096 bytes (f KiB) | ||
52 | |||
53 | # --min-io-size: see "min./max. I/O unit sizes: " in the ubiattach output | ||
54 | # --leb-size: see "LEB size:" in the ubiattach output | ||
55 | # --max-leb-cnt: see "total <n> LEBs" in the ubiattach output, where <n> is the number you want | ||
56 | # --peb-size: see "PEB size:" in the ubiattach output (pick the value in bytes) | ||
57 | # --sub-page-size: see "sub-page size" in the ubiattach output | ||
diff --git a/meta-fsl-arm/conf/machine/imx31pdk.conf b/meta-fsl-arm/conf/machine/imx31pdk.conf new file mode 100644 index 00000000..cf368eb8 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx31pdk.conf | |||
@@ -0,0 +1,24 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX31 Platform Development Kit | ||
3 | #@SOC: i.MX31 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX31 Platform Development Kit | ||
5 | |||
6 | include conf/machine/include/imx-base.inc | ||
7 | require conf/machine/include/tune-arm1136jf-s.inc | ||
8 | |||
9 | SOC_FAMILY = "mx3:mx31" | ||
10 | |||
11 | GUI_MACHINE_CLASS = "smallscreen" | ||
12 | |||
13 | UBOOT_MAKE_TARGET = "u-boot-with-spl.bin" | ||
14 | UBOOT_SUFFIX = "bin" | ||
15 | UBOOT_MACHINE = "mx31pdk_config" | ||
16 | UBOOT_BINARY = "u-boot-with-spl.bin" | ||
17 | KERNEL_IMAGETYPE = "uImage" | ||
18 | |||
19 | IMAGE_FSTYPES = "ubi jffs2 tar.bz2" | ||
20 | MKUBIFS_ARGS = "-m 2048 -e 129024 -c 2030" | ||
21 | UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512" | ||
22 | |||
23 | MACHINE_FEATURES += "ext3 bluetooth ext2 screen" | ||
24 | |||
diff --git a/meta-fsl-arm/conf/machine/imx35pdk.conf b/meta-fsl-arm/conf/machine/imx35pdk.conf new file mode 100644 index 00000000..a3fc60cb --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx35pdk.conf | |||
@@ -0,0 +1,25 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX35 Platform Development Kit | ||
3 | #@SOC: i.MX35 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX35 Platform Development Kit | ||
5 | |||
6 | include conf/machine/include/imx-base.inc | ||
7 | require conf/machine/include/tune-arm1136jf-s.inc | ||
8 | |||
9 | SOC_FAMILY = "mx3:mx35" | ||
10 | |||
11 | UBOOT_MACHINE = "mx35pdk_config" | ||
12 | UBOOT_SUFFIX = "bin" | ||
13 | UBOOT_BINARY = "u-boot.bin" | ||
14 | UBOOT_MAKE_TARGET = "u-boot.bin" | ||
15 | KERNEL_IMAGETYPE = "uImage" | ||
16 | |||
17 | GUI_MACHINE_CLASS = "bigscreen" | ||
18 | |||
19 | ROOT_FLASH_SIZE = "256" | ||
20 | |||
21 | JFFS2_ERASEBLOCK = "0x20000" | ||
22 | |||
23 | IMAGE_FSTYPES += "jffs2 tar.bz2" | ||
24 | |||
25 | MACHINE_FEATURES += "ext2 ext3 screen" | ||
diff --git a/meta-fsl-arm/conf/machine/imx51evk.conf b/meta-fsl-arm/conf/machine/imx51evk.conf new file mode 100644 index 00000000..9d7d06ca --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx51evk.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX51 Evaluation Kit | ||
3 | #@SOC: i.MX51 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX51 Evaluation Kit | ||
5 | #@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com> | ||
6 | |||
7 | include conf/machine/include/imx-base.inc | ||
8 | include conf/machine/include/tune-cortexa8.inc | ||
9 | |||
10 | SOC_FAMILY = "mx5:mx51" | ||
11 | |||
12 | # Disable perf features as 2.6.35.3 fails to build otherwise | ||
13 | PERF_FEATURES_ENABLE = "" | ||
14 | |||
15 | KERNEL_DEVICETREE = "imx51-babbage.dtb" | ||
16 | |||
17 | UBOOT_MACHINE = "mx51evk_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx53ard.conf b/meta-fsl-arm/conf/machine/imx53ard.conf new file mode 100644 index 00000000..c338d6b5 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx53ard.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX53 SABRE Automotive Board | ||
3 | #@SOC: i.MX53 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX53 SABRE Automotive Board | ||
5 | #@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com> | ||
6 | |||
7 | include conf/machine/include/imx-base.inc | ||
8 | include conf/machine/include/tune-cortexa8.inc | ||
9 | |||
10 | SOC_FAMILY = "mx5:mx53" | ||
11 | |||
12 | # Disable perf features as 2.6.35.3 fails to build otherwise | ||
13 | PERF_FEATURES_ENABLE = "" | ||
14 | |||
15 | KERNEL_DEVICETREE = "imx53-ard.dtb" | ||
16 | |||
17 | UBOOT_MACHINE = "mx53ard_config" | ||
18 | KERNEL_IMAGETYPE = "uImage" | ||
19 | |||
20 | MACHINE_FIRMWARE += "linux-firmware-ar3k \ | ||
21 | linux-firmware-ath6k" | ||
22 | MACHINE_FEATURES += "wifi bluetooth" | ||
diff --git a/meta-fsl-arm/conf/machine/imx53qsb.conf b/meta-fsl-arm/conf/machine/imx53qsb.conf new file mode 100644 index 00000000..0e7349e8 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx53qsb.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX53 Quick Start Board | ||
3 | #@SOC: i.MX53 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX53 Quick Start Board | ||
5 | #@MAINTAINER: Trevor Woerner <trevor.woerner@linaro.org> | ||
6 | |||
7 | include conf/machine/include/imx-base.inc | ||
8 | include conf/machine/include/tune-cortexa8.inc | ||
9 | |||
10 | SOC_FAMILY = "mx5:mx53" | ||
11 | |||
12 | # Disable perf features as 2.6.35.3 fails to build otherwise | ||
13 | PERF_FEATURES_ENABLE = "" | ||
14 | |||
15 | KERNEL_DEVICETREE = "imx53-qsb.dtb imx53-qsrb.dtb" | ||
16 | |||
17 | UBOOT_MACHINE = "mx53loco_config" | ||
18 | |||
19 | MACHINE_FIRMWARE = "linux-firmware-ar3k \ | ||
20 | linux-firmware-ath6k" | ||
21 | MACHINE_FEATURES += " wifi bluetooth" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf b/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf new file mode 100644 index 00000000..8c0fe858 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6dlsabreauto.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6DL SABRE Automotive | ||
3 | #@SOC: i.MX6DL | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6DL SABRE Automotive | ||
5 | #@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com> | ||
6 | |||
7 | require conf/machine/include/imx6sabreauto-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6dl" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb imx6dl-sabreauto-gpmi-weim.dtb imx6dl-sabreauto-ecspi.dtb " | ||
12 | KERNEL_DEVICETREE += "imx6dl-sabreauto-flexcan1.dtb " | ||
13 | |||
14 | UBOOT_CONFIG ??= "sd" | ||
15 | UBOOT_CONFIG[sd] = "mx6dlsabreauto_config,sdcard" | ||
16 | UBOOT_CONFIG[eimnor] = "mx6dlsabreauto_eimnor_config" | ||
17 | UBOOT_CONFIG[nand] = "mx6dlsabreauto_nand_config,ubifs" | ||
18 | UBOOT_CONFIG[spinor] = "mx6dlsabreauto_spinor_config" | ||
19 | UBOOT_CONFIG[mfgtool] = "mx6dlsabreauto_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6dlsabresd.conf b/meta-fsl-arm/conf/machine/imx6dlsabresd.conf new file mode 100644 index 00000000..da3ee54b --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6dlsabresd.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6DL SABRE Smart Device | ||
3 | #@SOC: i.MX6DL | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6DL SABRE Smart Device | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | require conf/machine/include/imx6sabresd-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6dl" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hdcp.dtb \ | ||
12 | imx6dl-sabresd-pf200.dtb imx6dl-sabresd-enetirq.dtb" | ||
13 | |||
14 | UBOOT_CONFIG ??= "sd" | ||
15 | UBOOT_CONFIG[sd] = "mx6dlsabresd_config,sdcard" | ||
16 | UBOOT_CONFIG[mfgtool] = "mx6dlsabresd_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6qsabreauto.conf b/meta-fsl-arm/conf/machine/imx6qsabreauto.conf new file mode 100644 index 00000000..b8fdce4b --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6qsabreauto.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6Q SABRE Automotive | ||
3 | #@SOC: i.MX6Q | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6Q SABRE Automotive | ||
5 | #@MAINTAINER: Daiane Angolini <daiane.angolini@freescale.com> | ||
6 | |||
7 | require conf/machine/include/imx6sabreauto-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6q" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6q-sabreauto.dtb imx6q-sabreauto-gpmi-weim.dtb imx6q-sabreauto-ecspi.dtb " | ||
12 | KERNEL_DEVICETREE += "imx6q-sabreauto-flexcan1.dtb " | ||
13 | |||
14 | UBOOT_CONFIG ??= "sd" | ||
15 | UBOOT_CONFIG[sd] = "mx6qsabreauto_config,sdcard" | ||
16 | UBOOT_CONFIG[eimnor] = "mx6qsabreauto_eimnor_config" | ||
17 | UBOOT_CONFIG[nand] = "mx6qsabreauto_nand_config,ubifs" | ||
18 | UBOOT_CONFIG[spinor] = "mx6qsabreauto_spinor_config" | ||
19 | UBOOT_CONFIG[sata] = "mx6qsabreauto_sata_config" | ||
20 | UBOOT_CONFIG[mfgtool] = "mx6qsabreauto_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6qsabresd.conf b/meta-fsl-arm/conf/machine/imx6qsabresd.conf new file mode 100644 index 00000000..72d1da5d --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6qsabresd.conf | |||
@@ -0,0 +1,17 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6Q SABRE Smart Device | ||
3 | #@SOC: i.MX6Q | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6Q SABRE Smart Device | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | require conf/machine/include/imx6sabresd-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6q" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb \ | ||
12 | imx6q-sabresd-enetirq.dtb imx6q-sabresd-uart.dtb" | ||
13 | |||
14 | UBOOT_CONFIG ??= "sd" | ||
15 | UBOOT_CONFIG[sd] = "mx6qsabresd_config,sdcard" | ||
16 | UBOOT_CONFIG[sata] = "mx6qsabresd_sata_config" | ||
17 | UBOOT_CONFIG[mfgtool] = "mx6qsabresd_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6slevk.conf b/meta-fsl-arm/conf/machine/imx6slevk.conf new file mode 100644 index 00000000..9ca57353 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6slevk.conf | |||
@@ -0,0 +1,24 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6SL Evaluation Kit | ||
3 | #@SOC: i.MX6SL | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6SL Evaluation Kit | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | include conf/machine/include/imx-base.inc | ||
8 | include conf/machine/include/tune-cortexa9.inc | ||
9 | |||
10 | SOC_FAMILY = "mx6:mx6sl" | ||
11 | |||
12 | KERNEL_DEVICETREE = "imx6sl-evk.dtb imx6sl-evk-csi.dtb imx6sl-evk-ldo.dtb \ | ||
13 | imx6sl-evk-pf200.dtb imx6sl-evk-uart.dtb" | ||
14 | |||
15 | UBOOT_CONFIG ??= "sd" | ||
16 | UBOOT_CONFIG[sd] = "mx6slevk_config,sdcard" | ||
17 | UBOOT_CONFIG[spinor] = "mx6slevk_spinor_config" | ||
18 | UBOOT_CONFIG[mfgtool] = "mx6slevk_config" | ||
19 | |||
20 | SERIAL_CONSOLE = "115200 ttymxc0" | ||
21 | |||
22 | MACHINE_FEATURES += " pci wifi bluetooth" | ||
23 | |||
24 | MACHINE_FIRMWARE += "linux-firmware-ath6k" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6solosabreauto.conf b/meta-fsl-arm/conf/machine/imx6solosabreauto.conf new file mode 100644 index 00000000..ead787d0 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6solosabreauto.conf | |||
@@ -0,0 +1,21 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6Solo SABRE Automotive | ||
3 | #@SOC: i.MX6S | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6Solo SABRE Automotive | ||
5 | |||
6 | require conf/machine/include/imx6sabresd-common.inc | ||
7 | |||
8 | SOC_FAMILY = "mx6:mx6dl" | ||
9 | |||
10 | KERNEL_DEVICETREE = "imx6dl-sabreauto.dtb" | ||
11 | |||
12 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | ||
13 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
14 | KERNEL_IMAGETYPE = "zImage" | ||
15 | |||
16 | UBOOT_CONFIG ??= "sd" | ||
17 | UBOOT_CONFIG[sd] = "mx6solosabreauto_config,sdcard" | ||
18 | UBOOT_CONFIG[eimnor] = "mx6solosabreauto_eimnor_config" | ||
19 | UBOOT_CONFIG[nand] = "mx6solosabreauto_nand_config,ubifs" | ||
20 | UBOOT_CONFIG[spinor] = "mx6solosabreauto_spinor_config" | ||
21 | UBOOT_CONFIG[mfgtool] = "mx6solosabreauto_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6solosabresd.conf b/meta-fsl-arm/conf/machine/imx6solosabresd.conf new file mode 100644 index 00000000..b123d8ce --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6solosabresd.conf | |||
@@ -0,0 +1,19 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6Solo SABRE Smart Device | ||
3 | #@SOC: i.MX6S | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6Solo SABRE Smart Device | ||
5 | #@MAINTAINER: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | |||
7 | require conf/machine/include/imx6sabresd-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6dl" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb" | ||
12 | |||
13 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
15 | KERNEL_IMAGETYPE = "zImage" | ||
16 | |||
17 | UBOOT_CONFIG ??= "sd" | ||
18 | UBOOT_CONFIG[sd] = "mx6solosabresd_config,sdcard" | ||
19 | UBOOT_CONFIG[mfgtool] = "mx6solosabresd_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6sxsabreauto.conf b/meta-fsl-arm/conf/machine/imx6sxsabreauto.conf new file mode 100644 index 00000000..2d9ba0d8 --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6sxsabreauto.conf | |||
@@ -0,0 +1,20 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6SoloX Sabre Automotive | ||
3 | #@SOC: i.MX6SX | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6SoloX Sabre Automotive | ||
5 | #@MAINTAINER: Lauren Post <Lauren.Post@freescale.com> | ||
6 | |||
7 | require conf/machine/include/imx6sabreauto-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6sx" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6sx-sabreauto.dtb imx6sx-sabreauto-m4.dtb" | ||
12 | |||
13 | PREFERRED_PROVIDER_u-boot = "u-boot-imx" | ||
14 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
15 | |||
16 | UBOOT_CONFIG ??= "sd" | ||
17 | UBOOT_CONFIG[sd] = "mx6sxsabreauto_config,sdcard" | ||
18 | UBOOT_CONFIG[qspi1] = "mx6sxsabreauto_qspi1_config" | ||
19 | UBOOT_CONFIG[nand] = "mx6sxsabreauto_nand_config" | ||
20 | UBOOT_CONFIG[mfgtool] = "mx6sxsabreauto_config" | ||
diff --git a/meta-fsl-arm/conf/machine/imx6sxsabresd.conf b/meta-fsl-arm/conf/machine/imx6sxsabresd.conf new file mode 100644 index 00000000..62e3afba --- /dev/null +++ b/meta-fsl-arm/conf/machine/imx6sxsabresd.conf | |||
@@ -0,0 +1,22 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale i.MX6SoloX SabreSD | ||
3 | #@SOC: i.MX6SX | ||
4 | #@DESCRIPTION: Machine configuration for Freescale i.MX6SoloX Sabre SD | ||
5 | #@MAINTAINER: Lauren Post <Lauren.Post@freescale.com> | ||
6 | |||
7 | require conf/machine/include/imx6sabresd-common.inc | ||
8 | |||
9 | SOC_FAMILY = "mx6:mx6sx" | ||
10 | |||
11 | KERNEL_DEVICETREE = "imx6sx-sdb.dtb imx6sx-sdb-emmc.dtb imx6sx-sdb-m4.dtb \ | ||
12 | imx6sx-sdb-sai.dtb imx6sx-sdb-lcdif1.dtb \ | ||
13 | imx6sx-sdb-reva-ldo.dtb imx6sx-sdb-reva.dtb" | ||
14 | |||
15 | UBOOT_ENTRYPOINT = "0x80008000" | ||
16 | |||
17 | UBOOT_CONFIG ??= "sd" | ||
18 | UBOOT_CONFIG[sd] = "mx6sxsabresd_config,sdcard" | ||
19 | UBOOT_CONFIG[emmc] = "mx6sxsabresd_emmc_config,sdcard" | ||
20 | UBOOT_CONFIG[qspi2] = "mx6sxsabresd_qspi2_config" | ||
21 | UBOOT_CONFIG[m4fastup] = "mx6sxsabresd_m4fastup_config" | ||
22 | UBOOT_CONFIG[mfgtool] = "mx6sxsabresd_config" | ||
diff --git a/meta-fsl-arm/conf/machine/include/fsl-default-settings.inc b/meta-fsl-arm/conf/machine/include/fsl-default-settings.inc new file mode 100644 index 00000000..b36e75a5 --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/fsl-default-settings.inc | |||
@@ -0,0 +1,3 @@ | |||
1 | # Freescale BSP default settings | ||
2 | |||
3 | IMAGE_CLASSES += "image_types_fsl" | ||
diff --git a/meta-fsl-arm/conf/machine/include/fsl-default-versions.inc b/meta-fsl-arm/conf/machine/include/fsl-default-versions.inc new file mode 100644 index 00000000..d2a4e93c --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/fsl-default-versions.inc | |||
@@ -0,0 +1 @@ | |||
# Freescale BSP default versions | |||
diff --git a/meta-fsl-arm/conf/machine/include/imx-base.inc b/meta-fsl-arm/conf/machine/include/imx-base.inc new file mode 100644 index 00000000..ecb2f772 --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/imx-base.inc | |||
@@ -0,0 +1,128 @@ | |||
1 | # Provides the i.MX common settings | ||
2 | |||
3 | include conf/machine/include/fsl-default-settings.inc | ||
4 | include conf/machine/include/fsl-default-versions.inc | ||
5 | |||
6 | include conf/machine/include/soc-family.inc | ||
7 | |||
8 | # Set specific make target and binary suffix | ||
9 | PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" | ||
10 | PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" | ||
11 | UBOOT_MAKE_TARGET = "u-boot.imx" | ||
12 | UBOOT_SUFFIX ?= "imx" | ||
13 | |||
14 | UBOOT_ENTRYPOINT_mx3 = "0x80008000" | ||
15 | UBOOT_ENTRYPOINT_mx51 = "0x90008000" | ||
16 | UBOOT_ENTRYPOINT_mx53 = "0x70008000" | ||
17 | UBOOT_ENTRYPOINT_mx6 = "0x10008000" | ||
18 | UBOOT_ENTRYPOINT_mx6sl = "0x80008000" | ||
19 | UBOOT_ENTRYPOINT_mx6sx = "0x80008000" | ||
20 | UBOOT_ENTRYPOINT_vf = "0x80008000" | ||
21 | |||
22 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
23 | XSERVER_DRIVER = "xf86-video-fbdev" | ||
24 | XSERVER_DRIVER_mx5 = "xf86-video-imxfb" | ||
25 | XSERVER_DRIVER_mx6 = "xf86-video-imxfb-vivante" | ||
26 | XSERVER = "xserver-xorg \ | ||
27 | xf86-input-evdev \ | ||
28 | ${XSERVER_DRIVER}" | ||
29 | |||
30 | PREFERRED_VERSION_directfb_mx6 = "1.7.4" | ||
31 | |||
32 | # Ship kernel modules | ||
33 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | ||
34 | |||
35 | # Tunes for hard/soft float-point selection. Note that we allow building for | ||
36 | # thumb support giving distros the chance to enable thumb by setting | ||
37 | # ARM_INSTRUCTION_SET = "thumb" | ||
38 | # | ||
39 | # handled by software | ||
40 | # DEFAULTTUNE_mx6 ?= "cortexa9t-neon" | ||
41 | # handled by hardware | ||
42 | DEFAULTTUNE_mx6 ?= "cortexa9thf-neon" | ||
43 | |||
44 | # Sub-architecture support | ||
45 | MACHINE_SOCARCH_SUFFIX ?= "" | ||
46 | MACHINE_SOCARCH_SUFFIX_mx3 = "-mx3" | ||
47 | MACHINE_SOCARCH_SUFFIX_mx5 = "-mx5" | ||
48 | MACHINE_SOCARCH_SUFFIX_mx6q = "-mx6qdl" | ||
49 | MACHINE_SOCARCH_SUFFIX_mx6dl = "-mx6qdl" | ||
50 | MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx" | ||
51 | MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl" | ||
52 | MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60" | ||
53 | MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50" | ||
54 | |||
55 | MACHINE_ARCH_FILTER = "virtual/kernel" | ||
56 | MACHINE_SOCARCH_FILTER = "libfslcodec libfslvpuwrap libfslparser" | ||
57 | MACHINE_SOCARCH_FILTER_append_mx5 = " virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl" | ||
58 | MACHINE_SOCARCH_FILTER_append_mx6 = " virtual/libopenvg virtual/libgles1 virtual/libgles2 virtual/egl virtual/mesa virtual/libgl virtual/libg2d" | ||
59 | |||
60 | INHERIT += "fsl-dynamic-packagearch" | ||
61 | |||
62 | # Firmware | ||
63 | MACHINE_FIRMWARE ?= "" | ||
64 | MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q" | ||
65 | MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d" | ||
66 | MACHINE_FIRMWARE_append_mx53 = " firmware-imx-vpu-imx53 firmware-imx-sdma-imx53" | ||
67 | MACHINE_FIRMWARE_append_mx51 = " firmware-imx-vpu-imx51 firmware-imx-sdma-imx51" | ||
68 | |||
69 | # FIXME: Needs addition of firmware-imx of official BSPs | ||
70 | #MACHINE_FIRMWARE_append_mx35 = " firmware-imx-sdma-imx35" | ||
71 | #MACHINE_FIRMWARE_append_mx31 = " firmware-imx-sdma-imx31" | ||
72 | #MACHINE_FIRMWARE_append_mx27 = " firmware-imx-vpu-imx27" | ||
73 | #MACHINE_FIRMWARE_append_mx25 = " firmware-imx-sdma-imx25" | ||
74 | |||
75 | MACHINE_EXTRA_RRECOMMENDS += "${MACHINE_FIRMWARE}" | ||
76 | |||
77 | # Extra audio support | ||
78 | # FIXME: Add support for ALL SoC families | ||
79 | MACHINE_EXTRA_RRECOMMENDS_append_mx6 = " ${@base_contains('DISTRO_FEATURES', 'alsa', 'fsl-alsa-plugins', '', d)}" | ||
80 | |||
81 | # Extra udev rules | ||
82 | MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx" | ||
83 | |||
84 | # GStreamer 1.0 plugins | ||
85 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | ||
86 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6q ?= "gstreamer1.0-plugins-imx-meta" | ||
87 | MACHINE_GSTREAMER_1_0_PLUGIN_mx6dl ?= "gstreamer1.0-plugins-imx-meta" | ||
88 | |||
89 | # mx5 GPU libraries | ||
90 | GPU_FLAVOUR = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11-', '', d)}" | ||
91 | PREFERRED_PROVIDER_virtual/egl_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" | ||
92 | PREFERRED_PROVIDER_virtual/libgles1_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" | ||
93 | PREFERRED_PROVIDER_virtual/libgles2_mx5 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" | ||
94 | PREFERRED_PROVIDER_amd-gpu-mx51 ?= "amd-gpu-${GPU_FLAVOUR}bin-mx51" | ||
95 | |||
96 | # mx6 GPU libraries | ||
97 | PREFERRED_PROVIDER_virtual/egl_mx6 ?= "imx-gpu-viv" | ||
98 | PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv" | ||
99 | PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv" | ||
100 | PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv" | ||
101 | PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa" | ||
102 | PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv" | ||
103 | PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv" | ||
104 | PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv" | ||
105 | PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa" | ||
106 | PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv" | ||
107 | PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv" | ||
108 | PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv" | ||
109 | PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa" | ||
110 | PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv" | ||
111 | |||
112 | # Handle default kernel | ||
113 | IMX_DEFAULT_KERNEL = "linux-imx" | ||
114 | IMX_DEFAULT_KERNEL_mx3 = "linux-fslc" | ||
115 | IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-mx6" | ||
116 | PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" | ||
117 | |||
118 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" | ||
119 | IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard" | ||
120 | |||
121 | SERIAL_CONSOLE = "115200 ttymxc0" | ||
122 | |||
123 | KERNEL_IMAGETYPE = "zImage" | ||
124 | |||
125 | MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen" | ||
126 | |||
127 | # Add the ability to specify _imx machines | ||
128 | MACHINEOVERRIDES =. "imx:" | ||
diff --git a/meta-fsl-arm/conf/machine/include/imx6sabreauto-common.inc b/meta-fsl-arm/conf/machine/include/imx6sabreauto-common.inc new file mode 100644 index 00000000..b4f37b3c --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/imx6sabreauto-common.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | # Provides the i.MX6 SABRE AUTO common settings | ||
2 | |||
3 | require conf/machine/include/imx-base.inc | ||
4 | require conf/machine/include/tune-cortexa9.inc | ||
5 | |||
6 | SERIAL_CONSOLE = "115200 ttymxc3" | ||
7 | |||
8 | MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k" | ||
9 | |||
10 | MACHINE_FEATURES += " pci wifi bluetooth" | ||
diff --git a/meta-fsl-arm/conf/machine/include/imx6sabresd-common.inc b/meta-fsl-arm/conf/machine/include/imx6sabresd-common.inc new file mode 100644 index 00000000..40e3cde6 --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/imx6sabresd-common.inc | |||
@@ -0,0 +1,10 @@ | |||
1 | # Provides the i.MX6 SABRE SD common settings | ||
2 | |||
3 | require conf/machine/include/imx-base.inc | ||
4 | require conf/machine/include/tune-cortexa9.inc | ||
5 | |||
6 | SERIAL_CONSOLE = "115200 ttymxc0" | ||
7 | |||
8 | MACHINE_FIRMWARE_append_mx6 = " linux-firmware-ath6k" | ||
9 | |||
10 | MACHINE_FEATURES += " pci wifi bluetooth" | ||
diff --git a/meta-fsl-arm/conf/machine/include/mxs-base.inc b/meta-fsl-arm/conf/machine/include/mxs-base.inc new file mode 100644 index 00000000..ecf4aed4 --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/mxs-base.inc | |||
@@ -0,0 +1,40 @@ | |||
1 | # Provides the i.MXS common settings | ||
2 | |||
3 | include conf/machine/include/fsl-default-settings.inc | ||
4 | include conf/machine/include/fsl-default-versions.inc | ||
5 | |||
6 | include conf/machine/include/soc-family.inc | ||
7 | include conf/machine/include/tune-arm926ejs.inc | ||
8 | |||
9 | SOC_FAMILY = "mxs" | ||
10 | |||
11 | PREFERRED_PROVIDER_virtual/kernel ??= "linux-imx" | ||
12 | PREFERRED_PROVIDER_virtual/kernel_mx23 ?= "linux-fslc" | ||
13 | |||
14 | PREFERRED_PROVIDER_u-boot ??= "u-boot-fslc" | ||
15 | PREFERRED_PROVIDER_virtual/bootloader ??= "u-boot-fslc" | ||
16 | UBOOT_ENTRYPOINT = "0x40008000" | ||
17 | UBOOT_MAKE_TARGET = "u-boot.sb" | ||
18 | UBOOT_SUFFIX = "sb" | ||
19 | |||
20 | PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg" | ||
21 | XSERVER = "xserver-xorg \ | ||
22 | xf86-input-evdev \ | ||
23 | xf86-video-fbdev" | ||
24 | |||
25 | # Sub-architecture support | ||
26 | MACHINE_SOCARCH_SUFFIX ?= "" | ||
27 | |||
28 | MACHINE_ARCH_FILTER = "virtual/kernel" | ||
29 | |||
30 | INHERIT += "fsl-dynamic-packagearch" | ||
31 | |||
32 | # Ship kernel modules | ||
33 | MACHINE_EXTRA_RRECOMMENDS = "kernel-modules" | ||
34 | |||
35 | SERIAL_CONSOLE = "115200 ttyAMA0" | ||
36 | |||
37 | KERNEL_IMAGETYPE = "zImage" | ||
38 | |||
39 | # Add the ability to specify _imx machines | ||
40 | MACHINEOVERRIDES =. "imx:" | ||
diff --git a/meta-fsl-arm/conf/machine/include/qoriq-arm.inc b/meta-fsl-arm/conf/machine/include/qoriq-arm.inc new file mode 100644 index 00000000..20a75945 --- /dev/null +++ b/meta-fsl-arm/conf/machine/include/qoriq-arm.inc | |||
@@ -0,0 +1,17 @@ | |||
1 | require conf/machine/include/soc-family.inc | ||
2 | |||
3 | # Freescale BSP default providers | ||
4 | PREFERRED_PROVIDER_u-boot_ls102xa ?= "u-boot-ls1" | ||
5 | PREFERRED_PROVIDER_virtual/bootloader_ls102xa ?= "u-boot-ls1" | ||
6 | PREFERRED_PROVIDER_virtual/kernel_ls102xa ?= "linux-ls1" | ||
7 | |||
8 | # Define the default image type | ||
9 | IMAGE_CLASSES ?= "image_types_uboot" | ||
10 | KERNEL_IMAGETYPE ?= "uImage" | ||
11 | |||
12 | UBOOT_ENTRYPOINT_ls102xa = "0x80008000" | ||
13 | |||
14 | MACHINE_FEATURES = "pci ext2 ext3 serial" | ||
15 | MACHINE_EXTRA_RRECOMMENDS = "udev-extraconf" | ||
16 | |||
17 | DEFAULTTUNE_ls102xa ?= "cortexa7hf-neon" | ||
diff --git a/meta-fsl-arm/conf/machine/ls1021atwr.conf b/meta-fsl-arm/conf/machine/ls1021atwr.conf new file mode 100644 index 00000000..4478e953 --- /dev/null +++ b/meta-fsl-arm/conf/machine/ls1021atwr.conf | |||
@@ -0,0 +1,26 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale LS1021ATWR board | ||
3 | #@SOC: ls102xa | ||
4 | #@DESCRIPTION: Machine configuration for running LS1021ATWR in 32-bit mode | ||
5 | #@MAINTAINER: Zhenhua Luo <zhenhua.luo@freescale.com> | ||
6 | |||
7 | require conf/machine/include/qoriq-arm.inc | ||
8 | require conf/machine/include/tune-cortexa7.inc | ||
9 | |||
10 | SOC_FAMILY = "ls102xa" | ||
11 | |||
12 | UBOOT_CONFIG ??= "nor" | ||
13 | UBOOT_CONFIG[nor] = "ls1021atwr_nor_config" | ||
14 | UBOOT_CONFIG[sdcard] = "ls1021atwr_sdcard_config,sdcard" | ||
15 | UBOOT_CONFIG[lpuart] = "ls1021atwr_nor_lpuart_config" | ||
16 | UBOOT_CONFIG[qspi] = "ls1021atwr_qspi_config" | ||
17 | UBOOT_CONFIG[secure-boot] = "ls1021atwr_nor_SECURE_BOOT_config" | ||
18 | |||
19 | QE_UCODE="iram_Type_A_LS1021a_r1.0.bin" | ||
20 | |||
21 | KERNEL_DEVICETREE ?= "ls1021a-twr.dtb" | ||
22 | |||
23 | SERIAL_CONSOLES ?= "115200;ttyS0 115200;ttyS1 115200;ttyEHV0 115200;ttyLP0 115200;ttyAMA0" | ||
24 | SERIAL_CONSOLES_CHECK ?= "${SERIAL_CONSOLES}" | ||
25 | USE_VT ?= "0" | ||
26 | |||
diff --git a/meta-fsl-arm/conf/machine/twr-vf65gs10.conf b/meta-fsl-arm/conf/machine/twr-vf65gs10.conf new file mode 100644 index 00000000..d1e14e02 --- /dev/null +++ b/meta-fsl-arm/conf/machine/twr-vf65gs10.conf | |||
@@ -0,0 +1,23 @@ | |||
1 | #@TYPE: Machine | ||
2 | #@NAME: Freescale Vybrid TWR-VF65GS10 | ||
3 | #@SOC: VF610 | ||
4 | #@DESCRIPTION: Machine configuration for Freescale Vybrid TWR-VF65GS10 | ||
5 | #@MAINTAINER: Anthony Felice <tony.felice@timesys.com> | ||
6 | |||
7 | include conf/machine/include/imx-base.inc | ||
8 | include conf/machine/include/tune-cortexa5.inc | ||
9 | |||
10 | SOC_FAMILY = "vf:vf60" | ||
11 | |||
12 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-timesys" | ||
13 | PREFERRED_PROVIDER_virtual/kernel-module-mcc ?= "kernel-module-mcc" | ||
14 | PREFERRED_PROVIDER_virtual/kernel-module-mcc-dev ?= "kernel-module-mcc" | ||
15 | |||
16 | UBOOT_MACHINE = "vf610twr_config" | ||
17 | |||
18 | SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3" | ||
19 | IMAGE_FSTYPES ?= "tar.bz2 ext3 sdcard" | ||
20 | |||
21 | SERIAL_CONSOLE = "115200 ttyLP1" | ||
22 | |||
23 | MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen" | ||
diff --git a/meta-fsl-arm/efl-layer/recipes-efl/efl/efl/0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch b/meta-fsl-arm/efl-layer/recipes-efl/efl/efl/0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch new file mode 100644 index 00000000..53f0a528 --- /dev/null +++ b/meta-fsl-arm/efl-layer/recipes-efl/efl/efl/0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch | |||
@@ -0,0 +1,55 @@ | |||
1 | From 0775633e35127e903a1a84d823bf2e7d388d4042 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sun, 1 Jun 2014 01:57:53 +0200 | ||
4 | Subject: [PATCH] Add preprocessor definitions for Vivante GLES headers | ||
5 | |||
6 | The Vivante headers require the LINUX preprocessor definition, otherwise | ||
7 | compile errors occur | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
12 | --- | ||
13 | m4/evas_check_engine.m4 | 4 ++-- | ||
14 | src/Makefile_Evas.am | 2 ++ | ||
15 | 2 files changed, 4 insertions(+), 2 deletions(-) | ||
16 | |||
17 | diff --git a/m4/evas_check_engine.m4 b/m4/evas_check_engine.m4 | ||
18 | index 3fd4890..35d1c5f 100644 | ||
19 | --- a/m4/evas_check_engine.m4 | ||
20 | +++ b/m4/evas_check_engine.m4 | ||
21 | @@ -26,9 +26,9 @@ EFL_FIND_X(evas_engine_[]$1, | ||
22 | [X11 XCreateColormap Xrender XRenderCreatePicture], | ||
23 | [ | ||
24 | CFLAGS_save="$CFLAGS" | ||
25 | - CFLAGS="$evas_engine_[]$1[]_cflags $CFLAGS" | ||
26 | + CFLAGS="$evas_engine_[]$1[]_cflags $CFLAGS -DLINUX" | ||
27 | CPPFLAGS_save="$CPPFLAGS" | ||
28 | - CPPFLAGS="$evas_engine_[]$1[]_cflags $CPPFLAGS" | ||
29 | + CPPFLAGS="$evas_engine_[]$1[]_cflags $CPPFLAGS -DLINUX" | ||
30 | |||
31 | AC_CHECK_HEADER([GL/gl.h], | ||
32 | [have_dep="yes"], | ||
33 | diff --git a/src/Makefile_Evas.am b/src/Makefile_Evas.am | ||
34 | index 644391b..6232f78 100644 | ||
35 | --- a/src/Makefile_Evas.am | ||
36 | +++ b/src/Makefile_Evas.am | ||
37 | @@ -632,6 +632,7 @@ lib_evas_libevas_la_LIBADD += @evas_engine_gl_common_libs@ | ||
38 | else | ||
39 | noinst_LTLIBRARIES += modules/evas/engines/gl_common/libevas_engine_gl_common.la | ||
40 | modules_evas_engines_gl_common_libevas_engine_gl_common_la_SOURCES = $(GL_COMMON_SOURCES) | ||
41 | +modules_evas_engines_gl_common_libevas_engine_gl_common_la_CFLAGS = -DLINUX | ||
42 | modules_evas_engines_gl_common_libevas_engine_gl_common_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ | ||
43 | -I$(top_srcdir)/src/lib/evas/include \ | ||
44 | -I$(top_srcdir)/src/lib/evas/cserve2 \ | ||
45 | @@ -736,6 +737,7 @@ else | ||
46 | engineglx11pkgdir = $(libdir)/evas/modules/engines/gl_x11/$(MODULE_ARCH) | ||
47 | engineglx11pkg_LTLIBRARIES = modules/evas/engines/gl_x11/module.la | ||
48 | modules_evas_engines_gl_x11_module_la_SOURCES = $(GL_X11_SOURCES) | ||
49 | +modules_evas_engines_gl_x11_module_la_CFLAGS = -DLINUX | ||
50 | modules_evas_engines_gl_x11_module_la_CPPFLAGS = -I$(top_builddir)/src/lib/efl \ | ||
51 | -I$(top_srcdir)/src/lib/evas/include \ | ||
52 | -I$(top_srcdir)/src/lib/evas/cserve2 \ | ||
53 | -- | ||
54 | 1.8.3.2 | ||
55 | |||
diff --git a/meta-fsl-arm/efl-layer/recipes-efl/efl/efl_%.bbappend b/meta-fsl-arm/efl-layer/recipes-efl/efl/efl_%.bbappend new file mode 100644 index 00000000..72ef7980 --- /dev/null +++ b/meta-fsl-arm/efl-layer/recipes-efl/efl/efl_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI_append_mx6 = " file://0001-Add-preprocessor-definitions-for-Vivante-GLES-header.patch" | ||
diff --git a/meta-fsl-arm/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend b/meta-fsl-arm/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend new file mode 100644 index 00000000..8e57d663 --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-benchmark/glmark2/glmark2_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | #Remove gles2 as it is not supported by sololite | ||
2 | |||
3 | PACKAGECONFIG_remove_mx6sl = "gles2" | ||
diff --git a/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb new file mode 100644 index 00000000..7cf8f57a --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-kernel/asf/asf_git.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "Non-DPAA software Application Specific Fast-path" | ||
2 | SECTION = "asf" | ||
3 | LICENSE = "GPLv2 & GPLv2+ & BSD" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=b5881ecf398da8a03a3f4c501e29d287" | ||
5 | |||
6 | SRC_URI = "git://git.freescale.com/ppc/sdk/asf.git;branch=master" | ||
7 | SRCREV = "62ba10ab6bab8f8f53934e4bb55b5a552bf3fd6b" | ||
8 | |||
9 | inherit module | ||
10 | |||
11 | S = "${WORKDIR}/git/asfmodule" | ||
12 | |||
13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
14 | export KERNEL_PATH = "${STAGING_KERNEL_DIR}" | ||
15 | |||
16 | INHIBIT_PACKAGE_STRIP = "1" | ||
17 | |||
18 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
19 | do_configure_prepend () { | ||
20 | find ${S} -name Makefile -exec \ | ||
21 | sed -i 's,$(KERNEL_PATH)/.config,$(KBUILD_OUTPUT)/.config,' {} \; | ||
22 | } | ||
23 | |||
24 | do_install(){ | ||
25 | mkdir -p ${D}/${libexecdir} | ||
26 | mkdir -p ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
27 | cp -rf ${S}/bin/full ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
28 | cp -rf ${S}/bin/min ${D}/lib/modules/${KERNEL_VERSION}/asf | ||
29 | cp -rf ${S}/../scripts ${D}/${libexecdir}/ | ||
30 | } | ||
31 | |||
32 | FILES_${PN} += "${libexecdir} /lib/modules/${KERNEL_VERSION}/asf" | ||
33 | RDEPENDS_${PN} += "ipsec-tools" | ||
diff --git a/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch b/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch new file mode 100644 index 00000000..274fbe74 --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv/0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 90f869763026e8ff18aeecde217d778f00e4f294 Mon Sep 17 00:00:00 2001 | ||
2 | From: Shawn Xiao <b49994@freescale.com> | ||
3 | Date: Tue, 10 Feb 2015 16:11:59 +0800 | ||
4 | Subject: [PATCH] MGS-515 [#ccc] Opencv app can't run on imx6sx with cam | ||
5 | |||
6 | This issue is caused by the no support of VIDIOC_QUERYCTRL ioctl | ||
7 | item in latest cam driver. | ||
8 | |||
9 | Modified the errno in check logic to compatible with new driver. | ||
10 | |||
11 | Feb 10, 2015 | ||
12 | |||
13 | Upstream-Status: Pending | ||
14 | |||
15 | Signed-off-by: Shawn Xiao <b49994@freescale.com> | ||
16 | --- | ||
17 | modules/highgui/src/cap_v4l.cpp | 6 ++++-- | ||
18 | 1 file changed, 4 insertions(+), 2 deletions(-) | ||
19 | |||
20 | diff --git a/modules/highgui/src/cap_v4l.cpp b/modules/highgui/src/cap_v4l.cpp | ||
21 | index c9fca05..8c46b6c 100644 | ||
22 | --- a/modules/highgui/src/cap_v4l.cpp | ||
23 | +++ b/modules/highgui/src/cap_v4l.cpp | ||
24 | @@ -707,7 +707,8 @@ static void v4l2_scan_controls(CvCaptureCAM_V4L* capture) | ||
25 | |||
26 | } else { | ||
27 | |||
28 | - if (errno == EINVAL) | ||
29 | + if (errno == ENOTTY || | ||
30 | + errno == EINVAL) | ||
31 | continue; | ||
32 | |||
33 | perror ("VIDIOC_QUERYCTRL"); | ||
34 | @@ -774,7 +775,8 @@ static void v4l2_scan_controls(CvCaptureCAM_V4L* capture) | ||
35 | |||
36 | } else { | ||
37 | |||
38 | - if (errno == EINVAL) | ||
39 | + if (errno == ENOTTY || | ||
40 | + errno == EINVAL) | ||
41 | break; | ||
42 | |||
43 | perror ("VIDIOC_QUERYCTRL"); | ||
44 | -- | ||
45 | 2.3.0 | ||
46 | |||
diff --git a/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_%.bbappend b/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_%.bbappend new file mode 100644 index 00000000..be166965 --- /dev/null +++ b/meta-fsl-arm/openembedded-layer/recipes-support/opencv/opencv_%.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI_append_mx6sx = " file://0001-MGS-515-ccc-Opencv-app-can-t-run-on-imx6sx-with-cam.patch" | ||
diff --git a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch new file mode 100644 index 00000000..b0be292d --- /dev/null +++ b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase/Force_egl_visual_ID_33.patch | |||
@@ -0,0 +1,23 @@ | |||
1 | Workaround EGL initialization failure due visual mismatch | ||
2 | |||
3 | Error: | ||
4 | |||
5 | Warning: EGL suggested using X Visual ID 33 (RGB888) for EGL config 28 (RGB444), but this is incompatable | ||
6 | Unable to find an X11 visual which matches EGL config 28 | ||
7 | Could not initialize EGL | ||
8 | Aborted | ||
9 | |||
10 | Upstream-Status: Inappropriate [workaround] | ||
11 | |||
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
13 | |||
14 | diff -Naur qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp | ||
15 | --- qtbase-opensource-src-5.1.1_original/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:08:42.163895341 -0800 | ||
16 | +++ qtbase-opensource-src-5.1.1/src/platformsupport/eglconvenience/qxlibeglintegration.cpp 2013-12-25 19:09:37.207893799 -0800 | ||
17 | @@ -180,5 +180,5 @@ | ||
18 | } | ||
19 | |||
20 | qWarning("Unable to find an X11 visual which matches EGL config %d", configId); | ||
21 | - return (VisualID)0; | ||
22 | + return (VisualID)33; | ||
23 | } | ||
diff --git a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend new file mode 100644 index 00000000..a376a838 --- /dev/null +++ b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend | |||
@@ -0,0 +1,79 @@ | |||
1 | # Copyright (C) 2013 Eric Bénard - Eukréa Electromatique | ||
2 | |||
3 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
4 | |||
5 | SRC_URI += "file://Force_egl_visual_ID_33.patch" | ||
6 | |||
7 | HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}" | ||
8 | |||
9 | IS_MX6SL = "0" | ||
10 | IS_MX6SL_mx6sl = "1" | ||
11 | |||
12 | PACKAGECONFIG_GL_mx5 = "gles2" | ||
13 | QT_CONFIG_FLAGS_append_mx5 = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | ||
14 | |||
15 | PACKAGECONFIG_GL_mx6q = "gles2" | ||
16 | PACKAGECONFIG_GL_mx6dl = "gles2" | ||
17 | PACKAGECONFIG_GL_mx6sx = "gles2" | ||
18 | PACKAGECONFIG_GL_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', \ | ||
19 | ' gl', '', d)}" | ||
20 | QT_CONFIG_FLAGS_append_mx6q = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | ||
21 | QT_CONFIG_FLAGS_append_mx6dl = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | ||
22 | QT_CONFIG_FLAGS_append_mx6sx = "${@base_contains('DISTRO_FEATURES', 'x11', ' -no-eglfs', ' -eglfs', d)}" | ||
23 | QT_CONFIG_FLAGS_append_mx6sl = "${@base_contains('DISTRO_FEATURES', 'x11', \ | ||
24 | ' -no-eglfs', ' -no-opengl -linuxfb -no-eglfs', d)}" | ||
25 | |||
26 | do_configure_prepend_mx5() { | ||
27 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
28 | |||
29 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
30 | IMX5_CFLAGS = -D_LINUX=1 | ||
31 | QMAKE_LIBS_EGL += -lEGL | ||
32 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL | ||
33 | QMAKE_LIBS_OPENVG += -lOpenVG -lEGL | ||
34 | |||
35 | QMAKE_CFLAGS_RELEASE += \$\$IMX5_CFLAGS | ||
36 | QMAKE_CXXFLAGS_RELEASE += \$\$IMX5_CFLAGS | ||
37 | QMAKE_CFLAGS_DEBUG += \$\$IMX5_CFLAGS | ||
38 | QMAKE_CXXFLAGS_DEBUG += \$\$IMX5_CFLAGS | ||
39 | |||
40 | load(qt_config) | ||
41 | |||
42 | EOF | ||
43 | } | ||
44 | |||
45 | do_configure_prepend_mx6() { | ||
46 | # adapt qmake.conf to our needs | ||
47 | sed -i 's!load(qt_config)!!' ${S}/mkspecs/linux-oe-g++/qmake.conf | ||
48 | if test ${HAS_X11} -eq 0; then | ||
49 | if test ${IS_MX6SL} -eq 0; then | ||
50 | |||
51 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
52 | EGLFS_PLATFORM_HOOKS_SOURCES = \$\$PWD/qeglfshooks_imx6.cpp | ||
53 | IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 | ||
54 | EOF | ||
55 | else | ||
56 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
57 | IMX6_CFLAGS = -DLINUX=1 | ||
58 | EOF | ||
59 | fi | ||
60 | # copy the hook in the mkspecs directory OE is using | ||
61 | cp ${S}/mkspecs/devices/linux-imx6-g++/qeglfshooks_imx6.cpp ${S}/mkspecs/linux-oe-g++/ | ||
62 | else | ||
63 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
64 | IMX6_CFLAGS = -DLINUX=1 | ||
65 | EOF | ||
66 | fi | ||
67 | cat >> ${S}/mkspecs/linux-oe-g++/qmake.conf <<EOF | ||
68 | QMAKE_LIBS_EGL += -lEGL | ||
69 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL | ||
70 | QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL | ||
71 | QMAKE_CFLAGS_RELEASE += \$\$IMX6_CFLAGS | ||
72 | QMAKE_CXXFLAGS_RELEASE += \$\$IMX6_CFLAGS | ||
73 | QMAKE_CFLAGS_DEBUG += \$\$IMX6_CFLAGS | ||
74 | QMAKE_CXXFLAGS_DEBUG += \$\$IMX6_CFLAGS | ||
75 | |||
76 | load(qt_config) | ||
77 | |||
78 | EOF | ||
79 | } | ||
diff --git a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit/0001-Fix-to-match-the-uniform-precision-qualifiers-in-ver.patch b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit/0001-Fix-to-match-the-uniform-precision-qualifiers-in-ver.patch new file mode 100644 index 00000000..80e55c7f --- /dev/null +++ b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit/0001-Fix-to-match-the-uniform-precision-qualifiers-in-ver.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 66dab98c3f42eb70a4c6761a8694e374b8578e99 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> | ||
3 | Date: Thu, 8 May 2014 09:27:04 -0700 | ||
4 | Subject: [PATCH] Fix to match the uniform precision qualifiers in vertex and | ||
5 | fragment shaders | ||
6 | |||
7 | When the vertex and fragment shaders are linked together, then they will | ||
8 | share a single global uniform name space. Hence, types and precisions of | ||
9 | uniforms with the same name must match across all shaders that are linked | ||
10 | into a single executable. | ||
11 | |||
12 | As per GLSL_ES_Specification_3.00.3.pdf | ||
13 | Page 124 12.3 Numeric Precision | ||
14 | The fragment language has no default precision qualifier for floating point types. | ||
15 | Hence for float, floating point vector and matrix variable declarations, either | ||
16 | the declaration must include a precision qualifier or the default float | ||
17 | precision must have been previously declared. | ||
18 | |||
19 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=124653#c9] | ||
20 | |||
21 | Change-Id: I4eb3363b3bca8bc3c839212ec7c966201a3e65e2 | ||
22 | Signed-off-by: Prabhu Sundararaj <prabhu.sundararaj@freescale.com> | ||
23 | --- | ||
24 | Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp | 2 +- | ||
25 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
26 | |||
27 | diff --git a/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp b/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp | ||
28 | index f4b9a7e..7e991bf 100644 | ||
29 | --- a/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp | ||
30 | +++ b/Source/WebCore/platform/graphics/texmap/TextureMapperShaderProgram.cpp | ||
31 | @@ -208,7 +208,7 @@ static const char* fragmentTemplate = | ||
32 | ANTIALIASING_TEX_COORD_DIRECTIVE | ||
33 | BLUR_CONSTANTS | ||
34 | STRINGIFY( | ||
35 | - precision mediump float; | ||
36 | + precision highp float; | ||
37 | uniform SamplerType s_sampler; | ||
38 | uniform sampler2D s_contentTexture; | ||
39 | uniform float u_opacity; | ||
40 | -- | ||
41 | 1.9.1 | ||
42 | |||
diff --git a/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit_%.bbappend b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit_%.bbappend new file mode 100644 index 00000000..5d961e64 --- /dev/null +++ b/meta-fsl-arm/qt5-layer/recipes-qt/qt5/qtwebkit_%.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI += "file://0001-Fix-to-match-the-uniform-precision-qualifiers-in-ver.patch" | ||
4 | |||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend new file mode 100644 index 00000000..6bc02467 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | # Append path for freescale layer to include alsa-state asound.conf | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | ||
5 | PACKAGE_ARCH_mx5 = "${MACHINE_ARCH}" | ||
6 | PACKAGE_ARCH_mxs = "${MACHINE_ARCH}" | ||
7 | |||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf new file mode 100755 index 00000000..0cbe59b2 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.conf | |||
@@ -0,0 +1,275 @@ | |||
1 | defaults.pcm.rate_converter "linear" | ||
2 | |||
3 | pcm.dmix_48000{ | ||
4 | type dmix | ||
5 | ipc_key 5678293 | ||
6 | ipc_key_add_uid yes | ||
7 | slave{ | ||
8 | pcm "hw:0,0" | ||
9 | period_time 0 | ||
10 | period_size 2048 | ||
11 | buffer_size 24576 | ||
12 | format S16_LE | ||
13 | rate 48000 | ||
14 | } | ||
15 | } | ||
16 | |||
17 | pcm.dmix_44100{ | ||
18 | type dmix | ||
19 | ipc_key 5678293 | ||
20 | ipc_key_add_uid yes | ||
21 | slave{ | ||
22 | pcm "hw:0,0" | ||
23 | period_time 0 | ||
24 | period_size 2048 | ||
25 | buffer_size 24576 | ||
26 | format S16_LE | ||
27 | rate 44100 | ||
28 | } | ||
29 | } | ||
30 | |||
31 | pcm.dmix_32000{ | ||
32 | type dmix | ||
33 | ipc_key 5678293 | ||
34 | ipc_key_add_uid yes | ||
35 | slave{ | ||
36 | pcm "hw:0,0" | ||
37 | period_time 0 | ||
38 | period_size 2048 | ||
39 | buffer_size 24576 | ||
40 | format S16_LE | ||
41 | rate 32000 | ||
42 | } | ||
43 | } | ||
44 | |||
45 | pcm.dmix_24000{ | ||
46 | type dmix | ||
47 | ipc_key 5678293 | ||
48 | ipc_key_add_uid yes | ||
49 | slave{ | ||
50 | pcm "hw:0,0" | ||
51 | period_time 0 | ||
52 | period_size 2048 | ||
53 | buffer_size 24576 | ||
54 | format S16_LE | ||
55 | rate 24000 | ||
56 | } | ||
57 | } | ||
58 | |||
59 | pcm.dmix_22050{ | ||
60 | type dmix | ||
61 | ipc_key 5678293 | ||
62 | ipc_key_add_uid yes | ||
63 | slave{ | ||
64 | pcm "hw:0,0" | ||
65 | period_time 0 | ||
66 | period_size 2048 | ||
67 | buffer_size 24576 | ||
68 | format S16_LE | ||
69 | rate 22050 | ||
70 | } | ||
71 | } | ||
72 | |||
73 | pcm.dmix_16000{ | ||
74 | type dmix | ||
75 | ipc_key 5678293 | ||
76 | ipc_key_add_uid yes | ||
77 | slave{ | ||
78 | pcm "hw:0,0" | ||
79 | period_time 0 | ||
80 | period_size 2048 | ||
81 | buffer_size 24576 | ||
82 | format S16_LE | ||
83 | rate 16000 | ||
84 | } | ||
85 | } | ||
86 | |||
87 | pcm.dmix_12000{ | ||
88 | type dmix | ||
89 | ipc_key 5678293 | ||
90 | ipc_key_add_uid yes | ||
91 | slave{ | ||
92 | pcm "hw:0,0" | ||
93 | period_time 0 | ||
94 | period_size 2048 | ||
95 | buffer_size 24576 | ||
96 | format S16_LE | ||
97 | rate 12000 | ||
98 | } | ||
99 | } | ||
100 | |||
101 | pcm.dmix_11025{ | ||
102 | type dmix | ||
103 | ipc_key 5678293 | ||
104 | ipc_key_add_uid yes | ||
105 | slave{ | ||
106 | pcm "hw:0,0" | ||
107 | period_time 0 | ||
108 | period_size 2048 | ||
109 | buffer_size 24576 | ||
110 | format S16_LE | ||
111 | rate 11025 | ||
112 | } | ||
113 | } | ||
114 | |||
115 | pcm.dmix_8000{ | ||
116 | type dmix | ||
117 | ipc_key 5678293 | ||
118 | ipc_key_add_uid yes | ||
119 | slave{ | ||
120 | pcm "hw:0,0" | ||
121 | period_time 0 | ||
122 | period_size 2048 | ||
123 | buffer_size 24576 | ||
124 | format S16_LE | ||
125 | rate 8000 | ||
126 | } | ||
127 | } | ||
128 | |||
129 | pcm.!dsnoop_48000{ | ||
130 | type dsnoop | ||
131 | ipc_key 5778293 | ||
132 | ipc_key_add_uid yes | ||
133 | slave{ | ||
134 | pcm "hw:0,0" | ||
135 | period_time 0 | ||
136 | period_size 2048 | ||
137 | buffer_size 24576 | ||
138 | format S16_LE | ||
139 | rate 48000 | ||
140 | } | ||
141 | } | ||
142 | |||
143 | pcm.!dsnoop_44100{ | ||
144 | type dsnoop | ||
145 | ipc_key 5778293 | ||
146 | ipc_key_add_uid yes | ||
147 | slave{ | ||
148 | pcm "hw:0,0" | ||
149 | period_time 0 | ||
150 | period_size 2048 | ||
151 | buffer_size 24576 | ||
152 | format S16_LE | ||
153 | rate 44100 | ||
154 | } | ||
155 | } | ||
156 | |||
157 | pcm.!dsnoop_32000{ | ||
158 | type dsnoop | ||
159 | ipc_key 5778293 | ||
160 | ipc_key_add_uid yes | ||
161 | slave{ | ||
162 | pcm "hw:0,0" | ||
163 | period_time 0 | ||
164 | period_size 2048 | ||
165 | buffer_size 24576 | ||
166 | format S16_LE | ||
167 | rate 32000 | ||
168 | } | ||
169 | } | ||
170 | |||
171 | pcm.!dsnoop_24000{ | ||
172 | type dsnoop | ||
173 | ipc_key 5778293 | ||
174 | ipc_key_add_uid yes | ||
175 | slave{ | ||
176 | pcm "hw:0,0" | ||
177 | period_time 0 | ||
178 | period_size 2048 | ||
179 | buffer_size 24576 | ||
180 | format S16_LE | ||
181 | rate 24000 | ||
182 | } | ||
183 | } | ||
184 | |||
185 | pcm.!dsnoop_22050{ | ||
186 | type dsnoop | ||
187 | ipc_key 5778293 | ||
188 | ipc_key_add_uid yes | ||
189 | slave{ | ||
190 | pcm "hw:0,0" | ||
191 | period_time 0 | ||
192 | period_size 2048 | ||
193 | buffer_size 24576 | ||
194 | format S16_LE | ||
195 | rate 22050 | ||
196 | } | ||
197 | } | ||
198 | |||
199 | pcm.!dsnoop_16000{ | ||
200 | type dsnoop | ||
201 | ipc_key 5778293 | ||
202 | ipc_key_add_uid yes | ||
203 | slave{ | ||
204 | pcm "hw:0,0" | ||
205 | period_time 0 | ||
206 | period_size 2048 | ||
207 | buffer_size 24576 | ||
208 | format S16_LE | ||
209 | rate 16000 | ||
210 | } | ||
211 | } | ||
212 | |||
213 | pcm.!dsnoop_12000{ | ||
214 | type dsnoop | ||
215 | ipc_key 5778293 | ||
216 | ipc_key_add_uid yes | ||
217 | slave{ | ||
218 | pcm "hw:0,0" | ||
219 | period_time 0 | ||
220 | period_size 2048 | ||
221 | buffer_size 24576 | ||
222 | format S16_LE | ||
223 | rate 12000 | ||
224 | } | ||
225 | } | ||
226 | |||
227 | pcm.!dsnoop_11025{ | ||
228 | type dsnoop | ||
229 | ipc_key 5778293 | ||
230 | ipc_key_add_uid yes | ||
231 | slave{ | ||
232 | pcm "hw:0,0" | ||
233 | period_time 0 | ||
234 | period_size 2048 | ||
235 | buffer_size 24576 | ||
236 | format S16_LE | ||
237 | rate 11025 | ||
238 | } | ||
239 | } | ||
240 | |||
241 | pcm.!dsnoop_8000{ | ||
242 | type dsnoop | ||
243 | ipc_key 5778293 | ||
244 | ipc_key_add_uid yes | ||
245 | slave{ | ||
246 | pcm "hw:0,0" | ||
247 | period_time 0 | ||
248 | period_size 2048 | ||
249 | buffer_size 24576 | ||
250 | format S16_LE | ||
251 | rate 8000 | ||
252 | } | ||
253 | } | ||
254 | |||
255 | pcm.asymed{ | ||
256 | type asym | ||
257 | playback.pcm "dmix_44100" | ||
258 | capture.pcm "dsnoop_44100" | ||
259 | } | ||
260 | |||
261 | pcm.dsp0{ | ||
262 | type plug | ||
263 | slave.pcm "asymed" | ||
264 | } | ||
265 | |||
266 | pcm.!default{ | ||
267 | type plug | ||
268 | route_policy "average" | ||
269 | slave.pcm "asymed" | ||
270 | } | ||
271 | |||
272 | ctl.mixer0{ | ||
273 | type hw | ||
274 | card 0 | ||
275 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.state b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.state new file mode 100644 index 00000000..7c13a88a --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx5/asound.state | |||
@@ -0,0 +1,139 @@ | |||
1 | state.imx3stack { | ||
2 | control.1 { | ||
3 | iface MIXER | ||
4 | name 'MIC GAIN' | ||
5 | value '0dB' | ||
6 | comment { | ||
7 | access 'read write' | ||
8 | type ENUMERATED | ||
9 | count 1 | ||
10 | item.0 '0dB' | ||
11 | item.1 '20dB' | ||
12 | item.2 '30dB' | ||
13 | item.3 '40dB' | ||
14 | } | ||
15 | } | ||
16 | control.2 { | ||
17 | iface MIXER | ||
18 | name 'Capture Volume' | ||
19 | value.0 12 | ||
20 | value.1 12 | ||
21 | comment { | ||
22 | access 'read write' | ||
23 | type INTEGER | ||
24 | count 2 | ||
25 | range '0 - 15' | ||
26 | } | ||
27 | } | ||
28 | control.3 { | ||
29 | iface MIXER | ||
30 | name 'Capture Vol Reduction' | ||
31 | value 'No Change' | ||
32 | comment { | ||
33 | access 'read write' | ||
34 | type ENUMERATED | ||
35 | count 1 | ||
36 | item.0 'No Change' | ||
37 | item.1 'Reduced by 6dB' | ||
38 | } | ||
39 | } | ||
40 | control.4 { | ||
41 | iface MIXER | ||
42 | name 'Playback Volume' | ||
43 | value.0 192 | ||
44 | value.1 192 | ||
45 | comment { | ||
46 | access 'read write' | ||
47 | type INTEGER | ||
48 | count 2 | ||
49 | range '0 - 192' | ||
50 | } | ||
51 | } | ||
52 | control.5 { | ||
53 | iface MIXER | ||
54 | name 'Headphone Volume' | ||
55 | value.0 127 | ||
56 | value.1 127 | ||
57 | comment { | ||
58 | access 'read write' | ||
59 | type INTEGER | ||
60 | count 2 | ||
61 | range '0 - 127' | ||
62 | } | ||
63 | } | ||
64 | control.6 { | ||
65 | iface MIXER | ||
66 | name 'DAC Mux' | ||
67 | value DAC | ||
68 | comment { | ||
69 | access 'read write' | ||
70 | type ENUMERATED | ||
71 | count 1 | ||
72 | item.0 DAC | ||
73 | item.1 LINE_IN | ||
74 | } | ||
75 | } | ||
76 | control.7 { | ||
77 | iface MIXER | ||
78 | name 'ADC Mux' | ||
79 | value LINE_IN | ||
80 | comment { | ||
81 | access 'read write' | ||
82 | type ENUMERATED | ||
83 | count 1 | ||
84 | item.0 MIC_IN | ||
85 | item.1 LINE_IN | ||
86 | } | ||
87 | } | ||
88 | control.8 { | ||
89 | iface MIXER | ||
90 | name ASRC | ||
91 | value disable | ||
92 | comment { | ||
93 | access 'read write' | ||
94 | type ENUMERATED | ||
95 | count 1 | ||
96 | item.0 disable | ||
97 | item.1 '32KHz' | ||
98 | item.2 '44.1KHz' | ||
99 | item.3 '48KHz' | ||
100 | item.4 '96KHz' | ||
101 | } | ||
102 | } | ||
103 | control.9 { | ||
104 | iface MIXER | ||
105 | name 'Jack Function' | ||
106 | value on | ||
107 | comment { | ||
108 | access 'read write' | ||
109 | type ENUMERATED | ||
110 | count 1 | ||
111 | item.0 off | ||
112 | item.1 on | ||
113 | } | ||
114 | } | ||
115 | control.10 { | ||
116 | iface MIXER | ||
117 | name 'Speaker Function' | ||
118 | value on | ||
119 | comment { | ||
120 | access 'read write' | ||
121 | type ENUMERATED | ||
122 | count 1 | ||
123 | item.0 off | ||
124 | item.1 on | ||
125 | } | ||
126 | } | ||
127 | control.11 { | ||
128 | iface MIXER | ||
129 | name 'Line In Function' | ||
130 | value off | ||
131 | comment { | ||
132 | access 'read write' | ||
133 | type ENUMERATED | ||
134 | count 1 | ||
135 | item.0 off | ||
136 | item.1 on | ||
137 | } | ||
138 | } | ||
139 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.conf b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.conf new file mode 100644 index 00000000..3f4e0482 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.conf | |||
@@ -0,0 +1,257 @@ | |||
1 | defaults.pcm.rate_converter "linear" | ||
2 | |||
3 | pcm.dmix_48000{ | ||
4 | type dmix | ||
5 | ipc_key 5678293 | ||
6 | ipc_key_add_uid yes | ||
7 | slave{ | ||
8 | pcm "hw:0,0" | ||
9 | period_time 40000 | ||
10 | buffer_time 320000 | ||
11 | format S16_LE | ||
12 | rate 48000 | ||
13 | } | ||
14 | } | ||
15 | |||
16 | pcm.dmix_44100{ | ||
17 | type dmix | ||
18 | ipc_key 5678293 | ||
19 | ipc_key_add_uid yes | ||
20 | slave{ | ||
21 | pcm "hw:0,0" | ||
22 | period_time 40000 | ||
23 | buffer_time 360000 | ||
24 | format S16_LE | ||
25 | rate 44100 | ||
26 | } | ||
27 | } | ||
28 | |||
29 | pcm.dmix_32000{ | ||
30 | type dmix | ||
31 | ipc_key 5678293 | ||
32 | ipc_key_add_uid yes | ||
33 | slave{ | ||
34 | pcm "hw:0,0" | ||
35 | period_time 40000 | ||
36 | buffer_time 360000 | ||
37 | format S16_LE | ||
38 | rate 32000 | ||
39 | } | ||
40 | } | ||
41 | |||
42 | pcm.dmix_24000{ | ||
43 | type dmix | ||
44 | ipc_key 5678293 | ||
45 | ipc_key_add_uid yes | ||
46 | slave{ | ||
47 | pcm "hw:0,0" | ||
48 | period_time 40000 | ||
49 | buffer_time 360000 | ||
50 | format S16_LE | ||
51 | rate 24000 | ||
52 | } | ||
53 | } | ||
54 | |||
55 | pcm.dmix_22050{ | ||
56 | type dmix | ||
57 | ipc_key 5678293 | ||
58 | ipc_key_add_uid yes | ||
59 | slave{ | ||
60 | pcm "hw:0,0" | ||
61 | period_time 40000 | ||
62 | buffer_time 360000 | ||
63 | format S16_LE | ||
64 | rate 22050 | ||
65 | } | ||
66 | } | ||
67 | |||
68 | pcm.dmix_16000{ | ||
69 | type dmix | ||
70 | ipc_key 5678293 | ||
71 | ipc_key_add_uid yes | ||
72 | slave{ | ||
73 | pcm "hw:0,0" | ||
74 | period_time 40000 | ||
75 | buffer_time 360000 | ||
76 | format S16_LE | ||
77 | rate 16000 | ||
78 | } | ||
79 | } | ||
80 | |||
81 | pcm.dmix_12000{ | ||
82 | type dmix | ||
83 | ipc_key 5678293 | ||
84 | ipc_key_add_uid yes | ||
85 | slave{ | ||
86 | pcm "hw:0,0" | ||
87 | period_time 40000 | ||
88 | buffer_time 240000 | ||
89 | format S16_LE | ||
90 | rate 12000 | ||
91 | } | ||
92 | } | ||
93 | |||
94 | pcm.dmix_11025{ | ||
95 | type dmix | ||
96 | ipc_key 5678293 | ||
97 | ipc_key_add_uid yes | ||
98 | slave{ | ||
99 | pcm "hw:0,0" | ||
100 | period_time 40000 | ||
101 | buffer_time 240000 | ||
102 | format S16_LE | ||
103 | rate 11025 | ||
104 | } | ||
105 | } | ||
106 | |||
107 | pcm.dmix_8000{ | ||
108 | type dmix | ||
109 | ipc_key 5678293 | ||
110 | ipc_key_add_uid yes | ||
111 | slave{ | ||
112 | pcm "hw:0,0" | ||
113 | period_time 40000 | ||
114 | buffer_time 360000 | ||
115 | format S16_LE | ||
116 | rate 8000 | ||
117 | } | ||
118 | } | ||
119 | |||
120 | pcm.!dsnoop_48000{ | ||
121 | type dsnoop | ||
122 | ipc_key 5778293 | ||
123 | ipc_key_add_uid yes | ||
124 | slave{ | ||
125 | pcm "hw:0,0" | ||
126 | period_time 40000 | ||
127 | buffer_time 320000 | ||
128 | format S16_LE | ||
129 | rate 48000 | ||
130 | } | ||
131 | } | ||
132 | |||
133 | pcm.!dsnoop_44100{ | ||
134 | type dsnoop | ||
135 | ipc_key 5778293 | ||
136 | ipc_key_add_uid yes | ||
137 | slave{ | ||
138 | pcm "hw:0,0" | ||
139 | period_time 40000 | ||
140 | buffer_time 360000 | ||
141 | format S16_LE | ||
142 | rate 44100 | ||
143 | } | ||
144 | } | ||
145 | |||
146 | pcm.!dsnoop_32000{ | ||
147 | type dsnoop | ||
148 | ipc_key 5778293 | ||
149 | ipc_key_add_uid yes | ||
150 | slave{ | ||
151 | pcm "hw:0,0" | ||
152 | period_time 40000 | ||
153 | buffer_time 360000 | ||
154 | format S16_LE | ||
155 | rate 32000 | ||
156 | } | ||
157 | } | ||
158 | |||
159 | pcm.!dsnoop_24000{ | ||
160 | type dsnoop | ||
161 | ipc_key 5778293 | ||
162 | ipc_key_add_uid yes | ||
163 | slave{ | ||
164 | pcm "hw:0,0" | ||
165 | period_time 40000 | ||
166 | buffer_time 360000 | ||
167 | format S16_LE | ||
168 | rate 24000 | ||
169 | } | ||
170 | } | ||
171 | |||
172 | pcm.!dsnoop_22050{ | ||
173 | type dsnoop | ||
174 | ipc_key 5778293 | ||
175 | ipc_key_add_uid yes | ||
176 | slave{ | ||
177 | pcm "hw:0,0" | ||
178 | period_time 40000 | ||
179 | buffer_time 360000 | ||
180 | format S16_LE | ||
181 | rate 22050 | ||
182 | } | ||
183 | } | ||
184 | |||
185 | pcm.!dsnoop_16000{ | ||
186 | type dsnoop | ||
187 | ipc_key 5778293 | ||
188 | ipc_key_add_uid yes | ||
189 | slave{ | ||
190 | pcm "hw:0,0" | ||
191 | period_time 40000 | ||
192 | buffer_time 360000 | ||
193 | format S16_LE | ||
194 | rate 16000 | ||
195 | } | ||
196 | } | ||
197 | |||
198 | pcm.!dsnoop_12000{ | ||
199 | type dsnoop | ||
200 | ipc_key 5778293 | ||
201 | ipc_key_add_uid yes | ||
202 | slave{ | ||
203 | pcm "hw:0,0" | ||
204 | period_time 40000 | ||
205 | buffer_time 240000 | ||
206 | format S16_LE | ||
207 | rate 12000 | ||
208 | } | ||
209 | } | ||
210 | |||
211 | pcm.!dsnoop_11025{ | ||
212 | type dsnoop | ||
213 | ipc_key 5778293 | ||
214 | ipc_key_add_uid yes | ||
215 | slave{ | ||
216 | pcm "hw:0,0" | ||
217 | period_time 40000 | ||
218 | buffer_time 240000 | ||
219 | format S16_LE | ||
220 | rate 11025 | ||
221 | } | ||
222 | } | ||
223 | |||
224 | pcm.!dsnoop_8000{ | ||
225 | type dsnoop | ||
226 | ipc_key 5778293 | ||
227 | ipc_key_add_uid yes | ||
228 | slave{ | ||
229 | pcm "hw:0,0" | ||
230 | period_time 40000 | ||
231 | buffer_time 360000 | ||
232 | format S16_LE | ||
233 | rate 8000 | ||
234 | } | ||
235 | } | ||
236 | |||
237 | pcm.asymed{ | ||
238 | type asym | ||
239 | playback.pcm "dmix_44100" | ||
240 | capture.pcm "dsnoop_44100" | ||
241 | } | ||
242 | |||
243 | pcm.dsp0{ | ||
244 | type plug | ||
245 | slave.pcm "asymed" | ||
246 | } | ||
247 | |||
248 | pcm.!default{ | ||
249 | type plug | ||
250 | route_policy "average" | ||
251 | slave.pcm "asymed" | ||
252 | } | ||
253 | |||
254 | ctl.mixer0{ | ||
255 | type hw | ||
256 | card 0 | ||
257 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.state b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.state new file mode 100644 index 00000000..552f763d --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mx6/asound.state | |||
@@ -0,0 +1,1374 @@ | |||
1 | state.wm8962audio { | ||
2 | control.1 { | ||
3 | iface MIXER | ||
4 | name 'Input Mixer Switch' | ||
5 | value.0 true | ||
6 | value.1 true | ||
7 | comment { | ||
8 | access 'read write' | ||
9 | type BOOLEAN | ||
10 | count 2 | ||
11 | } | ||
12 | } | ||
13 | control.2 { | ||
14 | iface MIXER | ||
15 | name 'MIXINL IN2L Volume' | ||
16 | value 5 | ||
17 | comment { | ||
18 | access 'read write' | ||
19 | type INTEGER | ||
20 | count 1 | ||
21 | range '0 - 7' | ||
22 | dbmin -1500 | ||
23 | dbmax 600 | ||
24 | dbvalue.0 0 | ||
25 | } | ||
26 | } | ||
27 | control.3 { | ||
28 | iface MIXER | ||
29 | name 'MIXINL PGA Volume' | ||
30 | value 0 | ||
31 | comment { | ||
32 | access 'read write' | ||
33 | type INTEGER | ||
34 | count 1 | ||
35 | range '0 - 7' | ||
36 | dbmin 0 | ||
37 | dbmax 3000 | ||
38 | dbvalue.0 0 | ||
39 | } | ||
40 | } | ||
41 | control.4 { | ||
42 | iface MIXER | ||
43 | name 'MIXINL IN3L Volume' | ||
44 | value 5 | ||
45 | comment { | ||
46 | access 'read write' | ||
47 | type INTEGER | ||
48 | count 1 | ||
49 | range '0 - 7' | ||
50 | dbmin -1500 | ||
51 | dbmax 600 | ||
52 | dbvalue.0 0 | ||
53 | } | ||
54 | } | ||
55 | control.5 { | ||
56 | iface MIXER | ||
57 | name 'MIXINR IN2R Volume' | ||
58 | value 5 | ||
59 | comment { | ||
60 | access 'read write' | ||
61 | type INTEGER | ||
62 | count 1 | ||
63 | range '0 - 7' | ||
64 | dbmin -1500 | ||
65 | dbmax 600 | ||
66 | dbvalue.0 0 | ||
67 | } | ||
68 | } | ||
69 | control.6 { | ||
70 | iface MIXER | ||
71 | name 'MIXINR PGA Volume' | ||
72 | value 0 | ||
73 | comment { | ||
74 | access 'read write' | ||
75 | type INTEGER | ||
76 | count 1 | ||
77 | range '0 - 7' | ||
78 | dbmin 0 | ||
79 | dbmax 3000 | ||
80 | dbvalue.0 0 | ||
81 | } | ||
82 | } | ||
83 | control.7 { | ||
84 | iface MIXER | ||
85 | name 'MIXINR IN3R Volume' | ||
86 | value 7 | ||
87 | comment { | ||
88 | access 'read write' | ||
89 | type INTEGER | ||
90 | count 1 | ||
91 | range '0 - 7' | ||
92 | dbmin -1500 | ||
93 | dbmax 600 | ||
94 | dbvalue.0 600 | ||
95 | } | ||
96 | } | ||
97 | control.8 { | ||
98 | iface MIXER | ||
99 | name 'Digital Capture Volume' | ||
100 | value.0 108 | ||
101 | value.1 108 | ||
102 | comment { | ||
103 | access 'read write' | ||
104 | type INTEGER | ||
105 | count 2 | ||
106 | range '0 - 127' | ||
107 | dbmin -9999999 | ||
108 | dbmax 2325 | ||
109 | dbvalue.0 900 | ||
110 | dbvalue.1 900 | ||
111 | } | ||
112 | } | ||
113 | control.9 { | ||
114 | iface MIXER | ||
115 | name 'Capture Volume' | ||
116 | value.0 63 | ||
117 | value.1 63 | ||
118 | comment { | ||
119 | access 'read write' | ||
120 | type INTEGER | ||
121 | count 2 | ||
122 | range '0 - 63' | ||
123 | dbmin -2325 | ||
124 | dbmax 2400 | ||
125 | dbvalue.0 2400 | ||
126 | dbvalue.1 2400 | ||
127 | } | ||
128 | } | ||
129 | control.10 { | ||
130 | iface MIXER | ||
131 | name 'Capture Switch' | ||
132 | value.0 false | ||
133 | value.1 false | ||
134 | comment { | ||
135 | access 'read write' | ||
136 | type BOOLEAN | ||
137 | count 2 | ||
138 | } | ||
139 | } | ||
140 | control.11 { | ||
141 | iface MIXER | ||
142 | name 'Capture ZC Switch' | ||
143 | value.0 true | ||
144 | value.1 true | ||
145 | comment { | ||
146 | access 'read write' | ||
147 | type BOOLEAN | ||
148 | count 2 | ||
149 | } | ||
150 | } | ||
151 | control.12 { | ||
152 | iface MIXER | ||
153 | name 'Capture HPF Switch' | ||
154 | value true | ||
155 | comment { | ||
156 | access 'read write' | ||
157 | type BOOLEAN | ||
158 | count 1 | ||
159 | } | ||
160 | } | ||
161 | control.13 { | ||
162 | iface MIXER | ||
163 | name 'Capture HPF Mode' | ||
164 | value Hi-fi | ||
165 | comment { | ||
166 | access 'read write' | ||
167 | type ENUMERATED | ||
168 | count 1 | ||
169 | item.0 Hi-fi | ||
170 | item.1 Application | ||
171 | } | ||
172 | } | ||
173 | control.14 { | ||
174 | iface MIXER | ||
175 | name 'Capture HPF Cutoff' | ||
176 | value 0 | ||
177 | comment { | ||
178 | access 'read write' | ||
179 | type INTEGER | ||
180 | count 1 | ||
181 | range '0 - 7' | ||
182 | } | ||
183 | } | ||
184 | control.15 { | ||
185 | iface MIXER | ||
186 | name 'Capture LHPF Switch' | ||
187 | value false | ||
188 | comment { | ||
189 | access 'read write' | ||
190 | type BOOLEAN | ||
191 | count 1 | ||
192 | } | ||
193 | } | ||
194 | control.16 { | ||
195 | iface MIXER | ||
196 | name 'Capture LHPF Mode' | ||
197 | value LPF | ||
198 | comment { | ||
199 | access 'read write' | ||
200 | type ENUMERATED | ||
201 | count 1 | ||
202 | item.0 LPF | ||
203 | item.1 HPF | ||
204 | } | ||
205 | } | ||
206 | control.17 { | ||
207 | iface MIXER | ||
208 | name 'Sidetone Volume' | ||
209 | value.0 0 | ||
210 | value.1 0 | ||
211 | comment { | ||
212 | access 'read write' | ||
213 | type INTEGER | ||
214 | count 2 | ||
215 | range '0 - 12' | ||
216 | dbmin -3600 | ||
217 | dbmax 0 | ||
218 | dbvalue.0 -3600 | ||
219 | dbvalue.1 -3600 | ||
220 | } | ||
221 | } | ||
222 | control.18 { | ||
223 | iface MIXER | ||
224 | name 'Digital Playback Volume' | ||
225 | value.0 96 | ||
226 | value.1 96 | ||
227 | comment { | ||
228 | access 'read write' | ||
229 | type INTEGER | ||
230 | count 2 | ||
231 | range '0 - 127' | ||
232 | dbmin -9999999 | ||
233 | dbmax 2325 | ||
234 | dbvalue.0 0 | ||
235 | dbvalue.1 0 | ||
236 | } | ||
237 | } | ||
238 | control.19 { | ||
239 | iface MIXER | ||
240 | name 'DAC High Performance Switch' | ||
241 | value false | ||
242 | comment { | ||
243 | access 'read write' | ||
244 | type BOOLEAN | ||
245 | count 1 | ||
246 | } | ||
247 | } | ||
248 | control.20 { | ||
249 | iface MIXER | ||
250 | name 'DAC L/R Swap Switch' | ||
251 | value false | ||
252 | comment { | ||
253 | access 'read write' | ||
254 | type BOOLEAN | ||
255 | count 1 | ||
256 | } | ||
257 | } | ||
258 | control.21 { | ||
259 | iface MIXER | ||
260 | name 'ADC L/R Swap Switch' | ||
261 | value false | ||
262 | comment { | ||
263 | access 'read write' | ||
264 | type BOOLEAN | ||
265 | count 1 | ||
266 | } | ||
267 | } | ||
268 | control.22 { | ||
269 | iface MIXER | ||
270 | name 'ADC High Performance Switch' | ||
271 | value true | ||
272 | comment { | ||
273 | access 'read write' | ||
274 | type BOOLEAN | ||
275 | count 1 | ||
276 | } | ||
277 | } | ||
278 | control.23 { | ||
279 | iface MIXER | ||
280 | name 'Beep Volume' | ||
281 | value 0 | ||
282 | comment { | ||
283 | access 'read write' | ||
284 | type INTEGER | ||
285 | count 1 | ||
286 | range '0 - 15' | ||
287 | dbmin -9999999 | ||
288 | dbmax -600 | ||
289 | dbvalue.0 -9999999 | ||
290 | } | ||
291 | } | ||
292 | control.24 { | ||
293 | iface MIXER | ||
294 | name 'Headphone Volume' | ||
295 | value.0 93 | ||
296 | value.1 93 | ||
297 | comment { | ||
298 | access 'read write' | ||
299 | type INTEGER | ||
300 | count 2 | ||
301 | range '0 - 127' | ||
302 | dbmin -9999999 | ||
303 | dbmax 600 | ||
304 | dbvalue.0 -2800 | ||
305 | dbvalue.1 -2800 | ||
306 | } | ||
307 | } | ||
308 | control.25 { | ||
309 | iface MIXER | ||
310 | name 'Headphone Switch' | ||
311 | value.0 true | ||
312 | value.1 true | ||
313 | comment { | ||
314 | access 'read write' | ||
315 | type BOOLEAN | ||
316 | count 2 | ||
317 | } | ||
318 | } | ||
319 | control.26 { | ||
320 | iface MIXER | ||
321 | name 'Headphone ZC Switch' | ||
322 | value.0 false | ||
323 | value.1 false | ||
324 | comment { | ||
325 | access 'read write' | ||
326 | type BOOLEAN | ||
327 | count 2 | ||
328 | } | ||
329 | } | ||
330 | control.27 { | ||
331 | iface MIXER | ||
332 | name 'Headphone Aux Volume' | ||
333 | value.0 7 | ||
334 | value.1 7 | ||
335 | comment { | ||
336 | access 'read write' | ||
337 | type INTEGER | ||
338 | count 2 | ||
339 | range '0 - 7' | ||
340 | dbmin -700 | ||
341 | dbmax 0 | ||
342 | dbvalue.0 0 | ||
343 | dbvalue.1 0 | ||
344 | } | ||
345 | } | ||
346 | control.28 { | ||
347 | iface MIXER | ||
348 | name 'Headphone Mixer Switch' | ||
349 | value.0 false | ||
350 | value.1 false | ||
351 | comment { | ||
352 | access 'read write' | ||
353 | type BOOLEAN | ||
354 | count 2 | ||
355 | } | ||
356 | } | ||
357 | control.29 { | ||
358 | iface MIXER | ||
359 | name 'HPMIXL IN4L Volume' | ||
360 | value 7 | ||
361 | comment { | ||
362 | access 'read write' | ||
363 | type INTEGER | ||
364 | count 1 | ||
365 | range '0 - 7' | ||
366 | dbmin -1500 | ||
367 | dbmax 600 | ||
368 | dbvalue.0 600 | ||
369 | } | ||
370 | } | ||
371 | control.30 { | ||
372 | iface MIXER | ||
373 | name 'HPMIXL IN4R Volume' | ||
374 | value 7 | ||
375 | comment { | ||
376 | access 'read write' | ||
377 | type INTEGER | ||
378 | count 1 | ||
379 | range '0 - 7' | ||
380 | dbmin -1500 | ||
381 | dbmax 600 | ||
382 | dbvalue.0 600 | ||
383 | } | ||
384 | } | ||
385 | control.31 { | ||
386 | iface MIXER | ||
387 | name 'HPMIXL MIXINL Volume' | ||
388 | value 1 | ||
389 | comment { | ||
390 | access 'read write' | ||
391 | type INTEGER | ||
392 | count 1 | ||
393 | range '0 - 1' | ||
394 | dbmin -600 | ||
395 | dbmax 0 | ||
396 | dbvalue.0 0 | ||
397 | } | ||
398 | } | ||
399 | control.32 { | ||
400 | iface MIXER | ||
401 | name 'HPMIXL MIXINR Volume' | ||
402 | value 1 | ||
403 | comment { | ||
404 | access 'read write' | ||
405 | type INTEGER | ||
406 | count 1 | ||
407 | range '0 - 1' | ||
408 | dbmin -600 | ||
409 | dbmax 0 | ||
410 | dbvalue.0 0 | ||
411 | } | ||
412 | } | ||
413 | control.33 { | ||
414 | iface MIXER | ||
415 | name 'HPMIXR IN4L Volume' | ||
416 | value 7 | ||
417 | comment { | ||
418 | access 'read write' | ||
419 | type INTEGER | ||
420 | count 1 | ||
421 | range '0 - 7' | ||
422 | dbmin -1500 | ||
423 | dbmax 600 | ||
424 | dbvalue.0 600 | ||
425 | } | ||
426 | } | ||
427 | control.34 { | ||
428 | iface MIXER | ||
429 | name 'HPMIXR IN4R Volume' | ||
430 | value 7 | ||
431 | comment { | ||
432 | access 'read write' | ||
433 | type INTEGER | ||
434 | count 1 | ||
435 | range '0 - 7' | ||
436 | dbmin -1500 | ||
437 | dbmax 600 | ||
438 | dbvalue.0 600 | ||
439 | } | ||
440 | } | ||
441 | control.35 { | ||
442 | iface MIXER | ||
443 | name 'HPMIXR MIXINL Volume' | ||
444 | value 1 | ||
445 | comment { | ||
446 | access 'read write' | ||
447 | type INTEGER | ||
448 | count 1 | ||
449 | range '0 - 1' | ||
450 | dbmin -600 | ||
451 | dbmax 0 | ||
452 | dbvalue.0 0 | ||
453 | } | ||
454 | } | ||
455 | control.36 { | ||
456 | iface MIXER | ||
457 | name 'HPMIXR MIXINR Volume' | ||
458 | value 1 | ||
459 | comment { | ||
460 | access 'read write' | ||
461 | type INTEGER | ||
462 | count 1 | ||
463 | range '0 - 1' | ||
464 | dbmin -600 | ||
465 | dbmax 0 | ||
466 | dbvalue.0 0 | ||
467 | } | ||
468 | } | ||
469 | control.37 { | ||
470 | iface MIXER | ||
471 | name 'Speaker Boost Volume' | ||
472 | value 3 | ||
473 | comment { | ||
474 | access 'read write' | ||
475 | type INTEGER | ||
476 | count 1 | ||
477 | range '0 - 7' | ||
478 | dbmin 0 | ||
479 | dbmax 1200 | ||
480 | dbvalue.0 450 | ||
481 | } | ||
482 | } | ||
483 | control.38 { | ||
484 | iface MIXER | ||
485 | name 'EQ Switch' | ||
486 | value false | ||
487 | comment { | ||
488 | access 'read write' | ||
489 | type BOOLEAN | ||
490 | count 1 | ||
491 | } | ||
492 | } | ||
493 | control.39 { | ||
494 | iface MIXER | ||
495 | name 'EQ1 Volume' | ||
496 | value.0 12 | ||
497 | value.1 12 | ||
498 | comment { | ||
499 | access 'read write' | ||
500 | type INTEGER | ||
501 | count 2 | ||
502 | range '0 - 31' | ||
503 | dbmin -1200 | ||
504 | dbmax 1900 | ||
505 | dbvalue.0 0 | ||
506 | dbvalue.1 0 | ||
507 | } | ||
508 | } | ||
509 | control.40 { | ||
510 | iface MIXER | ||
511 | name 'EQ2 Volume' | ||
512 | value.0 12 | ||
513 | value.1 12 | ||
514 | comment { | ||
515 | access 'read write' | ||
516 | type INTEGER | ||
517 | count 2 | ||
518 | range '0 - 31' | ||
519 | dbmin -1200 | ||
520 | dbmax 1900 | ||
521 | dbvalue.0 0 | ||
522 | dbvalue.1 0 | ||
523 | } | ||
524 | } | ||
525 | control.41 { | ||
526 | iface MIXER | ||
527 | name 'EQ3 Volume' | ||
528 | value.0 12 | ||
529 | value.1 12 | ||
530 | comment { | ||
531 | access 'read write' | ||
532 | type INTEGER | ||
533 | count 2 | ||
534 | range '0 - 31' | ||
535 | dbmin -1200 | ||
536 | dbmax 1900 | ||
537 | dbvalue.0 0 | ||
538 | dbvalue.1 0 | ||
539 | } | ||
540 | } | ||
541 | control.42 { | ||
542 | iface MIXER | ||
543 | name 'EQ4 Volume' | ||
544 | value.0 12 | ||
545 | value.1 12 | ||
546 | comment { | ||
547 | access 'read write' | ||
548 | type INTEGER | ||
549 | count 2 | ||
550 | range '0 - 31' | ||
551 | dbmin -1200 | ||
552 | dbmax 1900 | ||
553 | dbvalue.0 0 | ||
554 | dbvalue.1 0 | ||
555 | } | ||
556 | } | ||
557 | control.43 { | ||
558 | iface MIXER | ||
559 | name 'EQ5 Volume' | ||
560 | value.0 12 | ||
561 | value.1 12 | ||
562 | comment { | ||
563 | access 'read write' | ||
564 | type INTEGER | ||
565 | count 2 | ||
566 | range '0 - 31' | ||
567 | dbmin -1200 | ||
568 | dbmax 1900 | ||
569 | dbvalue.0 0 | ||
570 | dbvalue.1 0 | ||
571 | } | ||
572 | } | ||
573 | control.44 { | ||
574 | iface MIXER | ||
575 | name '3D Switch' | ||
576 | value false | ||
577 | comment { | ||
578 | access 'read write' | ||
579 | type BOOLEAN | ||
580 | count 1 | ||
581 | } | ||
582 | } | ||
583 | control.45 { | ||
584 | iface MIXER | ||
585 | name '3D Coefficients' | ||
586 | value '0040000000000000' | ||
587 | comment { | ||
588 | access 'read write' | ||
589 | type BYTES | ||
590 | count 8 | ||
591 | } | ||
592 | } | ||
593 | control.46 { | ||
594 | iface MIXER | ||
595 | name 'DF1 Switch' | ||
596 | value false | ||
597 | comment { | ||
598 | access 'read write' | ||
599 | type BOOLEAN | ||
600 | count 1 | ||
601 | } | ||
602 | } | ||
603 | control.47 { | ||
604 | iface MIXER | ||
605 | name 'DF1 Coefficients' | ||
606 | value '0000000000000000000000000000' | ||
607 | comment { | ||
608 | access 'read write' | ||
609 | type BYTES | ||
610 | count 14 | ||
611 | } | ||
612 | } | ||
613 | control.48 { | ||
614 | iface MIXER | ||
615 | name 'DRC Switch' | ||
616 | value false | ||
617 | comment { | ||
618 | access 'read write' | ||
619 | type BOOLEAN | ||
620 | count 1 | ||
621 | } | ||
622 | } | ||
623 | control.49 { | ||
624 | iface MIXER | ||
625 | name 'DRC Coefficients' | ||
626 | value '000c0925000000000000' | ||
627 | comment { | ||
628 | access 'read write' | ||
629 | type BYTES | ||
630 | count 10 | ||
631 | } | ||
632 | } | ||
633 | control.50 { | ||
634 | iface MIXER | ||
635 | name 'VSS Switch' | ||
636 | value false | ||
637 | comment { | ||
638 | access 'read write' | ||
639 | type BOOLEAN | ||
640 | count 1 | ||
641 | } | ||
642 | } | ||
643 | control.51 { | ||
644 | iface MIXER | ||
645 | name 'VSS Coefficients' | ||
646 | value '008c020000350700003a4100008b7d00003a4100008cfee800780000003fb260002d18180020000000f1834000fb830000eeaec000fbac4000f17f8000f43b4000f5fb0000ea10c000fcc58000e275c00004b48000d4f9800004914000d8a48000023dc000cf7a8000dc060000f2dac000baf340000a7940001c068000fd2d00001ce840000ddc4000fc9d000009558000fe7e80000eab4000f99880000987c000fd2c400009480000035f400000870000fae4c000000b400004e18000011f4000f8b00000fbcbc00004f3800007df4000ff070000efd70000fbaf4000108a80001107c000e0080000d276000020cf400030234000fd69c0002835000006330000d9f6c000f33340000f420000040c8000fb3f8000f757c0000354000000c6c0000312c000fd8580' | ||
647 | comment { | ||
648 | access 'read write' | ||
649 | type BYTES | ||
650 | count 296 | ||
651 | } | ||
652 | } | ||
653 | control.52 { | ||
654 | iface MIXER | ||
655 | name 'HPF1 Switch' | ||
656 | value false | ||
657 | comment { | ||
658 | access 'read write' | ||
659 | type BOOLEAN | ||
660 | count 1 | ||
661 | } | ||
662 | } | ||
663 | control.53 { | ||
664 | iface MIXER | ||
665 | name 'HPF2 Switch' | ||
666 | value false | ||
667 | comment { | ||
668 | access 'read write' | ||
669 | type BOOLEAN | ||
670 | count 1 | ||
671 | } | ||
672 | } | ||
673 | control.54 { | ||
674 | iface MIXER | ||
675 | name 'HPF Coefficients' | ||
676 | value '0000' | ||
677 | comment { | ||
678 | access 'read write' | ||
679 | type BYTES | ||
680 | count 2 | ||
681 | } | ||
682 | } | ||
683 | control.55 { | ||
684 | iface MIXER | ||
685 | name 'HD Bass Switch' | ||
686 | value false | ||
687 | comment { | ||
688 | access 'read write' | ||
689 | type BOOLEAN | ||
690 | count 1 | ||
691 | } | ||
692 | } | ||
693 | control.56 { | ||
694 | iface MIXER | ||
695 | name 'HD Bass Coefficients' | ||
696 | value '0002bd12007c586c00538121003f8bd80032f52d0065ac8c006be08700721483007214830043352500066a4a0043607900080000000100000059999a' | ||
697 | comment { | ||
698 | access 'read write' | ||
699 | type BYTES | ||
700 | count 60 | ||
701 | } | ||
702 | } | ||
703 | control.57 { | ||
704 | iface MIXER | ||
705 | name 'Speaker Volume' | ||
706 | value.0 114 | ||
707 | value.1 114 | ||
708 | comment { | ||
709 | access 'read write' | ||
710 | type INTEGER | ||
711 | count 2 | ||
712 | range '0 - 127' | ||
713 | dbmin -9999999 | ||
714 | dbmax 600 | ||
715 | dbvalue.0 -700 | ||
716 | dbvalue.1 -700 | ||
717 | } | ||
718 | } | ||
719 | control.58 { | ||
720 | iface MIXER | ||
721 | name 'Speaker Switch' | ||
722 | value.0 false | ||
723 | value.1 false | ||
724 | comment { | ||
725 | access 'read write' | ||
726 | type BOOLEAN | ||
727 | count 2 | ||
728 | } | ||
729 | } | ||
730 | control.59 { | ||
731 | iface MIXER | ||
732 | name 'Speaker ZC Switch' | ||
733 | value.0 false | ||
734 | value.1 false | ||
735 | comment { | ||
736 | access 'read write' | ||
737 | type BOOLEAN | ||
738 | count 2 | ||
739 | } | ||
740 | } | ||
741 | control.60 { | ||
742 | iface MIXER | ||
743 | name 'Speaker Mixer Switch' | ||
744 | value.0 false | ||
745 | value.1 false | ||
746 | comment { | ||
747 | access 'read write' | ||
748 | type BOOLEAN | ||
749 | count 2 | ||
750 | } | ||
751 | } | ||
752 | control.61 { | ||
753 | iface MIXER | ||
754 | name 'SPKOUTL Mixer IN4L Volume' | ||
755 | value 7 | ||
756 | comment { | ||
757 | access 'read write' | ||
758 | type INTEGER | ||
759 | count 1 | ||
760 | range '0 - 7' | ||
761 | dbmin -1500 | ||
762 | dbmax 600 | ||
763 | dbvalue.0 600 | ||
764 | } | ||
765 | } | ||
766 | control.62 { | ||
767 | iface MIXER | ||
768 | name 'SPKOUTL Mixer IN4R Volume' | ||
769 | value 7 | ||
770 | comment { | ||
771 | access 'read write' | ||
772 | type INTEGER | ||
773 | count 1 | ||
774 | range '0 - 7' | ||
775 | dbmin -1500 | ||
776 | dbmax 600 | ||
777 | dbvalue.0 600 | ||
778 | } | ||
779 | } | ||
780 | control.63 { | ||
781 | iface MIXER | ||
782 | name 'SPKOUTL Mixer MIXINL Volume' | ||
783 | value 1 | ||
784 | comment { | ||
785 | access 'read write' | ||
786 | type INTEGER | ||
787 | count 1 | ||
788 | range '0 - 1' | ||
789 | dbmin -600 | ||
790 | dbmax 0 | ||
791 | dbvalue.0 0 | ||
792 | } | ||
793 | } | ||
794 | control.64 { | ||
795 | iface MIXER | ||
796 | name 'SPKOUTL Mixer MIXINR Volume' | ||
797 | value 1 | ||
798 | comment { | ||
799 | access 'read write' | ||
800 | type INTEGER | ||
801 | count 1 | ||
802 | range '0 - 1' | ||
803 | dbmin -600 | ||
804 | dbmax 0 | ||
805 | dbvalue.0 0 | ||
806 | } | ||
807 | } | ||
808 | control.65 { | ||
809 | iface MIXER | ||
810 | name 'SPKOUTL Mixer DACL Volume' | ||
811 | value 0 | ||
812 | comment { | ||
813 | access 'read write' | ||
814 | type INTEGER | ||
815 | count 1 | ||
816 | range '0 - 1' | ||
817 | dbmin -600 | ||
818 | dbmax 0 | ||
819 | dbvalue.0 -600 | ||
820 | } | ||
821 | } | ||
822 | control.66 { | ||
823 | iface MIXER | ||
824 | name 'SPKOUTL Mixer DACR Volume' | ||
825 | value 0 | ||
826 | comment { | ||
827 | access 'read write' | ||
828 | type INTEGER | ||
829 | count 1 | ||
830 | range '0 - 1' | ||
831 | dbmin -600 | ||
832 | dbmax 0 | ||
833 | dbvalue.0 -600 | ||
834 | } | ||
835 | } | ||
836 | control.67 { | ||
837 | iface MIXER | ||
838 | name 'SPKOUTR Mixer IN4L Volume' | ||
839 | value 7 | ||
840 | comment { | ||
841 | access 'read write' | ||
842 | type INTEGER | ||
843 | count 1 | ||
844 | range '0 - 7' | ||
845 | dbmin -1500 | ||
846 | dbmax 600 | ||
847 | dbvalue.0 600 | ||
848 | } | ||
849 | } | ||
850 | control.68 { | ||
851 | iface MIXER | ||
852 | name 'SPKOUTR Mixer IN4R Volume' | ||
853 | value 7 | ||
854 | comment { | ||
855 | access 'read write' | ||
856 | type INTEGER | ||
857 | count 1 | ||
858 | range '0 - 7' | ||
859 | dbmin -1500 | ||
860 | dbmax 600 | ||
861 | dbvalue.0 600 | ||
862 | } | ||
863 | } | ||
864 | control.69 { | ||
865 | iface MIXER | ||
866 | name 'SPKOUTR Mixer MIXINL Volume' | ||
867 | value 1 | ||
868 | comment { | ||
869 | access 'read write' | ||
870 | type INTEGER | ||
871 | count 1 | ||
872 | range '0 - 1' | ||
873 | dbmin -600 | ||
874 | dbmax 0 | ||
875 | dbvalue.0 0 | ||
876 | } | ||
877 | } | ||
878 | control.70 { | ||
879 | iface MIXER | ||
880 | name 'SPKOUTR Mixer MIXINR Volume' | ||
881 | value 1 | ||
882 | comment { | ||
883 | access 'read write' | ||
884 | type INTEGER | ||
885 | count 1 | ||
886 | range '0 - 1' | ||
887 | dbmin -600 | ||
888 | dbmax 0 | ||
889 | dbvalue.0 0 | ||
890 | } | ||
891 | } | ||
892 | control.71 { | ||
893 | iface MIXER | ||
894 | name 'SPKOUTR Mixer DACL Volume' | ||
895 | value 0 | ||
896 | comment { | ||
897 | access 'read write' | ||
898 | type INTEGER | ||
899 | count 1 | ||
900 | range '0 - 1' | ||
901 | dbmin -600 | ||
902 | dbmax 0 | ||
903 | dbvalue.0 -600 | ||
904 | } | ||
905 | } | ||
906 | control.72 { | ||
907 | iface MIXER | ||
908 | name 'SPKOUTR Mixer DACR Volume' | ||
909 | value 0 | ||
910 | comment { | ||
911 | access 'read write' | ||
912 | type INTEGER | ||
913 | count 1 | ||
914 | range '0 - 1' | ||
915 | dbmin -600 | ||
916 | dbmax 0 | ||
917 | dbvalue.0 -600 | ||
918 | } | ||
919 | } | ||
920 | control.73 { | ||
921 | iface MIXER | ||
922 | name 'SPKOUTR PGA' | ||
923 | value DAC | ||
924 | comment { | ||
925 | access 'read write' | ||
926 | type ENUMERATED | ||
927 | count 1 | ||
928 | item.0 DAC | ||
929 | item.1 Mixer | ||
930 | } | ||
931 | } | ||
932 | control.74 { | ||
933 | iface MIXER | ||
934 | name 'SPKOUTL PGA' | ||
935 | value DAC | ||
936 | comment { | ||
937 | access 'read write' | ||
938 | type ENUMERATED | ||
939 | count 1 | ||
940 | item.0 DAC | ||
941 | item.1 Mixer | ||
942 | } | ||
943 | } | ||
944 | control.75 { | ||
945 | iface MIXER | ||
946 | name 'SPKOUTR Mixer DACL Switch' | ||
947 | value false | ||
948 | comment { | ||
949 | access 'read write' | ||
950 | type BOOLEAN | ||
951 | count 1 | ||
952 | } | ||
953 | } | ||
954 | control.76 { | ||
955 | iface MIXER | ||
956 | name 'SPKOUTR Mixer DACR Switch' | ||
957 | value false | ||
958 | comment { | ||
959 | access 'read write' | ||
960 | type BOOLEAN | ||
961 | count 1 | ||
962 | } | ||
963 | } | ||
964 | control.77 { | ||
965 | iface MIXER | ||
966 | name 'SPKOUTR Mixer MIXINL Switch' | ||
967 | value false | ||
968 | comment { | ||
969 | access 'read write' | ||
970 | type BOOLEAN | ||
971 | count 1 | ||
972 | } | ||
973 | } | ||
974 | control.78 { | ||
975 | iface MIXER | ||
976 | name 'SPKOUTR Mixer MIXINR Switch' | ||
977 | value false | ||
978 | comment { | ||
979 | access 'read write' | ||
980 | type BOOLEAN | ||
981 | count 1 | ||
982 | } | ||
983 | } | ||
984 | control.79 { | ||
985 | iface MIXER | ||
986 | name 'SPKOUTR Mixer IN4L Switch' | ||
987 | value false | ||
988 | comment { | ||
989 | access 'read write' | ||
990 | type BOOLEAN | ||
991 | count 1 | ||
992 | } | ||
993 | } | ||
994 | control.80 { | ||
995 | iface MIXER | ||
996 | name 'SPKOUTR Mixer IN4R Switch' | ||
997 | value false | ||
998 | comment { | ||
999 | access 'read write' | ||
1000 | type BOOLEAN | ||
1001 | count 1 | ||
1002 | } | ||
1003 | } | ||
1004 | control.81 { | ||
1005 | iface MIXER | ||
1006 | name 'SPKOUTL Mixer DACL Switch' | ||
1007 | value false | ||
1008 | comment { | ||
1009 | access 'read write' | ||
1010 | type BOOLEAN | ||
1011 | count 1 | ||
1012 | } | ||
1013 | } | ||
1014 | control.82 { | ||
1015 | iface MIXER | ||
1016 | name 'SPKOUTL Mixer DACR Switch' | ||
1017 | value false | ||
1018 | comment { | ||
1019 | access 'read write' | ||
1020 | type BOOLEAN | ||
1021 | count 1 | ||
1022 | } | ||
1023 | } | ||
1024 | control.83 { | ||
1025 | iface MIXER | ||
1026 | name 'SPKOUTL Mixer MIXINL Switch' | ||
1027 | value false | ||
1028 | comment { | ||
1029 | access 'read write' | ||
1030 | type BOOLEAN | ||
1031 | count 1 | ||
1032 | } | ||
1033 | } | ||
1034 | control.84 { | ||
1035 | iface MIXER | ||
1036 | name 'SPKOUTL Mixer MIXINR Switch' | ||
1037 | value false | ||
1038 | comment { | ||
1039 | access 'read write' | ||
1040 | type BOOLEAN | ||
1041 | count 1 | ||
1042 | } | ||
1043 | } | ||
1044 | control.85 { | ||
1045 | iface MIXER | ||
1046 | name 'SPKOUTL Mixer IN4L Switch' | ||
1047 | value false | ||
1048 | comment { | ||
1049 | access 'read write' | ||
1050 | type BOOLEAN | ||
1051 | count 1 | ||
1052 | } | ||
1053 | } | ||
1054 | control.86 { | ||
1055 | iface MIXER | ||
1056 | name 'SPKOUTL Mixer IN4R Switch' | ||
1057 | value false | ||
1058 | comment { | ||
1059 | access 'read write' | ||
1060 | type BOOLEAN | ||
1061 | count 1 | ||
1062 | } | ||
1063 | } | ||
1064 | control.87 { | ||
1065 | iface MIXER | ||
1066 | name 'HPOUTR PGA' | ||
1067 | value DAC | ||
1068 | comment { | ||
1069 | access 'read write' | ||
1070 | type ENUMERATED | ||
1071 | count 1 | ||
1072 | item.0 DAC | ||
1073 | item.1 Mixer | ||
1074 | } | ||
1075 | } | ||
1076 | control.88 { | ||
1077 | iface MIXER | ||
1078 | name 'HPOUTL PGA' | ||
1079 | value DAC | ||
1080 | comment { | ||
1081 | access 'read write' | ||
1082 | type ENUMERATED | ||
1083 | count 1 | ||
1084 | item.0 DAC | ||
1085 | item.1 Mixer | ||
1086 | } | ||
1087 | } | ||
1088 | control.89 { | ||
1089 | iface MIXER | ||
1090 | name 'HPMIXR DACL Switch' | ||
1091 | value false | ||
1092 | comment { | ||
1093 | access 'read write' | ||
1094 | type BOOLEAN | ||
1095 | count 1 | ||
1096 | } | ||
1097 | } | ||
1098 | control.90 { | ||
1099 | iface MIXER | ||
1100 | name 'HPMIXR DACR Switch' | ||
1101 | value false | ||
1102 | comment { | ||
1103 | access 'read write' | ||
1104 | type BOOLEAN | ||
1105 | count 1 | ||
1106 | } | ||
1107 | } | ||
1108 | control.91 { | ||
1109 | iface MIXER | ||
1110 | name 'HPMIXR MIXINL Switch' | ||
1111 | value false | ||
1112 | comment { | ||
1113 | access 'read write' | ||
1114 | type BOOLEAN | ||
1115 | count 1 | ||
1116 | } | ||
1117 | } | ||
1118 | control.92 { | ||
1119 | iface MIXER | ||
1120 | name 'HPMIXR MIXINR Switch' | ||
1121 | value false | ||
1122 | comment { | ||
1123 | access 'read write' | ||
1124 | type BOOLEAN | ||
1125 | count 1 | ||
1126 | } | ||
1127 | } | ||
1128 | control.93 { | ||
1129 | iface MIXER | ||
1130 | name 'HPMIXR IN4L Switch' | ||
1131 | value false | ||
1132 | comment { | ||
1133 | access 'read write' | ||
1134 | type BOOLEAN | ||
1135 | count 1 | ||
1136 | } | ||
1137 | } | ||
1138 | control.94 { | ||
1139 | iface MIXER | ||
1140 | name 'HPMIXR IN4R Switch' | ||
1141 | value false | ||
1142 | comment { | ||
1143 | access 'read write' | ||
1144 | type BOOLEAN | ||
1145 | count 1 | ||
1146 | } | ||
1147 | } | ||
1148 | control.95 { | ||
1149 | iface MIXER | ||
1150 | name 'HPMIXL DACL Switch' | ||
1151 | value false | ||
1152 | comment { | ||
1153 | access 'read write' | ||
1154 | type BOOLEAN | ||
1155 | count 1 | ||
1156 | } | ||
1157 | } | ||
1158 | control.96 { | ||
1159 | iface MIXER | ||
1160 | name 'HPMIXL DACR Switch' | ||
1161 | value false | ||
1162 | comment { | ||
1163 | access 'read write' | ||
1164 | type BOOLEAN | ||
1165 | count 1 | ||
1166 | } | ||
1167 | } | ||
1168 | control.97 { | ||
1169 | iface MIXER | ||
1170 | name 'HPMIXL MIXINL Switch' | ||
1171 | value false | ||
1172 | comment { | ||
1173 | access 'read write' | ||
1174 | type BOOLEAN | ||
1175 | count 1 | ||
1176 | } | ||
1177 | } | ||
1178 | control.98 { | ||
1179 | iface MIXER | ||
1180 | name 'HPMIXL MIXINR Switch' | ||
1181 | value false | ||
1182 | comment { | ||
1183 | access 'read write' | ||
1184 | type BOOLEAN | ||
1185 | count 1 | ||
1186 | } | ||
1187 | } | ||
1188 | control.99 { | ||
1189 | iface MIXER | ||
1190 | name 'HPMIXL IN4L Switch' | ||
1191 | value false | ||
1192 | comment { | ||
1193 | access 'read write' | ||
1194 | type BOOLEAN | ||
1195 | count 1 | ||
1196 | } | ||
1197 | } | ||
1198 | control.100 { | ||
1199 | iface MIXER | ||
1200 | name 'HPMIXL IN4R Switch' | ||
1201 | value false | ||
1202 | comment { | ||
1203 | access 'read write' | ||
1204 | type BOOLEAN | ||
1205 | count 1 | ||
1206 | } | ||
1207 | } | ||
1208 | control.101 { | ||
1209 | iface MIXER | ||
1210 | name STR | ||
1211 | value None | ||
1212 | comment { | ||
1213 | access 'read write' | ||
1214 | type ENUMERATED | ||
1215 | count 1 | ||
1216 | item.0 None | ||
1217 | item.1 Left | ||
1218 | item.2 Right | ||
1219 | } | ||
1220 | } | ||
1221 | control.102 { | ||
1222 | iface MIXER | ||
1223 | name STL | ||
1224 | value None | ||
1225 | comment { | ||
1226 | access 'read write' | ||
1227 | type ENUMERATED | ||
1228 | count 1 | ||
1229 | item.0 None | ||
1230 | item.1 Left | ||
1231 | item.2 Right | ||
1232 | } | ||
1233 | } | ||
1234 | control.103 { | ||
1235 | iface MIXER | ||
1236 | name 'MIXINR IN2R Switch' | ||
1237 | value false | ||
1238 | comment { | ||
1239 | access 'read write' | ||
1240 | type BOOLEAN | ||
1241 | count 1 | ||
1242 | } | ||
1243 | } | ||
1244 | control.104 { | ||
1245 | iface MIXER | ||
1246 | name 'MIXINR IN3R Switch' | ||
1247 | value false | ||
1248 | comment { | ||
1249 | access 'read write' | ||
1250 | type BOOLEAN | ||
1251 | count 1 | ||
1252 | } | ||
1253 | } | ||
1254 | control.105 { | ||
1255 | iface MIXER | ||
1256 | name 'MIXINR PGA Switch' | ||
1257 | value true | ||
1258 | comment { | ||
1259 | access 'read write' | ||
1260 | type BOOLEAN | ||
1261 | count 1 | ||
1262 | } | ||
1263 | } | ||
1264 | control.106 { | ||
1265 | iface MIXER | ||
1266 | name 'MIXINL IN2L Switch' | ||
1267 | value false | ||
1268 | comment { | ||
1269 | access 'read write' | ||
1270 | type BOOLEAN | ||
1271 | count 1 | ||
1272 | } | ||
1273 | } | ||
1274 | control.107 { | ||
1275 | iface MIXER | ||
1276 | name 'MIXINL IN3L Switch' | ||
1277 | value false | ||
1278 | comment { | ||
1279 | access 'read write' | ||
1280 | type BOOLEAN | ||
1281 | count 1 | ||
1282 | } | ||
1283 | } | ||
1284 | control.108 { | ||
1285 | iface MIXER | ||
1286 | name 'MIXINL PGA Switch' | ||
1287 | value true | ||
1288 | comment { | ||
1289 | access 'read write' | ||
1290 | type BOOLEAN | ||
1291 | count 1 | ||
1292 | } | ||
1293 | } | ||
1294 | control.109 { | ||
1295 | iface MIXER | ||
1296 | name 'INPGAR IN1R Switch' | ||
1297 | value true | ||
1298 | comment { | ||
1299 | access 'read write' | ||
1300 | type BOOLEAN | ||
1301 | count 1 | ||
1302 | } | ||
1303 | } | ||
1304 | control.110 { | ||
1305 | iface MIXER | ||
1306 | name 'INPGAR IN2R Switch' | ||
1307 | value false | ||
1308 | comment { | ||
1309 | access 'read write' | ||
1310 | type BOOLEAN | ||
1311 | count 1 | ||
1312 | } | ||
1313 | } | ||
1314 | control.111 { | ||
1315 | iface MIXER | ||
1316 | name 'INPGAR IN3R Switch' | ||
1317 | value false | ||
1318 | comment { | ||
1319 | access 'read write' | ||
1320 | type BOOLEAN | ||
1321 | count 1 | ||
1322 | } | ||
1323 | } | ||
1324 | control.112 { | ||
1325 | iface MIXER | ||
1326 | name 'INPGAR IN4R Switch' | ||
1327 | value false | ||
1328 | comment { | ||
1329 | access 'read write' | ||
1330 | type BOOLEAN | ||
1331 | count 1 | ||
1332 | } | ||
1333 | } | ||
1334 | control.113 { | ||
1335 | iface MIXER | ||
1336 | name 'INPGAL IN1L Switch' | ||
1337 | value true | ||
1338 | comment { | ||
1339 | access 'read write' | ||
1340 | type BOOLEAN | ||
1341 | count 1 | ||
1342 | } | ||
1343 | } | ||
1344 | control.114 { | ||
1345 | iface MIXER | ||
1346 | name 'INPGAL IN2L Switch' | ||
1347 | value false | ||
1348 | comment { | ||
1349 | access 'read write' | ||
1350 | type BOOLEAN | ||
1351 | count 1 | ||
1352 | } | ||
1353 | } | ||
1354 | control.115 { | ||
1355 | iface MIXER | ||
1356 | name 'INPGAL IN3L Switch' | ||
1357 | value false | ||
1358 | comment { | ||
1359 | access 'read write' | ||
1360 | type BOOLEAN | ||
1361 | count 1 | ||
1362 | } | ||
1363 | } | ||
1364 | control.116 { | ||
1365 | iface MIXER | ||
1366 | name 'INPGAL IN4L Switch' | ||
1367 | value false | ||
1368 | comment { | ||
1369 | access 'read write' | ||
1370 | type BOOLEAN | ||
1371 | count 1 | ||
1372 | } | ||
1373 | } | ||
1374 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf new file mode 100644 index 00000000..39cb3961 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.conf | |||
@@ -0,0 +1,299 @@ | |||
1 | defaults.pcm.rate_converter "linear" | ||
2 | |||
3 | pcm.dmix_48000{ | ||
4 | type plug | ||
5 | slave.pcm{ | ||
6 | type dmix | ||
7 | ipc_key 5678293 | ||
8 | ipc_key_add_uid yes | ||
9 | slave{ | ||
10 | pcm "hw:0,0" | ||
11 | period_time 0 | ||
12 | period_size 2048 | ||
13 | buffer_size 24576 | ||
14 | format S16_LE | ||
15 | rate 48000 | ||
16 | } | ||
17 | } | ||
18 | } | ||
19 | |||
20 | pcm.dmix_44100{ | ||
21 | type dmix | ||
22 | ipc_key 5678293 | ||
23 | ipc_key_add_uid yes | ||
24 | slave{ | ||
25 | pcm "hw:0,0" | ||
26 | period_time 0 | ||
27 | period_size 2048 | ||
28 | buffer_size 24576 | ||
29 | format S16_LE | ||
30 | rate 44100 | ||
31 | } | ||
32 | } | ||
33 | |||
34 | pcm.dmix_32000{ | ||
35 | type plug | ||
36 | slave.pcm{ | ||
37 | type dmix | ||
38 | ipc_key 5678293 | ||
39 | ipc_key_add_uid yes | ||
40 | slave{ | ||
41 | pcm "hw:0,0" | ||
42 | period_time 0 | ||
43 | period_size 2048 | ||
44 | buffer_size 24576 | ||
45 | format S16_LE | ||
46 | rate 32000 | ||
47 | } | ||
48 | } | ||
49 | } | ||
50 | |||
51 | pcm.dmix_24000{ | ||
52 | type plug | ||
53 | slave.pcm{ | ||
54 | type dmix | ||
55 | ipc_key 5678293 | ||
56 | ipc_key_add_uid yes | ||
57 | slave{ | ||
58 | pcm "hw:0,0" | ||
59 | period_time 0 | ||
60 | period_size 2048 | ||
61 | buffer_size 24576 | ||
62 | format S16_LE | ||
63 | rate 24000 | ||
64 | } | ||
65 | } | ||
66 | } | ||
67 | |||
68 | pcm.dmix_22050{ | ||
69 | type plug | ||
70 | slave.pcm{ | ||
71 | type dmix | ||
72 | ipc_key 5678293 | ||
73 | ipc_key_add_uid yes | ||
74 | slave{ | ||
75 | pcm "hw:0,0" | ||
76 | period_time 0 | ||
77 | period_size 2048 | ||
78 | buffer_size 24576 | ||
79 | format S16_LE | ||
80 | rate 22050 | ||
81 | } | ||
82 | } | ||
83 | } | ||
84 | |||
85 | pcm.dmix_16000{ | ||
86 | type plug | ||
87 | slave.pcm{ | ||
88 | type dmix | ||
89 | ipc_key 5678293 | ||
90 | ipc_key_add_uid yes | ||
91 | slave{ | ||
92 | pcm "hw:0,0" | ||
93 | period_time 0 | ||
94 | period_size 2048 | ||
95 | buffer_size 24576 | ||
96 | format S16_LE | ||
97 | rate 16000 | ||
98 | } | ||
99 | } | ||
100 | } | ||
101 | |||
102 | pcm.dmix_12000{ | ||
103 | type plug | ||
104 | slave.pcm{ | ||
105 | type dmix | ||
106 | ipc_key 5678293 | ||
107 | ipc_key_add_uid yes | ||
108 | slave{ | ||
109 | pcm "hw:0,0" | ||
110 | period_time 0 | ||
111 | period_size 2048 | ||
112 | buffer_size 24576 | ||
113 | format S16_LE | ||
114 | rate 12000 | ||
115 | } | ||
116 | } | ||
117 | } | ||
118 | |||
119 | pcm.dmix_11025{ | ||
120 | type plug | ||
121 | slave.pcm{ | ||
122 | type dmix | ||
123 | ipc_key 5678293 | ||
124 | ipc_key_add_uid yes | ||
125 | slave{ | ||
126 | pcm "hw:0,0" | ||
127 | period_time 0 | ||
128 | period_size 2048 | ||
129 | buffer_size 24576 | ||
130 | format S16_LE | ||
131 | rate 11025 | ||
132 | } | ||
133 | } | ||
134 | } | ||
135 | |||
136 | pcm.dmix_8000{ | ||
137 | type plug | ||
138 | slave.pcm{ | ||
139 | type dmix | ||
140 | ipc_key 5678293 | ||
141 | ipc_key_add_uid yes | ||
142 | slave{ | ||
143 | pcm "hw:0,0" | ||
144 | period_time 0 | ||
145 | period_size 2048 | ||
146 | buffer_size 24576 | ||
147 | format S16_LE | ||
148 | rate 8000 | ||
149 | } | ||
150 | } | ||
151 | } | ||
152 | |||
153 | pcm.!dsnoop_48000{ | ||
154 | type dsnoop | ||
155 | ipc_key 5778293 | ||
156 | ipc_key_add_uid yes | ||
157 | slave{ | ||
158 | pcm "hw:0,0" | ||
159 | period_time 0 | ||
160 | period_size 2048 | ||
161 | buffer_size 24576 | ||
162 | format S16_LE | ||
163 | rate 48000 | ||
164 | } | ||
165 | } | ||
166 | |||
167 | pcm.!dsnoop_44100{ | ||
168 | type dsnoop | ||
169 | ipc_key 5778293 | ||
170 | ipc_key_add_uid yes | ||
171 | slave{ | ||
172 | pcm "hw:0,0" | ||
173 | period_time 0 | ||
174 | period_size 2048 | ||
175 | buffer_size 24576 | ||
176 | format S16_LE | ||
177 | rate 44100 | ||
178 | } | ||
179 | } | ||
180 | |||
181 | pcm.!dsnoop_32000{ | ||
182 | type dsnoop | ||
183 | ipc_key 5778293 | ||
184 | ipc_key_add_uid yes | ||
185 | slave{ | ||
186 | pcm "hw:0,0" | ||
187 | period_time 0 | ||
188 | period_size 2048 | ||
189 | buffer_size 24576 | ||
190 | format S16_LE | ||
191 | rate 32000 | ||
192 | } | ||
193 | } | ||
194 | |||
195 | pcm.!dsnoop_24000{ | ||
196 | type dsnoop | ||
197 | ipc_key 5778293 | ||
198 | ipc_key_add_uid yes | ||
199 | slave{ | ||
200 | pcm "hw:0,0" | ||
201 | period_time 0 | ||
202 | period_size 2048 | ||
203 | buffer_size 24576 | ||
204 | format S16_LE | ||
205 | rate 24000 | ||
206 | } | ||
207 | } | ||
208 | |||
209 | pcm.!dsnoop_22050{ | ||
210 | type dsnoop | ||
211 | ipc_key 5778293 | ||
212 | ipc_key_add_uid yes | ||
213 | slave{ | ||
214 | pcm "hw:0,0" | ||
215 | period_time 0 | ||
216 | period_size 2048 | ||
217 | buffer_size 24576 | ||
218 | format S16_LE | ||
219 | rate 22050 | ||
220 | } | ||
221 | } | ||
222 | |||
223 | pcm.!dsnoop_16000{ | ||
224 | type dsnoop | ||
225 | ipc_key 5778293 | ||
226 | ipc_key_add_uid yes | ||
227 | slave{ | ||
228 | pcm "hw:0,0" | ||
229 | period_time 0 | ||
230 | period_size 2048 | ||
231 | buffer_size 24576 | ||
232 | format S16_LE | ||
233 | rate 16000 | ||
234 | } | ||
235 | } | ||
236 | |||
237 | pcm.!dsnoop_12000{ | ||
238 | type dsnoop | ||
239 | ipc_key 5778293 | ||
240 | ipc_key_add_uid yes | ||
241 | slave{ | ||
242 | pcm "hw:0,0" | ||
243 | period_time 0 | ||
244 | period_size 2048 | ||
245 | buffer_size 24576 | ||
246 | format S16_LE | ||
247 | rate 12000 | ||
248 | } | ||
249 | } | ||
250 | |||
251 | pcm.!dsnoop_11025{ | ||
252 | type dsnoop | ||
253 | ipc_key 5778293 | ||
254 | ipc_key_add_uid yes | ||
255 | slave{ | ||
256 | pcm "hw:0,0" | ||
257 | period_time 0 | ||
258 | period_size 2048 | ||
259 | buffer_size 24576 | ||
260 | format S16_LE | ||
261 | rate 11025 | ||
262 | } | ||
263 | } | ||
264 | |||
265 | pcm.!dsnoop_8000{ | ||
266 | type dsnoop | ||
267 | ipc_key 5778293 | ||
268 | ipc_key_add_uid yes | ||
269 | slave{ | ||
270 | pcm "hw:0,0" | ||
271 | period_time 0 | ||
272 | period_size 2048 | ||
273 | buffer_size 24576 | ||
274 | format S16_LE | ||
275 | rate 8000 | ||
276 | } | ||
277 | } | ||
278 | |||
279 | pcm.asymed{ | ||
280 | type asym | ||
281 | playback.pcm "dmix_44100" | ||
282 | capture.pcm "dsnoop_44100" | ||
283 | } | ||
284 | |||
285 | pcm.dsp0{ | ||
286 | type plug | ||
287 | slave.pcm "asymed" | ||
288 | } | ||
289 | |||
290 | pcm.!default{ | ||
291 | type plug | ||
292 | route_policy "average" | ||
293 | slave.pcm "asymed" | ||
294 | } | ||
295 | |||
296 | ctl.mixer0{ | ||
297 | type hw | ||
298 | card 0 | ||
299 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.state b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.state new file mode 100644 index 00000000..d508cc36 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/alsa-state/alsa-state/mxs/asound.state | |||
@@ -0,0 +1,191 @@ | |||
1 | state.mxsevk { | ||
2 | control.1 { | ||
3 | iface MIXER | ||
4 | name 'MIC GAIN' | ||
5 | value '0dB' | ||
6 | comment { | ||
7 | access 'read write' | ||
8 | type ENUMERATED | ||
9 | count 1 | ||
10 | item.0 '0dB' | ||
11 | item.1 '20dB' | ||
12 | item.2 '30dB' | ||
13 | item.3 '40dB' | ||
14 | } | ||
15 | } | ||
16 | control.2 { | ||
17 | iface MIXER | ||
18 | name 'Capture Volume' | ||
19 | value.0 12 | ||
20 | value.1 12 | ||
21 | comment { | ||
22 | access 'read write' | ||
23 | type INTEGER | ||
24 | count 2 | ||
25 | range '0 - 15' | ||
26 | } | ||
27 | } | ||
28 | control.3 { | ||
29 | iface MIXER | ||
30 | name 'Capture Vol Reduction' | ||
31 | value 'No Change' | ||
32 | comment { | ||
33 | access 'read write' | ||
34 | type ENUMERATED | ||
35 | count 1 | ||
36 | item.0 'No Change' | ||
37 | item.1 'Reduced by 6dB' | ||
38 | } | ||
39 | } | ||
40 | control.4 { | ||
41 | iface MIXER | ||
42 | name 'Playback Volume' | ||
43 | value.0 156 | ||
44 | value.1 156 | ||
45 | comment { | ||
46 | access 'read write' | ||
47 | type INTEGER | ||
48 | count 2 | ||
49 | range '0 - 192' | ||
50 | } | ||
51 | } | ||
52 | control.5 { | ||
53 | iface MIXER | ||
54 | name 'Headphone Volume' | ||
55 | value.0 127 | ||
56 | value.1 127 | ||
57 | comment { | ||
58 | access 'read write' | ||
59 | type INTEGER | ||
60 | count 2 | ||
61 | range '0 - 127' | ||
62 | } | ||
63 | } | ||
64 | control.6 { | ||
65 | iface MIXER | ||
66 | name 'DAC Mux' | ||
67 | value DAC | ||
68 | comment { | ||
69 | access 'read write' | ||
70 | type ENUMERATED | ||
71 | count 1 | ||
72 | item.0 DAC | ||
73 | item.1 LINE_IN | ||
74 | } | ||
75 | } | ||
76 | control.7 { | ||
77 | iface MIXER | ||
78 | name 'ADC Mux' | ||
79 | value MIC_IN | ||
80 | comment { | ||
81 | access 'read write' | ||
82 | type ENUMERATED | ||
83 | count 1 | ||
84 | item.0 MIC_IN | ||
85 | item.1 LINE_IN | ||
86 | } | ||
87 | } | ||
88 | } | ||
89 | state.mxsevk_1 { | ||
90 | control.1 { | ||
91 | iface MIXER | ||
92 | name PRO | ||
93 | value false | ||
94 | comment { | ||
95 | access 'read write' | ||
96 | type BOOLEAN | ||
97 | count 1 | ||
98 | } | ||
99 | } | ||
100 | control.2 { | ||
101 | iface MIXER | ||
102 | name AUDIO | ||
103 | value false | ||
104 | comment { | ||
105 | access 'read write' | ||
106 | type BOOLEAN | ||
107 | count 1 | ||
108 | } | ||
109 | } | ||
110 | control.3 { | ||
111 | iface MIXER | ||
112 | name COPY | ||
113 | value false | ||
114 | comment { | ||
115 | access 'read write' | ||
116 | type BOOLEAN | ||
117 | count 1 | ||
118 | } | ||
119 | } | ||
120 | control.4 { | ||
121 | iface MIXER | ||
122 | name PRE | ||
123 | value false | ||
124 | comment { | ||
125 | access 'read write' | ||
126 | type BOOLEAN | ||
127 | count 1 | ||
128 | } | ||
129 | } | ||
130 | control.5 { | ||
131 | iface MIXER | ||
132 | name CC | ||
133 | value 0 | ||
134 | comment { | ||
135 | access 'read write' | ||
136 | type INTEGER | ||
137 | count 1 | ||
138 | range '0 - 127' | ||
139 | } | ||
140 | } | ||
141 | control.6 { | ||
142 | iface MIXER | ||
143 | name L | ||
144 | value false | ||
145 | comment { | ||
146 | access 'read write' | ||
147 | type BOOLEAN | ||
148 | count 1 | ||
149 | } | ||
150 | } | ||
151 | control.7 { | ||
152 | iface MIXER | ||
153 | name V | ||
154 | value false | ||
155 | comment { | ||
156 | access 'read write' | ||
157 | type BOOLEAN | ||
158 | count 1 | ||
159 | } | ||
160 | } | ||
161 | control.8 { | ||
162 | iface MIXER | ||
163 | name 'USER DATA' | ||
164 | value false | ||
165 | comment { | ||
166 | access 'read write' | ||
167 | type BOOLEAN | ||
168 | count 1 | ||
169 | } | ||
170 | } | ||
171 | control.9 { | ||
172 | iface MIXER | ||
173 | name 'AUTO MUTE' | ||
174 | value false | ||
175 | comment { | ||
176 | access 'read write' | ||
177 | type BOOLEAN | ||
178 | count 1 | ||
179 | } | ||
180 | } | ||
181 | control.10 { | ||
182 | iface MIXER | ||
183 | name 'V CONFIG' | ||
184 | value false | ||
185 | comment { | ||
186 | access 'read write' | ||
187 | type BOOLEAN | ||
188 | count 1 | ||
189 | } | ||
190 | } | ||
191 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/apptrk/apptrk/apptrk-install-create-all-components-of-DEST.patch b/meta-fsl-arm/recipes-bsp/apptrk/apptrk/apptrk-install-create-all-components-of-DEST.patch new file mode 100644 index 00000000..6b4a0e83 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/apptrk/apptrk/apptrk-install-create-all-components-of-DEST.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | ||
4 | |||
5 | |||
6 | for fix the following error: | ||
7 | |install: cannot create regular file /usr/bin/apptrk | ||
8 | |No such file or directory | ||
9 | |||
10 | |||
11 | --- a/Makefileold 2014-12-21 23:46:26.872329032 -0600 | ||
12 | +++ b/Makefile 2014-12-21 23:47:33.724326646 -0600 | ||
13 | @@ -89,9 +89,9 @@ | ||
14 | # Other Targets | ||
15 | install: all | ||
16 | if [ -f $(DESTDIR)/usr/bin/apptrk ]; then rm -f $(DESTDIR)/usr/bin/apptrk ; fi | ||
17 | - install $(OUTPUT) $(DESTDIR)/usr/bin/apptrk | ||
18 | + install -D $(OUTPUT) $(DESTDIR)/usr/bin/apptrk | ||
19 | if [ -f $(DESTDIR)/usr/bin/apptrk_debug ]; then rm -f $(DESTDIR)/usr/bin/apptrk_debug ; fi | ||
20 | - install $(OUTPUT_DBG) $(DESTDIR)/usr/bin/apptrk_debug | ||
21 | + install -D $(OUTPUT_DBG) $(DESTDIR)/usr/bin/apptrk_debug | ||
22 | |||
23 | clean: | ||
24 | -$(RM) $(OBJS)$(OBJS_DBG)$(EXECUTABLES)$(C_DEPS)$(C_DEPS_DBG) $(OUTPUT) $(OUTPUT_DBG) | ||
diff --git a/meta-fsl-arm/recipes-bsp/apptrk/apptrk/no-strip.patch b/meta-fsl-arm/recipes-bsp/apptrk/apptrk/no-strip.patch new file mode 100644 index 00000000..a8cf6205 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/apptrk/apptrk/no-strip.patch | |||
@@ -0,0 +1,20 @@ | |||
1 | Disable stripping of binaries | ||
2 | |||
3 | We don't want to strip these as this is handled separately at package | ||
4 | time. | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Chunrong Guo <B40290@freescale.com> | ||
9 | |||
10 | --- a/Makefileold 2015-01-07 03:45:32.786477574 -0600 | ||
11 | +++ b/Makefile 2015-01-07 03:46:28.426475588 -0600 | ||
12 | @@ -62,7 +62,7 @@ | ||
13 | # CFLAGS += -DENABLE_64BIT_SUPPORT | ||
14 | |||
15 | |||
16 | -LDFLAGS += -s | ||
17 | + | ||
18 | |||
19 | # Add inputs and outputs from these tool invocations to the build variables | ||
20 | |||
diff --git a/meta-fsl-arm/recipes-bsp/apptrk/apptrk_git.bb b/meta-fsl-arm/recipes-bsp/apptrk/apptrk_git.bb new file mode 100644 index 00000000..4453cf87 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/apptrk/apptrk_git.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "Debug agent for Freescale CodeWarrior" | ||
2 | SECTION = "apptrk" | ||
3 | LICENSE = "Freescale-EULA" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=95560debfde180684364319811cc1421" | ||
5 | |||
6 | DEPENDS = "elfutils" | ||
7 | |||
8 | inherit kernel-arch | ||
9 | |||
10 | SRC_URI = "git://git.freescale.com/ppc/sdk/apptrk.git;nobranch=1 \ | ||
11 | file://apptrk-install-create-all-components-of-DEST.patch \ | ||
12 | file://no-strip.patch \ | ||
13 | " | ||
14 | SRCREV = "cbed10997c5e2a4aaa004fb0e1efec858bf1bbe1" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | EXTRA_OEMAKE = "" | ||
19 | |||
20 | CFLAGS += " -I${STAGING_INCDIR}" | ||
21 | |||
22 | do_install() { | ||
23 | oe_runmake install DESTDIR=${D} | ||
24 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/barebox/barebox.inc b/meta-fsl-arm/recipes-bsp/barebox/barebox.inc new file mode 100644 index 00000000..0d5c127b --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/barebox/barebox.inc | |||
@@ -0,0 +1,63 @@ | |||
1 | DESCRIPTION = "Barebox - a bootloader that inherits the best of U-Boot and the Linux kernel" | ||
2 | HOMEPAGE = "http://www.barebox.org/" | ||
3 | SECTION = "bootloader" | ||
4 | PROVIDES = "virtual/bootloader" | ||
5 | PRIORITY = "optional" | ||
6 | LICENSE = "GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=057bf9e50e1ca857d0eb97bfe4ba8e5d" | ||
8 | |||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | |||
11 | inherit kernel-arch | ||
12 | |||
13 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
14 | |||
15 | BAREBOX_BINARY ?= "barebox.bin" | ||
16 | BAREBOX_IMAGE ?= "barebox-${MACHINE}-${PV}-${PR}.bin" | ||
17 | BAREBOXENV_BIN ?= "bareboxenv-${MACHINE}-${PV}-${PR}.bin" | ||
18 | BAREBOX_SYMLINK ?= "barebox-${MACHINE}.bin" | ||
19 | BAREBOXENV_SYMLINK ?= "bareboxenv-${MACHINE}.bin" | ||
20 | |||
21 | INSANE_SKIP_${PN} = "True" | ||
22 | |||
23 | do_pre_configure() { | ||
24 | cp ${WORKDIR}/defconfig ${S}/.config | ||
25 | oe_runmake oldconfig | ||
26 | } | ||
27 | addtask pre_configure before do_configure after do_patch | ||
28 | |||
29 | do_compile () { | ||
30 | if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then | ||
31 | sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' Makefile | ||
32 | fi | ||
33 | unset LDFLAGS | ||
34 | unset CFLAGS | ||
35 | unset CPPFLAGS | ||
36 | oe_runmake all | ||
37 | } | ||
38 | |||
39 | do_deploy () { | ||
40 | install -d ${DEPLOY_DIR_IMAGE} | ||
41 | install ${S}/${BAREBOX_BINARY} ${DEPLOY_DIR_IMAGE}/${BAREBOX_IMAGE} | ||
42 | |||
43 | cd ${DEPLOY_DIR_IMAGE} | ||
44 | rm -f ${BAREBOX_SYMLINK} | ||
45 | ln -sf ${BAREBOX_IMAGE} ${BAREBOX_SYMLINK} | ||
46 | |||
47 | install -d ${STAGING_BINDIR_NATIVE} | ||
48 | cd ${S} | ||
49 | install -m 755 scripts/mkimage ${STAGING_BINDIR_NATIVE}/ | ||
50 | install -m 755 scripts/bareboxenv ${STAGING_BINDIR_NATIVE}/ | ||
51 | } | ||
52 | |||
53 | do_deploy[dirs] = "${S}" | ||
54 | addtask deploy before do_build after do_compile | ||
55 | |||
56 | do_env_deploy() { | ||
57 | install ${S}/common/barebox_default_env ${DEPLOY_DIR_IMAGE}/${BAREBOXENV_BIN} | ||
58 | |||
59 | cd ${DEPLOY_DIR_IMAGE} | ||
60 | rm -f ${BAREBOXENV_SYMLINK} | ||
61 | ln -sf ${BAREBOXENV_BIN} ${BAREBOXENV_SYMLINK} | ||
62 | } | ||
63 | addtask env_deploy before do_build after do_deploy | ||
diff --git a/meta-fsl-arm/recipes-bsp/barebox/barebox_2013.08.0.bb b/meta-fsl-arm/recipes-bsp/barebox/barebox_2013.08.0.bb new file mode 100644 index 00000000..e4e37179 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/barebox/barebox_2013.08.0.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | require recipes-bsp/barebox/barebox.inc | ||
2 | |||
3 | SRC_URI = "http://barebox.org/download/${PN}-${PV}.tar.bz2 \ | ||
4 | file://defconfig" | ||
5 | |||
6 | SRC_URI[md5sum] = "a61b97a2fedebc808d4b182c2ca18a0c" | ||
7 | SRC_URI[sha256sum] = "d9e46dd3c68b04ab4cbc37135dc34907dbebef393da4b3e54abb203c295c1620" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "Invalid!" | ||
diff --git a/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess.bb b/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess.bb new file mode 100644 index 00000000..2ad8c588 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | DESCRIPTION = "provides the tcl script for endian swap" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | |||
7 | SRC_URI = "file://byte_swap.tcl" | ||
8 | |||
9 | RDEPENDS += "tcl-native" | ||
10 | |||
11 | inherit native | ||
12 | |||
13 | S = "${WORKDIR}" | ||
14 | |||
15 | do_configure[noexec] = "1" | ||
16 | do_compile[noexec] = "1" | ||
17 | |||
18 | do_install () { | ||
19 | install -d ${D}/${bindir} | ||
20 | install -m 755 ${WORKDIR}/byte_swap.tcl ${D}/${bindir} | ||
21 | } | ||
22 | |||
23 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl b/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl new file mode 100755 index 00000000..aca956bd --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/change-file-endianess/change-file-endianess/byte_swap.tcl | |||
@@ -0,0 +1,29 @@ | |||
1 | puts $argv | ||
2 | set i_file [lindex $argv 0] | ||
3 | set o_file [lindex $argv 1] | ||
4 | set num_b [lindex $argv 2] | ||
5 | puts "" | ||
6 | |||
7 | set fileid_i [open $i_file "r"] | ||
8 | set fileid_o [open $o_file "w+"] | ||
9 | fconfigure $fileid_i -translation {binary binary} | ||
10 | fconfigure $fileid_o -translation {binary binary} | ||
11 | |||
12 | set old_bin [read $fileid_i] | ||
13 | set new_bin {} | ||
14 | for {set i 0} {$i<[string length $old_bin]} {incr i $num_b} { | ||
15 | for {set j $num_b} {$j>0} {incr j -1} { | ||
16 | append new_bin [string index $old_bin [expr $i+($j-1)]] | ||
17 | } | ||
18 | } | ||
19 | |||
20 | for {set i 0} {$i<[string length $old_bin]} {incr i $num_b} { | ||
21 | set binValue [string range $old_bin [expr $i+0] [expr $i+($num_b-1)]] | ||
22 | binary scan $binValue H[expr $num_b*2] hexValue | ||
23 | |||
24 | set binValue [string range $new_bin [expr $i+0] [expr $i+($num_b-1)]] | ||
25 | binary scan $binValue H[expr $num_b*2] hexValue | ||
26 | } | ||
27 | |||
28 | puts -nonewline $fileid_o $new_bin | ||
29 | close $fileid_o | ||
diff --git a/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb b/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb new file mode 100644 index 00000000..2cef1f6a --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/elftosb/elftosb_10.12.01.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Helper utility for freescale imx platforms" | ||
5 | LICENSE = "MIT" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=172ede34353056ebec7a597d8459f029" | ||
7 | SECTION = "bootloader" | ||
8 | PR = "r4" | ||
9 | BBCLASSEXTEND = "native nativesdk" | ||
10 | |||
11 | SRC_URI = "http://repository.timesys.com/buildsources/e/elftosb/elftosb-${PV}/elftosb-${PV}.tar.gz \ | ||
12 | file://cross-build.patch \ | ||
13 | file://don-t-use-full-path-for-headers.patch" | ||
14 | SRC_URI[md5sum] = "e8005d606c1e0bb3507c82f6eceb3056" | ||
15 | SRC_URI[sha256sum] = "77bb6981620f7575b87d136d94c7daa88dd09195959cc75fc18b138369ecd42b" | ||
16 | |||
17 | do_install() { | ||
18 | install -d ${D}${bindir} | ||
19 | install ${S}/bld/linux/elftosb ${D}${bindir} | ||
20 | install ${S}/bld/linux/keygen ${D}${bindir} | ||
21 | install ${S}/bld/linux/sbtool ${D}${bindir} | ||
22 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/elftosb/files/cross-build.patch b/meta-fsl-arm/recipes-bsp/elftosb/files/cross-build.patch new file mode 100644 index 00000000..8cffa03e --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/elftosb/files/cross-build.patch | |||
@@ -0,0 +1,50 @@ | |||
1 | --- a/makefile.rules.orig 2012-05-09 21:03:28.000000000 +0200 | ||
2 | +++ b/makefile.rules 2012-05-09 21:03:56.000000000 +0200 | ||
3 | @@ -9,6 +9,8 @@ | ||
4 | # SRC_DIR needs to be passed in. It is assumed that make is running in | ||
5 | # the build directory. | ||
6 | |||
7 | +CC ?= gcc | ||
8 | + | ||
9 | #******************************************************************************* | ||
10 | # Environment | ||
11 | |||
12 | @@ -101,7 +103,7 @@ | ||
13 | keygen.o | ||
14 | |||
15 | |||
16 | -LIBS = -lstdc++ | ||
17 | +LIBS ?= -lstdc++ -lm | ||
18 | |||
19 | |||
20 | ifeq ("${UNAMES}", "Linux") | ||
21 | @@ -137,13 +139,13 @@ | ||
22 | ${EXEC_FILE_ELFTOSB2} ${EXEC_FILE_SBTOOL} ${EXEC_FILE_KEYGEN} | ||
23 | |||
24 | elftosb: ${OBJ_FILES_ELFTOSB2} | ||
25 | - gcc ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} | ||
26 | + ${CC} ${OBJ_FILES_ELFTOSB2} ${LIBS} -o ${EXEC_FILE_ELFTOSB2} | ||
27 | |||
28 | sbtool: ${OBJ_FILES_SBTOOL} | ||
29 | - gcc ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} | ||
30 | + ${CC} ${OBJ_FILES_SBTOOL} ${LIBS} -o ${EXEC_FILE_SBTOOL} | ||
31 | |||
32 | keygen: ${OBJ_FILES_KEYGEN} | ||
33 | - gcc ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} | ||
34 | + ${CC} ${OBJ_FILES_KEYGEN} ${LIBS} -o ${EXEC_FILE_KEYGEN} | ||
35 | |||
36 | |||
37 | #ifeq ("${UNAMES}", "Linux") | ||
38 | @@ -153,10 +155,10 @@ | ||
39 | .SUFFIXES : .c .cpp | ||
40 | |||
41 | .c.o : | ||
42 | - gcc ${CFLAGS} -c $< | ||
43 | + ${CC} ${CFLAGS} -c $< | ||
44 | |||
45 | .cpp.o : | ||
46 | - gcc ${CFLAGS} -c $< | ||
47 | + ${CC} ${CFLAGS} -c $< | ||
48 | |||
49 | #endif | ||
50 | |||
diff --git a/meta-fsl-arm/recipes-bsp/elftosb/files/don-t-use-full-path-for-headers.patch b/meta-fsl-arm/recipes-bsp/elftosb/files/don-t-use-full-path-for-headers.patch new file mode 100644 index 00000000..8996ffbb --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/elftosb/files/don-t-use-full-path-for-headers.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | elftosb: don't use full path for headers | ||
2 | |||
3 | This fixes the building on new host distributions where header might | ||
4 | move due multilib support and other possible changes in future. | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | |||
8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
9 | --- | ||
10 | common/stdafx.h | 2 +- | ||
11 | stdafx.h | 2 +- | ||
12 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
13 | |||
14 | diff --git a/common/stdafx.h b/common/stdafx.h | ||
15 | index e6bf9dd..fb3c2d7 100644 | ||
16 | --- a/common/stdafx.h | ||
17 | +++ b/common/stdafx.h | ||
18 | @@ -27,7 +27,7 @@ | ||
19 | // For Linux systems only, types.h only defines the signed | ||
20 | // integer types. This is not professional code. | ||
21 | // Update: They are defined in the header files in the more recent version of redhat enterprise gcc. | ||
22 | -#include "/usr/include/sys/types.h" | ||
23 | +#include <sys/types.h> | ||
24 | #include <stdint.h> | ||
25 | //typedef unsigned long uint32_t; | ||
26 | //typedef unsigned short uint16_t; | ||
27 | diff --git a/stdafx.h b/stdafx.h | ||
28 | index ce80458..6ff2f44 100644 | ||
29 | --- a/stdafx.h | ||
30 | +++ b/stdafx.h | ||
31 | @@ -27,7 +27,7 @@ | ||
32 | // For Linux systems only, types.h only defines the signed | ||
33 | // integer types. This is not professional code. | ||
34 | // Update: They are defined in the header files in the more recent version of redhat enterprise gcc. | ||
35 | -#include "/usr/include/sys/types.h" | ||
36 | +#include <sys/types.h> | ||
37 | //typedef unsigned long uint32_t; | ||
38 | //typedef unsigned short uint16_t; | ||
39 | //typedef unsigned char uint8_t; | ||
40 | -- | ||
41 | 1.7.2.5 | ||
42 | |||
diff --git a/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx.inc b/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx.inc new file mode 100644 index 00000000..80e5e59e --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx.inc | |||
@@ -0,0 +1,42 @@ | |||
1 | SUMMARY = "Freescale IMX firmware" | ||
2 | DESCRIPTION = "Freescale IMX firmware such as for the VPU" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "Proprietary" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/firmware-imx-${PV}.bin;fsl-eula=true" | ||
10 | |||
11 | inherit fsl-eula-unpack | ||
12 | |||
13 | do_install() { | ||
14 | install -d ${D}/lib/firmware | ||
15 | cp -rfv firmware/* ${D}/lib/firmware/ | ||
16 | find ${D}/lib/firmware -type f -exec chmod 644 '{}' ';' | ||
17 | |||
18 | # Remove files not going to be installed | ||
19 | find ${D}/lib/firmware/ -name Android.mk -exec rm '{}' ';' | ||
20 | } | ||
21 | |||
22 | python populate_packages_prepend() { | ||
23 | vpudir = bb.data.expand('/lib/firmware/vpu', d) | ||
24 | do_split_packages(d, vpudir, '^vpu_fw_([^_]*).*\.bin', | ||
25 | output_pattern='firmware-imx-vpu-%s', | ||
26 | description='Freescale IMX Firmware %s', | ||
27 | extra_depends='', | ||
28 | prepend=True) | ||
29 | |||
30 | sdmadir = bb.data.expand('/lib/firmware/sdma', d) | ||
31 | do_split_packages(d, sdmadir, '^sdma-([^-]*).*\.bin', | ||
32 | output_pattern='firmware-imx-sdma-%s', | ||
33 | description='Freescale IMX Firmware %s', | ||
34 | extra_depends='', | ||
35 | prepend=True) | ||
36 | } | ||
37 | |||
38 | ALLOW_EMPTY_${PN} = "1" | ||
39 | |||
40 | PACKAGES_DYNAMIC = "${PN}-vpu-* ${PN}-sdma-*" | ||
41 | |||
42 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
diff --git a/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb b/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb new file mode 100644 index 00000000..408baf18 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/firmware-imx/firmware-imx_3.14.28-1.0.0.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2012-2015 Freescale Semiconductor | ||
2 | |||
3 | require firmware-imx.inc | ||
4 | |||
5 | SRC_URI[md5sum] = "6e700f3d3a6482db08d5aabee7751630" | ||
6 | SRC_URI[sha256sum] = "1f09acd4d605efc78a0672068a658cb16274811d2f444cf3ae7aaa075266746f" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "(mx5|mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx51evk/machconfig b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx51evk/machconfig new file mode 100644 index 00000000..3dbcc111 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx51evk/machconfig | |||
@@ -0,0 +1,11 @@ | |||
1 | # Display options | ||
2 | HAVE_TOUCHSCREEN=0 | ||
3 | HAVE_KEYBOARD=1 | ||
4 | |||
5 | #DISPLAY_CAN_ROTATE=0 | ||
6 | #DISPLAY_ORIENTATION=0 | ||
7 | #DISPLAY_WIDTH_PIXELS=1024 | ||
8 | #DISPLAY_HEIGHT_PIXELS=720 | ||
9 | #DISPLAY_BPP=16 | ||
10 | #DISPLAY_DPI=150 | ||
11 | #DISPLAY_SUBPIXEL_ORDER=vrgb | ||
diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig new file mode 100644 index 00000000..7f884fe8 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53ard/machconfig | |||
@@ -0,0 +1,13 @@ | |||
1 | # Display options | ||
2 | HAVE_TOUCHSCREEN=1 | ||
3 | HAVE_KEYBOARD=0 | ||
4 | |||
5 | TSLIB_TSDEVICE="/dev/input/touchscreen0" | ||
6 | |||
7 | #DISPLAY_CAN_ROTATE=0 | ||
8 | #DISPLAY_ORIENTATION=0 | ||
9 | #DISPLAY_WIDTH_PIXELS=1024 | ||
10 | #DISPLAY_HEIGHT_PIXELS=720 | ||
11 | #DISPLAY_BPP=16 | ||
12 | #DISPLAY_DPI=150 | ||
13 | #DISPLAY_SUBPIXEL_ORDER=vrgb | ||
diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig new file mode 100644 index 00000000..3dbcc111 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor/imx53qsb/machconfig | |||
@@ -0,0 +1,11 @@ | |||
1 | # Display options | ||
2 | HAVE_TOUCHSCREEN=0 | ||
3 | HAVE_KEYBOARD=1 | ||
4 | |||
5 | #DISPLAY_CAN_ROTATE=0 | ||
6 | #DISPLAY_ORIENTATION=0 | ||
7 | #DISPLAY_WIDTH_PIXELS=1024 | ||
8 | #DISPLAY_HEIGHT_PIXELS=720 | ||
9 | #DISPLAY_BPP=16 | ||
10 | #DISPLAY_DPI=150 | ||
11 | #DISPLAY_SUBPIXEL_ORDER=vrgb | ||
diff --git a/meta-fsl-arm/recipes-bsp/formfactor/formfactor_%.bbappend b/meta-fsl-arm/recipes-bsp/formfactor/formfactor_%.bbappend new file mode 100644 index 00000000..8c77b8d3 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/formfactor/formfactor_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # Append path for freescale to include costom matchconfig | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/add-command-script-for-barebox.patch b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/add-command-script-for-barebox.patch new file mode 100644 index 00000000..1deca1cb --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/add-command-script-for-barebox.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | imx-bootlets: Add command script for barebox | ||
2 | |||
3 | Upstream-Status: Inappropriate [configuration] | ||
4 | |||
5 | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> | ||
6 | |||
7 | diff --git a/barebox_ivt.bd b/barebox_ivt.bd | ||
8 | new file mode 100644 | ||
9 | index 0000000..79cbccf | ||
10 | --- /dev/null | ||
11 | +++ b/barebox_ivt.bd | ||
12 | @@ -0,0 +1,34 @@ | ||
13 | +// STMP378x ROM command script to load and run barebox | ||
14 | + | ||
15 | +sources { | ||
16 | + power_prep="imx-bootlets-power_prep-@MACHINE@"; | ||
17 | + sdram_prep="imx-bootlets-boot_prep-@MACHINE@"; | ||
18 | + barebox="barebox-@MACHINE@.bin"; | ||
19 | +} | ||
20 | + | ||
21 | +section (0) { | ||
22 | + | ||
23 | + //---------------------------------------------------------- | ||
24 | + // Power Supply initialization | ||
25 | + //---------------------------------------------------------- | ||
26 | + | ||
27 | + load power_prep; | ||
28 | + load ivt (entry = power_prep:_start) > 0x8000; | ||
29 | + hab call 0x8000; | ||
30 | + | ||
31 | + //---------------------------------------------------------- | ||
32 | + // SDRAM initialization | ||
33 | + //---------------------------------------------------------- | ||
34 | + | ||
35 | + load sdram_prep; | ||
36 | + load ivt (entry = sdram_prep:_start) > 0x8000; | ||
37 | + hab call 0x8000; | ||
38 | + //---------------------------------------------------------- | ||
39 | + // Load and call barebox - ELF ARM image | ||
40 | + //---------------------------------------------------------- | ||
41 | + | ||
42 | + load barebox; | ||
43 | + load ivt (entry = barebox:start) > 0x8000; | ||
44 | + hab call 0x8000; | ||
45 | + | ||
46 | +} | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch new file mode 100644 index 00000000..d54add12 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux-fix-paths.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | imx-bootlets: Fix paths for used during boot stream generation | ||
2 | |||
3 | This will be run during image generation thus this won't use a | ||
4 | complete path to allow for relocation. | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
9 | |||
10 | diff --git a/linux.bd b/linux.bd | ||
11 | index 516f4f2..366ac22 100644 | ||
12 | --- a/linux.bd | ||
13 | +++ b/linux.bd | ||
14 | @@ -4,10 +4,10 @@ | ||
15 | flags = 0x01; | ||
16 | } | ||
17 | sources { | ||
18 | - power_prep="./power_prep/power_prep"; | ||
19 | - sdram_prep="./boot_prep/boot_prep"; | ||
20 | - linux_prep="./linux_prep/output-target/linux_prep"; | ||
21 | - zImage = "./zImage"; | ||
22 | + power_prep="imx-bootlets-power_prep-@MACHINE@"; | ||
23 | + sdram_prep="imx-bootlets-boot_prep-@MACHINE@"; | ||
24 | + linux_prep="imx-bootlets-linux_prep-@MACHINE@"; | ||
25 | + zImage="zImage-@MACHINE@.bin@DTB@"; | ||
26 | } | ||
27 | |||
28 | section (0) { | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_prep-fix-cmdlines.patch b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_prep-fix-cmdlines.patch new file mode 100644 index 00000000..4fb4c519 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets/linux_prep-fix-cmdlines.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | imx-bootlets: Fix cmdlines for Linux boot | ||
2 | |||
3 | This adapt the cmdlines for the partitioning layout used on the | ||
4 | generated SD cards. | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
9 | |||
10 | diff --git a/linux_prep/cmdlines/iMX28_EVK.txt b/linux_prep/cmdlines/iMX28_EVK.txt | ||
11 | index 6bc36b9..6cf89a0 100644 | ||
12 | --- a/linux_prep/cmdlines/iMX28_EVK.txt | ||
13 | +++ b/linux_prep/cmdlines/iMX28_EVK.txt | ||
14 | @@ -1 +1 @@ | ||
15 | -console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait | ||
16 | +console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait | ||
17 | diff --git a/linux_prep/cmdlines/stmp378x_dev.txt b/linux_prep/cmdlines/stmp378x_dev.txt | ||
18 | index 9a717eb..fdb7390 100644 | ||
19 | --- a/linux_prep/cmdlines/stmp378x_dev.txt | ||
20 | +++ b/linux_prep/cmdlines/stmp378x_dev.txt | ||
21 | @@ -1,6 +1,3 @@ | ||
22 | -console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait lcd_panel=lms430 no_console_suspend | ||
23 | -console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait lcd_panel=lms350 | ||
24 | -console=ttyAM0,115200 ssp1=spi1 ubi.mtd=2 root=ubi0:rootfs0 rootfstype=ubifs lcd_panel=lms430 | ||
25 | - | ||
26 | - | ||
27 | - | ||
28 | +console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc lcd_panel=lms430 no_console_suspend | ||
29 | +console=ttyAMA0,115200 root=/dev/mmcblk0p2 rw rootwait ssp1=mmc lcd_panel=lms350 | ||
30 | +console=ttyAMA0,115200 ssp1=spi1 ubi.mtd=2 root=ubi0:rootfs0 rootfstype=ubifs lcd_panel=lms430 | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb new file mode 100644 index 00000000..6084f169 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-bootlets/imx-bootlets_10.12.01.bb | |||
@@ -0,0 +1,79 @@ | |||
1 | DESCRIPTION = "i.MXS boot streams" | ||
2 | LICENSE = "GPL-2.0" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
4 | |||
5 | PR = "r5" | ||
6 | |||
7 | SRC_URI = "http://download.ossystems.com.br/bsp/freescale/source/imx-bootlets-src-${PV}.tar.gz \ | ||
8 | file://linux-fix-paths.patch \ | ||
9 | file://linux_prep-fix-cmdlines.patch \ | ||
10 | file://add-command-script-for-barebox.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "cf0ab3822dca694b930a051501c1d0e4" | ||
13 | SRC_URI[sha256sum] = "63f6068ae36884adef4259bbb1fe2591755718f22c46d0a59d854883dfab1ffc" | ||
14 | |||
15 | S = "${WORKDIR}/imx-bootlets-src-${PV}" | ||
16 | |||
17 | inherit deploy | ||
18 | |||
19 | # Disable parallel building or it may fail to build. | ||
20 | PARALLEL_MAKE = "" | ||
21 | |||
22 | EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX}" | ||
23 | |||
24 | # Ensure machine defines the IMXBOOTLETS_MACHINE | ||
25 | python () { | ||
26 | if not d.getVar("IMXBOOTLETS_MACHINE", True): | ||
27 | PN = d.getVar("PN", True) | ||
28 | FILE = os.path.basename(d.getVar("FILE", True)) | ||
29 | bb.debug(1, "To build %s, see %s for instructions on \ | ||
30 | setting up your machine config" % (PN, FILE)) | ||
31 | raise bb.parse.SkipPackage("because IMXBOOTLETS_MACHINE is not set") | ||
32 | } | ||
33 | |||
34 | do_configure () { | ||
35 | # Use machine specific binaries | ||
36 | sed 's,@MACHINE@,${MACHINE},g;s,@DTB@,-dtb,g' < linux.bd > linux.bd-dtb | ||
37 | sed -i 's,@MACHINE@,${MACHINE},g;s,@DTB@,,g' linux.bd | ||
38 | sed -i 's,@MACHINE@,${MACHINE},g' barebox_ivt.bd | ||
39 | } | ||
40 | |||
41 | do_compile () { | ||
42 | oe_runmake BOARD=${IMXBOOTLETS_MACHINE} linux_prep \ | ||
43 | boot_prep \ | ||
44 | power_prep \ | ||
45 | 'CC=${TARGET_PREFIX}gcc --sysroot="${STAGING_DIR_TARGET}"' \ | ||
46 | 'LD=${TARGET_PREFIX}ld --sysroot="${STAGING_DIR_TARGET}"' | ||
47 | } | ||
48 | |||
49 | do_install () { | ||
50 | install -d ${D}/boot/ | ||
51 | install -m 644 boot_prep/boot_prep power_prep/power_prep \ | ||
52 | linux_prep/output-target/linux_prep \ | ||
53 | linux.bd linux.bd-dtb \ | ||
54 | barebox_ivt.bd \ | ||
55 | ${D}/boot | ||
56 | } | ||
57 | |||
58 | FILES_${PN} = "/boot" | ||
59 | |||
60 | do_deploy () { | ||
61 | install -d ${DEPLOYDIR} | ||
62 | |||
63 | for f in boot_prep/boot_prep \ | ||
64 | power_prep/power_prep \ | ||
65 | linux_prep/output-target/linux_prep \ | ||
66 | barebox_ivt.bd \ | ||
67 | linux.bd linux.bd-dtb; do | ||
68 | full_name="imx-bootlets-`basename $f`-${MACHINE}-${PV}-${PR}" | ||
69 | symlink_name="imx-bootlets-`basename $f`-${MACHINE}" | ||
70 | |||
71 | install -m 644 ${S}/$f ${DEPLOYDIR}/$full_name | ||
72 | (cd ${DEPLOYDIR} ; rm -f $symlink_name ; ln -sf $full_name $symlink_name) | ||
73 | done | ||
74 | } | ||
75 | |||
76 | addtask deploy before do_build after do_compile | ||
77 | |||
78 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
79 | COMPATIBLE_MACHINE = "(mxs)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-kobs/imx-kobs_3.14.28-1.0.0.bb b/meta-fsl-arm/recipes-bsp/imx-kobs/imx-kobs_3.14.28-1.0.0.bb new file mode 100644 index 00000000..2cf19005 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-kobs/imx-kobs_3.14.28-1.0.0.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | |||
3 | SUMMARY = "Nand boot write source" | ||
4 | SECTION = "base" | ||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=393a5ca445f6965873eca0259a17f833" | ||
7 | |||
8 | SRC_URI = "${FSL_MIRROR}/imx-kobs-${PV}.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "0077ec992b281ebbce2928564a08b207" | ||
11 | SRC_URI[sha256sum] = "cfac042f5c96731205c397a4a6b3ed966f804569ae4d0e2685d22fdf6bdc9eb7" | ||
12 | |||
13 | inherit autotools pkgconfig | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib-11.09.02/obey-variables.patch b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib-11.09.02/obey-variables.patch new file mode 100644 index 00000000..901345ac --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib-11.09.02/obey-variables.patch | |||
@@ -0,0 +1,209 @@ | |||
1 | Obey CFLAGS, LDFLAGS | ||
2 | |||
3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
4 | Upstream-status: Pending | ||
5 | |||
6 | --- imx-lib-11.09.02.orig/hdmi-cec/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
7 | +++ imx-lib-11.09.02/hdmi-cec/Makefile 2014-09-02 13:04:37.086250568 -0700 | ||
8 | @@ -1,5 +1,6 @@ | ||
9 | CC ?=$(CROSS_COMPILE)gcc | ||
10 | AR ?=$(CROSS_COMPILE)ar | ||
11 | +CFLAGS ?=-O2 | ||
12 | |||
13 | # list of platforms which want this test case | ||
14 | INCLUDE_LIST:= IMX6Q | ||
15 | @@ -32,10 +33,10 @@ | ||
16 | endif | ||
17 | |||
18 | %.o: %.c | ||
19 | - $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@ | ||
20 | + $(CC) -D$(PLATFORM) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
21 | |||
22 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
23 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ | ||
24 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ $(LDFLAGS) | ||
25 | |||
26 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
27 | ln -s $< $@ | ||
28 | --- imx-lib-11.09.02.orig/ipu/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
29 | +++ imx-lib-11.09.02/ipu/Makefile 2014-09-02 13:05:11.062458117 -0700 | ||
30 | @@ -1,5 +1,6 @@ | ||
31 | CC ?=$(CROSS_COMPILE)gcc | ||
32 | AR ?=$(CROSS_COMPILE)ar | ||
33 | +CFLAGS ?=-O2 | ||
34 | |||
35 | ifeq ($(PLATFORM), IMX6Q) | ||
36 | OBJS = mxc_ipu_hl_lib_dummy.o | ||
37 | @@ -28,7 +29,7 @@ | ||
38 | endif | ||
39 | |||
40 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
41 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread | ||
42 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread $(LDFLAGS) | ||
43 | |||
44 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
45 | ln -s $< $@ | ||
46 | @@ -37,7 +38,7 @@ | ||
47 | ifeq "$(PLATFORM)" "" | ||
48 | $(error "Unspecified PLATFORM variable") | ||
49 | endif | ||
50 | - $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@ | ||
51 | + $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
52 | |||
53 | .PHONY: clean | ||
54 | clean: | ||
55 | --- imx-lib-11.09.02.orig/pxp/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
56 | +++ imx-lib-11.09.02/pxp/Makefile 2014-09-02 13:05:53.354716651 -0700 | ||
57 | @@ -1,5 +1,6 @@ | ||
58 | CC ?=$(CROSS_COMPILE)gcc | ||
59 | AR ?=$(CROSS_COMPILE)ar | ||
60 | +CFLAGS ?=-O2 | ||
61 | |||
62 | # list of platforms which want this test case | ||
63 | INCLUDE_LIST:=IMX50 IMX51 IMX5 IMX6Q IMX6S | ||
64 | @@ -25,10 +26,10 @@ | ||
65 | endif | ||
66 | |||
67 | %.o: %.c | ||
68 | - $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@ | ||
69 | + $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
70 | |||
71 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
72 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ | ||
73 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ $(LDFLAGS) | ||
74 | |||
75 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
76 | ln -s $< $@ | ||
77 | --- imx-lib-11.09.02.orig/rng/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
78 | +++ imx-lib-11.09.02/rng/Makefile 2014-09-02 13:04:37.086250568 -0700 | ||
79 | @@ -4,16 +4,17 @@ | ||
80 | AR = ar -crv | ||
81 | RM = rm -f | ||
82 | CC ?=$(CROSS_COMPILE)gcc | ||
83 | -LD=$(CROSS_COMPILE)ld | ||
84 | +LD ?=$(CROSS_COMPILE)ld | ||
85 | +CFLAGS ?=-g | ||
86 | |||
87 | INC := $(INCLUDE) | ||
88 | |||
89 | # Add compilation checks | ||
90 | -CFLAGS += -g -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -fPIC | ||
91 | +override CFLAGS += -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -fPIC | ||
92 | |||
93 | # In absence of kernel CONFIG flags, set API library to build on | ||
94 | # 'unknown' platform. | ||
95 | -CFLAGS += -DFSL_PLATFORM_OTHER -DFSL_HAVE_RNGC $(INC) | ||
96 | +override CFLAGS += -DFSL_PLATFORM_OTHER -DFSL_HAVE_RNGC $(INC) | ||
97 | |||
98 | OBJS= fsl_shw_rand.o fsl_shw_hash.o fsl_shw_sym.o fsl_shw_user.o \ | ||
99 | fsl_shw_keystore.o fsl_shw_auth.o fsl_shw_hmac.o fsl_shw_wrap.o | ||
100 | @@ -34,7 +35,7 @@ | ||
101 | $(AR) $@ $^ | ||
102 | |||
103 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
104 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ | ||
105 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) | ||
106 | |||
107 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
108 | ln -s $< $@ | ||
109 | --- imx-lib-11.09.02.orig/sahara2/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
110 | +++ imx-lib-11.09.02/sahara2/Makefile 2014-09-02 13:04:37.086250568 -0700 | ||
111 | @@ -4,7 +4,8 @@ | ||
112 | AR = ar -crv | ||
113 | RM = rm -f | ||
114 | CC ?=$(CROSS_COMPILE)gcc | ||
115 | -LD=$(CROSS_COMPILE)ld | ||
116 | +LD ?=$(CROSS_COMPILE)ld | ||
117 | +CFLAGS ?=-g | ||
118 | |||
119 | INC := $(INCLUDE) | ||
120 | |||
121 | @@ -18,19 +19,19 @@ | ||
122 | endif | ||
123 | |||
124 | # Add compilation checks | ||
125 | -CFLAGS += -g -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -fPIC | ||
126 | +override CFLAGS += -Wall -W -Wmissing-prototypes -Wstrict-prototypes -Wdeclaration-after-statement -fPIC | ||
127 | |||
128 | OBJS= fsl_shw_rand.o fsl_shw_hash.o fsl_shw_sym.o fsl_shw_user.o \ | ||
129 | fsl_shw_auth.o fsl_shw_hmac.o fsl_shw_wrap.o fsl_shw_keystore.o um_adaptor.o sf_util.o | ||
130 | |||
131 | |||
132 | #CFLAGS += -DSAHARA -DLINUX -I$(APIINCDIR) | ||
133 | -CFLAGS += -DSAHARA -DLINUX $(INC) | ||
134 | -CFLAGS += $(TARGET_ARCH) | ||
135 | +override CFLAGS += -DSAHARA -DLINUX $(INC) | ||
136 | +override CFLAGS += $(TARGET_ARCH) | ||
137 | # Uncomment to debug Library's creation of structures for driver | ||
138 | -#CFLAGS += -DDIAG_SECURITY_FUNC | ||
139 | +#override CFLAGS += -DDIAG_SECURITY_FUNC | ||
140 | # Uncomment to simulate memory allocation errors | ||
141 | -#CFLAGS += -DDIAG_MEM_ERRORS -DDIAG_MEM_CONST=5 | ||
142 | +#override CFLAGS += -DDIAG_MEM_ERRORS -DDIAG_MEM_CONST=5 | ||
143 | |||
144 | LIBNAME=libsahara | ||
145 | SONAMEVERSION=0 | ||
146 | @@ -53,7 +54,7 @@ | ||
147 | $(AR) $@ $^ | ||
148 | |||
149 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
150 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ | ||
151 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ $(LDFLAGS) | ||
152 | |||
153 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
154 | ln -s $< $@ | ||
155 | --- imx-lib-11.09.02.orig/screenlayer/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
156 | +++ imx-lib-11.09.02/screenlayer/Makefile 2014-09-02 13:04:37.086250568 -0700 | ||
157 | @@ -1,5 +1,6 @@ | ||
158 | CC ?=$(CROSS_COMPILE)gcc | ||
159 | AR ?=$(CROSS_COMPILE)ar | ||
160 | +CFLAGS ?=-O2 | ||
161 | INC = $(INCLUDE) -I../ipu | ||
162 | |||
163 | OBJS = ScreenLayer.o | ||
164 | @@ -24,13 +25,13 @@ | ||
165 | endif | ||
166 | |||
167 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
168 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -L../ipu -lipu | ||
169 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -L../ipu -lipu $(LDFLAGS) | ||
170 | |||
171 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
172 | ln -s $< $@ | ||
173 | |||
174 | %.o: %.c | ||
175 | - $(CC) $(INC) -Wall -O2 -fPIC -c $^ -o $@ | ||
176 | + $(CC) $(INC) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
177 | |||
178 | .PHONY: clean | ||
179 | clean: | ||
180 | --- imx-lib-11.09.02.orig/sim/Makefile 2014-09-02 13:04:37.114250749 -0700 | ||
181 | +++ imx-lib-11.09.02/sim/Makefile 2014-09-02 13:04:37.086250568 -0700 | ||
182 | @@ -1,9 +1,10 @@ | ||
183 | CC ?=$(CROSS_COMPILE)gcc | ||
184 | AR ?=$(CROSS_COMPILE)ar | ||
185 | +CFLAGS ?=-O2 | ||
186 | |||
187 | OBJS = iso7816-3.o | ||
188 | |||
189 | -CFLAGS += $(INCLUDE) | ||
190 | +override CFLAGS += $(INCLUDE) | ||
191 | |||
192 | LIBNAME=libsim | ||
193 | SONAMEVERSION=0 | ||
194 | @@ -21,13 +22,13 @@ | ||
195 | cp iso7816-3.h $(DEST_DIR)/usr/include | ||
196 | |||
197 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJS) | ||
198 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread | ||
199 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ -o $@ $^ -lpthread $(LDFLAGS) | ||
200 | |||
201 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
202 | ln -s $< $@ | ||
203 | |||
204 | %.o: %.c | ||
205 | - $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -O2 -fPIC -c $^ -o $@ | ||
206 | + $(CC) -D$(PLATFORM) $(INCLUDE) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
207 | |||
208 | else | ||
209 | all install : | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib.inc b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib.inc new file mode 100644 index 00000000..314e153b --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib.inc | |||
@@ -0,0 +1,30 @@ | |||
1 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
2 | |||
3 | DESCRIPTION = "Platform specific libraries for imx platform" | ||
4 | LICENSE = "LGPLv2.1" | ||
5 | SECTION = "multimedia" | ||
6 | DEPENDS = "virtual/kernel" | ||
7 | |||
8 | LIC_FILES_CHKSUM = "file://ipu/mxc_ipu_hl_lib.h;endline=13;md5=6c7486b21a8524b1879fa159578da31e" | ||
9 | |||
10 | PLATFORM_mx6 = "IMX6Q" | ||
11 | PLATFORM_mx5 = "IMX51" | ||
12 | PLATFORM_mx6sl = "IMX6S" | ||
13 | PLATFORM_mx6sx = "IMX6S" | ||
14 | |||
15 | PARALLEL_MAKE="-j 1" | ||
16 | EXTRA_OEMAKE = "" | ||
17 | |||
18 | SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz" | ||
19 | |||
20 | do_compile () { | ||
21 | INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include \ | ||
22 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ | ||
23 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" | ||
24 | |||
25 | oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all | ||
26 | } | ||
27 | |||
28 | do_install () { | ||
29 | oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install | ||
30 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_11.09.02.bb b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_11.09.02.bb new file mode 100644 index 00000000..16ca1df5 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_11.09.02.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | require imx-lib.inc | ||
3 | |||
4 | SRC_URI = "${FSL_MIRROR}/imx-lib-${PV}.tar.gz \ | ||
5 | file://obey-variables.patch" | ||
6 | SRC_URI[md5sum] = "a4e7447e35cfac0b966a51f001390d6e" | ||
7 | SRC_URI[sha256sum] = "3ed082005789db0c9c41e14073417319f4e23f5646a7d21f34840470f4328bd5" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx5)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb new file mode 100644 index 00000000..4768ce9d --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-lib/imx-lib_3.10.53-1.1.0.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | |||
3 | include imx-lib.inc | ||
4 | |||
5 | PE = "1" | ||
6 | |||
7 | SRC_URI[md5sum] = "c510512ebd2bae5a7e57079b9788960e" | ||
8 | SRC_URI[sha256sum] = "4db2c1f286f2478b8236e62de4df9d2a2c26ff727c752dc4f21e2910f4a5e5d7" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc new file mode 100644 index 00000000..cba72f58 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test.inc | |||
@@ -0,0 +1,69 @@ | |||
1 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
2 | |||
3 | SUMMARY = "Test programs for IMX BSP" | ||
4 | DESCRIPTION = "Unit tests for the IMX BSP" | ||
5 | SECTION = "base" | ||
6 | DEPENDS_mx5 = "virtual/kernel imx-lib imx-vpu" | ||
7 | DEPENDS_mx6q = "virtual/kernel imx-lib imx-vpu" | ||
8 | DEPENDS_mx6dl = "virtual/kernel imx-lib imx-vpu" | ||
9 | DEPENDS_mx6sl = "virtual/kernel imx-lib" | ||
10 | DEPENDS_mx6sx = "virtual/kernel imx-lib" | ||
11 | DEPENDS_mxs = "virtual/kernel" | ||
12 | |||
13 | LICENSE = "GPLv2" | ||
14 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
15 | |||
16 | PE = "1" | ||
17 | |||
18 | SRC_URI = "${FSL_MIRROR}/imx-test-${PV}.tar.gz" | ||
19 | |||
20 | inherit module-base | ||
21 | |||
22 | INHIBIT_PACKAGE_STRIP = "1" | ||
23 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
24 | |||
25 | PLATFORM_mx6 = "IMX6Q" | ||
26 | PLATFORM_mx6sl = "IMX6SL" | ||
27 | PLATFORM_mx6sx = "IMX6SX" | ||
28 | PLATFORM_mx53 = "IMX53" | ||
29 | PLATFORM_mx51 = "IMX51" | ||
30 | |||
31 | # Required so the fixdep binary is generated | ||
32 | addtask make_scripts after do_patch before do_compile | ||
33 | do_make_scripts[lockfiles] = "${TMPDIR}/kernel-scripts.lock" | ||
34 | do_make_scripts[deptask] = "do_populate_sysroot" | ||
35 | do_make_scripts[depends] += "virtual/kernel:do_install" | ||
36 | |||
37 | do_compile() { | ||
38 | CFLAGS="${TOOLCHAIN_OPTIONS}" | ||
39 | LDFLAGS="${TOOLCHAIN_OPTIONS} -L${STAGING_LIBDIR}" | ||
40 | oe_runmake V=1 VERBOSE='' \ | ||
41 | CROSS_COMPILE=${TARGET_PREFIX} \ | ||
42 | INC="-I${STAGING_INCDIR} \ | ||
43 | -I${S}/include \ | ||
44 | -I${STAGING_KERNEL_BUILDDIR}/include/uapi \ | ||
45 | -I${STAGING_KERNEL_BUILDDIR}/include \ | ||
46 | -I${STAGING_KERNEL_DIR}/include/uapi \ | ||
47 | -I${STAGING_KERNEL_DIR}/include \ | ||
48 | -I${STAGING_KERNEL_DIR}/arch/arm/include \ | ||
49 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/rng/include \ | ||
50 | -I${STAGING_KERNEL_DIR}/drivers/mxc/security/sahara2/include" \ | ||
51 | LINUXPATH=${STAGING_KERNEL_DIR} \ | ||
52 | KBUILD_OUTPUT=${STAGING_KERNEL_BUILDDIR} \ | ||
53 | PLATFORM=${PLATFORM} | ||
54 | } | ||
55 | |||
56 | do_install() { | ||
57 | oe_runmake DESTDIR=${D}/unit_tests \ | ||
58 | PLATFORM=${PLATFORM} \ | ||
59 | install | ||
60 | |||
61 | if [ -e ${WORKDIR}/clocks.sh ]; then | ||
62 | install -m 755 ${WORKDIR}/clocks.sh ${D}/unit_tests/clocks.sh | ||
63 | fi | ||
64 | } | ||
65 | |||
66 | FILES_${PN} += "/unit_tests" | ||
67 | RDEPENDS_${PN} = "bash" | ||
68 | |||
69 | FILES_${PN}-dbg += "/unit_tests/.debug" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test/Fix-build-in-OpenEmbedded-Core-environment.patch b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/Fix-build-in-OpenEmbedded-Core-environment.patch new file mode 100644 index 00000000..7497e91d --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/Fix-build-in-OpenEmbedded-Core-environment.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From fd826140db0f2a867ef588cccf2e5322cc77126a Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Mon, 19 Jan 2015 16:56:29 -0200 | ||
4 | Subject: [PATCH] Fix build in OpenEmbedded-Core environment | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Some of the unit-tests were not being built due to differences on how | ||
8 | the build system behaves when running inside of the OE-Core. This | ||
9 | fixes those minor issues and increases the number of tests available. | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
14 | |||
15 | diff --git a/test/ar3k_bt/Makefile b/test/ar3k_bt/Makefile | ||
16 | index 92e2901..75d3e78 100755 | ||
17 | --- a/test/ar3k_bt/Makefile | ||
18 | +++ b/test/ar3k_bt/Makefile | ||
19 | @@ -21,7 +21,7 @@ all: $(OBJS) | ||
20 | CFLAGS += -lbluetooth | ||
21 | |||
22 | $(OBJDIR)/hciattach-ar3k.bin : | ||
23 | - $(CC) ${INC} -Wall -lbluetooth -g hciattach_ath3k.c hciattach.c hciattach_qualcomm.c hciattach_st.c hciattach_tialt.c hciattach_ti.c -o hciattach-ar3k.bin | ||
24 | + $(CC) ${INC} -Wall -lbluetooth -g hciattach_ath3k.c hciattach.c hciattach_qualcomm.c hciattach_st.c hciattach_tialt.c hciattach_ti.c -o $(OBJDIR)/hciattach-ar3k.bin | ||
25 | |||
26 | clean: | ||
27 | rm -f *.o hciattach-ar3k.bin | ||
28 | -- | ||
29 | 2.1.4 | ||
30 | |||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test/clocks.sh b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/clocks.sh new file mode 100755 index 00000000..2121bef6 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/clocks.sh | |||
@@ -0,0 +1,29 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | # This script is taken directly from the section 5.10 of the Freescale Application Note | ||
4 | # AN4509 and it simple prints the CPU clocks in a nice format | ||
5 | |||
6 | saved_path=$PWD | ||
7 | if ! mount|grep -sq '/sys/kernel/debug'; then | ||
8 | mount -t debugfs none /sys/kernel/debug | ||
9 | fi | ||
10 | |||
11 | printf "%-24s %-20s %3s %9s\n" "clock" "parent" "use" "flags" "rate" | ||
12 | |||
13 | for foo in $(find /sys/kernel/debug/clock -type d); do | ||
14 | if [ "$foo" = '/sys/kernel/debug/clock' ]; then | ||
15 | continue | ||
16 | fi | ||
17 | cd $foo | ||
18 | ec="$(cat usecount)" | ||
19 | rate="$(cat rate)" | ||
20 | flag="$(cat flags)" | ||
21 | clk="$(basename $foo)" | ||
22 | cd .. | ||
23 | parent="$(basename $PWD)" | ||
24 | if [ "$parent" = 'clock' ]; then | ||
25 | parent=" ---" | ||
26 | fi | ||
27 | printf "%-24s %-24s %2d %2d %10d\n" "$clk" "$parent" "$ec" "$flag" "$rate" | ||
28 | cd $saved_path | ||
29 | done | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test/revert_epdc_hdr_change.patch b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/revert_epdc_hdr_change.patch new file mode 100644 index 00000000..4fb0564a --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test/revert_epdc_hdr_change.patch | |||
@@ -0,0 +1,30 @@ | |||
1 | From e559eb0a9573b9011c03efaf42364dce67af893a Mon Sep 17 00:00:00 2001 | ||
2 | From: Lauren Post <lauren.post@freescale.com> | ||
3 | Date: Tue, 10 Sep 2013 10:58:28 -0500 | ||
4 | Subject: [PATCH] ENGR00279068-2 epdc_test_driver: Update header name change | ||
5 | of mxc_epdc.h | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Lauren Post <lauren.post@freescale.com> | ||
10 | Signed-off-by: Frank Li <Frank.li@freescale.com> | ||
11 | --- | ||
12 | module_test/epdc_test_driver.c | 4 ++-- | ||
13 | 1 file changed, 1 insertions(+), 1 deletions(-) | ||
14 | |||
15 | diff --git a/module_test/epdc_test_driver.c b/module_test/epdc_test_driver.c | ||
16 | index fb15aec..447246f 100644 | ||
17 | --- a/module_test/epdc_test_driver.c | ||
18 | +++ b/module_test/epdc_test_driver.c | ||
19 | @@ -36,7 +36,7 @@ | ||
20 | |||
21 | #include <linux/device.h> | ||
22 | #include <linux/mxcfb.h> | ||
23 | -#include <linux/mxcfb_epdc.h> | ||
24 | +#include <linux/mxcfb_epdc_kernel.h> | ||
25 | |||
26 | /* major number of device */ | ||
27 | static int gMajor; | ||
28 | -- | ||
29 | 1.7.9.5 | ||
30 | |||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test_00.00.00.bb b/meta-fsl-arm/recipes-bsp/imx-test/imx-test_00.00.00.bb new file mode 100644 index 00000000..f38dc67f --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test_00.00.00.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | SUMMARY = "Dummy package for SoCs lacking imx-test package" | ||
2 | DESCRIPTION = "Dummy package for SoCs lacking imx-test package" | ||
3 | SECTION = "base" | ||
4 | LICENSE = "MIT" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" | ||
6 | |||
7 | ALLOW_EMPTY_${PN} = "1" | ||
8 | |||
9 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
10 | COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6|vf50|vf60)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-test/imx-test_3.14.28-1.0.0.bb b/meta-fsl-arm/recipes-bsp/imx-test/imx-test_3.14.28-1.0.0.bb new file mode 100644 index 00000000..fc2ad1d5 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-test/imx-test_3.14.28-1.0.0.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | |||
3 | include imx-test.inc | ||
4 | |||
5 | SRC_URI_append_mx5 = " file://revert_epdc_hdr_change.patch \ | ||
6 | file://clocks.sh" | ||
7 | SRC_URI_append_mxs = " file://revert_epdc_hdr_change.patch \ | ||
8 | file://clocks.sh" | ||
9 | |||
10 | SRC_URI[md5sum] = "f349aed49830a21cc75d305b06979205" | ||
11 | SRC_URI[sha256sum] = "ea3d572e82a374bcfc9acc654b66262cd97a246ffec9fb9fc458b19a02512723" | ||
12 | |||
13 | COMPATIBLE_MACHINE = "(mxs|mx5|mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-uuc/imx-uuc_0.5.bb b/meta-fsl-arm/recipes-bsp/imx-uuc/imx-uuc_0.5.bb new file mode 100644 index 00000000..b172b32c --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-uuc/imx-uuc_0.5.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | # Copyright (C) 2014 Freescale Semiconductor | ||
2 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
3 | |||
4 | SUMMARY = "Universal Adapter source" | ||
5 | SECTION = "base" | ||
6 | DEPENDS = "virtual/kernel" | ||
7 | LICENSE = "GPLv2" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz" | ||
11 | SRC_URI[md5sum] = "4a82f106f85199c91a058ee54c127477" | ||
12 | SRC_URI[sha256sum] = "ec5894ab7967797c8500b4988d0aba6c6f78ef22b4a190f9db12be33df08faaf" | ||
13 | |||
14 | inherit autotools-brokensep | ||
15 | |||
16 | FILES_${PN} += "/linuxrc" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-11.09.02/obey-variables.patch b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-11.09.02/obey-variables.patch new file mode 100644 index 00000000..13f61b27 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu-11.09.02/obey-variables.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | Obey CFLAGS, LDFLAGS | ||
2 | |||
3 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> | ||
4 | Upstream-status: Pending | ||
5 | |||
6 | --- imx-vpu-11.09.02.orig/vpu/Makefile 2014-09-02 13:14:50.862005896 -0700 | ||
7 | +++ imx-vpu-11.09.02/vpu/Makefile 2014-09-02 13:15:15.018153222 -0700 | ||
8 | @@ -1,5 +1,6 @@ | ||
9 | CC ?=$(CROSS_COMPILE)gcc | ||
10 | AR ?=$(CROSS_COMPILE)ar | ||
11 | +CFLAGS ?= -O2 | ||
12 | |||
13 | # list of platforms which want this test case | ||
14 | INCLUDE_LIST:= IMX27ADS IMX51 IMX53 IMX6Q | ||
15 | @@ -33,10 +34,10 @@ | ||
16 | endif | ||
17 | |||
18 | %.o: %.c | ||
19 | - $(CC) -D$(PLATFORM) -Wall -O2 -fPIC -c $^ -o $@ | ||
20 | + $(CC) -D$(PLATFORM) -Wall -fPIC $(CFLAGS) -c $^ -o $@ | ||
21 | |||
22 | $(LIBNAME).so.$(SONAMEVERSION): $(OBJ) | ||
23 | - $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ | ||
24 | + $(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ $(LDFLAGS) | ||
25 | |||
26 | $(LIBNAME).so: $(LIBNAME).so.$(SONAMEVERSION) | ||
27 | ln -s $< $@ | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu.inc b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu.inc new file mode 100644 index 00000000..fd59770a --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu.inc | |||
@@ -0,0 +1,22 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | DESCRIPTION = "Freescale VPU library" | ||
3 | LICENSE = "Proprietary" | ||
4 | LIC_FILES_CHKSUM = "file://vpu/EULA.txt;md5=b063366b066c9f10037c59756a9ced54" | ||
5 | DEPENDS = "virtual/kernel" | ||
6 | inherit fsl-eula-unpack | ||
7 | |||
8 | PLATFORM_mx5 = "IMX51" | ||
9 | PLATFORM_mx6 = "IMX6Q" | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | do_compile () { | ||
14 | INCLUDE_DIR="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" | ||
15 | |||
16 | oe_runmake CROSS_COMPILE="${HOST_PREFIX}" PLATFORM="${PLATFORM}" INCLUDE="${INCLUDE_DIR}" all | ||
17 | } | ||
18 | |||
19 | do_install () { | ||
20 | oe_runmake PLATFORM="${PLATFORM}" DEST_DIR="${D}" install | ||
21 | } | ||
22 | |||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb new file mode 100644 index 00000000..c5dd9bd5 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_11.09.02.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | require imx-vpu.inc | ||
3 | |||
4 | SRC_URI += "file://obey-variables.patch" | ||
5 | SRC_URI[md5sum] = "1988a08687a09ef8590e66ff17ac6ed3" | ||
6 | SRC_URI[sha256sum] = "783f136aa9b9257d4bffbdaf05bdcb85d177c544c3f8a4674421ba7b065ed5c0" | ||
7 | |||
8 | COMPATIBLE_MACHINE = "(mx5)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.28.bb b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.28.bb new file mode 100644 index 00000000..6f691562 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/imx-vpu/imx-vpu_5.4.28.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | |||
3 | require imx-vpu.inc | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
6 | |||
7 | PE = "1" | ||
8 | |||
9 | SRC_URI[md5sum] = "774455b57aaa12bae2e2cecf39b63ac4" | ||
10 | SRC_URI[sha256sum] = "0a05af1a5978175de852b2cf61763ec789f2845df78edb8d02a28611439b57f7" | ||
11 | |||
12 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch b/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch new file mode 100644 index 00000000..0aebe00b --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-Fix-symlink-generation.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From adef7a71a3bd40650685183c8a023000423ec880 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 6 Jan 2015 12:03:27 -0200 | ||
4 | Subject: [PATCH] build: Fix symlink generation | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
10 | --- | ||
11 | Makefile | 5 ++--- | ||
12 | 1 file changed, 2 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | index ac46f5c..248b2eb 100644 | ||
16 | --- a/Makefile | ||
17 | +++ b/Makefile | ||
18 | @@ -14,9 +14,8 @@ install: | ||
19 | mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib | ||
20 | cp -f build/libmcc.so.* build/libmcc.a $(DESTDIR)/usr/lib | ||
21 | cp -f include/*.h $(DESTDIR)/usr/include | ||
22 | - cd $(DESTDIR)/usr/lib/ | ||
23 | - ln -sf libmcc.so.1.0 libmcc.so.1 | ||
24 | - ln -sf libmcc.so.1 libmcc.so | ||
25 | + ln -sf libmcc.so.1.0 $(DESTDIR)/usr/lib/libmcc.so.1 | ||
26 | + ln -sf libmcc.so.1 $(DESTDIR)/usr/lib/libmcc.so | ||
27 | |||
28 | clean: | ||
29 | rm -rf build | ||
30 | -- | ||
31 | 2.1.4 | ||
32 | |||
diff --git a/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch b/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch new file mode 100644 index 00000000..d004b78a --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/libmcc/libmcc/build-with-versioned-soname.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | libmcc: build with versioned soname | ||
2 | |||
3 | This adds a versioned soname to the shared library during linking. | ||
4 | Otherwise an application linked with '-lmcc' needs libmcc.so for execution, | ||
5 | having libmcc.so.1 would not be enough. | ||
6 | |||
7 | Signed-off-by: Max Krummenacher <max.oss.09@gmail.com> | ||
8 | --- a/Makefile 2015-01-07 17:09:13.657675270 +0100 | ||
9 | +++ b/Makefile 2015-01-07 17:21:19.457545709 +0100 | ||
10 | @@ -8,7 +8,7 @@ | ||
11 | $(AR) rcs $@ $< | ||
12 | |||
13 | build/libmcc.so.1.0: build/libmcc.o | ||
14 | - $(CC) -shared -o $@ $< | ||
15 | + $(CC) -shared -Wl,-soname,libmcc.so.1 -o $@ $< -lc | ||
16 | |||
17 | install: | ||
18 | mkdir -p $(DESTDIR)/usr/include $(DESTDIR)/usr/lib | ||
diff --git a/meta-fsl-arm/recipes-bsp/libmcc/libmcc_1.05.bb b/meta-fsl-arm/recipes-bsp/libmcc/libmcc_1.05.bb new file mode 100644 index 00000000..1140ed18 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/libmcc/libmcc_1.05.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | # Copyright (C) 2013 Timesys Corporation | ||
2 | SUMMARY = "Multicore communication Library" | ||
3 | LICENSE = "GPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" | ||
5 | |||
6 | DEPENDS = "virtual/kernel-module-mcc" | ||
7 | |||
8 | SRC_URI = "http://repository.timesys.com/buildsources/l/libmcc/libmcc-${PV}/libmcc-${PV}.tar.bz2 \ | ||
9 | file://build-Fix-symlink-generation.patch \ | ||
10 | file://build-with-versioned-soname.patch" | ||
11 | |||
12 | SRC_URI[md5sum] = "cc3965f162dd20b8e6b9babf5dd963ee" | ||
13 | SRC_URI[sha256sum] = "b98c1f857bf851e41c35c4fcdb823e83e0e058c746dffb50038c8759c8c1e104" | ||
14 | |||
15 | S = "${WORKDIR}/libmcc-${PV}" | ||
16 | |||
17 | CFLAGS += "-I${STAGING_KERNEL_DIR}/include" | ||
18 | |||
19 | RDEPENDS_${PN} = "virtual/kernel-module-mcc" | ||
20 | |||
21 | COMPATIBLE_MACHINE = "(vf60)" | ||
22 | |||
23 | do_install() { | ||
24 | oe_runmake 'DESTDIR=${D}' install | ||
25 | } | ||
26 | |||
27 | RDEPENDS_${PN}-dev += "virtual/kernel-module-mcc-dev" | ||
diff --git a/meta-fsl-arm/recipes-bsp/mqxboot/mqxboot_1.0.bb b/meta-fsl-arm/recipes-bsp/mqxboot/mqxboot_1.0.bb new file mode 100644 index 00000000..7f11a984 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/mqxboot/mqxboot_1.0.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | # Copyright (C) 2013 Timesys Corporation | ||
2 | SUMMARY = "MQX Image loader - starts an MQX image on the M4" | ||
3 | LICENSE = "GPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c49712341497d0b5f2e40c30dff2af9d" | ||
5 | |||
6 | DEPENDS = "virtual/kernel-module-mcc" | ||
7 | |||
8 | SRC_URI = "http://repository.timesys.com/buildsources/m/mqxboot/mqxboot-${PV}/mqxboot-${PV}.tar.bz2" | ||
9 | |||
10 | SRC_URI[md5sum] = "3de3c8b5f8cd6664870587d29c04c421" | ||
11 | SRC_URI[sha256sum] = "c2f66ae962fe2529578d5c007e3f91a36085b714a0ea276f47bc3aea90e69699" | ||
12 | |||
13 | S = "${WORKDIR}/mqxboot-${PV}" | ||
14 | |||
15 | CFLAGS += "-I${STAGING_KERNEL_DIR}/include" | ||
16 | |||
17 | RDEPENDS_${PN} = "virtual/kernel-module-mcc" | ||
18 | |||
19 | COMPATIBLE_MACHINE = "(vf60)" | ||
20 | |||
21 | do_install() { | ||
22 | oe_runmake 'DESTDIR=${D}' install | ||
23 | } | ||
diff --git a/meta-fsl-arm/recipes-bsp/mxsldr/mxsldr_git.bb b/meta-fsl-arm/recipes-bsp/mxsldr/mxsldr_git.bb new file mode 100644 index 00000000..497f6a19 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/mxsldr/mxsldr_git.bb | |||
@@ -0,0 +1,18 @@ | |||
1 | # Copyright (C) 2012 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Freescale i.MX233/i.MX28 USB loader" | ||
5 | DEPENDS = "libusb" | ||
6 | LICENSE = "GPLv2+" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
8 | |||
9 | SRCREV = "c40d80472525e1d57dae5317c028b745968c0399" | ||
10 | SRC_URI = "git://git.denx.de/mxsldr.git" | ||
11 | |||
12 | PV = "0.0.0+git${SRCPV}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit autotools-brokensep | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-fsl-arm/recipes-bsp/qe-ucode/qe-ucode_git.bb b/meta-fsl-arm/recipes-bsp/qe-ucode/qe-ucode_git.bb new file mode 100644 index 00000000..28af4b65 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/qe-ucode/qe-ucode_git.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | DESCRIPTION = "qe microcode binary" | ||
2 | SECTION = "qe-ucode" | ||
3 | LICENSE = "Freescale-EULA" | ||
4 | LIC_FILES_CHKSUM = "file://EULA;md5=60037ccba533a5995e8d1a838d85799c" | ||
5 | |||
6 | inherit deploy | ||
7 | |||
8 | SRC_URI = "git://git.freescale.com/ppc/sdk/qe-ucode.git;nobranch=1" | ||
9 | SRCREV= "49efc94b553de5c2a9bd28093592eff0068e161c" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | python () { | ||
14 | if not d.getVar("QE_UCODE", True): | ||
15 | PN = d.getVar("PN", True) | ||
16 | FILE = os.path.basename(d.getVar("FILE", True)) | ||
17 | bb.debug(1, "To build %s, see %s for instructions on \ | ||
18 | setting up your qe-ucode" % (PN, FILE)) | ||
19 | raise bb.parse.SkipPackage("because QE_UCODE is not set") | ||
20 | } | ||
21 | |||
22 | do_install () { | ||
23 | install -d ${D}/boot | ||
24 | install -m 644 ${QE_UCODE} ${D}/boot | ||
25 | } | ||
26 | |||
27 | do_deploy () { | ||
28 | install -d ${DEPLOYDIR}/boot | ||
29 | install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot | ||
30 | } | ||
31 | addtask deploy before do_build after do_install | ||
32 | |||
33 | PACKAGES += "${PN}-image" | ||
34 | FILES_${PN}-image += "/boot/*" | ||
35 | ALLOW_EMPTY_${PN} = "1" | ||
36 | COMPATIBLE_MACHINE = "(ls102xa)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch b/meta-fsl-arm/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch new file mode 100644 index 00000000..49d99fc5 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/rcw/rcw/rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | From f2e796c903b2a3f81dbd38da3dc087cb7539d307 Mon Sep 17 00:00:00 2001 | ||
2 | From: Zhenhua Luo <zhenhua.luo@freescale.com> | ||
3 | Date: Wed, 3 Sep 2014 03:03:42 -0500 | ||
4 | Subject: [PATCH] Makefile: make BOARDS/DESTDIR overidable and add endian | ||
5 | switch | ||
6 | |||
7 | 1. For one specific board, no need to build the rcw for all supported | ||
8 | targets, make BOARDS and DESTDIR overridable to achieve this. | ||
9 | 2. Add the endian swap for qspiboot rcw | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> | ||
14 | --- | ||
15 | Makefile | 4 ++-- | ||
16 | Makefile.inc | 9 +++++++-- | ||
17 | 2 files changed, 9 insertions(+), 4 deletions(-) | ||
18 | |||
19 | diff --git a/Makefile b/Makefile | ||
20 | index 6ec1697..0f94293 100644 | ||
21 | --- a/Makefile | ||
22 | +++ b/Makefile | ||
23 | @@ -1,5 +1,5 @@ | ||
24 | -DESTDIR = . | ||
25 | -BOARDS = b4420qds b4860qds \ | ||
26 | +DESTDIR ?= . | ||
27 | +BOARDS ?= b4420qds b4860qds \ | ||
28 | ls1021aqds ls1021atwr \ | ||
29 | p2041rdb p3041ds p4080ds p5020ds p5040ds \ | ||
30 | t1024qds t1023rdb t1024rdb t1040rdb t1042rdb t1042rdb_pi t1040qds \ | ||
31 | diff --git a/Makefile.inc b/Makefile.inc | ||
32 | index 4cadb2e..6e8b78f 100644 | ||
33 | --- a/Makefile.inc | ||
34 | +++ b/Makefile.inc | ||
35 | @@ -1,4 +1,4 @@ | ||
36 | -DESTDIR = . | ||
37 | +DESTDIR ?= . | ||
38 | INSTALL = install | ||
39 | PYTHON ?= python2 | ||
40 | RCW = $(PYTHON) ../rcw.py | ||
41 | @@ -18,7 +18,12 @@ all: $(targets) | ||
42 | install: $(targets) | ||
43 | $(INSTALL) -d $(DESTDIR) | ||
44 | @for file in $^; do \ | ||
45 | - $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \ | ||
46 | + case $$file in \ | ||
47 | + *qspiboot*) file_swap="`echo $$file | sed -e 's/qspiboot/qspiboot_swap/'`"; \ | ||
48 | + tclsh byte_swap.tcl $$file $$file_swap 8 ; \ | ||
49 | + $(INSTALL) -m 644 -D $$file_swap $(DESTDIR)/$$file_swap ;; \ | ||
50 | + *) $(INSTALL) -m 644 -D $$file $(DESTDIR)/$$file; \ | ||
51 | + esac \ | ||
52 | done | ||
53 | $(INSTALL) -m 644 -D README $(DESTDIR) | ||
54 | |||
55 | -- | ||
56 | 1.7.9.7 | ||
57 | |||
diff --git a/meta-fsl-arm/recipes-bsp/rcw/rcw_git.bb b/meta-fsl-arm/recipes-bsp/rcw/rcw_git.bb new file mode 100644 index 00000000..2a03309c --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/rcw/rcw_git.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | SUMMARY = "Reset Configuration Word" | ||
2 | DESCRIPTION = "Reset Configuration Word - hardware boot-time parameters for the QorIQ targets" | ||
3 | LICENSE = "BSD" | ||
4 | LIC_FILES_CHKSUM = "file://rcw.py;beginline=8;endline=28;md5=9ba0b28922dd187b06b6c8ebcfdd208e" | ||
5 | |||
6 | DEPENDS += "change-file-endianess-native" | ||
7 | |||
8 | inherit deploy | ||
9 | |||
10 | SRCBRANCH = "master" | ||
11 | SRCREV = "426f7a6535d93dac76f5125035e0938a85e778d2" | ||
12 | SRC_URI = "git://git.freescale.com/ppc/sdk/rcw.git;branch=${SRCBRANCH} \ | ||
13 | file://rcw-make-BOARDS-DESTDIR-overidable-in-Makefile.patch \ | ||
14 | " | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | EXTRA_OEMAKE = "BOARDS=${@d.getVar('MACHINE', True).replace('-64b','')} DESTDIR=${D}/boot/rcw/" | ||
19 | |||
20 | do_install () { | ||
21 | oe_runmake install | ||
22 | } | ||
23 | |||
24 | do_deploy () { | ||
25 | install -d ${DEPLOYDIR}/rcw | ||
26 | cp -r ${D}/boot/rcw/* ${DEPLOYDIR}/rcw/ | ||
27 | } | ||
28 | addtask deploy after do_install | ||
29 | |||
30 | PACKAGES += "${PN}-image" | ||
31 | FILES_${PN}-image += "/boot" | ||
32 | |||
33 | ALLOW_EMPTY_${PN} = "1" | ||
34 | |||
35 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
36 | COMPATIBLE_MACHINE = "(ls102xa)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb new file mode 100644 index 00000000..3981b604 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc-mxsboot_2015.04.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = "U-boot bootloader mxsboot tool" | ||
2 | LICENSE = "GPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" | ||
4 | SECTION = "bootloader" | ||
5 | DEPENDS = "openssl" | ||
6 | PROVIDES = "u-boot-mxsboot" | ||
7 | |||
8 | PV = "v2015.04+git${SRCPV}" | ||
9 | |||
10 | SRCREV = "10aced37cecf117e54e71bd700228f57dc34e579" | ||
11 | SRCBRANCH = "patches-2015.04" | ||
12 | |||
13 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit fsl-u-boot-localversion | ||
18 | |||
19 | EXTRA_OEMAKE = 'HOSTCC="${CC} ${CPPFLAGS}" HOSTLDFLAGS="-L${libdir} -L${base_libdir}" HOSTSTRIP=true CONFIG_MX28=y' | ||
20 | |||
21 | do_configure () { | ||
22 | oe_runmake sandbox_defconfig | ||
23 | } | ||
24 | |||
25 | do_compile () { | ||
26 | oe_runmake tools-only | ||
27 | } | ||
28 | |||
29 | do_install () { | ||
30 | install -d ${D}${bindir} | ||
31 | install -m 0755 tools/mxsboot ${D}${bindir}/uboot-mxsboot | ||
32 | ln -sf uboot-mxsboot ${D}${bindir}/mxsboot | ||
33 | } | ||
34 | |||
35 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc new file mode 100644 index 00000000..07fb5074 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | # Copyright (C) 2012-2014 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require recipes-bsp/u-boot/u-boot.inc | ||
5 | |||
6 | inherit fsl-u-boot-localversion | ||
7 | |||
8 | DESCRIPTION = "U-Boot based on mainline U-Boot used by FSL Community BSP in \ | ||
9 | order to provide support for some backported features and fixes, or because it \ | ||
10 | was submitted for revision and it takes some time to become part of a stable \ | ||
11 | version, or because it is not applicable for upstreaming." | ||
12 | LICENSE = "GPLv2+" | ||
13 | LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" | ||
14 | COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6|vf)" | ||
15 | |||
16 | DEPENDS_mxs += "elftosb-native openssl-native" | ||
17 | |||
18 | PROVIDES += "u-boot" | ||
19 | |||
20 | SRCBRANCH ??= "master" | ||
21 | |||
22 | SRC_URI = "git://github.com/Freescale/u-boot-fslc.git;branch=${SRCBRANCH}" | ||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | # FIXME: Allow linking of 'tools' binaries with native libraries | ||
27 | # used for generating the boot logo and other tools used | ||
28 | # during the build process. | ||
29 | EXTRA_OEMAKE += 'HOSTCC="${BUILD_CC} ${BUILD_CPPFLAGS}" \ | ||
30 | HOSTLDFLAGS="${BUILD_LDFLAGS}" \ | ||
31 | HOSTSTRIP=true' | ||
32 | |||
33 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb new file mode 100644 index 00000000..aeefc5a9 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-fslc_2015.04.bb | |||
@@ -0,0 +1,6 @@ | |||
1 | include u-boot-fslc.inc | ||
2 | |||
3 | PV = "v2015.04+git${SRCPV}" | ||
4 | |||
5 | SRCREV = "5d9ffd22149119c0acfd31efb8c4d40afca7ce6f" | ||
6 | SRCBRANCH = "patches-2015.04" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2014.04.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2014.04.bb new file mode 100644 index 00000000..f66114c7 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx-mfgtool_2014.04.bb | |||
@@ -0,0 +1,4 @@ | |||
1 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
2 | |||
3 | require u-boot-imx_${PV}.bb | ||
4 | require u-boot-mfgtool.inc | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch new file mode 100644 index 00000000..4b0ac9bf --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx53_loco_bootenv.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | diff --git a/include/configs/mx53_loco.h b/include/configs/mx53_loco.h | ||
2 | index 0f57f78..e8a6414 100644 | ||
3 | --- a/include/configs/mx53_loco.h | ||
4 | +++ b/include/configs/mx53_loco.h | ||
5 | @@ -114,22 +114,30 @@ | ||
6 | #define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000) | ||
7 | |||
8 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
9 | - "netdev=eth0\0" \ | ||
10 | - "ethprime=FEC0\0" \ | ||
11 | - "uboot=u-boot.bin\0" \ | ||
12 | - "kernel=uImage\0" \ | ||
13 | - "nfsroot=/opt/eldk/arm\0" \ | ||
14 | - "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ | ||
15 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
16 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
17 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
18 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
19 | - "bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \ | ||
20 | - "root=/dev/mmcblk0p1 rootwait rw\0" \ | ||
21 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
22 | - "mmc dev 0; " \ | ||
23 | - "mmc read ${loadaddr} 0x800 0x1800; bootm\0" \ | ||
24 | - "bootcmd=run bootcmd_mmc\0" \ | ||
25 | + "script=boot.scr\0" \ | ||
26 | + "uimage=uImage\0" \ | ||
27 | + "mmcdev=0\0" \ | ||
28 | + "mmcpart=1\0" \ | ||
29 | + "mmcroot=/dev/mmcblk0p2 rw\0" \ | ||
30 | + "mmcrootfstype=ext3 rootwait\0" \ | ||
31 | + "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
32 | + "root=${mmcroot} " \ | ||
33 | + "rootfstype=${mmcrootfstype}\0" \ | ||
34 | + "loadbootscript=" \ | ||
35 | + "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
36 | + "bootscript=echo Running bootscript from mmc ...; " \ | ||
37 | + "source\0" \ | ||
38 | + "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
39 | + "mmcboot=echo Booting from mmc ...; " \ | ||
40 | + "run mmcargs; " \ | ||
41 | + "bootm\0" \ | ||
42 | + "netargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
43 | + "root=/dev/nfs " \ | ||
44 | + "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ | ||
45 | + "netboot=echo Booting from net ...; " \ | ||
46 | + "run netargs; " \ | ||
47 | + "dhcp ${uimage}; bootm\0" \ | ||
48 | + "bootcmd=run loaduimage; run mmcboot;\0" \ | ||
49 | \ | ||
50 | |||
51 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch new file mode 100644 index 00000000..da4a771e --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6dl_sabresd-Change-default-environment-to-work-wit.patch | |||
@@ -0,0 +1,67 @@ | |||
1 | From 7ae3e4c665bd27111ee8ae2b801251b1d32f44cc Mon Sep 17 00:00:00 2001 | ||
2 | From: Daiane Angolini <daiane.angolini@freescale.com> | ||
3 | Date: Wed, 20 Mar 2013 03:57:54 -0500 | ||
4 | Subject: [PATCH] mx6dl_sabresd: Change default environment to work with OE | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com> | ||
9 | --- | ||
10 | include/configs/mx6dl_sabresd.h | 41 ++++++++++++++++++++++---------------- | ||
11 | 1 files changed, 24 insertions(+), 17 deletions(-) | ||
12 | |||
13 | diff --git a/include/configs/mx6dl_sabresd.h b/include/configs/mx6dl_sabresd.h | ||
14 | index a496453..6499d25 100644 | ||
15 | --- a/include/configs/mx6dl_sabresd.h | ||
16 | +++ b/include/configs/mx6dl_sabresd.h | ||
17 | @@ -121,23 +121,30 @@ | ||
18 | #define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000) | ||
19 | |||
20 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
21 | - "netdev=eth0\0" \ | ||
22 | - "ethprime=FEC0\0" \ | ||
23 | - "uboot=u-boot.bin\0" \ | ||
24 | - "kernel=uImage\0" \ | ||
25 | - "nfsroot=/opt/eldk/arm\0" \ | ||
26 | - "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ | ||
27 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
28 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
29 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
30 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
31 | - "bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \ | ||
32 | - "root=/dev/mmcblk0p1 rootwait\0" \ | ||
33 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
34 | - "mmc dev 3; " \ | ||
35 | - "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \ | ||
36 | - "bootcmd=run bootcmd_net\0" \ | ||
37 | - | ||
38 | + "script=boot.scr\0" \ | ||
39 | + "uimage=uImage\0" \ | ||
40 | + "mmcdev=2\0" \ | ||
41 | + "mmcpart=1\0" \ | ||
42 | + "mmcroot=/dev/mmcblk1p2 rw\0" \ | ||
43 | + "mmcrootfstype=ext3 rootwait\0" \ | ||
44 | + "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
45 | + "root=${mmcroot} " \ | ||
46 | + "rootfstype=${mmcrootfstype}\0" \ | ||
47 | + "loadbootscript=" \ | ||
48 | + "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
49 | + "bootscript=echo Running bootscript from mmc ...; " \ | ||
50 | + "source\0" \ | ||
51 | + "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
52 | + "mmcboot=echo Booting from mmc ...; " \ | ||
53 | + "run mmcargs; " \ | ||
54 | + "bootm\0" \ | ||
55 | + "netargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
56 | + "root=/dev/nfs " \ | ||
57 | + "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ | ||
58 | + "netboot=echo Booting from net ...; " \ | ||
59 | + "run netargs; " \ | ||
60 | + "dhcp ${uimage}; bootm\0" \ | ||
61 | + "bootcmd=run loaduimage; run mmcboot;\0" \ | ||
62 | |||
63 | #define CONFIG_ARP_TIMEOUT 200UL | ||
64 | |||
65 | -- | ||
66 | 1.7.5.4 | ||
67 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch new file mode 100644 index 00000000..80ef444f --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabreauto-Fix-the-patch-for-the-default-environ.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | From a81c7686f8c0c4fc6e88228f215092c00d4714c1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daiane Angolini <daiane.angolini@freescale.com> | ||
3 | Date: Tue, 30 Oct 2012 07:47:59 -0500 | ||
4 | Subject: [PATCH] mx6q_sabreauto: Fix the patch for the default environment | ||
5 | variable | ||
6 | |||
7 | Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com> | ||
8 | --- | ||
9 | include/configs/mx6q_sabreauto.h | 41 ++++++++++++++++++++++--------------- | ||
10 | 1 files changed, 24 insertions(+), 17 deletions(-) | ||
11 | |||
12 | diff --git a/include/configs/mx6q_sabreauto.h b/include/configs/mx6q_sabreauto.h | ||
13 | index 5f8f02c..5910eca 100644 | ||
14 | --- a/include/configs/mx6q_sabreauto.h | ||
15 | +++ b/include/configs/mx6q_sabreauto.h | ||
16 | @@ -121,23 +121,30 @@ | ||
17 | #define CONFIG_RD_LOADADDR (CONFIG_LOADADDR + 0x300000) | ||
18 | |||
19 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
20 | - "netdev=eth0\0" \ | ||
21 | - "ethprime=FEC0\0" \ | ||
22 | - "uboot=u-boot.bin\0" \ | ||
23 | - "kernel=uImage\0" \ | ||
24 | - "nfsroot=/opt/eldk/arm\0" \ | ||
25 | - "bootargs_base=setenv bootargs console=ttymxc3,115200\0"\ | ||
26 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
27 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
28 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
29 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
30 | - "bootargs_mmc=setenv bootargs ${bootargs} " \ | ||
31 | - "root=/dev/mmcblk0p1 rootwait\0" \ | ||
32 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
33 | - "mmc dev 2; " \ | ||
34 | - "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \ | ||
35 | - "bootcmd=run bootcmd_mmc\0" \ | ||
36 | - | ||
37 | + "script=boot.scr\0" \ | ||
38 | + "uimage=uImage\0" \ | ||
39 | + "mmcdev=2\0" \ | ||
40 | + "mmcpart=1\0" \ | ||
41 | + "mmcroot=/dev/mmcblk0p2 rw\0" \ | ||
42 | + "mmcrootfstype=ext3 rootwait\0" \ | ||
43 | + "mmcargs=setenv bootargs console=ttymxc3,${baudrate} " \ | ||
44 | + "root=${mmcroot} " \ | ||
45 | + "rootfstype=${mmcrootfstype}\0" \ | ||
46 | + "loadbootscript=" \ | ||
47 | + "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
48 | + "bootscript=echo Running bootscript from mmc ...; " \ | ||
49 | + "source\0" \ | ||
50 | + "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
51 | + "mmcboot=echo Booting from mmc ...; " \ | ||
52 | + "run mmcargs; " \ | ||
53 | + "bootm\0" \ | ||
54 | + "netargs=setenv bootargs console=ttymxc3,${baudrate} " \ | ||
55 | + "root=/dev/nfs " \ | ||
56 | + "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ | ||
57 | + "netboot=echo Booting from net ...; " \ | ||
58 | + "run netargs; " \ | ||
59 | + "dhcp ${uimage}; bootm\0" \ | ||
60 | + "bootcmd=run loaduimage; run mmcboot;\0" \ | ||
61 | |||
62 | #define CONFIG_ARP_TIMEOUT 200UL | ||
63 | |||
64 | -- | ||
65 | 1.7.5.4 | ||
66 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabresd-Change-default-environment-to-work-with.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabresd-Change-default-environment-to-work-with.patch new file mode 100644 index 00000000..bf85800f --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6q_sabresd-Change-default-environment-to-work-with.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | From 970f04b228a60c805cce41ef8403ba2c8cb56d97 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Wed, 13 Feb 2013 15:15:28 -0200 | ||
4 | Subject: [PATCH] mx6q_sabresd: Change default environment to work with OE | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
9 | --- | ||
10 | include/configs/mx6q_sabresd.h | 40 ++++++++++++++++++++++++---------------- | ||
11 | 1 file changed, 24 insertions(+), 16 deletions(-) | ||
12 | |||
13 | diff --git a/include/configs/mx6q_sabresd.h b/include/configs/mx6q_sabresd.h | ||
14 | index 6f07961..db31a34 100644 | ||
15 | --- a/include/configs/mx6q_sabresd.h | ||
16 | +++ b/include/configs/mx6q_sabresd.h | ||
17 | @@ -116,22 +116,30 @@ | ||
18 | #define CONFIG_RD_LOADADDR (0x1300000) | ||
19 | |||
20 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
21 | - "netdev=eth0\0" \ | ||
22 | - "ethprime=FEC0\0" \ | ||
23 | - "uboot=u-boot.bin\0" \ | ||
24 | - "kernel=uImage\0" \ | ||
25 | - "nfsroot=/opt/eldk/arm\0" \ | ||
26 | - "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ | ||
27 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
28 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
29 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
30 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
31 | - "bootargs_mmc=setenv bootargs ${bootargs} ip=dhcp " \ | ||
32 | - "root=/dev/mmcblk0p1 rootwait\0" \ | ||
33 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
34 | - "mmc dev 3; " \ | ||
35 | - "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \ | ||
36 | - "bootcmd=run bootcmd_net\0" \ | ||
37 | + "script=boot.scr\0" \ | ||
38 | + "uimage=uImage\0" \ | ||
39 | + "mmcdev=2\0" \ | ||
40 | + "mmcpart=1\0" \ | ||
41 | + "mmcroot=/dev/mmcblk0p2 rw\0" \ | ||
42 | + "mmcrootfstype=ext3 rootwait\0" \ | ||
43 | + "mmcargs=setenv bootargs console=ttymxc3,${baudrate} " \ | ||
44 | + "root=${mmcroot} " \ | ||
45 | + "rootfstype=${mmcrootfstype}\0" \ | ||
46 | + "loadbootscript=" \ | ||
47 | + "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
48 | + "bootscript=echo Running bootscript from mmc ...; " \ | ||
49 | + "source\0" \ | ||
50 | + "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
51 | + "mmcboot=echo Booting from mmc ...; " \ | ||
52 | + "run mmcargs; " \ | ||
53 | + "bootm\0" \ | ||
54 | + "netargs=setenv bootargs console=ttymxc3,${baudrate} " \ | ||
55 | + "root=/dev/nfs " \ | ||
56 | + "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ | ||
57 | + "netboot=echo Booting from net ...; " \ | ||
58 | + "run netargs; " \ | ||
59 | + "dhcp ${uimage}; bootm\0" \ | ||
60 | + "bootcmd=run loaduimage; run mmcboot;\0" \ | ||
61 | |||
62 | |||
63 | #define CONFIG_ARP_TIMEOUT 200UL | ||
64 | -- | ||
65 | 1.8.1 | ||
66 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch new file mode 100644 index 00000000..5d3f868d --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx/mx6sl_evk-Fix-the-patch-for-the-default-environment-.patch | |||
@@ -0,0 +1,67 @@ | |||
1 | From bf99fdddbca321f7e74ed82febbe4b5539e3ac66 Mon Sep 17 00:00:00 2001 | ||
2 | From: Daiane Angolini <daiane.angolini@freescale.com> | ||
3 | Date: Thu, 14 Mar 2013 16:35:35 -0300 | ||
4 | Subject: [PATCH] mx6sl_evk: Change the patch for the default environment | ||
5 | variable | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | |||
9 | Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com> | ||
10 | --- | ||
11 | include/configs/mx6sl_evk.h | 40 ++++++++++++++++++++++++---------------- | ||
12 | 1 file changed, 24 insertions(+), 16 deletions(-) | ||
13 | |||
14 | diff --git a/include/configs/mx6sl_evk.h b/include/configs/mx6sl_evk.h | ||
15 | index 4c327bc..dfb6374 100644 | ||
16 | --- a/include/configs/mx6sl_evk.h | ||
17 | +++ b/include/configs/mx6sl_evk.h | ||
18 | @@ -122,22 +122,30 @@ | ||
19 | #define CONFIG_RD_LOADADDR 0x81000000 | ||
20 | |||
21 | #define CONFIG_EXTRA_ENV_SETTINGS \ | ||
22 | - "netdev=eth0\0" \ | ||
23 | - "ethprime=FEC0\0" \ | ||
24 | - "uboot=u-boot.bin\0" \ | ||
25 | - "kernel=uImage\0" \ | ||
26 | - "nfsroot=/opt/eldk/arm\0" \ | ||
27 | - "bootargs_base=setenv bootargs console=ttymxc0,115200\0"\ | ||
28 | - "bootargs_nfs=setenv bootargs ${bootargs} root=/dev/nfs "\ | ||
29 | - "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0"\ | ||
30 | - "bootcmd_net=run bootargs_base bootargs_nfs; " \ | ||
31 | - "tftpboot ${loadaddr} ${kernel}; bootm\0" \ | ||
32 | - "bootargs_mmc=setenv bootargs ${bootargs} " \ | ||
33 | - "root=/dev/mmcblk0p1 rootwait\0" \ | ||
34 | - "bootcmd_mmc=run bootargs_base bootargs_mmc; " \ | ||
35 | - "mmc dev 1; " \ | ||
36 | - "mmc read ${loadaddr} 0x800 0x2000; bootm\0" \ | ||
37 | - "bootcmd=run bootcmd_mmc\0" \ | ||
38 | + "script=boot.scr\0" \ | ||
39 | + "uimage=uImage\0" \ | ||
40 | + "mmcdev=1\0" \ | ||
41 | + "mmcpart=1\0" \ | ||
42 | + "mmcroot=/dev/mmcblk0p2 rw\0" \ | ||
43 | + "mmcrootfstype=ext3 rootwait\0" \ | ||
44 | + "mmcargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
45 | + "root=${mmcroot} " \ | ||
46 | + "rootfstype=${mmcrootfstype}\0" \ | ||
47 | + "loadbootscript=" \ | ||
48 | + "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ | ||
49 | + "bootscript=echo Running bootscript from mmc ...; " \ | ||
50 | + "source\0" \ | ||
51 | + "loaduimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${uimage}\0" \ | ||
52 | + "mmcboot=echo Booting from mmc ...; " \ | ||
53 | + "run mmcargs; " \ | ||
54 | + "bootm\0" \ | ||
55 | + "netargs=setenv bootargs console=ttymxc0,${baudrate} " \ | ||
56 | + "root=/dev/nfs " \ | ||
57 | + "ip=dhcp nfsroot=${serverip}:${nfsroot},v3,tcp\0" \ | ||
58 | + "netboot=echo Booting from net ...; " \ | ||
59 | + "run netargs; " \ | ||
60 | + "dhcp ${uimage}; bootm\0" \ | ||
61 | + "bootcmd=run loaduimage; run mmcboot;\0" \ | ||
62 | |||
63 | |||
64 | #define CONFIG_ARP_TIMEOUT 200UL | ||
65 | -- | ||
66 | 1.7.10.4 | ||
67 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb new file mode 100644 index 00000000..ebae6922 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2014.04.bb | |||
@@ -0,0 +1,22 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | |||
3 | DESCRIPTION = "U-Boot provided by Freescale with focus on i.MX reference boards." | ||
4 | require recipes-bsp/u-boot/u-boot.inc | ||
5 | |||
6 | PROVIDES += "u-boot" | ||
7 | |||
8 | LICENSE = "GPLv2+" | ||
9 | LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
10 | |||
11 | SRCBRANCH = "imx_v2014.04_3.14.28_1.0.0_ga" | ||
12 | SRC_URI = "git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=${SRCBRANCH}" | ||
13 | SRCREV = "88123ea911e133724cbe738c2b0517fa470592c0" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | inherit fsl-u-boot-localversion | ||
18 | |||
19 | LOCALVERSION ?= "-${SRCBRANCH}" | ||
20 | |||
21 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
22 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2015.01.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2015.01.bb new file mode 100644 index 00000000..716105f4 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-ls1_2015.01.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | require recipes-bsp/u-boot/u-boot.inc | ||
2 | |||
3 | DESCRIPTION = "U-Boot provided by Freescale with focus on QorIQ Layerscape1 boards" | ||
4 | LICENSE = "GPLv2 & BSD-3-Clause & BSD-2-Clause & LGPL-2.0 & LGPL-2.1" | ||
5 | LIC_FILES_CHKSUM = " \ | ||
6 | file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
7 | file://Licenses/bsd-2-clause.txt;md5=6a31f076f5773aabd8ff86191ad6fdd5 \ | ||
8 | file://Licenses/bsd-3-clause.txt;md5=4a1190eac56a9db675d58ebe86eaf50c \ | ||
9 | file://Licenses/lgpl-2.0.txt;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
10 | file://Licenses/lgpl-2.1.txt;md5=4fbd65380cdd255951079008b364516c \ | ||
11 | " | ||
12 | |||
13 | SRCBRANCH = "master" | ||
14 | SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH}" | ||
15 | SRCREV = "6ba8eedbcdc4b063f59a63e6288b938af739e8ad" | ||
16 | |||
17 | LOCALVERSION ?= "+ls1" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | inherit fsl-u-boot-localversion | ||
22 | |||
23 | DEPENDS += "change-file-endianess-native dtc-native" | ||
24 | PROVIDES += "u-boot" | ||
25 | |||
26 | do_compile_append () { | ||
27 | if [ "x${UBOOT_CONFIG}" != "x" ] | ||
28 | then | ||
29 | for config in ${UBOOT_MACHINE}; do | ||
30 | case "${config}" in | ||
31 | *spi*) tclsh ${STAGING_BINDIR_NATIVE}/byte_swap.tcl ${S}/${config}/u-boot-dtb.bin ${S}/${config}/u-boot.swap.bin 8 | ||
32 | mv ${S}/${config}/u-boot.swap.bin ${S}/u-boot-${type}.${UBOOT_SUFFIX};; | ||
33 | *sdcard*) mv ${S}/${config}/u-boot-with-spl-pbl.bin ${S}/${config}/u-boot.bin;; | ||
34 | *nand*) mv ${S}/u-boot-with-spl-pbl.bin ${S}/u-boot.bin;; | ||
35 | esac | ||
36 | done | ||
37 | fi | ||
38 | |||
39 | } | ||
40 | |||
41 | PACKAGES += "${PN}-images" | ||
42 | FILES_${PN}-images += "/boot" | ||
43 | |||
44 | ALLOW_EMPTY_${PN} = "1" | ||
45 | |||
46 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
47 | COMPATIBLE_MACHINE = "(ls102xa)" | ||
48 | |||
diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-mfgtool.inc b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-mfgtool.inc new file mode 100644 index 00000000..91526ad7 --- /dev/null +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-mfgtool.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | # Produces a Manufacturing Tool compatible U-Boot | ||
2 | # | ||
3 | # This makes a separated binary set for Manufacturing Tool use | ||
4 | # without clobbering the U-Boot used for normal use. | ||
5 | # | ||
6 | # This file must to be included after the original u-boot.inc file, | ||
7 | # as it overrides the need values. | ||
8 | # | ||
9 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
10 | |||
11 | # Adjust provides | ||
12 | PROVIDES = "u-boot-mfgtool" | ||
13 | |||
14 | # Use 'mfgtool' config | ||
15 | UBOOT_CONFIG = "mfgtool" | ||
16 | |||
17 | # Add 'mfgtool' suffix | ||
18 | UBOOT_IMAGE = "u-boot-${MACHINE}-mfgtool-${PV}-${PR}.${UBOOT_SUFFIX}" | ||
19 | UBOOT_SYMLINK = "u-boot-${MACHINE}-mfgtool.${UBOOT_SUFFIX}" | ||
20 | SPL_IMAGE = "${SPL_BINARY}-${MACHINE}-mfgtool-${PV}-${PR}" | ||
21 | SPL_SYMLINK = "${SPL_BINARY}-mfgtool-${MACHINE}" | ||
diff --git a/meta-fsl-arm/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend b/meta-fsl-arm/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend new file mode 100644 index 00000000..20545062 --- /dev/null +++ b/meta-fsl-arm/recipes-core/packagegroup/nativesdk-packagegroup-sdk-host.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | RDEPENDS_${PN} += " \ | ||
2 | nativesdk-elftosb \ | ||
3 | nativesdk-mxsldr \ | ||
4 | nativesdk-u-boot-mkimage \ | ||
5 | " | ||
diff --git a/meta-fsl-arm/recipes-core/udev/udev-rules-imx.bb b/meta-fsl-arm/recipes-core/udev/udev-rules-imx.bb new file mode 100644 index 00000000..e37d38de --- /dev/null +++ b/meta-fsl-arm/recipes-core/udev/udev-rules-imx.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | DESCRIPTION = "udev rules for Freescale i.MX SOCs" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690" | ||
4 | |||
5 | SRC_URI = " file://10-imx.rules" | ||
6 | |||
7 | S = "${WORKDIR}" | ||
8 | |||
9 | do_install () { | ||
10 | install -d ${D}${sysconfdir}/udev/rules.d | ||
11 | install -m 0644 ${WORKDIR}/10-imx.rules ${D}${sysconfdir}/udev/rules.d/ | ||
12 | } | ||
diff --git a/meta-fsl-arm/recipes-core/udev/udev-rules-imx/10-imx.rules b/meta-fsl-arm/recipes-core/udev/udev-rules-imx/10-imx.rules new file mode 100644 index 00000000..6afc1e8e --- /dev/null +++ b/meta-fsl-arm/recipes-core/udev/udev-rules-imx/10-imx.rules | |||
@@ -0,0 +1,23 @@ | |||
1 | # Create symlinks for i.mx keypads and touchscreens | ||
2 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxckpd", SYMLINK+="input/keyboard0" | ||
3 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mxc_ts", SYMLINK+="input/ts0" | ||
4 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="imx_adc_ts", SYMLINK+="input/ts0" | ||
5 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="mpr084", SYMLINK+="input/keyboard0" | ||
6 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name}=="tsc2007", SYMLINK+="input/ts0" | ||
7 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="STMP3XXX touchscreen", SYMLINK+="input/ts0" | ||
8 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="MXS touchscreen", SYMLINK+="input/ts0" | ||
9 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="HannStar P1003 Touchscreen", SYMLINK+="input/ts0" | ||
10 | #SUBSYSTEM=="input" KERNEL=="event*" ATTRS{name} =="eGalax Touch Screen", SYMLINK+="input/ts0" | ||
11 | |||
12 | # The long class name gets cut off to be mc13783_connectiv in | ||
13 | # /sys/class/mc13783_connectivity/mc13783_connectivit | ||
14 | KERNEL=="mc13783_connectiv*", NAME="mc13783_connectivity" | ||
15 | # Anyone has readonly permission to IIM device file | ||
16 | KERNEL=="mxc_iim", MODE="0444", SYMLINK+="mxc_mem" | ||
17 | KERNEL=="mxs_viim", MODE="0444", SYMLINK+="mxc_mem" | ||
18 | KERNEL=="mxc_ipu", MODE="0666" | ||
19 | KERNEL=="mxc_vpu", MODE="0666" | ||
20 | SUBSYSTEM=="video", MODE="0660" | ||
21 | KERNEL=="fb[0-9]", MODE="0660", GROUP="video" | ||
22 | KERNEL=="gsl_kmod", MODE="0660", GROUP="video" | ||
23 | KERNEL=="galcore", MODE="0660", GROUP="video" | ||
diff --git a/meta-fsl-arm/recipes-devtools/cst/cst_git.bb b/meta-fsl-arm/recipes-devtools/cst/cst_git.bb new file mode 100644 index 00000000..08dbd561 --- /dev/null +++ b/meta-fsl-arm/recipes-devtools/cst/cst_git.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | DESCRIPTION = "utility for security boot" | ||
2 | SECTION = "cst" | ||
3 | LICENSE = "BSD" | ||
4 | |||
5 | # TODO: fix license - this file is not a license | ||
6 | LIC_FILES_CHKSUM = "file://RELEASENOTES;beginline=8;endline=43;md5=5a7b22a2c96b5f94e0498c5f413aa8d3" | ||
7 | |||
8 | DEPENDS += "openssl" | ||
9 | |||
10 | inherit kernel-arch | ||
11 | |||
12 | SRC_URI = "git://git.freescale.com/ppc/sdk/cst.git;branch=master" | ||
13 | SRCREV = "6f57c86c93cab0f4d0a40d83b685afa6932a6301" | ||
14 | |||
15 | S = "${WORKDIR}/git" | ||
16 | |||
17 | EXTRA_OEMAKE = 'CC="${CC}" LD="${CC}"' | ||
18 | |||
19 | PARALLEL_MAKE = "" | ||
20 | |||
21 | do_install () { | ||
22 | oe_runmake install DESTDIR=${D} BIN_DEST_DIR=${bindir} | ||
23 | } | ||
24 | |||
25 | FILES_${PN}-dbg += "${bindir}/cst/.debug" | ||
26 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta-fsl-arm/recipes-devtools/devregs/devregs_git.bb b/meta-fsl-arm/recipes-devtools/devregs/devregs_git.bb new file mode 100644 index 00000000..3bac55a4 --- /dev/null +++ b/meta-fsl-arm/recipes-devtools/devregs/devregs_git.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | DESCRIPTION = "i.MX Register tool" | ||
2 | SECTION = "devel" | ||
3 | LICENSE = "GPL-1" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=5003fa041d799dd5dd5f646b74e36924" | ||
5 | |||
6 | SRCREV = "34ed402b92920864b89e0fd1e76bae3aa340baaa" | ||
7 | SRC_URI = "git://github.com/boundarydevices/devregs.git;protocol=http" | ||
8 | |||
9 | PV = "1.0+${SRCPV}" | ||
10 | |||
11 | S = "${WORKDIR}/git" | ||
12 | |||
13 | inherit autotools | ||
diff --git a/meta-fsl-arm/recipes-devtools/qemu/qemu-fsl_git.bb b/meta-fsl-arm/recipes-devtools/qemu/qemu-fsl_git.bb new file mode 100644 index 00000000..94fb9b19 --- /dev/null +++ b/meta-fsl-arm/recipes-devtools/qemu/qemu-fsl_git.bb | |||
@@ -0,0 +1,49 @@ | |||
1 | require recipes-devtools/qemu/qemu.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=441c28d2cf86e15a37fa47e15a72fbac \ | ||
4 | file://COPYING.LIB;endline=24;md5=c04def7ae38850e7d3ef548588159913" | ||
5 | |||
6 | # This means QEMU v2.2.0 with FSL specific patches applied | ||
7 | PV = "2.2.0+${SRCPV}" | ||
8 | |||
9 | # NOTE: this recipe requires poky's qemu.inc which assumes version 2.3 | ||
10 | # where glx enable config option changed to --enable-opengl. For now we | ||
11 | # restore it, but we should remove the following lines when upgrading | ||
12 | # to qemu 2.3: | ||
13 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,mesa" | ||
14 | |||
15 | SRC_URI = "git://git.freescale.com/ppc/sdk/qemu.git;branch=master" | ||
16 | SRCREV = "00ac004143e9fe46944a1885b04268fcd3a95a3a" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | QEMU_TARGETS = "arm" | ||
21 | |||
22 | inherit pkgconfig | ||
23 | |||
24 | # Append build host pkg-config paths for native target since the host may provide sdl | ||
25 | do_configure_prepend() { | ||
26 | export PKG_CONFIG=${STAGING_DIR_NATIVE}${bindir_native}/pkg-config | ||
27 | } | ||
28 | |||
29 | do_configure_append () { | ||
30 | if ! grep 'CONFIG_FDT=y' config-host.mak; then | ||
31 | echo "CONFIG_RDMA=y" >> config_host_mak | ||
32 | fi | ||
33 | } | ||
34 | |||
35 | # gets around qemu.inc trying to install powerpc_rom.bin | ||
36 | do_install_prepend() { | ||
37 | touch ${WORKDIR}/powerpc_rom.bin | ||
38 | } | ||
39 | |||
40 | do_install_append() { | ||
41 | rm ${WORKDIR}/powerpc_rom.bin | ||
42 | # Prevent QA warnings about installed ${localstatedir}/run | ||
43 | if [ -d ${D}${localstatedir}/run ]; then rmdir ${D}${localstatedir}/run; fi | ||
44 | } | ||
45 | |||
46 | FILES_${PN} += "/usr/share/qemu/" | ||
47 | |||
48 | # FIXME: Avoid WARNING due missing patch for native/nativesdk | ||
49 | BBCLASSEXTEND = "" | ||
diff --git a/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb b/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb new file mode 100644 index 00000000..7d79d1ef --- /dev/null +++ b/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
2 | |||
3 | DESCRIPTION = "Small image to be used with Manufacturing Tool \ | ||
4 | (mfg-tool) in a production environment." | ||
5 | |||
6 | LICENSE = "MIT" | ||
7 | |||
8 | inherit mfgtool-initramfs-image | ||
diff --git a/meta-fsl-arm/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb b/meta-fsl-arm/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb new file mode 100644 index 00000000..50885ee1 --- /dev/null +++ b/meta-fsl-arm/recipes-fsl/packagegroups/packagegroup-fsl-mfgtool.bb | |||
@@ -0,0 +1,47 @@ | |||
1 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
2 | |||
3 | SUMMARY = "Freescale Manufacturing Tool requirements" | ||
4 | LICENSE = "MIT" | ||
5 | |||
6 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
7 | |||
8 | inherit packagegroup | ||
9 | |||
10 | PACKAGES = " \ | ||
11 | ${PN}-base \ | ||
12 | ${PN}-mtd \ | ||
13 | ${PN}-extfs \ | ||
14 | " | ||
15 | |||
16 | # The essential packages for device bootup that may be set in the | ||
17 | # machine configuration file. | ||
18 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS ?= "" | ||
19 | |||
20 | # Distro can override the following VIRTUAL-RUNTIME providers: | ||
21 | VIRTUAL-RUNTIME_keymaps ?= "keymaps" | ||
22 | |||
23 | RDEPENDS_${PN}-base = " \ | ||
24 | bash \ | ||
25 | imx-uuc \ | ||
26 | util-linux \ | ||
27 | coreutils \ | ||
28 | dosfstools \ | ||
29 | mmc-utils \ | ||
30 | base-files \ | ||
31 | base-passwd \ | ||
32 | busybox \ | ||
33 | ${@base_contains("MACHINE_FEATURES", "keyboard", "${VIRTUAL-RUNTIME_keymaps}", "", d)} \ | ||
34 | ${MACHINE_ESSENTIAL_EXTRA_RDEPENDS} \ | ||
35 | " | ||
36 | |||
37 | RDEPENDS_${PN}-mtd = " \ | ||
38 | ${PN}-base \ | ||
39 | imx-kobs \ | ||
40 | mtd-utils \ | ||
41 | mtd-utils-ubifs \ | ||
42 | " | ||
43 | |||
44 | RDEPENDS_${PN}-extfs = " \ | ||
45 | ${PN}-base \ | ||
46 | e2fsprogs-mke2fs \ | ||
47 | " | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-bin-mx51_11.09.01.bb b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-bin-mx51_11.09.01.bb new file mode 100644 index 00000000..ecf38f2f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-bin-mx51_11.09.01.bb | |||
@@ -0,0 +1,13 @@ | |||
1 | # Copyright (C) 2011, 2012 Freescale | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "GPU driver and apps for frambuffer on mx51" | ||
5 | |||
6 | include amd-gpu-mx51.inc | ||
7 | |||
8 | SRC_URI[md5sum] = "9f9b5f67b595721a08793aae8bd8fc46" | ||
9 | SRC_URI[sha256sum] = "f0db68a764b5fb199729e7435f606b8d12b61ca97990336c647b7e81f4a584d9" | ||
10 | |||
11 | RCONFLICTS_${PN} = "amd-gpu-x11-bin-mx51" | ||
12 | |||
13 | COMPATIBLE_MACHINE = "(mx5)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc new file mode 100644 index 00000000..76c7bc43 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-mx51.inc | |||
@@ -0,0 +1,110 @@ | |||
1 | # Copyright (C) 2011, 2012, 2013 Freescale | ||
2 | # Copyright (C) 2011-2015 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | # FIXME: Replace for correct AMD license | ||
9 | LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" | ||
10 | |||
11 | PROVIDES = "amd-gpu-mx51 virtual/egl virtual/libgles1 virtual/libgles2" | ||
12 | |||
13 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true \ | ||
14 | file://egl.pc \ | ||
15 | file://glesv2.pc \ | ||
16 | file://fix-linux-build-check.patch" | ||
17 | |||
18 | inherit fsl-eula-unpack | ||
19 | |||
20 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
21 | # they don't get Debian-renamed (which would remove the -mx51 suffix). | ||
22 | # | ||
23 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
24 | # the source we cannot fix it. Disable the insane check for now. | ||
25 | python __anonymous() { | ||
26 | for p in d.getVar('PACKAGES', True).split(): | ||
27 | d.setVar("INSANE_SKIP_%s" % p, "ldflags") | ||
28 | |||
29 | for p in (("libegl", "libegl1"), ("libgl", "libgl1"), | ||
30 | ("libgles2", "libglesv2-2")): | ||
31 | fullp = p[0] + "-mx51" | ||
32 | pkgs = " ".join(p) | ||
33 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
34 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
35 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
36 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
37 | |||
38 | # For -dev, the first element is both the Debian and original name | ||
39 | fullp += "-dev" | ||
40 | pkgs = p[0] + "-dev" | ||
41 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
42 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
43 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
44 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
45 | } | ||
46 | |||
47 | do_install () { | ||
48 | install -d ${D}${libdir} | ||
49 | install -d ${D}${bindir} | ||
50 | install -d ${D}${includedir} | ||
51 | |||
52 | cp -Pr ${S}/usr/bin/* ${D}${bindir} | ||
53 | cp -Pr ${S}/usr/lib/* ${D}${libdir} | ||
54 | cp -Pr ${S}/usr/include/* ${D}${includedir} | ||
55 | |||
56 | find ${D}${bindir} -type f -exec chmod 755 {} \; | ||
57 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
58 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
59 | |||
60 | # FIXME: Fix sonames of broken libraries | ||
61 | mv ${D}${libdir}/lib2dz160.so ${D}${libdir}/lib2dz160.so.0 | ||
62 | mv ${D}${libdir}/lib2dz430.so ${D}${libdir}/lib2dz430.so.0 | ||
63 | ln -sf lib2dz160.so.0 ${D}${libdir}/lib2dz160.so | ||
64 | ln -sf lib2dz430.so.0 ${D}${libdir}/lib2dz430.so | ||
65 | |||
66 | # FIXME: Remove unknown files | ||
67 | rm -r ${D}${libdir}/libcsi.a \ | ||
68 | ${D}${libdir}/libres.a | ||
69 | |||
70 | # FIXME: Add pkgconfig files | ||
71 | install -d ${D}${libdir}/pkgconfig | ||
72 | install -m 644 ${WORKDIR}/egl.pc ${D}${libdir}/pkgconfig | ||
73 | install -m 644 ${WORKDIR}/glesv2.pc ${D}${libdir}/pkgconfig | ||
74 | } | ||
75 | |||
76 | PACKAGES =+ "libgsl-fsl-mx51 libgsl-fsl-mx51-dev libgsl-fsl-mx51-dbg \ | ||
77 | libegl-mx51 libegl-mx51-dev libegl-mx51-dbg \ | ||
78 | libgles-mx51 libgles-mx51-dev libgles-mx51-dbg \ | ||
79 | libgles2-mx51 libgles2-mx51-dev libgles2-mx51-dbg \ | ||
80 | libopenvg-mx51 libopenvg-mx51-dev libopenvg-mx51-dbg \ | ||
81 | lib2dz160-mx51 lib2dz160-mx51-dbg \ | ||
82 | lib2dz430-mx51 lib2dz430-mx51-dbg" | ||
83 | |||
84 | FILES_${PN}-dbg = "${bindir}/.debug/*" | ||
85 | |||
86 | FILES_libgsl-fsl-mx51 = "${libdir}/libgsl-fsl${SOLIBS}" | ||
87 | FILES_libgsl-fsl-mx51-dev = "${libdir}/libgsl-fsl${SOLIBSDEV}" | ||
88 | FILES_libgsl-fsl-mx51-dbg = "${libdir}/.debug/libgsl-fsl${SOLIBS}" | ||
89 | |||
90 | FILES_libegl-mx51 = "${libdir}/libEGL${SOLIBS}" | ||
91 | FILES_libegl-mx51-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/libEGL${SOLIBSDEV}" | ||
92 | FILES_libegl-mx51-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | ||
93 | |||
94 | FILES_libgles-mx51 = "${libdir}/libGLESv1*${SOLIBS}" | ||
95 | FILES_libgles-mx51-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBSDEV}" | ||
96 | FILES_libgles-mx51-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS}" | ||
97 | |||
98 | FILES_libgles2-mx51 = "${libdir}/libGLESv2${SOLIBS}" | ||
99 | FILES_libgles2-mx51-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV}" | ||
100 | FILES_libgles2-mx51-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | ||
101 | |||
102 | FILES_libopenvg-mx51 = "${libdir}/libOpenVG${SOLIBS}" | ||
103 | FILES_libopenvg-mx51-dev = "${includedir}/VG ${libdir}/libOpenVG${SOLIBSDEV}" | ||
104 | FILES_libopenvg-mx51-dbg = "${libdir}/.debug/libOpenVG${SOLIBS}" | ||
105 | |||
106 | FILES_lib2dz160-mx51 = "${libdir}/lib2dz160${SOLIBS}" | ||
107 | FILES_lib2dz160-mx51-dbg = "${libdir}/.debug/lib2dz160${SOLIBS}" | ||
108 | |||
109 | FILES_lib2dz430-mx51 = "${libdir}/lib2dz430${SOLIBS}" | ||
110 | FILES_lib2dz430-mx51-dbg = "${libdir}/.debug/lib2dz430${SOLIBS}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb new file mode 100644 index 00000000..7fc351b0 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/amd-gpu-x11-bin-mx51_11.09.01.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | # Copyright (C) 2011-2015 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2011, 2012 Freescale | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "GPU driver and apps for x11 on mx51" | ||
6 | PR = "r12" | ||
7 | |||
8 | # FIXME: Replace for correct AMD license | ||
9 | LIC_FILES_CHKSUM = "file://usr/include/VG/openvg.h;endline=30;md5=b0109611dd76961057d4c45ae6519802" | ||
10 | DEPENDS = "virtual/libx11 libxrender libxext" | ||
11 | |||
12 | include amd-gpu-mx51.inc | ||
13 | |||
14 | SRC_URI[md5sum] = "54391a4e670b597d06d01253fb217cad" | ||
15 | SRC_URI[sha256sum] = "c7a6fa03b7aa2a375556c59908876554ba720c1e744baba2debb84a408f790db" | ||
16 | |||
17 | RCONFLICTS_${PN} = "amd-gpu-bin-mx51" | ||
18 | |||
19 | COMPATIBLE_MACHINE = "${@base_contains('DISTRO_FEATURES', 'x11', '(mx5)', 'Invalid!', d)}" | ||
20 | |||
21 | do_install_append() { | ||
22 | # eglplatform_1.4.h contains X11 compatible headers | ||
23 | rm ${D}${includedir}/EGL/eglplatform.h | ||
24 | mv ${D}${includedir}/EGL/eglplatform_1.4.h ${D}${includedir}/EGL/eglplatform.h | ||
25 | } | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc new file mode 100644 index 00000000..3d2ab5db --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/egl.pc | |||
@@ -0,0 +1,11 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: egl | ||
7 | Description: AMD EGL library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lEGL | ||
11 | Cflags: -I${includedir} | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch new file mode 100644 index 00000000..946bfac7 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/fix-linux-build-check.patch | |||
@@ -0,0 +1,54 @@ | |||
1 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h | ||
2 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglext.h 2012-08-18 12:43:19.431788396 -0300 | ||
3 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglext.h 2012-08-18 12:43:50.799909873 -0300 | ||
4 | @@ -164,11 +164,11 @@ | ||
5 | * nanoseconds (unadjusted standard time). Here, it is defined as | ||
6 | * appropriate for an ISO C compiler. | ||
7 | */ | ||
8 | -#ifndef _LINUX | ||
9 | +#ifndef __linux__ | ||
10 | typedef uint64_t EGLTimeKHR; | ||
11 | -#else // _LINUX | ||
12 | +#else // __linux__ | ||
13 | typedef unsigned long long EGLTimeKHR; | ||
14 | -#endif // _LINUX | ||
15 | +#endif // __linux__ | ||
16 | |||
17 | #define EGL_SYNC_PRIOR_COMMANDS_COMPLETE_KHR 0xFFF8 | ||
18 | #define EGL_SYNC_STATUS_KHR 0xFFF7 | ||
19 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h | ||
20 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/EGL/eglfslext.h 2012-08-18 12:43:19.431788396 -0300 | ||
21 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/EGL/eglfslext.h 2012-08-18 12:43:50.759785714 -0300 | ||
22 | @@ -65,7 +65,7 @@ | ||
23 | } eglYUVInfo; | ||
24 | #endif | ||
25 | |||
26 | -#ifdef _LINUX | ||
27 | +#ifdef __linux__ | ||
28 | struct EGLImageInfoFSL | ||
29 | { | ||
30 | void *mem_virt[3]; //virtual addresses for Y/U/V planes | ||
31 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h | ||
32 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/ext.h 2012-08-18 12:43:19.431788396 -0300 | ||
33 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/ext.h 2012-08-18 12:43:50.799909873 -0300 | ||
34 | @@ -15,7 +15,7 @@ | ||
35 | extern "C" { | ||
36 | #endif | ||
37 | |||
38 | -#ifndef _LINUX | ||
39 | +#ifndef __linux__ | ||
40 | #include <VG/openvg.h> | ||
41 | #else | ||
42 | #include "openvg.h" | ||
43 | diff -Nur amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h | ||
44 | --- amd-gpu-x11-bin-mx51-11.09.01.orig/usr/include/VG/openvg.h 2012-08-18 12:43:19.431788396 -0300 | ||
45 | +++ amd-gpu-x11-bin-mx51-11.09.01/usr/include/VG/openvg.h 2012-08-18 12:43:50.799909873 -0300 | ||
46 | @@ -449,7 +449,7 @@ | ||
47 | # endif | ||
48 | # elif defined(__APPLE__) | ||
49 | # define VG_API_CALL extern | ||
50 | -# elif defined(_LINUX) | ||
51 | +# elif defined(__linux__) | ||
52 | # if defined (OPENVG_DLL_EXPORTS) | ||
53 | # define VG_API_CALL extern | ||
54 | # else | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc new file mode 100644 index 00000000..62e1cb65 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/files/glesv2.pc | |||
@@ -0,0 +1,11 @@ | |||
1 | prefix=/usr | ||
2 | exec_prefix=${prefix} | ||
3 | libdir=/usr/lib | ||
4 | includedir=/usr/include | ||
5 | |||
6 | Name: glesv2 | ||
7 | Description: AMD OpenGL ES 2.0 library | ||
8 | Requires.private: | ||
9 | Version: 8.0 | ||
10 | Libs: -L${libdir} -lGLESv2 -lEGL | ||
11 | Cflags: -I${includedir} | ||
diff --git a/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb new file mode 100644 index 00000000..43b9f7ff --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/amd-gpu-x11-bin/libz160_11.09.01.bb | |||
@@ -0,0 +1,36 @@ | |||
1 | # Copyright (C) 2011-2015 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2011, 2012 Freescale | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "AMD libz160 gpu driver" | ||
6 | LICENSE = "Proprietary" | ||
7 | SECTION = "libs" | ||
8 | DEPENDS = "amd-gpu-mx51" | ||
9 | |||
10 | PR = "r2" | ||
11 | |||
12 | #todo: Replace for correct AMD license | ||
13 | LIC_FILES_CHKSUM = "file://usr/include/z160.h;endline=28;md5=65dd44cd769091092f38e34cd52cc271" | ||
14 | |||
15 | SRC_URI = "${FSL_MIRROR}/libz160-bin-${PV}.bin;fsl-eula=true" | ||
16 | SRC_URI[md5sum] = "9a9c2c93f4b44e89316772d348eead7d" | ||
17 | SRC_URI[sha256sum] = "08767eb269a0a30ca0aa3d3b5aa9a53a2d17ed1c24651b7e8cefc7704b883f19" | ||
18 | |||
19 | inherit fsl-eula-unpack | ||
20 | |||
21 | do_install () { | ||
22 | install -d ${D}${libdir} | ||
23 | install -d ${D}${includedir} | ||
24 | install -m 0755 ${S}/usr/lib/* ${D}${libdir} | ||
25 | install -m 0644 ${S}/usr/include/* ${D}${includedir} | ||
26 | } | ||
27 | |||
28 | S = "${WORKDIR}/${PN}-bin-${PV}" | ||
29 | |||
30 | # Avoid QA Issue: No GNU_HASH in the elf binary | ||
31 | INSANE_SKIP_${PN} = "ldflags" | ||
32 | INSANE_SKIP_${PN}-dev = "ldflags" | ||
33 | FILES_${PN} = "${libdir}/*.so" | ||
34 | FILES_${PN}-dev = "${includedir}" | ||
35 | |||
36 | COMPATIBLE_MACHINE = "(mx5)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/cairo/cairo_%.bbappend b/meta-fsl-arm/recipes-graphics/cairo/cairo_%.bbappend new file mode 100644 index 00000000..ab1c37a5 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/cairo/cairo_%.bbappend | |||
@@ -0,0 +1,11 @@ | |||
1 | CFLAGS_append_mx6 = " -DLINUX \ | ||
2 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | ||
3 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
4 | '-DEGL_API_FB -DEGL_API_WL', \ | ||
5 | base_contains('DISTRO_FEATURES', 'directfb', \ | ||
6 | '-DEGL_API_DFB', '-DEGL_API_FB', d),d),d)}" | ||
7 | |||
8 | |||
9 | PACKAGECONFIG_append_mx6q = " egl glesv2" | ||
10 | PACKAGECONFIG_append_mx6dl = " egl glesv2" | ||
11 | PACKAGECONFIG_append_mx6sx = " egl glesv2" | ||
diff --git a/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_%.bbappend b/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_%.bbappend new file mode 100644 index 00000000..cdeac1f2 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/clutter/clutter-1.0_%.bbappend | |||
@@ -0,0 +1,9 @@ | |||
1 | # Provide the need flags and backend settings to work with Vivante GPU | ||
2 | CFLAGS_append_mx6 = " -DLINUX \ | ||
3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | ||
4 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
5 | '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" | ||
6 | |||
7 | PACKAGECONFIG_mx6 ??= "${@base_contains('DISTRO_FEATURES', 'x11', 'glx x11', \ | ||
8 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
9 | 'wayland egl', '', d), d)}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/cogl/cogl-1.0_%.bbappend b/meta-fsl-arm/recipes-graphics/cogl/cogl-1.0_%.bbappend new file mode 100644 index 00000000..f77581df --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/cogl/cogl-1.0_%.bbappend | |||
@@ -0,0 +1,10 @@ | |||
1 | # Provide the need flags and backend settings to work with Vivante GPU | ||
2 | CFLAGS_append_mx6 = " -DLINUX \ | ||
3 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | ||
4 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
5 | '-DEGL_API_WL -DEGL_API_FB', '', d), d)}" | ||
6 | |||
7 | PACKAGECONFIG_mx6 ??= "cogl-pango gles2 \ | ||
8 | ${@base_contains('DISTRO_FEATURES', 'x11', 'egl-x11', \ | ||
9 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
10 | 'egl-wayland', '', d), d)}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/Check-input-NULL-pointer.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/Check-input-NULL-pointer.patch new file mode 100644 index 00000000..1d541722 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb/Check-input-NULL-pointer.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From 0c1e3d1d54b7f2e637b0984ea10aef1de278ff87 Mon Sep 17 00:00:00 2001 | ||
2 | From: "yong.gan" <yong.gan@freescale.com> | ||
3 | Date: Fri, 23 May 2014 14:15:09 +0800 | ||
4 | Subject: [PATCH] Check input NULL pointer | ||
5 | |||
6 | Fix the segmentation fault in multi-instance test. | ||
7 | |||
8 | Upstream Status: Pending | ||
9 | --- | ||
10 | inputdrivers/linux_input/linux_input.c | 2 +- | ||
11 | src/core/input.c | 2 ++ | ||
12 | 2 files changed, 3 insertions(+), 1 deletion(-) | ||
13 | |||
14 | diff --git a/inputdrivers/linux_input/linux_input.c b/inputdrivers/linux_input/linux_input.c | ||
15 | index e275762..35cfbdd 100644 | ||
16 | --- a/inputdrivers/linux_input/linux_input.c | ||
17 | +++ b/inputdrivers/linux_input/linux_input.c | ||
18 | @@ -1979,7 +1979,7 @@ driver_get_keymap_entry( CoreInputDevice *device, | ||
19 | unsigned short value; | ||
20 | DFBInputDeviceKeyIdentifier identifier; | ||
21 | |||
22 | - if (data->vt_fd < 0) | ||
23 | + if (data == NULL || data->vt_fd < 0) | ||
24 | return DFB_UNSUPPORTED; | ||
25 | |||
26 | /* fetch the base level */ | ||
27 | diff --git a/src/core/input.c b/src/core/input.c | ||
28 | index d77bc9f..ee23909 100644 | ||
29 | --- a/src/core/input.c | ||
30 | +++ b/src/core/input.c | ||
31 | @@ -723,6 +723,8 @@ dfb_input_core_suspend( DFBInputCore *data ) | ||
32 | driver->info.name ); | ||
33 | } | ||
34 | } | ||
35 | + if(data == NULL) | ||
36 | + return DFB_FAILURE; | ||
37 | |||
38 | direct_list_foreach (device, data->devices) { | ||
39 | InputDeviceShared *devshared; | ||
40 | -- | ||
41 | 1.9.1 | ||
42 | |||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch new file mode 100644 index 00000000..2ef4e938 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb/bashism.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | ${x//y/} is a bash syntax. Replace with something dash compatible | ||
2 | |||
3 | RP 2015/5/3 | ||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Index: DirectFB-1.7.7/configure.in | ||
7 | =================================================================== | ||
8 | --- DirectFB-1.7.7.orig/configure.in | ||
9 | +++ DirectFB-1.7.7/configure.in | ||
10 | @@ -2696,7 +2696,7 @@ AM_CONDITIONAL(BUILD_TOOLS, test "$with_ | ||
11 | AM_CONDITIONAL(CROSS_COMPILING, test "$cross_compiling" = "yes") | ||
12 | |||
13 | CFLAGS="$CFLAGS $DFB_INTERNAL_CFLAGS" | ||
14 | -CXXFLAGS="$CXXFLAGS ${CFLAGS//-Werror-implicit-function-declaration/}" | ||
15 | +CXXFLAGS="$CXXFLAGS $(printf '%s\n' "$CFLAGS" | sed 's/-Werror-implicit-function-declaration//g')" | ||
16 | DFB_LDFLAGS="$LDFLAGS $ZLIB_LIBS" | ||
17 | |||
18 | CFLAGS="$CFLAGS $CFLAGS_STD" | ||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/configurefix.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/configurefix.patch new file mode 100644 index 00000000..dd8c0190 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb/configurefix.patch | |||
@@ -0,0 +1,60 @@ | |||
1 | Libtool needs these set correctly else we end up with pointless rpaths | ||
2 | such as the QA warnings: | ||
3 | |||
4 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfblayer contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbmaster contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/mkdgifft contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbdump contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbinput contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbfx contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbscreen contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/mkdgiff contains probably-redundant RPATH /usr/libWARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbinspector contains probably-redundant RPATH /usr/lib | ||
5 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/mkdfiff contains probably-redundant RPATH /usr/lib | ||
6 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbinfo contains probably-redundant RPATH /usr/lib | ||
7 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbpenmount contains probably-redundant RPATH /usr/lib | ||
8 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/bin/dfbg contains probably-redundant RPATH /usr/lib | ||
9 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/libfusion-1.4.so.6 contains probably-redundant RPATH /usr/lib | ||
10 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/libdirectfb-1.4.so.6.0.9 contains probably-redundant RPATH /usr/lib | ||
11 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/libdirectfb-1.4.so.6 contains probably-redundant RPATH /usr/lib | ||
12 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/libfusion-1.4.so.6.0.9 contains probably-redundant RPATH /usr/lib | ||
13 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/systems/libdirectfb_fbdev.so contains probably-redundant RPATH /usr/lib | ||
14 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/systems/libdirectfb_devmem.so contains probably-redundant RPATH /usr/lib | ||
15 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/systems/libdirectfb_dummy.so contains probably-redundant RPATH /usr/lib | ||
16 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_v4l.so contains probably-redundant RPATH /usr/lib | ||
17 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBVideoProvider/libidirectfbvideoprovider_gif.so contains probably-redundant RPATH /usr/lib | ||
18 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/ICoreResourceManager/libicoreresourcemanager_test.so contains probably-redundant RPATH /usr/lib | ||
19 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_jpeg.so contains probably-redundant RPATH /usr/lib | ||
20 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_png.so contains probably-redundant RPATH /usr/lib | ||
21 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_dfiff.so contains probably-redundant RPATH /usr/lib | ||
22 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBImageProvider/libidirectfbimageprovider_gif.so contains probably-redundant RPATH /usr/lib | ||
23 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBFont/libidirectfbfont_ft2.so contains probably-redundant RPATH /usr/lib | ||
24 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/interfaces/IDirectFBFont/libidirectfbfont_dgiff.so contains probably-redundant RPATH /usr/lib | ||
25 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/wm/libdirectfbwm_default.so contains probably-redundant RPATH /usr/lib | ||
26 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_zytronic.so contains probably-redundant RPATH /usr/lib | ||
27 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_penmount.so contains probably-redundant RPATH /usr/lib | ||
28 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_linux_input.so contains probably-redundant RPATH /usr/lib | ||
29 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_serialmouse.so contains probably-redundant RPATH /usr/lib | ||
30 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_mutouch.so contains probably-redundant RPATH /usr/lib | ||
31 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_tslib.so contains probably-redundant RPATH /usr/lib | ||
32 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_joystick.so contains probably-redundant RPATH /usr/lib | ||
33 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_sonypi.so contains probably-redundant RPATH /usr/lib | ||
34 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_lirc.so contains probably-redundant RPATH /usr/lib | ||
35 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_wm97xx_ts.so contains probably-redundant RPATH /usr/lib | ||
36 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_ps2mouse.so contains probably-redundant RPATH /usr/lib | ||
37 | WARNING: QA Issue: directfb: /work/i586-poky-linux/directfb-1.4.15-r1/packages-split/directfb/usr/lib/directfb-1.4-6/inputdrivers/libdirectfb_keyboard.so contains probably-redundant RPATH /usr/lib | ||
38 | |||
39 | Upstream-Status: Pending | ||
40 | |||
41 | RP 2012/03/16 | ||
42 | |||
43 | Index: DirectFB-1.4.15/configure.in | ||
44 | =================================================================== | ||
45 | --- DirectFB-1.4.15.orig/configure.in 2012-03-16 13:32:23.692402879 +0000 | ||
46 | +++ DirectFB-1.4.15/configure.in 2012-03-16 13:33:22.312400960 +0000 | ||
47 | @@ -97,13 +97,6 @@ | ||
48 | AC_CHECK_SIZEOF(long long) | ||
49 | AC_CHECK_FUNCS(fork) | ||
50 | |||
51 | - | ||
52 | -## Work around libstuhl during cross build... | ||
53 | -if test "$host" != "$build"; then | ||
54 | - sys_lib_dlsearch_path_spec="" | ||
55 | - sys_lib_search_path_spec="" | ||
56 | -fi | ||
57 | - | ||
58 | AC_PATH_PROGS(PERL, perl5 perl) | ||
59 | |||
60 | AC_PATH_PROG(MAN2HTML, man2html, no) | ||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/fixsepbuild.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/fixsepbuild.patch new file mode 100644 index 00000000..94a9ba5f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb/fixsepbuild.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Fix out of tree builds | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | RP 2013/03/21 | ||
6 | |||
7 | Index: DirectFB-1.6.1/configure.in | ||
8 | =================================================================== | ||
9 | --- DirectFB-1.6.1.orig/configure.in 2013-03-19 01:38:28.174004720 +0000 | ||
10 | +++ DirectFB-1.6.1/configure.in 2013-03-21 12:18:10.253113675 +0000 | ||
11 | @@ -111,7 +111,7 @@ | ||
12 | AC_PATH_TOOL(FLUXCOMP, fluxcomp) | ||
13 | AC_SUBST(FLUXCOMP) | ||
14 | if test -z "$FLUXCOMP"; then | ||
15 | - if ! test -e src/core/CoreDFB.cpp; then | ||
16 | + if ! test -e $srcdir/src/core/CoreDFB.cpp; then | ||
17 | AC_MSG_ERROR([ | ||
18 | *** DirectFB compilation requires fluxcomp *** | ||
19 | |||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb/fusion.patch b/meta-fsl-arm/recipes-graphics/directfb/directfb/fusion.patch new file mode 100644 index 00000000..1f81a679 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb/fusion.patch | |||
@@ -0,0 +1,36 @@ | |||
1 | directfb: Fix for hangs in direct_test, fusion_skirmish on exit | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | Signed-off-by: Lauren Post <lauren.post@freescale.com> | ||
5 | |||
6 | --- a/lib/fusion/fusion.c 2013-01-18 22:57:11.000000000 +0800 | ||
7 | +++ b/lib/fusion/fusion.c 2013-07-04 10:42:56.502699119 +0800 | ||
8 | @@ -2853,9 +2853,14 @@ | ||
9 | direct_mutex_lock( &world->event_dispatcher_mutex ); | ||
10 | |||
11 | while (1) { | ||
12 | - if (!world->event_dispatcher_buffers) | ||
13 | + if (!world->event_dispatcher_buffers){ | ||
14 | direct_waitqueue_wait( &world->event_dispatcher_cond, &world->event_dispatcher_mutex ); | ||
15 | - | ||
16 | + if (world->dispatch_stop) { | ||
17 | + D_DEBUG_AT( Fusion_Main_Dispatch, " -> IGNORING (dispatch_stop!)\n" ); | ||
18 | + direct_mutex_unlock( &world->event_dispatcher_mutex ); | ||
19 | + return NULL; | ||
20 | + } | ||
21 | + } | ||
22 | buf = (FusionEventDispatcherBuffer *)world->event_dispatcher_buffers; | ||
23 | D_MAGIC_ASSERT( buf, FusionEventDispatcherBuffer ); | ||
24 | |||
25 | @@ -2872,6 +2877,11 @@ | ||
26 | //D_INFO("waiting...\n"); | ||
27 | D_ASSERT( buf->read_pos == buf->write_pos ); | ||
28 | direct_waitqueue_wait( &world->event_dispatcher_cond, &world->event_dispatcher_mutex ); | ||
29 | + if (world->dispatch_stop) { | ||
30 | + D_DEBUG_AT( Fusion_Main_Dispatch, " -> IGNORING (dispatch_stop!)\n" ); | ||
31 | + direct_mutex_unlock( &world->event_dispatcher_mutex ); | ||
32 | + return NULL; | ||
33 | + } | ||
34 | } | ||
35 | |||
36 | buf = (FusionEventDispatcherBuffer *)world->event_dispatcher_buffers; | ||
diff --git a/meta-fsl-arm/recipes-graphics/directfb/directfb_1.7.4.bb b/meta-fsl-arm/recipes-graphics/directfb/directfb_1.7.4.bb new file mode 100644 index 00000000..9bc26373 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/directfb/directfb_1.7.4.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | require recipes-graphics/directfb/directfb.inc | ||
2 | |||
3 | RV = "1.7-4" | ||
4 | |||
5 | DEPENDS += "sysfsutils" | ||
6 | |||
7 | SRC_URI += "file://fixsepbuild.patch \ | ||
8 | file://Check-input-NULL-pointer.patch" | ||
9 | |||
10 | EXTRA_OECONF = "\ | ||
11 | --enable-freetype=yes \ | ||
12 | --enable-zlib \ | ||
13 | --with-gfxdrivers=none \ | ||
14 | --disable-sdl \ | ||
15 | --disable-vnc \ | ||
16 | --disable-x11 \ | ||
17 | --disable-imlib2 \ | ||
18 | --disable-mesa \ | ||
19 | --with-tests \ | ||
20 | " | ||
21 | LEAD_SONAME = "libdirectfb-1.7.so.0" | ||
22 | |||
23 | SRC_URI[md5sum] = "f5bdacde77fc653279819796ae11341e" | ||
24 | SRC_URI[sha256sum] = "20ccd60011c788e50c940ab566943d050679067bc84dc37ca447f1b4af08481b" | ||
25 | |||
26 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/drm/libdrm/mx6/drm-update-arm.patch b/meta-fsl-arm/recipes-graphics/drm/libdrm/mx6/drm-update-arm.patch new file mode 100644 index 00000000..1160cd10 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/drm/libdrm/mx6/drm-update-arm.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | Add ARM support into xf86arm.h. This provides support for Xorg interface. | ||
2 | Without this the vivante samples will hang during close requiring a reboot | ||
3 | |||
4 | Upstream-Status: Pending | ||
5 | |||
6 | Signed-off-by: Lauren Post <lauren.post@freescale.com> | ||
7 | Signed-off-by: Evan Kotara <evan.kotara@freescale.com> | ||
8 | |||
9 | diff --git a/xf86drm.h b/xf86drm.h | ||
10 | --- a/xf86drm.h | ||
11 | +++ b/xf86drm.h | ||
12 | @@ -461,6 +461,23 @@ do { register unsigned int __old __asm(" | ||
13 | : "cr0", "memory"); \ | ||
14 | } while (0) | ||
15 | |||
16 | +#elif defined(__arm__) | ||
17 | + #undef DRM_DEV_MODE | ||
18 | + #define DRM_DEV_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH) | ||
19 | + | ||
20 | + #define DRM_CAS(lock,old,new,__ret) \ | ||
21 | + do { \ | ||
22 | + __asm__ __volatile__ ( \ | ||
23 | + "1: ldrex %0, [%1]\n" \ | ||
24 | + " teq %0, %2\n" \ | ||
25 | + " ite eq\n" \ | ||
26 | + " strexeq %0, %3, [%1]\n" \ | ||
27 | + " movne %0, #1\n" \ | ||
28 | + : "=&r" (__ret) \ | ||
29 | + : "r" (lock), "r" (old), "r" (new) \ | ||
30 | + : "cc","memory"); \ | ||
31 | + } while (0) | ||
32 | + | ||
33 | #endif /* architecture */ | ||
34 | #endif /* __GNUC__ >= 2 */ | ||
35 | |||
diff --git a/meta-fsl-arm/recipes-graphics/drm/libdrm_%.bbappend b/meta-fsl-arm/recipes-graphics/drm/libdrm_%.bbappend new file mode 100644 index 00000000..6bd7968d --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/drm/libdrm_%.bbappend | |||
@@ -0,0 +1,5 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI_append_mx6 = " file://drm-update-arm.patch" | ||
4 | |||
5 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-fb_%.bbappend b/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-fb_%.bbappend new file mode 100644 index 00000000..0fd67814 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-fb_%.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | # Set i.MX specific dependencies and device type | ||
2 | EGLINFO_DEVICE_mx6q = "imx6" | ||
3 | EGLINFO_DEVICE_mx6dl = "imx6" | ||
4 | EGLINFO_DEVICE_mx6sx = "imx6" | ||
diff --git a/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend b/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend new file mode 100644 index 00000000..0fd67814 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | # Set i.MX specific dependencies and device type | ||
2 | EGLINFO_DEVICE_mx6q = "imx6" | ||
3 | EGLINFO_DEVICE_mx6dl = "imx6" | ||
4 | EGLINFO_DEVICE_mx6sx = "imx6" | ||
diff --git a/meta-fsl-arm/recipes-graphics/images/core-image-weston.bbappend b/meta-fsl-arm/recipes-graphics/images/core-image-weston.bbappend new file mode 100644 index 00000000..6e33067f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/images/core-image-weston.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | # FIXME: Vivante GPU driver cannot operate in X11 and Wayland in same | ||
2 | # distribution as it needs to have different libraries installed. So | ||
3 | # in case 'x11' is in DISTRO_FEATURES, Wayland is disabled. | ||
4 | CONFLICT_DISTRO_FEATURES_append_mx6 = " x11" | ||
diff --git a/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc new file mode 100644 index 00000000..4b6e030e --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv.inc | |||
@@ -0,0 +1,346 @@ | |||
1 | # Copyright (C) 2012-2015 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2014 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "GPU driver and apps for imx6" | ||
6 | SECTION = "libs" | ||
7 | LICENSE = "Proprietary" | ||
8 | LIC_FILES_CHKSUM = "file://gpu-core/usr/include/gc_vdk.h;beginline=5;endline=11;md5=12c028cbbbedb4b8770267131500592c" | ||
9 | |||
10 | DEPENDS += "${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11 libxdamage libxext libxfixes mesa', \ | ||
11 | base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | ||
12 | '', d), d)}" | ||
13 | |||
14 | EXTRA_PROVIDES = "" | ||
15 | EXTRA_PROVIDES_mx6q = " virtual/libgl virtual/libgles1 virtual/libgles2" | ||
16 | EXTRA_PROVIDES_mx6dl = " virtual/libgl virtual/libgles1 virtual/libgles2" | ||
17 | EXTRA_PROVIDES_mx6sx = " virtual/libgl virtual/libgles1 virtual/libgles2" | ||
18 | PROVIDES += "virtual/wayland-egl virtual/libgal-x11 virtual/egl virtual/libopenvg virtual/libg2d ${EXTRA_PROVIDES}" | ||
19 | |||
20 | PE = "1" | ||
21 | |||
22 | inherit fsl-eula-unpack | ||
23 | |||
24 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
25 | |||
26 | PACKAGES =+ "libclc-mx6 libclc-mx6-dev libclc-mx6-dbg \ | ||
27 | libgl-mx6 libgl-mx6-dev libgl-mx6-dbg \ | ||
28 | libgles-mx6 libgles-mx6-dev libgles-mx6-dbg \ | ||
29 | libgles2-mx6 libgles2-mx6-dev libgles2-mx6-dbg \ | ||
30 | libgles3-mx6-dev \ | ||
31 | libglslc-mx6 libglslc-mx6-dev libglslc-mx6-dbg \ | ||
32 | libopencl-mx6 libopencl-mx6-dev libopencl-mx6-dbg \ | ||
33 | libopenvg-mx6 libopenvg-mx6-dev libopenvg-mx6-dbg \ | ||
34 | libvdk-mx6 libvdk-mx6-dev libvdk-mx6-dbg \ | ||
35 | libegl-mx6 libegl-mx6-dev libegl-mx6-dbg \ | ||
36 | libgal-mx6 libgal-mx6-dev libgal-mx6-dbg \ | ||
37 | libvivante-mx6 libvivante-mx6-dev libvivante-mx6-dbg \ | ||
38 | libvivante-dri-mx6 \ | ||
39 | libvivante-dfb-mx6 \ | ||
40 | libvsc-mx6 \ | ||
41 | libwayland-viv-mx6 libwayland-viv-mx6-dev libwayland-viv-mx6-dbg \ | ||
42 | libgc-wayland-protocol-mx6 libgc-wayland-protocol-mx6-dev libgc-wayland-protocol-mx6-dbg \ | ||
43 | libwayland-egl-mx6-dev \ | ||
44 | imx-gpu-viv-g2d imx-gpu-viv-g2d-dev imx-gpu-viv-g2d-dbg \ | ||
45 | imx-gpu-viv-tools imx-gpu-viv-tools-dbg \ | ||
46 | imx-gpu-viv-tools-apitrace imx-gpu-viv-tools-apitrace-dbg \ | ||
47 | imx-gpu-viv-demos imx-gpu-viv-demos-dbg \ | ||
48 | " | ||
49 | |||
50 | # Skip package if it does not match the machine float-point type in use | ||
51 | python __anonymous () { | ||
52 | is_machine_hardfp = base_contains("TUNE_FEATURES", "callconvention-hard", True, False, d) | ||
53 | is_package_hardfp = d.getVar("PACKAGE_FP_TYPE", True) == "hardfp" | ||
54 | |||
55 | if is_package_hardfp != is_machine_hardfp: | ||
56 | PN = d.getVar("PN", True) | ||
57 | PV = d.getVar("PV", True) | ||
58 | bb.debug(1, "Skipping %s (%s) as machine and package float-point does not match" % (PN, PV)) | ||
59 | raise bb.parse.SkipPackage("Package Float-Point is not compatible with the machine") | ||
60 | } | ||
61 | |||
62 | USE_X11 = "${@base_contains("DISTRO_FEATURES", "x11", "yes", "no", d)}" | ||
63 | USE_DFB = "${@base_contains("DISTRO_FEATURES", "directfb", "yes", "no", d)}" | ||
64 | USE_WL = "${@base_contains("DISTRO_FEATURES", "wayland", "yes", "no", d)}" | ||
65 | |||
66 | # Inhibit warnings about files being stripped. | ||
67 | INHIBIT_PACKAGE_STRIP = "1" | ||
68 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
69 | |||
70 | # FIXME: The provided binary doesn't provide soname. If in future BSP | ||
71 | # release the libraries are fixed, we can drop this hack. | ||
72 | REALSOLIBS := "${SOLIBS}" | ||
73 | SOLIBS = "${SOLIBSDEV}" | ||
74 | |||
75 | # For the packages that make up the OpenGL interfaces, inject variables so that | ||
76 | # they don't get Debian-renamed (which would remove the -mx6 suffix). | ||
77 | # | ||
78 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
79 | # the source we cannot fix it. Disable the insane check for now. | ||
80 | python __anonymous() { | ||
81 | packages = d.getVar('PACKAGES', True).split() | ||
82 | for p in packages: | ||
83 | d.appendVar("INSANE_SKIP_%s" % p, " ldflags") | ||
84 | |||
85 | for p in (("libegl", "libegl1"), ("libgl", "libgl1"), | ||
86 | ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"), | ||
87 | ("libgles3",)): | ||
88 | fullp = p[0] + "-mx6" | ||
89 | pkgs = " ".join(p) | ||
90 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
91 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
92 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
93 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
94 | |||
95 | # For -dev, the first element is both the Debian and original name | ||
96 | fullp += "-dev" | ||
97 | pkgs = p[0] + "-dev" | ||
98 | d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") | ||
99 | d.appendVar("RREPLACES_" + fullp, pkgs) | ||
100 | d.appendVar("RPROVIDES_" + fullp, pkgs) | ||
101 | d.appendVar("RCONFLICTS_" + fullp, pkgs) | ||
102 | } | ||
103 | |||
104 | IS_MX6SL = "0" | ||
105 | IS_MX6SL_mx6sl = "1" | ||
106 | |||
107 | do_install () { | ||
108 | install -d ${D}${libdir} | ||
109 | install -d ${D}${includedir} | ||
110 | install -d ${D}${bindir} | ||
111 | |||
112 | cp -P ${S}/gpu-core/usr/lib/*.so* ${D}${libdir} | ||
113 | cp ${S}/g2d/usr/lib/*.so* ${D}${libdir} | ||
114 | cp -r ${S}/gpu-core/usr/include/* ${D}${includedir} | ||
115 | cp -Pr ${S}/g2d/usr/include/* ${D}${includedir} | ||
116 | cp -r ${S}/gpu-demos/opt ${D} | ||
117 | cp -axr ${S}/gpu-tools/gmem-info/usr/bin/* ${D}${bindir} | ||
118 | |||
119 | install -d ${D}${libdir}/pkgconfig | ||
120 | |||
121 | # The preference order, based in DISTRO_FEATURES, is x11, wayland, directfb and fb | ||
122 | if [ "${USE_X11}" = "yes" ]; then | ||
123 | cp -r ${S}/gpu-core/usr/lib/dri ${D}${libdir} | ||
124 | cp -axr ${S}/apitrace/x11/usr/lib/* ${D}${libdir} | ||
125 | cp -axr ${S}/apitrace/x11/usr/bin/* ${D}${bindir} | ||
126 | |||
127 | backend=x11 | ||
128 | |||
129 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/egl_x11.pc ${D}${libdir}/pkgconfig/egl.pc | ||
130 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv1_cm_x11.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
131 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv2_x11.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
132 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/vg_x11.pc ${D}${libdir}/pkgconfig/vg.pc | ||
133 | mv ${D}${libdir}/libGAL_egl.dri.so ${D}${libdir}/libGAL_egl.so | ||
134 | #FIXME: WL & X11 is not currently functional | ||
135 | #if [ "${USE_WL}" = "yes" ]; then | ||
136 | # install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
137 | # install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
138 | # install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
139 | #fi | ||
140 | elif [ "${USE_WL}" = "yes" ]; then | ||
141 | cp -axr ${S}/apitrace/non-x11/usr/lib/* ${D}${libdir} | ||
142 | cp -axr ${S}/apitrace/non-x11/usr/bin/* ${D}${bindir} | ||
143 | |||
144 | backend=wl | ||
145 | |||
146 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/egl_wayland.pc ${D}${libdir}/pkgconfig/egl.pc | ||
147 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
148 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
149 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
150 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/gc_wayland_protocol.pc ${D}${libdir}/pkgconfig/gc_wayland_protocol.pc | ||
151 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/wayland-egl.pc ${D}${libdir}/pkgconfig/wayland-egl.pc | ||
152 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/wayland-viv.pc ${D}${libdir}/pkgconfig/wayland-viv.pc | ||
153 | mv ${D}${libdir}/libGAL_egl.${backend}.so ${D}${libdir}/libGAL_egl.so | ||
154 | else | ||
155 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv1_cm.pc ${D}${libdir}/pkgconfig/glesv1_cm.pc | ||
156 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/glesv2.pc ${D}${libdir}/pkgconfig/glesv2.pc | ||
157 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/vg.pc ${D}${libdir}/pkgconfig/vg.pc | ||
158 | |||
159 | if [ "${USE_DFB}" = "yes" ]; then | ||
160 | install -d ${D}/${sysconfdir} | ||
161 | install -m 644 ${S}/gpu-core/etc/directfbrc ${D}/${sysconfdir}/directfbrc | ||
162 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/egl_directfb.pc ${D}${libdir}/pkgconfig/egl.pc | ||
163 | |||
164 | cp -r ${S}/gpu-core/usr/lib/directfb-* ${D}${libdir} | ||
165 | cp -axr ${S}/apitrace/non-x11/usr/lib/* ${D}${libdir} | ||
166 | cp -axr ${S}/apitrace/non-x11/usr/bin/* ${D}${bindir} | ||
167 | backend=dfb | ||
168 | else | ||
169 | # Regular framebuffer | ||
170 | install -m 0644 ${S}/gpu-core/usr/lib/pkgconfig/egl_linuxfb.pc ${D}${libdir}/pkgconfig/egl.pc | ||
171 | cp -axr ${S}/apitrace/non-x11/usr/lib/* ${D}${libdir} | ||
172 | cp -axr ${S}/apitrace/non-x11/usr/bin/* ${D}${bindir} | ||
173 | backend=fb | ||
174 | fi | ||
175 | mv ${D}${libdir}/libGAL_egl.${backend}.so ${D}${libdir}/libGAL_egl.so | ||
176 | fi | ||
177 | |||
178 | # Install Vendor ICDs for OpenCL's installable client driver loader (ICDs Loader) | ||
179 | install -d ${D}${sysconfdir}/OpenCL/vendors/ | ||
180 | install -m 0644 ${S}/gpu-core/etc/Vivante.icd ${D}${sysconfdir}/OpenCL/vendors/Vivante.icd | ||
181 | |||
182 | # We'll only have one backend here so we rename it to generic name | ||
183 | # and avoid rework in other packages, when possible | ||
184 | mv ${D}${libdir}/libGL.so.1.2 ${D}${libdir}/libGL.so.1.2.0 | ||
185 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1.2 | ||
186 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so.1 | ||
187 | ln -sf libGL.so.1.2.0 ${D}${libdir}/libGL.so | ||
188 | mv ${D}${libdir}/libEGL-${backend}.so ${D}${libdir}/libEGL.so.1.0 | ||
189 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so.1 | ||
190 | ln -sf libEGL.so.1.0 ${D}${libdir}/libEGL.so | ||
191 | mv ${D}${libdir}/libGAL-${backend}.so ${D}${libdir}/libGAL.so | ||
192 | mv ${D}${libdir}/libVIVANTE-${backend}.so ${D}${libdir}/libVIVANTE.so | ||
193 | |||
194 | # update libglesv2 as backend dependent | ||
195 | rm -rf ${D}${libdir}/libGLESv2* | ||
196 | cp ${S}/gpu-core/usr/lib/libGLESv2-${backend}.so ${D}${libdir}/libGLESv2.so.2.0.0 | ||
197 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so.2 | ||
198 | ln -sf libGLESv2.so.2.0.0 ${D}${libdir}/libGLESv2.so | ||
199 | |||
200 | # FIXME: The libGL.so* libraries depend on the X11 libraries and | ||
201 | # libglapi.so from mesa. For non-X11 distros, neither of them are listed | ||
202 | # as build dependencies, which can lead to non-deterministic package | ||
203 | # dependencies. If the intention is that the GL backend should be usable | ||
204 | # without X11, the linking should be fixed. For now just skip | ||
205 | # packaging them. | ||
206 | if [ "${USE_X11}" = "no" ]; then | ||
207 | rm ${D}${libdir}/libGL.* | ||
208 | fi | ||
209 | |||
210 | # skip packaging wayland libraries if no support is requested | ||
211 | if [ "${USE_WL}" = "no" ]; then | ||
212 | rm ${D}${libdir}/libgc_wayland_protocol.* | ||
213 | rm ${D}${libdir}/libwayland-viv.* | ||
214 | fi | ||
215 | |||
216 | for backend in wl x11 fb dfb dri; do | ||
217 | find ${D}${libdir} -name "*-$backend.so" -exec rm '{}' ';' | ||
218 | find ${D}${libdir} -name "*.$backend.so" -exec rm '{}' ';' | ||
219 | done | ||
220 | |||
221 | # FIXME: MX6SL does not have 3D support; hack it for now | ||
222 | if [ "${IS_MX6SL}" = "1" ]; then | ||
223 | rm -rf ${D}${libdir}/libCLC* ${D}${includedir}/CL \ | ||
224 | \ | ||
225 | ${D}${libdir}/libGL* ${D}${includedir}/GL* \ | ||
226 | \ | ||
227 | ${D}${libdir}/libGLES* \ | ||
228 | \ | ||
229 | ${D}${libdir}/libOpenCL* ${D}${includedir}/CL \ | ||
230 | \ | ||
231 | ${D}${libdir}/libOpenVG.so ${D}${libdir}/libOpenVG.3d.so \ | ||
232 | \ | ||
233 | ${D}${libdir}/libVivanteOpenCL.so \ | ||
234 | \ | ||
235 | ${D}/opt/viv_samples/vdk \ | ||
236 | ${D}/opt/viv_samples/es20 ${D}/opt/viv_samples/cl11 | ||
237 | |||
238 | ln -sf libOpenVG.2d.so ${D}${libdir}/libOpenVG.so | ||
239 | fi | ||
240 | |||
241 | find ${D}${libdir} -type f -exec chmod 644 {} \; | ||
242 | find ${D}${includedir} -type f -exec chmod 644 {} \; | ||
243 | } | ||
244 | |||
245 | ALLOW_EMPTY_${PN} = "1" | ||
246 | |||
247 | FILES_libclc-mx6 = "${libdir}/libCLC${SOLIBS}" | ||
248 | FILES_libclc-mx6-dev = "${includedir}/CL ${libdir}/libCLC${SOLIBSDEV}" | ||
249 | FILES_libclc-mx6-dbg = "${libdir}/.debug/libCLC${SOLIBS}" | ||
250 | |||
251 | # libEGL.so is used by some demo apps from Freescale | ||
252 | INSANE_SKIP_libegl-mx6 += "dev-so" | ||
253 | FILES_libegl-mx6 = "${libdir}/libEGL${REALSOLIBS} ${libdir}/libEGL${SOLIBSDEV} " | ||
254 | FILES_libegl-mx6-dev = "${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | ||
255 | FILES_libegl-mx6-dbg = "${libdir}/.debug/libEGL${SOLIBS}" | ||
256 | |||
257 | FILES_libgal-mx6 = "${libdir}/libGAL${SOLIBS} ${libdir}/libGAL_egl${SOLIBS}" | ||
258 | FILES_libgal-mx6-dev = "${libdir}/libGAL${SOLIBSDEV} ${includedir}/HAL" | ||
259 | FILES_libgal-mx6-dbg = "${libdir}/.debug/libGAL${SOLIBS}" | ||
260 | |||
261 | FILES_libvsc-mx6 = "${libdir}/libVSC${SOLIBS}" | ||
262 | |||
263 | FILES_libgl-mx6 = "${libdir}/libGL${REALSOLIBS}" | ||
264 | FILES_libgl-mx6-dev = "${libdir}/libGL${SOLIBSDEV}" | ||
265 | FILES_libgl-mx6-dbg = "${libdir}/.debug/libGL.${SOLIBS}" | ||
266 | RDEPENDS_libgl-mx6 = "libglapi" | ||
267 | # Includes GL headers from mesa | ||
268 | RDEPENDS_libgl-mx6-dev += "libgl-mesa-dev" | ||
269 | |||
270 | # libEGL needs to open libGLESv1.so | ||
271 | INSANE_SKIP_libgles-mx6 += "dev-so" | ||
272 | FILES_libgles-mx6 = "${libdir}/libGLESv1*${REALSOLIBS} ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${REALSOLIBS} ${libdir}/libGLES_*${SOLIBS}" | ||
273 | FILES_libgles-mx6-dev = "${includedir}/GLES ${libdir}/libGLESv1*${SOLIBS} ${libdir}/libGLES_*${SOLIBSDEV} ${libdir}/pkgconfig/glesv1_cm.pc" | ||
274 | FILES_libgles-mx6-dbg = "${libdir}/.debug/libGLESv1*${SOLIBS} ${libdir}/.debug/libGLES_*${SOLIBS}" | ||
275 | |||
276 | # libEGL needs to open libGLESv2.so | ||
277 | INSANE_SKIP_libgles2-mx6 += "dev-so" | ||
278 | FILES_libgles2-mx6 = "${libdir}/libGLESv2${REALSOLIBS} ${libdir}/libGLESv2${SOLIBS}" | ||
279 | FILES_libgles2-mx6-dev = "${includedir}/GLES2 ${libdir}/libGLESv2${SOLIBSDEV} ${libdir}/pkgconfig/glesv2.pc" | ||
280 | FILES_libgles2-mx6-dbg = "${libdir}/.debug/libGLESv2${SOLIBS}" | ||
281 | RDEPENDS_libgles2-mx6 = "libglslc-mx6" | ||
282 | |||
283 | FILES_libgles3-mx6-dev = "${includedir}/GLES3" | ||
284 | # as long as there is no libgles3-mx6: ship libgles3-mx6-dev along with | ||
285 | # libgles2-mx6-dev - otherwise GLES3 headers have to be added manually | ||
286 | RDEPENDS_libgles2-mx6-dev += "libgles3-mx6-dev" | ||
287 | |||
288 | FILES_libglslc-mx6 = "${libdir}/libGLSLC${SOLIBS}" | ||
289 | FILES_libglslc-mx6-dev = "${includedir}/CL ${libdir}/libGLSLC${SOLIBSDEV}" | ||
290 | FILES_libglslc-mx6-dbg = "${libdir}/.debug/libGLSLC${SOLIBS}" | ||
291 | |||
292 | FILES_libopencl-mx6 = "${libdir}/libOpenCL${SOLIBS} \ | ||
293 | ${libdir}/libVivanteOpenCL${SOLIBS} \ | ||
294 | ${sysconfdir}/OpenCL/vendors/Vivante.icd" | ||
295 | FILES_libopencl-mx6-dev = "${includedir}/CL ${libdir}/libOpenCL${SOLIBSDEV}" | ||
296 | FILES_libopencl-mx6-dbg = "${libdir}/.debug/libOpenCL${SOLIBS}" | ||
297 | RDEPENDS_libopencl-mx6 = "libclc-mx6" | ||
298 | |||
299 | INSANE_SKIP_libopenvg-mx6 += "dev-so" | ||
300 | FILES_libopenvg-mx6 = "${libdir}/libOpenVG*${SOLIBS}" | ||
301 | FILES_libopenvg-mx6-dev = "${includedir}/VG ${libdir}/libOpenVG*${SOLIBSDEV} ${libdir}/pkgconfig/vg.pc" | ||
302 | FILES_libopenvg-mx6-dbg = "${libdir}/.debug/libOpenVG*${SOLIBS}" | ||
303 | |||
304 | FILES_libvdk-mx6 = "${libdir}/libVDK${SOLIBS}" | ||
305 | FILES_libvdk-mx6-dev = "${includedir}/*vdk*.h ${libdir}/libVDK${SOLIBSDEV}" | ||
306 | FILES_libvdk-mx6-dbg = "${libdir}/.debug/libVDK${SOLIBS}" | ||
307 | |||
308 | FILES_libvivante-mx6 = "${libdir}/libVIVANTE${SOLIBS}" | ||
309 | FILES_libvivante-mx6-dev = "${libdir}/libVIVANTE${SOLIBSDEV}" | ||
310 | FILES_libvivante-mx6-dbg = "${libdir}/.debug/libVIVANTE${SOLIBS}" | ||
311 | |||
312 | FILES_libvivante-dri-mx6 = "${libdir}/dri/vivante_dri.so" | ||
313 | RDEPENDS_libvivante-dri-mx6 = "libdrm" | ||
314 | |||
315 | FILES_libvivante-dfb-mx6 = "${libdir}/directfb-*/gfxdrivers/libdirectfb_gal.so" | ||
316 | |||
317 | INSANE_SKIP_libwayland-viv-mx6 += "dev-so" | ||
318 | FILES_libwayland-viv-mx6 = "${libdir}/libwayland-viv${REALSOLIBS} ${libdir}/libwayland-viv${SOLIBS}" | ||
319 | FILES_libwayland-viv-mx6-dev = "${includedir}/wayland-viv ${libdir})/libwayland-viv${SOLIBSDEV} ${libdir}/pkgconfig/wayland-viv.pc" | ||
320 | FILES_libwayland-viv-mx6-dbg = "${libdir}/.debug/libwayland-viv${SOLIBS}" | ||
321 | |||
322 | INSANE_SKIP_libgc-wayland-protocol-mx6 += "dev-so" | ||
323 | FILES_libgc-wayland-protocol-mx6 = "${libdir}/libgc_wayland_protocol${REALSOLIBS} ${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
324 | FILES_libgc-wayland-protocol-mx6-dev = "${libdir}/libgc_wayland_protocol${SOLIBSDEV} ${libdir}/pkgconfig/gc_wayland_protocol.pc" | ||
325 | FILES_libgc-wayland-protocol-mx6-dbg = "${libdir}/libgc_wayland_protocol${SOLIBS}" | ||
326 | |||
327 | FILES_libwayland-egl-mx6-dev = "${libdir}/pkgconfig/wayland-egl.pc" | ||
328 | |||
329 | FILES_libvivante-dfb-mx6 += "${sysconfdir}/directfbrc" | ||
330 | |||
331 | INSANE_SKIP_imx-gpu-viv-g2d += "dev-so" | ||
332 | FILES_imx-gpu-viv-g2d = "${libdir}/libg2d* " | ||
333 | FILES_imx-gpu-viv-g2d-dev = "${includedir}/g2d.h" | ||
334 | FILES_imx-gpu-viv-g2d-dbg = "${libdir}/.debug/libg2d${SOLIBS}" | ||
335 | |||
336 | FILES_imx-gpu-viv-tools = "${bindir}/gmem_info" | ||
337 | FILES_imx-gpu-viv-tools-dbg = "${bindir}/gmem_info" | ||
338 | |||
339 | FILES_imx-gpu-viv-tools-apitrace = "${bindir} ${libdir}" | ||
340 | FILES_imx-gpu-viv-tools-apitrace-dbg = "${libdir}/*/*/.debug" | ||
341 | |||
342 | FILES_imx-gpu-viv-demos = "/opt" | ||
343 | FILES_imx-gpu-viv-demos-dbg = "/opt/viv_samples/*/*/.debug" | ||
344 | INSANE_SKIP_imx-gpu-viv-demos += "rpaths" | ||
345 | |||
346 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb new file mode 100644 index 00000000..fab7ca11 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-hfp.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require imx-gpu-viv.inc | ||
5 | |||
6 | SRC_URI[md5sum] = "8314408acb6b3bc58fcbbb8a0f48b54b" | ||
7 | SRC_URI[sha256sum] = "0591b495cd1c2547ae007d405b90729e2fb90603a5728b39d1a99cb4e1cf1eb4" | ||
8 | |||
9 | PACKAGE_FP_TYPE = "hardfp" | ||
diff --git a/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-sfp.bb b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-sfp.bb new file mode 100644 index 00000000..30d28008 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/imx-gpu-viv/imx-gpu-viv_5.0.11.p4.5-sfp.bb | |||
@@ -0,0 +1,12 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require imx-gpu-viv.inc | ||
5 | |||
6 | SRC_URI[md5sum] = "479dce20e0e2f9f7d0a4e4ff70d4a4b2" | ||
7 | SRC_URI[sha256sum] = "b5b9c8e216b2bc4281c2443e07eab90547de0abd705614756ed68c7ad2fcf97a" | ||
8 | |||
9 | # FIXME skip the QA error for viv-samples | ||
10 | INSANE_SKIP_${PN} += "rpaths" | ||
11 | |||
12 | PACKAGE_FP_TYPE = "softfp" | ||
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch new file mode 100644 index 00000000..d899540f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch | |||
@@ -0,0 +1,355 @@ | |||
1 | From 757649a766f90e745f24df1d191caeef15c71399 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 4 Jun 2013 09:28:51 -0300 | ||
4 | Subject: [PATCH] Replace glWindowPos2iARB calls with glWindowPos2i | ||
5 | |||
6 | Vivante libGL does not provide the glWindowPos2iARB symbol, but | ||
7 | glWindowPos2i. Use this instead. | ||
8 | |||
9 | Upstream-Status: Inapropriate [embedded specific] | ||
10 | |||
11 | Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> | ||
12 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
13 | --- | ||
14 | src/demos/copypix.c | 4 ++-- | ||
15 | src/demos/engine.c | 2 +- | ||
16 | src/demos/fogcoord.c | 4 ++-- | ||
17 | src/glsl/shadow_sampler.c | 2 +- | ||
18 | src/tests/auxbuffer.c | 2 +- | ||
19 | src/tests/copypixrate.c | 2 +- | ||
20 | src/tests/drawbuffers.c | 2 +- | ||
21 | src/tests/drawbuffers2.c | 2 +- | ||
22 | src/tests/fbotest1.c | 2 +- | ||
23 | src/tests/fbotest2.c | 4 ++-- | ||
24 | src/tests/fbotest3.c | 2 +- | ||
25 | src/tests/readrate.c | 10 +++++----- | ||
26 | src/tests/viewmemory.c | 2 +- | ||
27 | src/trivial/clear-fbo-scissor.c | 2 +- | ||
28 | src/trivial/clear-fbo-tex.c | 2 +- | ||
29 | src/trivial/clear-fbo.c | 2 +- | ||
30 | src/trivial/readpixels.c | 2 +- | ||
31 | src/trivial/tri-fbo.c | 2 +- | ||
32 | src/xdemos/glxsnoop.c | 2 +- | ||
33 | src/xdemos/wincopy.c | 4 ++-- | ||
34 | 20 files changed, 28 insertions(+), 28 deletions(-) | ||
35 | |||
36 | diff --git a/src/demos/copypix.c b/src/demos/copypix.c | ||
37 | index 286c5a9..041b567 100644 | ||
38 | --- a/src/demos/copypix.c | ||
39 | +++ b/src/demos/copypix.c | ||
40 | @@ -54,7 +54,7 @@ static void Display( void ) | ||
41 | glClear( GL_COLOR_BUFFER_BIT ); | ||
42 | |||
43 | /* draw original image */ | ||
44 | - glWindowPos2iARB(dx, dy); | ||
45 | + glWindowPos2i(dx, dy); | ||
46 | glDrawPixels(ImgWidth, ImgHeight, ImgFormat, GL_UNSIGNED_BYTE, Image); | ||
47 | |||
48 | if (Scissor) | ||
49 | @@ -71,7 +71,7 @@ static void Display( void ) | ||
50 | |||
51 | /* draw copy */ | ||
52 | glPixelZoom(Xzoom, Yzoom); | ||
53 | - glWindowPos2iARB(Xpos, Ypos); | ||
54 | + glWindowPos2i(Xpos, Ypos); | ||
55 | glCopyPixels(dx, dy, ImgWidth, ImgHeight, GL_COLOR); | ||
56 | glPixelZoom(1, 1); | ||
57 | |||
58 | diff --git a/src/demos/engine.c b/src/demos/engine.c | ||
59 | index 928fcbb..beace4c 100644 | ||
60 | --- a/src/demos/engine.c | ||
61 | +++ b/src/demos/engine.c | ||
62 | @@ -971,7 +971,7 @@ Draw(void) | ||
63 | glDisable(GL_LIGHTING); | ||
64 | glDisable(GL_TEXTURE_2D); | ||
65 | glColor3f(1, 1 , 1); | ||
66 | - glWindowPos2iARB(10, 10); | ||
67 | + glWindowPos2i(10, 10); | ||
68 | PrintString(s); | ||
69 | if (lit) | ||
70 | glEnable(GL_LIGHTING); | ||
71 | diff --git a/src/demos/fogcoord.c b/src/demos/fogcoord.c | ||
72 | index 567eec0..e833009 100644 | ||
73 | --- a/src/demos/fogcoord.c | ||
74 | +++ b/src/demos/fogcoord.c | ||
75 | @@ -68,14 +68,14 @@ PrintInfo(void) | ||
76 | |||
77 | sprintf(s, "Mode(m): %s Start(s/S): %g End(e/E): %g Density(d/D): %g", | ||
78 | ModeStr, fogStart, fogEnd, fogDensity); | ||
79 | - glWindowPos2iARB(5, 20); | ||
80 | + glWindowPos2i(5, 20); | ||
81 | PrintString(s); | ||
82 | |||
83 | sprintf(s, "Arrays(a): %s glFogCoord(c): %s EyeZ(z/z): %g", | ||
84 | (Arrays ? "Yes" : "No"), | ||
85 | (fogCoord ? "Yes" : "No"), | ||
86 | camz); | ||
87 | - glWindowPos2iARB(5, 5); | ||
88 | + glWindowPos2i(5, 5); | ||
89 | PrintString(s); | ||
90 | } | ||
91 | |||
92 | diff --git a/src/glsl/shadow_sampler.c b/src/glsl/shadow_sampler.c | ||
93 | index b830030..eb82d8b 100644 | ||
94 | --- a/src/glsl/shadow_sampler.c | ||
95 | +++ b/src/glsl/shadow_sampler.c | ||
96 | @@ -85,7 +85,7 @@ Redisplay(void) | ||
97 | glPopMatrix(); | ||
98 | |||
99 | glUseProgram(0); | ||
100 | - glWindowPos2iARB(80, 20); | ||
101 | + glWindowPos2i(80, 20); | ||
102 | PrintString("white black white black"); | ||
103 | |||
104 | { | ||
105 | diff --git a/src/tests/auxbuffer.c b/src/tests/auxbuffer.c | ||
106 | index 5fa399a..0cd5f47 100644 | ||
107 | --- a/src/tests/auxbuffer.c | ||
108 | +++ b/src/tests/auxbuffer.c | ||
109 | @@ -419,7 +419,7 @@ event_loop(Display *dpy, Window win) | ||
110 | /* Copy aux buffer image to back color buffer */ | ||
111 | glReadBuffer(GL_AUX0); | ||
112 | glDrawBuffer(GL_BACK); | ||
113 | - glWindowPos2iARB(0, 0); | ||
114 | + glWindowPos2i(0, 0); | ||
115 | glDisable(GL_DEPTH_TEST); | ||
116 | glCopyPixels(0, 0, WinWidth, WinHeight, GL_COLOR); | ||
117 | glEnable(GL_DEPTH_TEST); | ||
118 | diff --git a/src/tests/copypixrate.c b/src/tests/copypixrate.c | ||
119 | index 2f64e0a..df1f9b0 100644 | ||
120 | --- a/src/tests/copypixrate.c | ||
121 | +++ b/src/tests/copypixrate.c | ||
122 | @@ -91,7 +91,7 @@ BlitOne(void) | ||
123 | else | ||
124 | #endif | ||
125 | { | ||
126 | - glWindowPos2iARB(x, y); | ||
127 | + glWindowPos2i(x, y); | ||
128 | glCopyPixels(0, 0, ImgWidth, ImgHeight, GL_COLOR); | ||
129 | } | ||
130 | } | ||
131 | diff --git a/src/tests/drawbuffers.c b/src/tests/drawbuffers.c | ||
132 | index fa2f8a7..cd5033f 100644 | ||
133 | --- a/src/tests/drawbuffers.c | ||
134 | +++ b/src/tests/drawbuffers.c | ||
135 | @@ -88,7 +88,7 @@ Display(void) | ||
136 | glUseProgram(0); | ||
137 | glDisable(GL_DEPTH_TEST); | ||
138 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
139 | - glWindowPos2iARB(0, 0); | ||
140 | + glWindowPos2i(0, 0); | ||
141 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
142 | |||
143 | free(buffer); | ||
144 | diff --git a/src/tests/drawbuffers2.c b/src/tests/drawbuffers2.c | ||
145 | index 5bcf0b2..84d444b 100644 | ||
146 | --- a/src/tests/drawbuffers2.c | ||
147 | +++ b/src/tests/drawbuffers2.c | ||
148 | @@ -112,7 +112,7 @@ Display(void) | ||
149 | glUseProgram(0); | ||
150 | glDisable(GL_DEPTH_TEST); | ||
151 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
152 | - glWindowPos2iARB(0, 0); | ||
153 | + glWindowPos2i(0, 0); | ||
154 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
155 | |||
156 | free(buffer); | ||
157 | diff --git a/src/tests/fbotest1.c b/src/tests/fbotest1.c | ||
158 | index 161903c..5930a6d 100644 | ||
159 | --- a/src/tests/fbotest1.c | ||
160 | +++ b/src/tests/fbotest1.c | ||
161 | @@ -61,7 +61,7 @@ Display( void ) | ||
162 | |||
163 | /* draw to window */ | ||
164 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
165 | - glWindowPos2iARB(0, 0); | ||
166 | + glWindowPos2i(0, 0); | ||
167 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
168 | |||
169 | free(buffer); | ||
170 | diff --git a/src/tests/fbotest2.c b/src/tests/fbotest2.c | ||
171 | index 6ef7f12..11c867e 100644 | ||
172 | --- a/src/tests/fbotest2.c | ||
173 | +++ b/src/tests/fbotest2.c | ||
174 | @@ -72,7 +72,7 @@ Display( void ) | ||
175 | |||
176 | glDisable(GL_DEPTH_TEST); /* in case window has depth buffer */ | ||
177 | |||
178 | - glWindowPos2iARB(0, 0); | ||
179 | + glWindowPos2i(0, 0); | ||
180 | glCopyPixels(0, 0, Width, Height, GL_COLOR); | ||
181 | } | ||
182 | else if (blitPix) { | ||
183 | @@ -95,7 +95,7 @@ Display( void ) | ||
184 | /* draw to window */ | ||
185 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
186 | glDisable(GL_DEPTH_TEST); /* in case window has depth buffer */ | ||
187 | - glWindowPos2iARB(0, 0); | ||
188 | + glWindowPos2i(0, 0); | ||
189 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
190 | |||
191 | free(buffer); | ||
192 | diff --git a/src/tests/fbotest3.c b/src/tests/fbotest3.c | ||
193 | index 19f684d..e6d7710 100644 | ||
194 | --- a/src/tests/fbotest3.c | ||
195 | +++ b/src/tests/fbotest3.c | ||
196 | @@ -79,7 +79,7 @@ Display( void ) | ||
197 | /* draw to window */ | ||
198 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
199 | glDisable(GL_DEPTH_TEST); /* in case window has depth buffer */ | ||
200 | - glWindowPos2iARB(0, 0); | ||
201 | + glWindowPos2i(0, 0); | ||
202 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
203 | |||
204 | free(buffer); | ||
205 | diff --git a/src/tests/readrate.c b/src/tests/readrate.c | ||
206 | index 3859cf4..81eb8a3 100644 | ||
207 | --- a/src/tests/readrate.c | ||
208 | +++ b/src/tests/readrate.c | ||
209 | @@ -85,7 +85,7 @@ MeasureFormat(struct format_type *fmt, GLint width, GLint height, GLuint pbo) | ||
210 | glEnd(); | ||
211 | |||
212 | #if DRAW | ||
213 | - glWindowPos2iARB(0,0); | ||
214 | + glWindowPos2i(0,0); | ||
215 | glDrawPixels(width, height, | ||
216 | fmt->Format, fmt->Type, Buffer); | ||
217 | glFinish(); | ||
218 | @@ -137,21 +137,21 @@ Draw(void) | ||
219 | |||
220 | glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT); | ||
221 | |||
222 | - glWindowPos2iARB(10, y); | ||
223 | + glWindowPos2i(10, y); | ||
224 | sprintf(str, "ReadPixels size: %d x %d", width, height); | ||
225 | PrintString(str); | ||
226 | y -= 14; | ||
227 | |||
228 | - glWindowPos2iARB(10, y); | ||
229 | + glWindowPos2i(10, y); | ||
230 | PrintString("Press up/down/left/right to change image size."); | ||
231 | y -= 14; | ||
232 | |||
233 | - glWindowPos2iARB(10, y); | ||
234 | + glWindowPos2i(10, y); | ||
235 | PrintString("Press 'b' to run benchmark test."); | ||
236 | y -= 14; | ||
237 | |||
238 | if (Benchmark) { | ||
239 | - glWindowPos2iARB(10, y); | ||
240 | + glWindowPos2i(10, y); | ||
241 | PrintString("Testing..."); | ||
242 | } | ||
243 | |||
244 | diff --git a/src/tests/viewmemory.c b/src/tests/viewmemory.c | ||
245 | index 16044b9..3584c33 100644 | ||
246 | --- a/src/tests/viewmemory.c | ||
247 | +++ b/src/tests/viewmemory.c | ||
248 | @@ -95,7 +95,7 @@ Draw(void) | ||
249 | |||
250 | glDisable(GL_TEXTURE_2D); | ||
251 | glColor3f(0, 1, 0); | ||
252 | - glWindowPos2iARB(10, 10); | ||
253 | + glWindowPos2i(10, 10); | ||
254 | PrintString(s); | ||
255 | |||
256 | glutSwapBuffers(); | ||
257 | diff --git a/src/trivial/clear-fbo-scissor.c b/src/trivial/clear-fbo-scissor.c | ||
258 | index a30935c..5c15200 100644 | ||
259 | --- a/src/trivial/clear-fbo-scissor.c | ||
260 | +++ b/src/trivial/clear-fbo-scissor.c | ||
261 | @@ -182,7 +182,7 @@ Draw(void) | ||
262 | |||
263 | /* draw to window */ | ||
264 | glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0); | ||
265 | - glWindowPos2iARB(0, 0); | ||
266 | + glWindowPos2i(0, 0); | ||
267 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
268 | |||
269 | free(buffer); | ||
270 | diff --git a/src/trivial/clear-fbo-tex.c b/src/trivial/clear-fbo-tex.c | ||
271 | index de84f98..f0fbdf6 100644 | ||
272 | --- a/src/trivial/clear-fbo-tex.c | ||
273 | +++ b/src/trivial/clear-fbo-tex.c | ||
274 | @@ -140,7 +140,7 @@ static void Draw( void ) | ||
275 | glClearColor(0.8, 0.8, 0, 0.0); | ||
276 | glClear(GL_COLOR_BUFFER_BIT); | ||
277 | |||
278 | - glWindowPos2iARB(30, 30); | ||
279 | + glWindowPos2i(30, 30); | ||
280 | glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
281 | |||
282 | free(buffer); | ||
283 | diff --git a/src/trivial/clear-fbo.c b/src/trivial/clear-fbo.c | ||
284 | index 10d830b..3fee3e3 100644 | ||
285 | --- a/src/trivial/clear-fbo.c | ||
286 | +++ b/src/trivial/clear-fbo.c | ||
287 | @@ -116,7 +116,7 @@ Draw(void) | ||
288 | glClearColor(0.8, 0.8, 0, 0.0); | ||
289 | glClear(GL_COLOR_BUFFER_BIT); | ||
290 | |||
291 | - glWindowPos2iARB(30, 30); | ||
292 | + glWindowPos2i(30, 30); | ||
293 | glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
294 | |||
295 | free(buffer); | ||
296 | diff --git a/src/trivial/readpixels.c b/src/trivial/readpixels.c | ||
297 | index ccce4ed..74e0546 100644 | ||
298 | --- a/src/trivial/readpixels.c | ||
299 | +++ b/src/trivial/readpixels.c | ||
300 | @@ -71,7 +71,7 @@ static void Draw(void) | ||
301 | printf("Pixel(0,0) = %f, %f, %f, %f\n", | ||
302 | image[0], image[1], image[2], image[3]); | ||
303 | /* draw to right half of window */ | ||
304 | - glWindowPos2iARB(Width, 0); | ||
305 | + glWindowPos2i(Width, 0); | ||
306 | glPixelZoom(Zoom, Zoom); | ||
307 | glDrawPixels(Width, Height, GL_RGBA, GL_FLOAT, image); | ||
308 | free(image); | ||
309 | diff --git a/src/trivial/tri-fbo.c b/src/trivial/tri-fbo.c | ||
310 | index d5800b2..dd1f21a 100644 | ||
311 | --- a/src/trivial/tri-fbo.c | ||
312 | +++ b/src/trivial/tri-fbo.c | ||
313 | @@ -119,7 +119,7 @@ static void Draw( void ) | ||
314 | glClearColor(0.8, 0.8, 0, 0.0); | ||
315 | glClear(GL_COLOR_BUFFER_BIT); | ||
316 | |||
317 | - glWindowPos2iARB(30, 30); | ||
318 | + glWindowPos2i(30, 30); | ||
319 | glDrawPixels(Width-60, Height-60, GL_RGBA, GL_UNSIGNED_BYTE, buffer); | ||
320 | |||
321 | |||
322 | diff --git a/src/xdemos/glxsnoop.c b/src/xdemos/glxsnoop.c | ||
323 | index 2215cfd..13d2b2d 100644 | ||
324 | --- a/src/xdemos/glxsnoop.c | ||
325 | +++ b/src/xdemos/glxsnoop.c | ||
326 | @@ -91,7 +91,7 @@ redraw(Display *dpy, Window srcWin, Window dstWin ) | ||
327 | } | ||
328 | |||
329 | glXMakeCurrent(dpy, dstWin, Context); | ||
330 | - glWindowPos2iARB(0, 0); | ||
331 | + glWindowPos2i(0, 0); | ||
332 | glDrawBuffer(GL_FRONT); | ||
333 | glDrawPixels(Width, Height, GL_RGBA, GL_UNSIGNED_BYTE, image); | ||
334 | glFlush(); | ||
335 | diff --git a/src/xdemos/wincopy.c b/src/xdemos/wincopy.c | ||
336 | index f670983..d010085 100644 | ||
337 | --- a/src/xdemos/wincopy.c | ||
338 | +++ b/src/xdemos/wincopy.c | ||
339 | @@ -156,11 +156,11 @@ Redraw(void) | ||
340 | glClear(GL_COLOR_BUFFER_BIT); | ||
341 | |||
342 | if (TestClipping) { | ||
343 | - glWindowPos2iARB(-2, -2); | ||
344 | + glWindowPos2i(-2, -2); | ||
345 | glCopyPixels(-2, -2, Width[0] + 4, Height[0] + 4, GL_COLOR); | ||
346 | } | ||
347 | else { | ||
348 | - glWindowPos2iARB(0, 0); | ||
349 | + glWindowPos2i(0, 0); | ||
350 | glCopyPixels(0, 0, Width[0], Height[0], GL_COLOR); | ||
351 | } | ||
352 | |||
353 | -- | ||
354 | 1.8.1 | ||
355 | |||
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch new file mode 100644 index 00000000..eb541d65 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | mesa-demos: Add extension header to fix build break now that gl1 is removed | ||
2 | |||
3 | Upstream Status: Pending | ||
4 | |||
5 | diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c | ||
6 | index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644 | ||
7 | --- a/src/egl/opengles1/clear.c | ||
8 | +++ b/src/egl/opengles1/clear.c | ||
9 | @@ -34,7 +34,7 @@ | ||
10 | #include <stdio.h> | ||
11 | #include <EGL/egl.h> | ||
12 | #include <GLES/gl.h> | ||
13 | - | ||
14 | +#include <GLES/glext.h> | ||
15 | #include "eglut.h" | ||
16 | |||
17 | typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); | ||
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend new file mode 100644 index 00000000..9f675a25 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend | |||
@@ -0,0 +1,6 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \ | ||
4 | file://fix-clear-build-break.patch" | ||
5 | |||
6 | PACKAGECONFIG_remove_mx6sl = "gles1 gles2" | ||
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend b/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend new file mode 100644 index 00000000..ec11097c --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/mesa/mesa_%.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | PACKAGECONFIG_remove_mx5 = "egl gles" | ||
2 | PROVIDES_remove_mx5 = "virtual/libgles1 virtual/libgles2 virtual/egl" | ||
3 | |||
4 | PACKAGECONFIG_remove_mx6 = "egl gles" | ||
5 | |||
6 | # i.MX6SL uses mesa software rendering | ||
7 | |||
8 | PROVIDES_remove_mx6 = "virtual/libgles1 virtual/libgles2 virtual/egl" | ||
9 | PROVIDES_remove_mx6q = "virtual/libgl" | ||
10 | PROVIDES_remove_mx6dl = "virtual/libgl" | ||
11 | PROVIDES_remove_mx6sx = "virtual/libgl" | ||
12 | |||
13 | USE_VIV_LIBGL = "yes" | ||
14 | USE_VIV_LIBGL_mx6sl = "no" | ||
15 | |||
16 | # FIXME: Dirty hack to allow use of Vivante GPU libGL binary | ||
17 | do_install_append_mx6 () { | ||
18 | if [ "${USE_VIV_LIBGL}" = "yes" ]; then | ||
19 | rm -f ${D}${libdir}/libGL.* | ||
20 | fi | ||
21 | } | ||
22 | EXTRA_OECONF_mx6 := "${@'${EXTRA_OECONF}'.replace('--enable-glx-tls','--enable-glx')}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/packagegroups/packagegroup-core-directfb.bbappend b/meta-fsl-arm/recipes-graphics/packagegroups/packagegroup-core-directfb.bbappend new file mode 100644 index 00000000..a95af537 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/packagegroups/packagegroup-core-directfb.bbappend | |||
@@ -0,0 +1,3 @@ | |||
1 | # i.MX6 has DirectFB acceleration support, so add it | ||
2 | RDEPENDS_${PN}_append_mx6 = " libvivante-dfb-mx6" | ||
3 | PACKAGE_ARCH_mx6 = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/piglit/piglit_git.bbappend b/meta-fsl-arm/recipes-graphics/piglit/piglit_git.bbappend new file mode 100644 index 00000000..316bec99 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/piglit/piglit_git.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | DEPENDS_append_mx6 = " virtual/egl" | ||
2 | |||
3 | # Provide the need flags and backend settings to work with Vivante GPU | ||
4 | CFLAGS_append_mx6 = " -DLINUX \ | ||
5 | ${@base_contains('DISTRO_FEATURES', 'x11', '-DEGL_API_FB', \ | ||
6 | base_contains('DISTRO_FEATURES', 'wayland', \ | ||
7 | '-DEGL_API_WL', '', d), d)}" | ||
diff --git a/meta-fsl-arm/recipes-graphics/wayland/weston/0001-MGS-840-Add-i.MX6-support-for-weston.patch b/meta-fsl-arm/recipes-graphics/wayland/weston/0001-MGS-840-Add-i.MX6-support-for-weston.patch new file mode 100644 index 00000000..80505bdc --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/wayland/weston/0001-MGS-840-Add-i.MX6-support-for-weston.patch | |||
@@ -0,0 +1,1709 @@ | |||
1 | From 0da66b0b96a7059392f0b62d3a13fcedf1023ba8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Prabhu <prabhu.sundararaj@freescale.com> | ||
3 | Date: Wed, 24 Jun 2015 17:29:03 -0500 | ||
4 | Subject: [PATCH] MGS-840 Add i.MX6 support for weston | ||
5 | |||
6 | Add fbdev backend support for Vivante FBdev EGL | ||
7 | |||
8 | Date: June 24, 2015 | ||
9 | Signed-off-by: Prabhu <prabhu.sundararaj@freescale.com> | ||
10 | --- | ||
11 | Makefile.am | 13 + | ||
12 | src/compositor-fbdev.c | 139 ++++- | ||
13 | src/gal2d-renderer.c | 1337 ++++++++++++++++++++++++++++++++++++++++++++++++ | ||
14 | src/gal2d-renderer.h | 47 ++ | ||
15 | 4 files changed, 1519 insertions(+), 17 deletions(-) | ||
16 | mode change 100644 => 100755 Makefile.am | ||
17 | create mode 100644 src/gal2d-renderer.c | ||
18 | create mode 100644 src/gal2d-renderer.h | ||
19 | |||
20 | diff --git a/Makefile.am b/Makefile.am | ||
21 | old mode 100644 | ||
22 | new mode 100755 | ||
23 | index 5819b19..e7e2d49 | ||
24 | --- a/Makefile.am | ||
25 | +++ b/Makefile.am | ||
26 | @@ -207,6 +207,19 @@ gl_renderer_la_SOURCES = \ | ||
27 | src/vertex-clipping.h | ||
28 | endif | ||
29 | |||
30 | +module_LTLIBRARIES += gal2d-renderer.la | ||
31 | +gal2d_renderer_la_LDFLAGS = -module -avoid-version | ||
32 | +gal2d_renderer_la_LIBADD = $(COMPOSITOR_LIBS) $(EGL_LIBS) | ||
33 | +gal2d_renderer_la_CFLAGS = \ | ||
34 | + $(COMPOSITOR_CFLAGS) \ | ||
35 | + $(EGL_CFLAGS) \ | ||
36 | + $(GCC_CFLAGS) | ||
37 | +gal2d_renderer_la_SOURCES = \ | ||
38 | + src/gal2d-renderer.h \ | ||
39 | + src/gal2d-renderer.c \ | ||
40 | + src/vertex-clipping.c \ | ||
41 | + src/vertex-clipping.h | ||
42 | + | ||
43 | if ENABLE_X11_COMPOSITOR | ||
44 | module_LTLIBRARIES += x11-backend.la | ||
45 | x11_backend_la_LDFLAGS = -module -avoid-version | ||
46 | diff --git a/src/compositor-fbdev.c b/src/compositor-fbdev.c | ||
47 | index 3f3394f..9d18c45 100644 | ||
48 | --- a/src/compositor-fbdev.c | ||
49 | +++ b/src/compositor-fbdev.c | ||
50 | @@ -45,6 +45,7 @@ | ||
51 | #include "libinput-seat.h" | ||
52 | #include "gl-renderer.h" | ||
53 | #include "presentation_timing-server-protocol.h" | ||
54 | +#include "gal2d-renderer.h" | ||
55 | |||
56 | struct fbdev_compositor { | ||
57 | struct weston_compositor base; | ||
58 | @@ -53,7 +54,9 @@ struct fbdev_compositor { | ||
59 | struct udev *udev; | ||
60 | struct udev_input input; | ||
61 | int use_pixman; | ||
62 | + int use_gal2d; | ||
63 | struct wl_listener session_listener; | ||
64 | + NativeDisplayType display; | ||
65 | }; | ||
66 | |||
67 | struct fbdev_screeninfo { | ||
68 | @@ -88,15 +91,20 @@ struct fbdev_output { | ||
69 | pixman_image_t *shadow_surface; | ||
70 | void *shadow_buf; | ||
71 | uint8_t depth; | ||
72 | + | ||
73 | + NativeDisplayType display; | ||
74 | + NativeWindowType window; | ||
75 | }; | ||
76 | |||
77 | struct fbdev_parameters { | ||
78 | int tty; | ||
79 | char *device; | ||
80 | int use_gl; | ||
81 | + int use_gal2d; | ||
82 | }; | ||
83 | |||
84 | struct gl_renderer_interface *gl_renderer; | ||
85 | +struct gal2d_renderer_interface *gal2d_renderer; | ||
86 | |||
87 | static const char default_seat[] = "seat0"; | ||
88 | |||
89 | @@ -471,6 +479,10 @@ fbdev_frame_buffer_destroy(struct fbdev_output *output) | ||
90 | strerror(errno)); | ||
91 | |||
92 | output->fb = NULL; | ||
93 | + if(output->window) | ||
94 | + fbDestroyWindow(output->window); | ||
95 | + if(output->display) | ||
96 | + fbDestroyDisplay(output->display); | ||
97 | } | ||
98 | |||
99 | static void fbdev_output_destroy(struct weston_output *base); | ||
100 | @@ -478,7 +490,7 @@ static void fbdev_output_disable(struct weston_output *base); | ||
101 | |||
102 | static int | ||
103 | fbdev_output_create(struct fbdev_compositor *compositor, | ||
104 | - const char *device) | ||
105 | + int x, int y, const char *device) | ||
106 | { | ||
107 | struct fbdev_output *output; | ||
108 | struct weston_config_section *section; | ||
109 | @@ -489,7 +501,7 @@ fbdev_output_create(struct fbdev_compositor *compositor, | ||
110 | uint32_t config_transform; | ||
111 | char *s; | ||
112 | |||
113 | - weston_log("Creating fbdev output.\n"); | ||
114 | + weston_log("Creating fbdev output. %s x=%d y=%d\n", device, x, y); | ||
115 | |||
116 | output = zalloc(sizeof *output); | ||
117 | if (output == NULL) | ||
118 | @@ -542,7 +554,7 @@ fbdev_output_create(struct fbdev_compositor *compositor, | ||
119 | free(s); | ||
120 | |||
121 | weston_output_init(&output->base, &compositor->base, | ||
122 | - 0, 0, output->fb_info.width_mm, | ||
123 | + x, y, output->fb_info.width_mm, | ||
124 | output->fb_info.height_mm, | ||
125 | config_transform, | ||
126 | 1); | ||
127 | @@ -565,12 +577,43 @@ fbdev_output_create(struct fbdev_compositor *compositor, | ||
128 | if (compositor->use_pixman) { | ||
129 | if (pixman_renderer_output_create(&output->base) < 0) | ||
130 | goto out_shadow_surface; | ||
131 | - } else { | ||
132 | + } | ||
133 | + else if(compositor->use_gal2d) { | ||
134 | + | ||
135 | + char* fbenv = getenv("FB_FRAMEBUFFER_0"); | ||
136 | + setenv("FB_FRAMEBUFFER_0", device, 1); | ||
137 | + output->display = fbGetDisplay(compositor->base.wl_display); | ||
138 | + if (output->display == NULL) { | ||
139 | + fprintf(stderr, "failed to get display\n"); | ||
140 | + return 0; | ||
141 | + } | ||
142 | + | ||
143 | + output->window = fbCreateWindow(output->display, -1, -1, 0, 0); | ||
144 | + if (output->window == NULL) { | ||
145 | + fprintf(stderr, "failed to create window\n"); | ||
146 | + return 0; | ||
147 | + } | ||
148 | + setenv("FB_FRAMEBUFFER_0", fbenv, 1); | ||
149 | + | ||
150 | + if (gal2d_renderer->output_create(&output->base, | ||
151 | + output->display, | ||
152 | + (NativeWindowType)output->window) < 0) { | ||
153 | + weston_log("gal_renderer_output_create failed.\n"); | ||
154 | + goto out_shadow_surface; | ||
155 | + } | ||
156 | + | ||
157 | + } | ||
158 | + else { | ||
159 | setenv("HYBRIS_EGLPLATFORM", "wayland", 1); | ||
160 | + output->window = fbCreateWindow(compositor->display, -1, -1, 0, 0); | ||
161 | + if (output->window == NULL) { | ||
162 | + fprintf(stderr, "failed to create window\n"); | ||
163 | + return 0; | ||
164 | + } | ||
165 | if (gl_renderer->output_create(&output->base, | ||
166 | - (EGLNativeWindowType)NULL, NULL, | ||
167 | - gl_renderer->opaque_attribs, | ||
168 | - NULL, 0) < 0) { | ||
169 | + (NativeWindowType)output->window, NULL, | ||
170 | + gl_renderer->opaque_attribs, | ||
171 | + NULL, 0) < 0) { | ||
172 | weston_log("gl_renderer_output_create failed.\n"); | ||
173 | goto out_shadow_surface; | ||
174 | } | ||
175 | @@ -629,7 +672,11 @@ fbdev_output_destroy(struct weston_output *base) | ||
176 | free(output->shadow_buf); | ||
177 | output->shadow_buf = NULL; | ||
178 | } | ||
179 | - } else { | ||
180 | + } | ||
181 | + else if (compositor->use_gal2d) { | ||
182 | + gal2d_renderer->output_destroy(base); | ||
183 | + } | ||
184 | + else { | ||
185 | gl_renderer->output_destroy(base); | ||
186 | } | ||
187 | |||
188 | @@ -692,7 +739,7 @@ fbdev_output_reenable(struct fbdev_compositor *compositor, | ||
189 | * are re-initialised. */ | ||
190 | device = output->device; | ||
191 | fbdev_output_destroy(base); | ||
192 | - fbdev_output_create(compositor, device); | ||
193 | + fbdev_output_create(compositor, 0, 0, device); | ||
194 | |||
195 | return 0; | ||
196 | } | ||
197 | @@ -850,7 +897,10 @@ fbdev_compositor_create(struct wl_display *display, int *argc, char *argv[], | ||
198 | compositor->base.restore = fbdev_restore; | ||
199 | |||
200 | compositor->prev_state = WESTON_COMPOSITOR_ACTIVE; | ||
201 | - compositor->use_pixman = !param->use_gl; | ||
202 | + compositor->use_gal2d = param->use_gal2d; | ||
203 | + weston_log("compositor->use_gal2d=%d\n", compositor->use_gal2d); | ||
204 | + if(param->use_gl == 0 && param->use_gal2d == 0) | ||
205 | + compositor->use_pixman = 1; | ||
206 | |||
207 | for (key = KEY_F1; key < KEY_F9; key++) | ||
208 | weston_compositor_add_key_binding(&compositor->base, key, | ||
209 | @@ -860,7 +910,50 @@ fbdev_compositor_create(struct wl_display *display, int *argc, char *argv[], | ||
210 | if (compositor->use_pixman) { | ||
211 | if (pixman_renderer_init(&compositor->base) < 0) | ||
212 | goto out_launcher; | ||
213 | - } else { | ||
214 | + } | ||
215 | + else if (compositor->use_gal2d) { | ||
216 | + int x = 0, y = 0; | ||
217 | + int i=0; | ||
218 | + int count = 0; | ||
219 | + int k=0, dispCount = 0; | ||
220 | + char displays[5][32]; | ||
221 | + gal2d_renderer = weston_load_module("gal2d-renderer.so", | ||
222 | + "gal2d_renderer_interface"); | ||
223 | + if (!gal2d_renderer) { | ||
224 | + weston_log("could not load gal2d renderer\n"); | ||
225 | + goto out_launcher; | ||
226 | + } | ||
227 | + | ||
228 | + if (gal2d_renderer->create(&compositor->base) < 0) { | ||
229 | + weston_log("gal2d_renderer_create failed.\n"); | ||
230 | + goto out_launcher; | ||
231 | + } | ||
232 | + | ||
233 | + weston_log("param->device=%s\n",param->device); | ||
234 | + count = strlen(param->device); | ||
235 | + | ||
236 | + for(i= 0; i < count; i++) { | ||
237 | + if(param->device[i] == ',') { | ||
238 | + displays[dispCount][k] = '\0'; | ||
239 | + dispCount++; | ||
240 | + k = 0; | ||
241 | + continue; | ||
242 | + } | ||
243 | + displays[dispCount][k++] = param->device[i]; | ||
244 | + } | ||
245 | + displays[dispCount][k] = '\0'; | ||
246 | + dispCount++; | ||
247 | + | ||
248 | + for(i=0; i<dispCount; i++) | ||
249 | + { | ||
250 | + if (fbdev_output_create(compositor, x, y, displays[i]) < 0) | ||
251 | + goto out_pixman; | ||
252 | + x += container_of(compositor->base.output_list.prev, | ||
253 | + struct weston_output, | ||
254 | + link)->width; | ||
255 | + } | ||
256 | + } | ||
257 | + else { | ||
258 | gl_renderer = weston_load_module("gl-renderer.so", | ||
259 | "gl_renderer_interface"); | ||
260 | if (!gl_renderer) { | ||
261 | @@ -868,17 +961,22 @@ fbdev_compositor_create(struct wl_display *display, int *argc, char *argv[], | ||
262 | goto out_launcher; | ||
263 | } | ||
264 | |||
265 | - if (gl_renderer->create(&compositor->base, NO_EGL_PLATFORM, | ||
266 | - EGL_DEFAULT_DISPLAY, | ||
267 | + compositor->display = fbGetDisplay(compositor->base.wl_display); | ||
268 | + if (compositor->display == NULL) { | ||
269 | + weston_log("fbGetDisplay failed.\n"); | ||
270 | + goto out_launcher; | ||
271 | + } | ||
272 | + | ||
273 | + if (gl_renderer->create(&compositor->base, NO_EGL_PLATFORM, compositor->display, | ||
274 | gl_renderer->opaque_attribs, | ||
275 | NULL, 0) < 0) { | ||
276 | weston_log("gl_renderer_create failed.\n"); | ||
277 | goto out_launcher; | ||
278 | } | ||
279 | } | ||
280 | - | ||
281 | - if (fbdev_output_create(compositor, param->device) < 0) | ||
282 | - goto out_pixman; | ||
283 | + if(!compositor->use_gal2d) | ||
284 | + if (fbdev_output_create(compositor, 0, 0, param->device) < 0) | ||
285 | + goto out_pixman; | ||
286 | |||
287 | udev_input_init(&compositor->input, &compositor->base, compositor->udev, seat_id); | ||
288 | |||
289 | @@ -911,13 +1009,20 @@ backend_init(struct wl_display *display, int *argc, char *argv[], | ||
290 | struct fbdev_parameters param = { | ||
291 | .tty = 0, /* default to current tty */ | ||
292 | .device = "/dev/fb0", /* default frame buffer */ | ||
293 | +#ifdef ENABLE_EGL | ||
294 | + .use_gl = 1, | ||
295 | + .use_gal2d = 0, | ||
296 | +#else | ||
297 | .use_gl = 0, | ||
298 | + .use_gal2d = 1, | ||
299 | +#endif | ||
300 | }; | ||
301 | |||
302 | const struct weston_option fbdev_options[] = { | ||
303 | { WESTON_OPTION_INTEGER, "tty", 0, ¶m.tty }, | ||
304 | { WESTON_OPTION_STRING, "device", 0, ¶m.device }, | ||
305 | - { WESTON_OPTION_BOOLEAN, "use-gl", 0, ¶m.use_gl }, | ||
306 | + { WESTON_OPTION_INTEGER, "use-gl", 0, ¶m.use_gl }, | ||
307 | + { WESTON_OPTION_INTEGER, "use-gal2d", 0, ¶m.use_gal2d }, | ||
308 | }; | ||
309 | |||
310 | parse_options(fbdev_options, ARRAY_LENGTH(fbdev_options), argc, argv); | ||
311 | diff --git a/src/gal2d-renderer.c b/src/gal2d-renderer.c | ||
312 | new file mode 100644 | ||
313 | index 0000000..7ebbf98 | ||
314 | --- /dev/null | ||
315 | +++ b/src/gal2d-renderer.c | ||
316 | @@ -0,0 +1,1337 @@ | ||
317 | +/* | ||
318 | + * Copyright (c) 2015 Freescale Semiconductor, Inc. | ||
319 | + * Copyright © 2012 Intel Corporation | ||
320 | + * | ||
321 | + * Permission to use, copy, modify, distribute, and sell this software and | ||
322 | + * its documentation for any purpose is hereby granted without fee, provided | ||
323 | + * that the above copyright notice appear in all copies and that both that | ||
324 | + * copyright notice and this permission notice appear in supporting | ||
325 | + * documentation, and that the name of the copyright holders not be used in | ||
326 | + * advertising or publicity pertaining to distribution of the software | ||
327 | + * without specific, written prior permission. The copyright holders make | ||
328 | + * no representations about the suitability of this software for any | ||
329 | + * purpose. It is provided "as is" without express or implied warranty. | ||
330 | + * | ||
331 | + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS | ||
332 | + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
333 | + * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
334 | + * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER | ||
335 | + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF | ||
336 | + * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
337 | + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
338 | + */ | ||
339 | + | ||
340 | +#define _GNU_SOURCE | ||
341 | + | ||
342 | +#include <stdlib.h> | ||
343 | +#include <string.h> | ||
344 | +#include <ctype.h> | ||
345 | +#include <float.h> | ||
346 | +#include <assert.h> | ||
347 | +#include <pthread.h> | ||
348 | + | ||
349 | +#include "compositor.h" | ||
350 | +#include "gal2d-renderer.h" | ||
351 | +#include "vertex-clipping.h" | ||
352 | +#include "HAL/gc_hal.h" | ||
353 | +#include "HAL/gc_hal_raster.h" | ||
354 | +#include "HAL/gc_hal_eglplatform.h" | ||
355 | + | ||
356 | +#define galONERROR(x) if(status < 0) printf("Error in function %s\n", __func__); | ||
357 | + | ||
358 | +struct gal2d_output_state { | ||
359 | + | ||
360 | + int current_buffer; | ||
361 | + pixman_region32_t buffer_damage[2]; | ||
362 | + NativeDisplayType display; | ||
363 | + gcoSURF* renderSurf; | ||
364 | + gctUINT32 nNumBuffers; | ||
365 | + int activebuffer; | ||
366 | + gcoSURF offscreenSurface; | ||
367 | + gceSURF_FORMAT format; | ||
368 | + pthread_mutex_t workerMutex; | ||
369 | + pthread_t workerId; | ||
370 | + gctUINT32 exitWorker; | ||
371 | + gctSIGNAL signal; | ||
372 | + gctSIGNAL busySignal; | ||
373 | + gcsHAL_INTERFACE iface; | ||
374 | + int directBlit; | ||
375 | + gctINT width; | ||
376 | + gctINT height; | ||
377 | +}; | ||
378 | + | ||
379 | +struct gal2d_surface_state { | ||
380 | + float color[4]; | ||
381 | + struct weston_buffer_reference buffer_ref; | ||
382 | + int pitch; /* in pixels */ | ||
383 | + pixman_region32_t texture_damage; | ||
384 | + gcoSURF gco_Surface; | ||
385 | + | ||
386 | + struct weston_surface *surface; | ||
387 | + struct wl_listener surface_destroy_listener; | ||
388 | + struct wl_listener renderer_destroy_listener; | ||
389 | +}; | ||
390 | + | ||
391 | +struct gal2d_renderer { | ||
392 | + struct weston_renderer base; | ||
393 | + struct wl_signal destroy_signal; | ||
394 | + gcoOS gcos; | ||
395 | + gcoHAL gcoHal; | ||
396 | + gco2D gcoEngine2d; | ||
397 | + gctPOINTER localInfo; | ||
398 | +}; | ||
399 | + | ||
400 | +static int | ||
401 | +gal2d_renderer_create_surface(struct weston_surface *surface); | ||
402 | + | ||
403 | +static inline struct gal2d_surface_state * | ||
404 | +get_surface_state(struct weston_surface *surface) | ||
405 | +{ | ||
406 | + if (!surface->renderer_state) | ||
407 | + gal2d_renderer_create_surface(surface); | ||
408 | + return (struct gal2d_surface_state *)surface->renderer_state; | ||
409 | +} | ||
410 | + | ||
411 | +static inline struct gal2d_renderer * | ||
412 | +get_renderer(struct weston_compositor *ec) | ||
413 | +{ | ||
414 | + return (struct gal2d_renderer *)ec->renderer; | ||
415 | +} | ||
416 | + | ||
417 | + | ||
418 | + | ||
419 | +#define max(a, b) (((a) > (b)) ? (a) : (b)) | ||
420 | +#define min(a, b) (((a) > (b)) ? (b) : (a)) | ||
421 | +/* | ||
422 | + * Compute the boundary vertices of the intersection of the global coordinate | ||
423 | + * aligned rectangle 'rect', and an arbitrary quadrilateral produced from | ||
424 | + * 'surf_rect' when transformed from surface coordinates into global coordinates. | ||
425 | + * The vertices are written to 'ex' and 'ey', and the return value is the | ||
426 | + * number of vertices. Vertices are produced in clockwise winding order. | ||
427 | + * Guarantees to produce either zero vertices, or 3-8 vertices with non-zero | ||
428 | + * polygon area. | ||
429 | + */ | ||
430 | +static int | ||
431 | +calculate_edges(struct weston_view *ev, pixman_box32_t *rect, | ||
432 | + pixman_box32_t *surf_rect, float *ex, float *ey) | ||
433 | +{ | ||
434 | + | ||
435 | + struct clip_context ctx; | ||
436 | + int i, n; | ||
437 | + float min_x, max_x, min_y, max_y; | ||
438 | + struct polygon8 surf = { | ||
439 | + { surf_rect->x1, surf_rect->x2, surf_rect->x2, surf_rect->x1 }, | ||
440 | + { surf_rect->y1, surf_rect->y1, surf_rect->y2, surf_rect->y2 }, | ||
441 | + 4 | ||
442 | + }; | ||
443 | + | ||
444 | + ctx.clip.x1 = rect->x1; | ||
445 | + ctx.clip.y1 = rect->y1; | ||
446 | + ctx.clip.x2 = rect->x2; | ||
447 | + ctx.clip.y2 = rect->y2; | ||
448 | + | ||
449 | + /* transform surface to screen space: */ | ||
450 | + for (i = 0; i < surf.n; i++) | ||
451 | + weston_view_to_global_float(ev, surf.x[i], surf.y[i], | ||
452 | + &surf.x[i], &surf.y[i]); | ||
453 | + | ||
454 | + /* find bounding box: */ | ||
455 | + min_x = max_x = surf.x[0]; | ||
456 | + min_y = max_y = surf.y[0]; | ||
457 | + | ||
458 | + for (i = 1; i < surf.n; i++) { | ||
459 | + min_x = min(min_x, surf.x[i]); | ||
460 | + max_x = max(max_x, surf.x[i]); | ||
461 | + min_y = min(min_y, surf.y[i]); | ||
462 | + max_y = max(max_y, surf.y[i]); | ||
463 | + } | ||
464 | + | ||
465 | + /* First, simple bounding box check to discard early transformed | ||
466 | + * surface rects that do not intersect with the clip region: | ||
467 | + */ | ||
468 | + if ((min_x >= ctx.clip.x2) || (max_x <= ctx.clip.x1) || | ||
469 | + (min_y >= ctx.clip.y2) || (max_y <= ctx.clip.y1)) | ||
470 | + return 0; | ||
471 | + | ||
472 | + /* Simple case, bounding box edges are parallel to surface edges, | ||
473 | + * there will be only four edges. We just need to clip the surface | ||
474 | + * vertices to the clip rect bounds: | ||
475 | + */ | ||
476 | + if (!ev->transform.enabled) | ||
477 | + return clip_simple(&ctx, &surf, ex, ey); | ||
478 | + | ||
479 | + /* Transformed case: use a general polygon clipping algorithm to | ||
480 | + * clip the surface rectangle with each side of 'rect'. | ||
481 | + * The algorithm is Sutherland-Hodgman, as explained in | ||
482 | + * http://www.codeguru.com/cpp/misc/misc/graphics/article.php/c8965/Polygon-Clipping.htm | ||
483 | + * but without looking at any of that code. | ||
484 | + */ | ||
485 | + n = clip_transformed(&ctx, &surf, ex, ey); | ||
486 | + | ||
487 | + if (n < 3) | ||
488 | + return 0; | ||
489 | + | ||
490 | + return n; | ||
491 | +} | ||
492 | + | ||
493 | + | ||
494 | +static inline struct gal2d_output_state * | ||
495 | +get_output_state(struct weston_output *output) | ||
496 | +{ | ||
497 | + return (struct gal2d_output_state *)output->renderer_state; | ||
498 | +} | ||
499 | + | ||
500 | +static gctUINT32 | ||
501 | +galGetStretchFactor(gctINT32 SrcSize, gctINT32 DestSize) | ||
502 | +{ | ||
503 | + gctUINT stretchFactor; | ||
504 | + if ( (SrcSize > 0) && (DestSize > 1) ) | ||
505 | + { | ||
506 | + stretchFactor = ((SrcSize - 1) << 16) / (DestSize - 1); | ||
507 | + } | ||
508 | + else | ||
509 | + { | ||
510 | + stretchFactor = 0; | ||
511 | + } | ||
512 | + return stretchFactor; | ||
513 | +} | ||
514 | + | ||
515 | +static gceSTATUS | ||
516 | +galGetStretchFactors( | ||
517 | + IN gcsRECT_PTR SrcRect, | ||
518 | + IN gcsRECT_PTR DestRect, | ||
519 | + OUT gctUINT32 * HorFactor, | ||
520 | + OUT gctUINT32 * VerFactor | ||
521 | + ) | ||
522 | +{ | ||
523 | + if (HorFactor != gcvNULL) | ||
524 | + { | ||
525 | + gctINT32 src, dest; | ||
526 | + | ||
527 | + /* Compute width of rectangles. */ | ||
528 | + gcmVERIFY_OK(gcsRECT_Width(SrcRect, &src)); | ||
529 | + gcmVERIFY_OK(gcsRECT_Width(DestRect, &dest)); | ||
530 | + | ||
531 | + /* Compute and return horizontal stretch factor. */ | ||
532 | + *HorFactor = galGetStretchFactor(src, dest); | ||
533 | + } | ||
534 | + | ||
535 | + if (VerFactor != gcvNULL) | ||
536 | + { | ||
537 | + gctINT32 src, dest; | ||
538 | + | ||
539 | + /* Compute height of rectangles. */ | ||
540 | + gcmVERIFY_OK(gcsRECT_Height(SrcRect, &src)); | ||
541 | + gcmVERIFY_OK(gcsRECT_Height(DestRect, &dest)); | ||
542 | + | ||
543 | + /* Compute and return vertical stretch factor. */ | ||
544 | + *VerFactor = galGetStretchFactor(src, dest); | ||
545 | + } | ||
546 | + /* Success. */ | ||
547 | + return gcvSTATUS_OK; | ||
548 | +} | ||
549 | + | ||
550 | +static gceSTATUS | ||
551 | +gal2d_getSurfaceFormat(halDISPLAY_INFO info, gceSURF_FORMAT * Format) | ||
552 | +{ | ||
553 | + /* Get the color format. */ | ||
554 | + switch (info.greenLength) | ||
555 | + { | ||
556 | + case 4: | ||
557 | + if (info.blueOffset == 0) | ||
558 | + { | ||
559 | + *Format = (info.alphaLength == 0) ? gcvSURF_X4R4G4B4 : gcvSURF_A4R4G4B4; | ||
560 | + } | ||
561 | + else | ||
562 | + { | ||
563 | + *Format = (info.alphaLength == 0) ? gcvSURF_X4B4G4R4 : gcvSURF_A4B4G4R4; | ||
564 | + } | ||
565 | + break; | ||
566 | + | ||
567 | + case 5: | ||
568 | + if (info.blueOffset == 0) | ||
569 | + { | ||
570 | + *Format = (info.alphaLength == 0) ? gcvSURF_X1R5G5B5 : gcvSURF_A1R5G5B5; | ||
571 | + } | ||
572 | + else | ||
573 | + { | ||
574 | + *Format = (info.alphaLength == 0) ? gcvSURF_X1B5G5R5 : gcvSURF_A1B5G5R5; | ||
575 | + } | ||
576 | + break; | ||
577 | + | ||
578 | + case 6: | ||
579 | + *Format = gcvSURF_R5G6B5; | ||
580 | + break; | ||
581 | + | ||
582 | + case 8: | ||
583 | + if (info.blueOffset == 0) | ||
584 | + { | ||
585 | + *Format = (info.alphaLength == 0) ? gcvSURF_X8R8G8B8 : gcvSURF_A8R8G8B8; | ||
586 | + } | ||
587 | + else | ||
588 | + { | ||
589 | + *Format = (info.alphaLength == 0) ? gcvSURF_X8B8G8R8 : gcvSURF_A8B8G8R8; | ||
590 | + } | ||
591 | + break; | ||
592 | + | ||
593 | + default: | ||
594 | + /* Unsupported color depth. */ | ||
595 | + return gcvSTATUS_INVALID_ARGUMENT; | ||
596 | + } | ||
597 | + /* Success. */ | ||
598 | + return gcvSTATUS_OK; | ||
599 | +} | ||
600 | + | ||
601 | +static gceSTATUS galIsYUVFormat(IN gceSURF_FORMAT Format) | ||
602 | +{ | ||
603 | + switch (Format) | ||
604 | + { | ||
605 | + case gcvSURF_YUY2: | ||
606 | + case gcvSURF_UYVY: | ||
607 | + case gcvSURF_I420: | ||
608 | + case gcvSURF_YV12: | ||
609 | + case gcvSURF_NV16: | ||
610 | + case gcvSURF_NV12: | ||
611 | + case gcvSURF_NV61: | ||
612 | + case gcvSURF_NV21: | ||
613 | + | ||
614 | + return gcvSTATUS_TRUE; | ||
615 | + | ||
616 | + default: | ||
617 | + return gcvSTATUS_FALSE; | ||
618 | + } | ||
619 | +} | ||
620 | + | ||
621 | +static gceSTATUS galQueryUVStride( | ||
622 | + IN gceSURF_FORMAT Format, | ||
623 | + IN gctUINT32 yStride, | ||
624 | + OUT gctUINT32_PTR uStride, | ||
625 | + OUT gctUINT32_PTR vStride | ||
626 | + ) | ||
627 | +{ | ||
628 | + switch (Format) | ||
629 | + { | ||
630 | + case gcvSURF_YUY2: | ||
631 | + case gcvSURF_UYVY: | ||
632 | + *uStride = *vStride = 0; | ||
633 | + break; | ||
634 | + | ||
635 | + case gcvSURF_I420: | ||
636 | + case gcvSURF_YV12: | ||
637 | + *uStride = *vStride = yStride / 2; | ||
638 | + break; | ||
639 | + | ||
640 | + case gcvSURF_NV16: | ||
641 | + case gcvSURF_NV12: | ||
642 | + case gcvSURF_NV61: | ||
643 | + case gcvSURF_NV21: | ||
644 | + | ||
645 | + *uStride = yStride; | ||
646 | + *vStride = 0; | ||
647 | + break; | ||
648 | + | ||
649 | + default: | ||
650 | + return gcvSTATUS_NOT_SUPPORTED; | ||
651 | + } | ||
652 | + | ||
653 | + return gcvSTATUS_OK; | ||
654 | +} | ||
655 | + | ||
656 | +static int | ||
657 | +make_current(struct gal2d_renderer *gr, gcoSURF surface) | ||
658 | +{ | ||
659 | + gceSTATUS status = gcvSTATUS_OK; | ||
660 | + gctUINT width = 0; | ||
661 | + gctUINT height = 0; | ||
662 | + gctINT stride = 0; | ||
663 | + gctUINT32 physical[3]; | ||
664 | + gctPOINTER va =0; | ||
665 | + gceSURF_FORMAT format; | ||
666 | + | ||
667 | + if(!surface) | ||
668 | + goto OnError; | ||
669 | + | ||
670 | + | ||
671 | + gcmONERROR(gcoSURF_GetAlignedSize(surface, &width, &height, &stride)); | ||
672 | + gcmONERROR(gcoSURF_GetFormat(surface, gcvNULL, &format)); | ||
673 | + gcmONERROR(gcoSURF_Lock(surface, &physical[0], (gctPOINTER *)&va)); | ||
674 | + gco2D_SetGenericTarget(gr->gcoEngine2d, | ||
675 | + &physical[0], 1, | ||
676 | + &stride, 1, | ||
677 | + gcvLINEAR, format, | ||
678 | + gcvSURF_0_DEGREE, width, height); | ||
679 | + | ||
680 | + gcmONERROR(gcoSURF_Unlock(surface, (gctPOINTER *)&va)); | ||
681 | +OnError: | ||
682 | + galONERROR(status); | ||
683 | + return status; | ||
684 | +} | ||
685 | + | ||
686 | +static gceSTATUS | ||
687 | +gal2d_clear(struct weston_output *base) | ||
688 | +{ | ||
689 | + struct gal2d_renderer *gr = get_renderer(base->compositor); | ||
690 | + struct gal2d_output_state *go = get_output_state(base); | ||
691 | + gceSTATUS status = gcvSTATUS_OK; | ||
692 | + | ||
693 | + gctINT stride = 0; | ||
694 | + gctUINT width = 0, height = 0; | ||
695 | + gcsRECT dstRect = {0}; | ||
696 | + gcmONERROR(gcoSURF_GetAlignedSize(go->renderSurf[go->activebuffer], | ||
697 | + &width, &height, &stride)); | ||
698 | + dstRect.right = width; | ||
699 | + dstRect.bottom = height; | ||
700 | + gcmONERROR(gco2D_SetSource(gr->gcoEngine2d, &dstRect)); | ||
701 | + gcmONERROR(gco2D_SetClipping(gr->gcoEngine2d, &dstRect)); | ||
702 | + gcmONERROR(gco2D_Clear(gr->gcoEngine2d, 1, &dstRect, 0xff0000ff, 0xCC, 0xCC, go->format)); | ||
703 | + gcmONERROR(gcoHAL_Commit(gr->gcoHal, gcvTRUE)); | ||
704 | + | ||
705 | +OnError: | ||
706 | + galONERROR(status); | ||
707 | + | ||
708 | + return status; | ||
709 | +} | ||
710 | + | ||
711 | +static gcoSURF getSurfaceFromShm(struct weston_surface *es, struct weston_buffer *buffer) | ||
712 | +{ | ||
713 | + struct gal2d_renderer *gr = get_renderer(es->compositor); | ||
714 | + | ||
715 | + gcoSURF surface = 0; | ||
716 | + gceSURF_FORMAT format; | ||
717 | + gcePOOL pool = gcvPOOL_DEFAULT; | ||
718 | + | ||
719 | + if (wl_shm_buffer_get_format(buffer->shm_buffer) == WL_SHM_FORMAT_XRGB8888) | ||
720 | + format = gcvSURF_X8R8G8B8; | ||
721 | + else | ||
722 | + format = gcvSURF_A8R8G8B8; | ||
723 | + | ||
724 | + if(buffer->width == ((buffer->width + 0x7) & ~0x7)) | ||
725 | + { | ||
726 | + pool = gcvPOOL_USER; | ||
727 | + } | ||
728 | + | ||
729 | + gcmVERIFY_OK(gcoSURF_Construct(gr->gcoHal, | ||
730 | + (gctUINT) buffer->width, | ||
731 | + (gctUINT) buffer->height, | ||
732 | + 1, gcvSURF_BITMAP, | ||
733 | + format, pool, &surface)); | ||
734 | + | ||
735 | + if(pool == gcvPOOL_USER) | ||
736 | + { | ||
737 | + gcmVERIFY_OK(gcoSURF_MapUserSurface(surface, 1, | ||
738 | + (gctPOINTER)wl_shm_buffer_get_data(buffer->shm_buffer), gcvINVALID_ADDRESS)); | ||
739 | + } | ||
740 | + | ||
741 | + return surface; | ||
742 | +} | ||
743 | + | ||
744 | +static int | ||
745 | +gal2dBindBuffer(struct weston_surface* es) | ||
746 | +{ | ||
747 | + struct gal2d_surface_state *gs = get_surface_state(es); | ||
748 | + gceSTATUS status = gcvSTATUS_OK; | ||
749 | + gcoSURF surface = gs->gco_Surface; | ||
750 | + struct weston_buffer *buffer = gs->buffer_ref.buffer; | ||
751 | + gcePOOL pool = gcvPOOL_DEFAULT; | ||
752 | + | ||
753 | + gcmVERIFY_OK(gcoSURF_QueryVidMemNode(surface, gcvNULL, | ||
754 | + &pool, gcvNULL)); | ||
755 | + | ||
756 | + if(pool != gcvPOOL_USER) | ||
757 | + { | ||
758 | + gctUINT alignedWidth; | ||
759 | + gctPOINTER logical = (gctPOINTER)wl_shm_buffer_get_data(buffer->shm_buffer); | ||
760 | + gctPOINTER va =0; | ||
761 | + | ||
762 | + | ||
763 | + gcmVERIFY_OK(gcoSURF_GetAlignedSize(surface, &alignedWidth, gcvNULL, gcvNULL)); | ||
764 | + gcmVERIFY_OK(gcoSURF_Lock(surface, gcvNULL, (gctPOINTER *)&va)); | ||
765 | + | ||
766 | + if(alignedWidth == (unsigned int)buffer->width) | ||
767 | + { | ||
768 | + int size = wl_shm_buffer_get_stride(buffer->shm_buffer)*buffer->height; | ||
769 | + memcpy(va, logical, size); | ||
770 | + } | ||
771 | + else | ||
772 | + { | ||
773 | + int i, j; | ||
774 | + for (i = 0; i < buffer->height; i++) | ||
775 | + { | ||
776 | + for (j = 0; j < buffer->width; j++) | ||
777 | + { | ||
778 | + gctUINT dstOff = i * alignedWidth + j; | ||
779 | + gctUINT srcOff = (i * buffer->width + j); | ||
780 | + | ||
781 | + memcpy(va + dstOff * 4, logical + srcOff * 4, 4); | ||
782 | + } | ||
783 | + } | ||
784 | + } | ||
785 | + gcmVERIFY_OK(gcoSURF_Unlock(surface, (gctPOINTER)va)); | ||
786 | + } | ||
787 | + | ||
788 | + return status; | ||
789 | +} | ||
790 | + | ||
791 | +static void | ||
792 | +gal2d_flip_surface(struct weston_output *output) | ||
793 | +{ | ||
794 | + struct gal2d_output_state *go = get_output_state(output); | ||
795 | + | ||
796 | + if(go->nNumBuffers > 1) | ||
797 | + { | ||
798 | + gctUINT Offset; | ||
799 | + gctINT X; | ||
800 | + gctINT Y; | ||
801 | + | ||
802 | + gcmVERIFY_OK(gcoOS_GetDisplayBackbuffer(go->display, gcvNULL, | ||
803 | + gcvNULL, gcvNULL, &Offset, &X, &Y)); | ||
804 | + | ||
805 | + gcmVERIFY_OK(gcoOS_SetDisplayVirtual(go->display, gcvNULL, | ||
806 | + Offset, X, Y)); | ||
807 | + } | ||
808 | +} | ||
809 | + | ||
810 | +static void *gal2d_output_worker(void *arg) | ||
811 | +{ | ||
812 | + struct weston_output *output = (struct weston_output *)arg; | ||
813 | + struct gal2d_output_state *go = get_output_state(output); | ||
814 | + | ||
815 | + while(1) | ||
816 | + { | ||
817 | + if(gcoOS_WaitSignal(gcvNULL, go->signal, gcvINFINITE) == gcvSTATUS_OK ) | ||
818 | + { | ||
819 | + gal2d_flip_surface(output); | ||
820 | + gcoOS_Signal(gcvNULL,go->busySignal, gcvTRUE); | ||
821 | + } | ||
822 | + pthread_mutex_lock(&go->workerMutex); | ||
823 | + if(go->exitWorker == 1) | ||
824 | + { | ||
825 | + pthread_mutex_unlock(&go->workerMutex); | ||
826 | + break; | ||
827 | + } | ||
828 | + pthread_mutex_unlock(&go->workerMutex); | ||
829 | + } | ||
830 | + return 0; | ||
831 | +} | ||
832 | + | ||
833 | +static int | ||
834 | +update_surface(struct weston_output *output) | ||
835 | +{ | ||
836 | + struct gal2d_renderer *gr = get_renderer(output->compositor); | ||
837 | + struct gal2d_output_state *go = get_output_state(output); | ||
838 | + gceSTATUS status = gcvSTATUS_OK; | ||
839 | + | ||
840 | + if(go->nNumBuffers == 1) | ||
841 | + { | ||
842 | + if(!go->directBlit && go->offscreenSurface) | ||
843 | + { | ||
844 | + make_current(gr, go->renderSurf[go->activebuffer]); | ||
845 | + | ||
846 | + gctUINT srcWidth = 0; | ||
847 | + gctUINT srcHeight = 0; | ||
848 | + gceSURF_FORMAT srcFormat;; | ||
849 | + gcsRECT dstRect = {0}; | ||
850 | + gcoSURF srcSurface = go->offscreenSurface; | ||
851 | + gctUINT32 srcPhyAddr[3]; | ||
852 | + gctUINT32 srcStride[3]; | ||
853 | + | ||
854 | + gctPOINTER va =0; | ||
855 | + | ||
856 | + gcmONERROR(gcoSURF_GetAlignedSize(srcSurface, &srcWidth, &srcHeight, (gctINT *)&srcStride[0])); | ||
857 | + gcmONERROR(gcoSURF_GetFormat(srcSurface, gcvNULL, &srcFormat)); | ||
858 | + | ||
859 | + gcmONERROR(gcoSURF_Lock(srcSurface, srcPhyAddr, (gctPOINTER *)&va)); | ||
860 | + gcmONERROR(gco2D_SetCurrentSourceIndex(gr->gcoEngine2d, 0U)); | ||
861 | + | ||
862 | + gco2D_SetGenericSource(gr->gcoEngine2d, srcPhyAddr, 1, | ||
863 | + srcStride, 1, | ||
864 | + gcvLINEAR, srcFormat, gcvSURF_0_DEGREE, | ||
865 | + srcWidth, srcHeight); | ||
866 | + | ||
867 | + dstRect.left = 0; | ||
868 | + dstRect.top = 0; | ||
869 | + dstRect.right = srcWidth; | ||
870 | + dstRect.bottom = srcHeight; | ||
871 | + | ||
872 | + gcmONERROR(gco2D_SetSource(gr->gcoEngine2d, &dstRect)); | ||
873 | + gcmONERROR(gco2D_SetClipping(gr->gcoEngine2d, &dstRect)); | ||
874 | + gcmONERROR(gco2D_Blit(gr->gcoEngine2d, 1, &dstRect, 0xCC, 0xCC, go->format)); | ||
875 | + gcmONERROR(gcoSURF_Unlock(srcSurface, (gctPOINTER *)&va)); | ||
876 | + } | ||
877 | + gcmONERROR(gcoHAL_Commit(gr->gcoHal, gcvFALSE)); | ||
878 | + } | ||
879 | + else if(go->nNumBuffers > 1) | ||
880 | + { | ||
881 | + gcoHAL_ScheduleEvent(gr->gcoHal, &go->iface); | ||
882 | + gcmVERIFY_OK(gcoHAL_Commit(gr->gcoHal, gcvFALSE)); | ||
883 | + } | ||
884 | +OnError: | ||
885 | + galONERROR(status); | ||
886 | + return status; | ||
887 | + } | ||
888 | + | ||
889 | +static int | ||
890 | +is_view_visible(struct weston_view *view) | ||
891 | +{ | ||
892 | + /* Return false, if surface is guaranteed to be totally obscured. */ | ||
893 | + int ret; | ||
894 | + pixman_region32_t unocc; | ||
895 | + | ||
896 | + pixman_region32_init(&unocc); | ||
897 | + pixman_region32_subtract(&unocc, &view->transform.boundingbox, | ||
898 | + &view->clip); | ||
899 | + ret = pixman_region32_not_empty(&unocc); | ||
900 | + pixman_region32_fini(&unocc); | ||
901 | + | ||
902 | + return ret; | ||
903 | +} | ||
904 | + | ||
905 | +static int | ||
906 | +use_output(struct weston_output *output) | ||
907 | +{ | ||
908 | + struct weston_compositor *compositor = output->compositor; | ||
909 | + struct weston_view *view; | ||
910 | + struct gal2d_output_state *go = get_output_state(output); | ||
911 | + struct gal2d_renderer *gr = get_renderer(output->compositor); | ||
912 | + gceSTATUS status = gcvSTATUS_OK; | ||
913 | + | ||
914 | + gcoSURF surface; | ||
915 | + int visibleViews=0; | ||
916 | + int fullscreenViews=0; | ||
917 | + | ||
918 | + surface = go->renderSurf[go->activebuffer]; | ||
919 | + if(go->nNumBuffers == 1) | ||
920 | + { | ||
921 | + wl_list_for_each_reverse(view, &compositor->view_list, link) | ||
922 | + if (view->plane == &compositor->primary_plane && is_view_visible(view)) | ||
923 | + { | ||
924 | + visibleViews++; | ||
925 | + if(view->surface->width == go->width && view->surface->height == go->height) | ||
926 | + { | ||
927 | + pixman_box32_t *bb_rects; | ||
928 | + int nbb=0; | ||
929 | + bb_rects = pixman_region32_rectangles(&view->transform.boundingbox, &nbb); | ||
930 | + if(nbb == 1) | ||
931 | + if(bb_rects[0].x1 == 0 && bb_rects[0].y1 ==0) | ||
932 | + fullscreenViews++; | ||
933 | + } | ||
934 | + } | ||
935 | + | ||
936 | + go->directBlit = ((visibleViews == 1) || (fullscreenViews > 1)); | ||
937 | + | ||
938 | + if(!go->directBlit) | ||
939 | + { | ||
940 | + surface = go->offscreenSurface; | ||
941 | + } | ||
942 | + } | ||
943 | + make_current(gr, surface); | ||
944 | + return status; | ||
945 | +} | ||
946 | + | ||
947 | +static int | ||
948 | +gal2d_renderer_read_pixels(struct weston_output *output, | ||
949 | + pixman_format_code_t format, void *pixels, | ||
950 | + uint32_t x, uint32_t y, | ||
951 | + uint32_t width, uint32_t height) | ||
952 | +{ | ||
953 | + return 0; | ||
954 | +} | ||
955 | + | ||
956 | +static int gal2d_int_from_double(double d) | ||
957 | +{ | ||
958 | + return wl_fixed_to_int(wl_fixed_from_double(d)); | ||
959 | +} | ||
960 | + | ||
961 | +static void | ||
962 | +repaint_region(struct weston_view *ev, struct weston_output *output, struct gal2d_output_state *go, pixman_region32_t *region, | ||
963 | + pixman_region32_t *surf_region){ | ||
964 | + | ||
965 | + struct gal2d_renderer *gr = get_renderer(ev->surface->compositor); | ||
966 | + struct gal2d_surface_state *gs = get_surface_state(ev->surface); | ||
967 | + | ||
968 | + pixman_box32_t *rects, *surf_rects, *bb_rects; | ||
969 | + int i, j, nrects, nsurf, nbb=0; | ||
970 | + gceSTATUS status = gcvSTATUS_OK; | ||
971 | + gcoSURF srcSurface = gs->gco_Surface; | ||
972 | + gcsRECT srcRect = {0}; | ||
973 | + gcsRECT dstrect = {0}; | ||
974 | + gctUINT32 horFactor, verFactor; | ||
975 | + int useStretch =1; | ||
976 | + int useFilterBlit = 0; | ||
977 | + gctUINT srcWidth = 0; | ||
978 | + gctUINT srcHeight = 0; | ||
979 | + gctUINT32 srcStride[3]; | ||
980 | + gceSURF_FORMAT srcFormat;; | ||
981 | + gctUINT32 srcPhyAddr[3]; | ||
982 | + gctUINT32 dstPhyAddr[3]; | ||
983 | + gctUINT dstWidth = 0; | ||
984 | + gctUINT dstHeight = 0; | ||
985 | + gctUINT32 dstStrides[3]; | ||
986 | + gcoSURF dstsurface; | ||
987 | + int geoWidth = ev->surface->width; | ||
988 | + int geoheight = ev->surface->height; | ||
989 | + gceTILING tiling; | ||
990 | + | ||
991 | + bb_rects = pixman_region32_rectangles(&ev->transform.boundingbox, &nbb); | ||
992 | + | ||
993 | + if(!srcSurface || nbb <= 0) | ||
994 | + goto OnError; | ||
995 | + rects = pixman_region32_rectangles(region, &nrects); | ||
996 | + surf_rects = pixman_region32_rectangles(surf_region, &nsurf); | ||
997 | + | ||
998 | + gcmVERIFY_OK(gcoSURF_GetAlignedSize(srcSurface, &srcWidth, &srcHeight, (gctINT *)&srcStride[0])); | ||
999 | + | ||
1000 | + gcmVERIFY_OK(gcoSURF_GetFormat(srcSurface, gcvNULL, &srcFormat)); | ||
1001 | + | ||
1002 | + if(galIsYUVFormat(srcFormat) == gcvSTATUS_TRUE) | ||
1003 | + { | ||
1004 | + useFilterBlit = 1; | ||
1005 | + } | ||
1006 | + | ||
1007 | + gcmVERIFY_OK(gcoSURF_Lock(srcSurface, &srcPhyAddr[0], gcvNULL)); | ||
1008 | + | ||
1009 | + gcmVERIFY_OK(gcoSURF_Unlock(srcSurface, gcvNULL)); | ||
1010 | + | ||
1011 | + srcRect.left = ev->geometry.x < 0.0 ? gal2d_int_from_double(fabsf(ev->geometry.x)) : 0; | ||
1012 | + srcRect.top = 0; /*es->geometry.y < 0.0 ? gal2d_int_from_double(fabsf(es->geometry.y)) : 0;*/ | ||
1013 | + srcRect.right = ev->surface->width; | ||
1014 | + srcRect.bottom = ev->surface->height; | ||
1015 | + | ||
1016 | + if(useFilterBlit) | ||
1017 | + { | ||
1018 | + dstsurface = go->nNumBuffers > 1 ? | ||
1019 | + go->renderSurf[go->activebuffer] : | ||
1020 | + go->offscreenSurface; | ||
1021 | + gcmVERIFY_OK(gcoSURF_GetAlignedSize(dstsurface, &dstWidth, &dstHeight, (gctINT *)&dstStrides)); | ||
1022 | + gcmVERIFY_OK(gcoSURF_Lock(dstsurface, &dstPhyAddr[0], gcvNULL)); | ||
1023 | + gcmVERIFY_OK(gcoSURF_Unlock(dstsurface, gcvNULL)); | ||
1024 | + } | ||
1025 | + else | ||
1026 | + { | ||
1027 | + gcoSURF_GetTiling(srcSurface, &tiling); | ||
1028 | + if (gcoHAL_IsFeatureAvailable(gr->gcoHal, gcvFEATURE_2D_TILING) != gcvTRUE && (tiling > gcvLINEAR)) | ||
1029 | + { | ||
1030 | + weston_log("Tiling not supported \n"); | ||
1031 | + status = gcvSTATUS_NOT_SUPPORTED; | ||
1032 | + gcmONERROR(status); | ||
1033 | + } | ||
1034 | + gco2D_SetGenericSource(gr->gcoEngine2d, srcPhyAddr, 1, | ||
1035 | + srcStride, 1, | ||
1036 | + tiling, srcFormat, gcvSURF_0_DEGREE, | ||
1037 | + srcWidth, srcHeight); | ||
1038 | + /* Setup mirror. */ | ||
1039 | + gcmONERROR(gco2D_SetBitBlitMirror(gr->gcoEngine2d, gcvFALSE, gcvFALSE)); | ||
1040 | + gcmONERROR(gco2D_SetROP(gr->gcoEngine2d, 0xCC, 0xCC)); | ||
1041 | + } | ||
1042 | + | ||
1043 | + for (i = 0; i < nrects; i++) | ||
1044 | + { | ||
1045 | + pixman_box32_t *rect = &rects[i]; | ||
1046 | + gctFLOAT min_x, max_x, min_y, max_y; | ||
1047 | + | ||
1048 | + dstrect.left = (bb_rects[0].x1 < 0) ? rect->x1 : bb_rects[0].x1; | ||
1049 | + dstrect.top = (bb_rects[0].y1 < 0) ? rect->y1 : bb_rects[0].y1; | ||
1050 | + dstrect.right = bb_rects[0].x2; | ||
1051 | + dstrect.bottom = bb_rects[0].y2; | ||
1052 | + | ||
1053 | + if(dstrect.right < 0 || dstrect.bottom < 0) | ||
1054 | + { | ||
1055 | + break; | ||
1056 | + } | ||
1057 | + | ||
1058 | + for (j = 0; j < nsurf; j++) | ||
1059 | + { | ||
1060 | + pixman_box32_t *surf_rect = &surf_rects[j]; | ||
1061 | + gctFLOAT ex[8], ey[8]; /* edge points in screen space */ | ||
1062 | + int n; | ||
1063 | + gcsRECT clipRect = {0}; | ||
1064 | + int m=0; | ||
1065 | + n = calculate_edges(ev, rect, surf_rect, ex, ey); | ||
1066 | + if (n < 3) | ||
1067 | + continue; | ||
1068 | + | ||
1069 | + min_x = max_x = ex[0]; | ||
1070 | + min_y = max_y = ey[0]; | ||
1071 | + for (m = 1; m < n; m++) | ||
1072 | + { | ||
1073 | + min_x = min(min_x, ex[m]); | ||
1074 | + max_x = max(max_x, ex[m]); | ||
1075 | + min_y = min(min_y, ey[m]); | ||
1076 | + max_y = max(max_y, ey[m]); | ||
1077 | + } | ||
1078 | + | ||
1079 | + clipRect.left = gal2d_int_from_double(min_x); | ||
1080 | + clipRect.top = gal2d_int_from_double(min_y); | ||
1081 | + clipRect.right = gal2d_int_from_double(max_x); | ||
1082 | + clipRect.bottom = gal2d_int_from_double(max_y); | ||
1083 | + | ||
1084 | + if(output->x > 0) | ||
1085 | + { | ||
1086 | + dstrect.left = dstrect.left - output->x; | ||
1087 | + dstrect.right = dstrect.right - output->x; | ||
1088 | + clipRect.left = clipRect.left - output->x; | ||
1089 | + clipRect.right = clipRect.right - output->x; | ||
1090 | + } | ||
1091 | + | ||
1092 | + dstrect.left = (dstrect.left < 0) ? 0 : dstrect.left; | ||
1093 | + | ||
1094 | + status = gco2D_SetClipping(gr->gcoEngine2d, &clipRect); | ||
1095 | + if(status < 0) | ||
1096 | + { | ||
1097 | + weston_log("Error in gco2D_SetClipping %s\n", __func__); | ||
1098 | + goto OnError; | ||
1099 | + } | ||
1100 | + | ||
1101 | + if(useFilterBlit) | ||
1102 | + { | ||
1103 | + gctINT srcStrideNum; | ||
1104 | + gctINT srcAddressNum; | ||
1105 | + gcmVERIFY_OK(galQueryUVStride(srcFormat, srcStride[0], | ||
1106 | + &srcStride[1], &srcStride[2])); | ||
1107 | + | ||
1108 | + switch (srcFormat) | ||
1109 | + { | ||
1110 | + case gcvSURF_YUY2: | ||
1111 | + case gcvSURF_UYVY: | ||
1112 | + srcStrideNum = srcAddressNum = 1; | ||
1113 | + break; | ||
1114 | + | ||
1115 | + case gcvSURF_I420: | ||
1116 | + case gcvSURF_YV12: | ||
1117 | + srcStrideNum = srcAddressNum = 3; | ||
1118 | + break; | ||
1119 | + | ||
1120 | + case gcvSURF_NV16: | ||
1121 | + case gcvSURF_NV12: | ||
1122 | + case gcvSURF_NV61: | ||
1123 | + case gcvSURF_NV21: | ||
1124 | + srcStrideNum = srcAddressNum = 2; | ||
1125 | + break; | ||
1126 | + | ||
1127 | + default: | ||
1128 | + gcmONERROR(gcvSTATUS_NOT_SUPPORTED); | ||
1129 | + } | ||
1130 | + gco2D_FilterBlitEx2(gr->gcoEngine2d, | ||
1131 | + srcPhyAddr, srcAddressNum, | ||
1132 | + srcStride, srcStrideNum, | ||
1133 | + gcvLINEAR, srcFormat, gcvSURF_0_DEGREE, | ||
1134 | + geoWidth, geoheight, &srcRect, | ||
1135 | + dstPhyAddr, 1, | ||
1136 | + dstStrides, 1, | ||
1137 | + gcvLINEAR, go->format, gcvSURF_0_DEGREE, | ||
1138 | + dstWidth, dstHeight, | ||
1139 | + &dstrect, gcvNULL); | ||
1140 | + } | ||
1141 | + else | ||
1142 | + { | ||
1143 | + if(useStretch) | ||
1144 | + gcmVERIFY_OK(galGetStretchFactors(&srcRect, &dstrect, &horFactor, &verFactor)); | ||
1145 | + | ||
1146 | + if(verFactor == 65536 && horFactor == 65536) | ||
1147 | + { | ||
1148 | + gcmVERIFY_OK(gco2D_Blit(gr->gcoEngine2d, 1, &dstrect, | ||
1149 | + 0xCC, 0xCC, go->format)); | ||
1150 | + } | ||
1151 | + else | ||
1152 | + { | ||
1153 | + /* Program the stretch factors. */ | ||
1154 | + gcmVERIFY_OK(gco2D_SetStretchFactors(gr->gcoEngine2d, horFactor, verFactor)); | ||
1155 | + | ||
1156 | + gcmVERIFY_OK(gco2D_StretchBlit(gr->gcoEngine2d, 1, &dstrect, | ||
1157 | + 0xCC, 0xCC, go->format)); | ||
1158 | + } | ||
1159 | + } | ||
1160 | + | ||
1161 | + if(status < 0) | ||
1162 | + { | ||
1163 | + printf("cr l=%d r=%d t=%d b=%d w=%d h=%d\n", | ||
1164 | + clipRect.left, clipRect.right, clipRect.top ,clipRect.bottom, | ||
1165 | + clipRect.right - clipRect.left, clipRect.bottom -clipRect.top); | ||
1166 | + printf("dr l=%d r=%d t=%d b=%d w=%d h=%d\n", | ||
1167 | + dstrect.left, dstrect.right, dstrect.top ,dstrect.bottom, | ||
1168 | + dstrect.right - dstrect.left, dstrect.bottom -dstrect.top); | ||
1169 | + printf("horFactor=%d, verFactor=%d\n",horFactor, verFactor); | ||
1170 | + | ||
1171 | + goto OnError; | ||
1172 | + } | ||
1173 | + } | ||
1174 | + } | ||
1175 | + | ||
1176 | +OnError: | ||
1177 | + galONERROR(status); | ||
1178 | +} | ||
1179 | + | ||
1180 | +static void | ||
1181 | +draw_view(struct weston_view *ev, struct weston_output *output, | ||
1182 | + pixman_region32_t *damage) /* in global coordinates */ | ||
1183 | +{ | ||
1184 | + struct weston_compositor *ec = ev->surface->compositor; | ||
1185 | + struct gal2d_output_state *go = get_output_state(output); | ||
1186 | + /* repaint bounding region in global coordinates: */ | ||
1187 | + pixman_region32_t repaint; | ||
1188 | + /* non-opaque region in surface coordinates: */ | ||
1189 | + pixman_region32_t surface_blend; | ||
1190 | + pixman_region32_t *buffer_damage; | ||
1191 | + | ||
1192 | + pixman_region32_init(&repaint); | ||
1193 | + pixman_region32_intersect(&repaint, | ||
1194 | + &ev->transform.boundingbox, damage); | ||
1195 | + pixman_region32_subtract(&repaint, &repaint, &ev->clip); | ||
1196 | + | ||
1197 | + if (!pixman_region32_not_empty(&repaint)) | ||
1198 | + goto out; | ||
1199 | + | ||
1200 | + buffer_damage = &go->buffer_damage[go->current_buffer]; | ||
1201 | + pixman_region32_subtract(buffer_damage, buffer_damage, &repaint); | ||
1202 | + | ||
1203 | + /* blended region is whole surface minus opaque region: */ | ||
1204 | + pixman_region32_init_rect(&surface_blend, 0, 0, | ||
1205 | + ev->surface->width, ev->surface->height); | ||
1206 | + pixman_region32_subtract(&surface_blend, &surface_blend, &ev->surface->opaque); | ||
1207 | + | ||
1208 | + struct gal2d_renderer *gr = get_renderer(ec); | ||
1209 | + gco2D_SetCurrentSourceIndex(gr->gcoEngine2d, 0U); | ||
1210 | + | ||
1211 | + if (pixman_region32_not_empty(&ev->surface->opaque)) { | ||
1212 | + repaint_region(ev, output, go, &repaint, &ev->surface->opaque); | ||
1213 | + } | ||
1214 | + | ||
1215 | + if (pixman_region32_not_empty(&surface_blend)) { | ||
1216 | + gco2D_EnableAlphaBlend(gr->gcoEngine2d, | ||
1217 | + ev->alpha * 0xFF, ev->alpha * 0xFF, | ||
1218 | + gcvSURF_PIXEL_ALPHA_STRAIGHT, gcvSURF_PIXEL_ALPHA_STRAIGHT, | ||
1219 | + gcvSURF_GLOBAL_ALPHA_SCALE, gcvSURF_GLOBAL_ALPHA_SCALE, | ||
1220 | + gcvSURF_BLEND_STRAIGHT, gcvSURF_BLEND_INVERSED, | ||
1221 | + gcvSURF_COLOR_STRAIGHT, gcvSURF_COLOR_STRAIGHT); | ||
1222 | + | ||
1223 | + repaint_region(ev, output, go, &repaint, &surface_blend); | ||
1224 | + } | ||
1225 | + | ||
1226 | + gco2D_DisableAlphaBlend(gr->gcoEngine2d); | ||
1227 | + pixman_region32_fini(&surface_blend); | ||
1228 | + | ||
1229 | +out: | ||
1230 | + pixman_region32_fini(&repaint); | ||
1231 | + | ||
1232 | +} | ||
1233 | + | ||
1234 | +static void | ||
1235 | +repaint_views(struct weston_output *output, pixman_region32_t *damage) | ||
1236 | +{ | ||
1237 | + struct weston_compositor *compositor = output->compositor; | ||
1238 | + struct weston_view *view; | ||
1239 | + struct gal2d_output_state *go = get_output_state(output); | ||
1240 | + | ||
1241 | + if(go->nNumBuffers > 1) | ||
1242 | + { | ||
1243 | + /*500ms is more than enough to process a frame */ | ||
1244 | + gcoOS_WaitSignal(gcvNULL, go->busySignal, 500); | ||
1245 | + } | ||
1246 | + go->activebuffer = (go->activebuffer+1) % go->nNumBuffers; | ||
1247 | + | ||
1248 | + wl_list_for_each_reverse(view, &compositor->view_list, link) | ||
1249 | + if (view->plane == &compositor->primary_plane) | ||
1250 | + draw_view(view, output, damage); | ||
1251 | +} | ||
1252 | + | ||
1253 | +static void | ||
1254 | +gal2d_renderer_repaint_output(struct weston_output *output, | ||
1255 | + pixman_region32_t *output_damage) | ||
1256 | +{ | ||
1257 | + struct gal2d_output_state *go = get_output_state(output); | ||
1258 | + gctUINT32 i; | ||
1259 | + | ||
1260 | + if (use_output(output) < 0) | ||
1261 | + return; | ||
1262 | + | ||
1263 | + for (i = 0; i < 2; i++) | ||
1264 | + pixman_region32_union(&go->buffer_damage[i], | ||
1265 | + &go->buffer_damage[i], | ||
1266 | + output_damage); | ||
1267 | + | ||
1268 | + pixman_region32_union(output_damage, output_damage, | ||
1269 | + &go->buffer_damage[go->current_buffer]); | ||
1270 | + | ||
1271 | + repaint_views(output, output_damage); | ||
1272 | + | ||
1273 | + pixman_region32_copy(&output->previous_damage, output_damage); | ||
1274 | + wl_signal_emit(&output->frame_signal, output); | ||
1275 | + | ||
1276 | + update_surface(output); | ||
1277 | + | ||
1278 | + go->current_buffer ^= 1; | ||
1279 | +} | ||
1280 | + | ||
1281 | +static void | ||
1282 | +gal2d_renderer_attach_egl(struct weston_surface *es, struct weston_buffer *buffer) | ||
1283 | +{ | ||
1284 | + gcsWL_VIV_BUFFER *vivBuffer = wl_resource_get_user_data(buffer->resource); | ||
1285 | + gcoSURF srcSurf = vivBuffer->surface; | ||
1286 | + gceSTATUS status = gcvSTATUS_OK; | ||
1287 | + struct gal2d_surface_state *gs = get_surface_state(es); | ||
1288 | + | ||
1289 | + if(gs->gco_Surface != gcvNULL) | ||
1290 | + { | ||
1291 | + gcmONERROR(gcoSURF_Destroy(gs->gco_Surface)); | ||
1292 | + } | ||
1293 | + | ||
1294 | + gs->gco_Surface = srcSurf; | ||
1295 | + gcoSURF_ReferenceSurface(srcSurf); | ||
1296 | + buffer->width = vivBuffer->width; | ||
1297 | + buffer->height = vivBuffer->height; | ||
1298 | + | ||
1299 | + OnError: | ||
1300 | + galONERROR(status); | ||
1301 | +} | ||
1302 | + | ||
1303 | +static void | ||
1304 | +gal2d_renderer_flush_damage(struct weston_surface *surface) | ||
1305 | +{ | ||
1306 | + struct gal2d_surface_state *gs = get_surface_state(surface); | ||
1307 | + struct weston_buffer *buffer = gs->buffer_ref.buffer; | ||
1308 | + struct weston_view *view; | ||
1309 | + int texture_used; | ||
1310 | + pixman_region32_union(&gs->texture_damage, | ||
1311 | + &gs->texture_damage, &surface->damage); | ||
1312 | + | ||
1313 | + if (!buffer) | ||
1314 | + return; | ||
1315 | + | ||
1316 | + texture_used = 0; | ||
1317 | + wl_list_for_each(view, &surface->views, surface_link) { | ||
1318 | + if (view->plane == &surface->compositor->primary_plane) { | ||
1319 | + texture_used = 1; | ||
1320 | + break; | ||
1321 | + } | ||
1322 | + } | ||
1323 | + if (!texture_used) | ||
1324 | + return; | ||
1325 | + | ||
1326 | + if (!pixman_region32_not_empty(&gs->texture_damage)) | ||
1327 | + goto done; | ||
1328 | + | ||
1329 | + if(wl_shm_buffer_get(buffer->resource)) | ||
1330 | + { | ||
1331 | + if(gs->gco_Surface==NULL) | ||
1332 | + { | ||
1333 | + gs->gco_Surface = getSurfaceFromShm(surface, buffer); | ||
1334 | + } | ||
1335 | + gal2dBindBuffer(surface); | ||
1336 | + } | ||
1337 | + else | ||
1338 | + gal2d_renderer_attach_egl(surface, buffer); | ||
1339 | + | ||
1340 | +done: | ||
1341 | + pixman_region32_fini(&gs->texture_damage); | ||
1342 | + pixman_region32_init(&gs->texture_damage); | ||
1343 | + | ||
1344 | + weston_buffer_reference(&gs->buffer_ref, NULL); | ||
1345 | +} | ||
1346 | + | ||
1347 | +static void | ||
1348 | +gal2d_renderer_attach(struct weston_surface *es, struct weston_buffer *buffer) | ||
1349 | +{ | ||
1350 | + struct gal2d_surface_state *gs = get_surface_state(es); | ||
1351 | + struct wl_shm_buffer *shm_buffer; | ||
1352 | + weston_buffer_reference(&gs->buffer_ref, buffer); | ||
1353 | + | ||
1354 | + if(buffer==NULL) | ||
1355 | + return; | ||
1356 | + | ||
1357 | + shm_buffer = wl_shm_buffer_get(buffer->resource); | ||
1358 | + | ||
1359 | + if(shm_buffer) | ||
1360 | + { | ||
1361 | + buffer->width = wl_shm_buffer_get_width(shm_buffer); | ||
1362 | + buffer->height = wl_shm_buffer_get_height(shm_buffer); | ||
1363 | + buffer->shm_buffer = shm_buffer; | ||
1364 | + | ||
1365 | + if(gs->gco_Surface) | ||
1366 | + { | ||
1367 | + gcoSURF_Destroy(gs->gco_Surface); | ||
1368 | + gs->gco_Surface = getSurfaceFromShm(es, buffer); | ||
1369 | + } | ||
1370 | + } | ||
1371 | + else | ||
1372 | + gal2d_renderer_attach_egl(es, buffer); | ||
1373 | +} | ||
1374 | + | ||
1375 | +static void | ||
1376 | +surface_state_destroy(struct gal2d_surface_state *gs, struct gal2d_renderer *gr) | ||
1377 | +{ | ||
1378 | + if(gs->gco_Surface) | ||
1379 | + { | ||
1380 | + gcoSURF_Destroy(gs->gco_Surface); | ||
1381 | + } | ||
1382 | + wl_list_remove(&gs->surface_destroy_listener.link); | ||
1383 | + wl_list_remove(&gs->renderer_destroy_listener.link); | ||
1384 | + if(gs->surface) | ||
1385 | + gs->surface->renderer_state = NULL; | ||
1386 | + | ||
1387 | + weston_buffer_reference(&gs->buffer_ref, NULL); | ||
1388 | + free(gs); | ||
1389 | +} | ||
1390 | + | ||
1391 | +static void | ||
1392 | +surface_state_handle_surface_destroy(struct wl_listener *listener, void *data) | ||
1393 | +{ | ||
1394 | + struct gal2d_surface_state *gs; | ||
1395 | + struct gal2d_renderer *gr; | ||
1396 | + | ||
1397 | + gs = container_of(listener, struct gal2d_surface_state, | ||
1398 | + surface_destroy_listener); | ||
1399 | + | ||
1400 | + gr = get_renderer(gs->surface->compositor); | ||
1401 | + surface_state_destroy(gs, gr); | ||
1402 | +} | ||
1403 | + | ||
1404 | +static void | ||
1405 | +surface_state_handle_renderer_destroy(struct wl_listener *listener, void *data) | ||
1406 | +{ | ||
1407 | + struct gal2d_surface_state *gs; | ||
1408 | + struct gal2d_renderer *gr; | ||
1409 | + | ||
1410 | + gr = data; | ||
1411 | + | ||
1412 | + gs = container_of(listener, struct gal2d_surface_state, | ||
1413 | + renderer_destroy_listener); | ||
1414 | + | ||
1415 | + surface_state_destroy(gs, gr); | ||
1416 | +} | ||
1417 | + | ||
1418 | + | ||
1419 | +static int | ||
1420 | +gal2d_renderer_create_surface(struct weston_surface *surface) | ||
1421 | +{ | ||
1422 | + struct gal2d_surface_state *gs; | ||
1423 | + struct gal2d_renderer *gr = get_renderer(surface->compositor); | ||
1424 | + | ||
1425 | + gs = zalloc(sizeof *gs); | ||
1426 | + if (gs == NULL) | ||
1427 | + return -1; | ||
1428 | + | ||
1429 | + /* A buffer is never attached to solid color surfaces, yet | ||
1430 | + * they still go through texcoord computations. Do not divide | ||
1431 | + * by zero there. | ||
1432 | + */ | ||
1433 | + gs->pitch = 1; | ||
1434 | + | ||
1435 | + gs->surface = surface; | ||
1436 | + | ||
1437 | + pixman_region32_init(&gs->texture_damage); | ||
1438 | + surface->renderer_state = gs; | ||
1439 | + | ||
1440 | + gs->surface_destroy_listener.notify = | ||
1441 | + surface_state_handle_surface_destroy; | ||
1442 | + wl_signal_add(&surface->destroy_signal, | ||
1443 | + &gs->surface_destroy_listener); | ||
1444 | + | ||
1445 | + gs->renderer_destroy_listener.notify = | ||
1446 | + surface_state_handle_renderer_destroy; | ||
1447 | + wl_signal_add(&gr->destroy_signal, | ||
1448 | + &gs->renderer_destroy_listener); | ||
1449 | + | ||
1450 | + if (surface->buffer_ref.buffer) { | ||
1451 | + gal2d_renderer_attach(surface, surface->buffer_ref.buffer); | ||
1452 | + gal2d_renderer_flush_damage(surface); | ||
1453 | + } | ||
1454 | + | ||
1455 | + return 0; | ||
1456 | +} | ||
1457 | + | ||
1458 | +static void | ||
1459 | +gal2d_renderer_surface_set_color(struct weston_surface *surface, | ||
1460 | + float red, float green, float blue, float alpha) | ||
1461 | +{ | ||
1462 | + struct gal2d_surface_state *gs = get_surface_state(surface); | ||
1463 | + | ||
1464 | + gs->color[0] = red; | ||
1465 | + gs->color[1] = green; | ||
1466 | + gs->color[2] = blue; | ||
1467 | + gs->color[3] = alpha; | ||
1468 | +} | ||
1469 | + | ||
1470 | + | ||
1471 | +static void | ||
1472 | +gal2d_renderer_output_destroy(struct weston_output *output) | ||
1473 | +{ | ||
1474 | + struct gal2d_output_state *go = get_output_state(output); | ||
1475 | + gctUINT32 i; | ||
1476 | + | ||
1477 | + for (i = 0; i < 2; i++) | ||
1478 | + { | ||
1479 | + pixman_region32_fini(&go->buffer_damage[i]); | ||
1480 | + } | ||
1481 | + if(go->nNumBuffers <= 1 ) | ||
1482 | + { | ||
1483 | + if(go->offscreenSurface) | ||
1484 | + gcmVERIFY_OK(gcoSURF_Destroy(go->offscreenSurface)); | ||
1485 | + } | ||
1486 | + else | ||
1487 | + { | ||
1488 | + gcoOS_Signal(gcvNULL,go->signal, gcvTRUE); | ||
1489 | + pthread_mutex_lock(&go->workerMutex); | ||
1490 | + go->exitWorker = 1; | ||
1491 | + pthread_mutex_unlock(&go->workerMutex); | ||
1492 | + pthread_join(go->workerId, NULL); | ||
1493 | + } | ||
1494 | + | ||
1495 | + for(i=0; i < go->nNumBuffers; i++) | ||
1496 | + { | ||
1497 | + gcmVERIFY_OK(gcoSURF_Destroy(go->renderSurf[i])); | ||
1498 | + } | ||
1499 | + free(go->renderSurf); | ||
1500 | + go->renderSurf = gcvNULL; | ||
1501 | + | ||
1502 | + free(go); | ||
1503 | +} | ||
1504 | + | ||
1505 | +static void | ||
1506 | +gal2d_renderer_destroy(struct weston_compositor *ec) | ||
1507 | +{ | ||
1508 | + struct gal2d_renderer *gr = get_renderer(ec); | ||
1509 | + | ||
1510 | + wl_signal_emit(&gr->destroy_signal, gr); | ||
1511 | + free(ec->renderer); | ||
1512 | + ec->renderer = NULL; | ||
1513 | +} | ||
1514 | + | ||
1515 | + | ||
1516 | +static int | ||
1517 | +gal2d_renderer_create(struct weston_compositor *ec) | ||
1518 | +{ | ||
1519 | + struct gal2d_renderer *gr; | ||
1520 | + gceSTATUS status = gcvSTATUS_OK; | ||
1521 | + gr = malloc(sizeof *gr); | ||
1522 | + if (gr == NULL) | ||
1523 | + return -1; | ||
1524 | + | ||
1525 | + gr->base.read_pixels = gal2d_renderer_read_pixels; | ||
1526 | + gr->base.repaint_output = gal2d_renderer_repaint_output; | ||
1527 | + gr->base.flush_damage = gal2d_renderer_flush_damage; | ||
1528 | + gr->base.attach = gal2d_renderer_attach; | ||
1529 | + gr->base.surface_set_color = gal2d_renderer_surface_set_color; | ||
1530 | + gr->base.destroy = gal2d_renderer_destroy; | ||
1531 | + | ||
1532 | + /* Construct the gcoOS object. */ | ||
1533 | + gcmONERROR(gcoOS_Construct(gcvNULL, &gr->gcos)); | ||
1534 | + | ||
1535 | + /* Construct the gcoHAL object. */ | ||
1536 | + gcmONERROR(gcoHAL_Construct(gcvNULL, gr->gcos, &gr->gcoHal)); | ||
1537 | + gcmONERROR(gcoHAL_Get2DEngine(gr->gcoHal, &gr->gcoEngine2d)); | ||
1538 | + gcmONERROR(gcoHAL_SetHardwareType(gr->gcoHal, gcvHARDWARE_2D)); | ||
1539 | + | ||
1540 | + ec->renderer = &gr->base; | ||
1541 | + wl_signal_init(&gr->destroy_signal); | ||
1542 | +OnError: | ||
1543 | + galONERROR(status); | ||
1544 | + | ||
1545 | + /* Return the status. */ | ||
1546 | + return status; | ||
1547 | + | ||
1548 | +} | ||
1549 | + | ||
1550 | +static int | ||
1551 | +gal2d_renderer_output_create(struct weston_output *output, NativeDisplayType display, | ||
1552 | + NativeWindowType window) | ||
1553 | + | ||
1554 | + { | ||
1555 | + struct gal2d_renderer *gr = get_renderer(output->compositor); | ||
1556 | + struct gal2d_output_state *go; | ||
1557 | + halDISPLAY_INFO info; | ||
1558 | + gctUINT32 backOffset = 0; | ||
1559 | + gceSTATUS status = gcvSTATUS_OK; | ||
1560 | + gctUINT32 i; | ||
1561 | + | ||
1562 | + go = zalloc(sizeof *go); | ||
1563 | + if (go == NULL) | ||
1564 | + return -1; | ||
1565 | + | ||
1566 | + output->renderer_state = go; | ||
1567 | + go->display = display; | ||
1568 | + gcmONERROR(gcoOS_InitLocalDisplayInfo(go->display, &gr->localInfo)); | ||
1569 | + | ||
1570 | + /* Get display information. */ | ||
1571 | + gcmONERROR(gcoOS_GetDisplayInfoEx2( | ||
1572 | + go->display, gcvNULL, gr->localInfo, | ||
1573 | + sizeof(info), &info)); | ||
1574 | + go->nNumBuffers = info.multiBuffer; | ||
1575 | + | ||
1576 | + weston_log("Number of buffers=%d\n",go->nNumBuffers); | ||
1577 | + | ||
1578 | + gcmONERROR(gal2d_getSurfaceFormat(info, &go->format)); | ||
1579 | + backOffset = (gctUINT32)(info.stride * info.height ); | ||
1580 | + | ||
1581 | + go->activebuffer = 0; | ||
1582 | + | ||
1583 | + go->renderSurf = malloc(sizeof(gcoSURF) * go->nNumBuffers); | ||
1584 | + gcoOS_GetDisplayVirtual(go->display, &go->width, &go->height); | ||
1585 | + gcoOS_SetSwapInterval(go->display, 1); | ||
1586 | + | ||
1587 | + /*Needed only for multi Buffer */ | ||
1588 | + if(go->nNumBuffers > 1) | ||
1589 | + { | ||
1590 | + gcmVERIFY_OK(gcoOS_CreateSignal(gcvNULL, gcvFALSE, | ||
1591 | + &go->signal)); | ||
1592 | + gcmVERIFY_OK(gcoOS_CreateSignal(gcvNULL, gcvFALSE, | ||
1593 | + &go->busySignal)); | ||
1594 | + | ||
1595 | + go->iface.command = gcvHAL_SIGNAL; | ||
1596 | + go->iface.u.Signal.signal = gcmPTR_TO_UINT64(go->signal); | ||
1597 | + go->iface.u.Signal.auxSignal = 0; | ||
1598 | + go->iface.u.Signal.process = gcmPTR_TO_UINT64(gcoOS_GetCurrentProcessID()); | ||
1599 | + go->iface.u.Signal.fromWhere = gcvKERNEL_PIXEL; | ||
1600 | + | ||
1601 | + go->exitWorker = 0; | ||
1602 | + pthread_create(&go->workerId, NULL, gal2d_output_worker, output); | ||
1603 | + pthread_mutex_init(&go->workerMutex, gcvNULL); | ||
1604 | + } | ||
1605 | + for(i=0; i < go->nNumBuffers; i++) | ||
1606 | + { | ||
1607 | + gcmONERROR(gcoSURF_Construct(gr->gcoHal, info.width, info.height, 1, | ||
1608 | + gcvSURF_BITMAP, go->format, gcvPOOL_USER, &go->renderSurf[i])); | ||
1609 | + | ||
1610 | + gcoSURF_MapUserSurface(go->renderSurf[i], 0,info.logical + (i * backOffset), | ||
1611 | + info.physical + (i * backOffset)); | ||
1612 | + | ||
1613 | + //Clear surfaces | ||
1614 | + make_current(gr, go->renderSurf[go->activebuffer]); | ||
1615 | + gal2d_clear(output); | ||
1616 | + gal2d_flip_surface(output); | ||
1617 | + } | ||
1618 | + if(go->nNumBuffers <= 1) | ||
1619 | + go->activebuffer = 0; | ||
1620 | + else | ||
1621 | + go->activebuffer = 1; | ||
1622 | + | ||
1623 | + if(go->nNumBuffers <= 1 ) | ||
1624 | + { | ||
1625 | + gcmVERIFY_OK(gcoSURF_Construct(gr->gcoHal, | ||
1626 | + (gctUINT) info.width, | ||
1627 | + (gctUINT) info.height, | ||
1628 | + 1, | ||
1629 | + gcvSURF_BITMAP, | ||
1630 | + go->format, | ||
1631 | + gcvPOOL_DEFAULT, | ||
1632 | + &go->offscreenSurface)); | ||
1633 | + make_current(gr, go->offscreenSurface); | ||
1634 | + gal2d_clear(output); | ||
1635 | + } | ||
1636 | + else | ||
1637 | + { | ||
1638 | + gcoOS_Signal(gcvNULL,go->busySignal, gcvTRUE); | ||
1639 | + } | ||
1640 | + | ||
1641 | + for (i = 0; i < 2; i++) | ||
1642 | + pixman_region32_init(&go->buffer_damage[i]); | ||
1643 | +OnError: | ||
1644 | + galONERROR(status); | ||
1645 | + /* Return the status. */ | ||
1646 | + return status; | ||
1647 | + } | ||
1648 | + | ||
1649 | + WL_EXPORT struct gal2d_renderer_interface gal2d_renderer_interface = { | ||
1650 | + .create = gal2d_renderer_create, | ||
1651 | + .output_create = gal2d_renderer_output_create, | ||
1652 | + .output_destroy = gal2d_renderer_output_destroy, | ||
1653 | +}; | ||
1654 | diff --git a/src/gal2d-renderer.h b/src/gal2d-renderer.h | ||
1655 | new file mode 100644 | ||
1656 | index 0000000..fefcfd1 | ||
1657 | --- /dev/null | ||
1658 | +++ b/src/gal2d-renderer.h | ||
1659 | @@ -0,0 +1,47 @@ | ||
1660 | +/* | ||
1661 | + * Copyright (c) 2015 Freescale Semiconductor, Inc. | ||
1662 | + * Copyright © 2013 Vasily Khoruzhick <anarsoul@gmail.com> | ||
1663 | + * | ||
1664 | + * Permission to use, copy, modify, distribute, and sell this software and | ||
1665 | + * its documentation for any purpose is hereby granted without fee, provided | ||
1666 | + * that the above copyright notice appear in all copies and that both that | ||
1667 | + * copyright notice and this permission notice appear in supporting | ||
1668 | + * documentation, and that the name of the copyright holders not be used in | ||
1669 | + * advertising or publicity pertaining to distribution of the software | ||
1670 | + * without specific, written prior permission. The copyright holders make | ||
1671 | + * no representations about the suitability of this software for any | ||
1672 | + * purpose. It is provided "as is" without express or implied warranty. | ||
1673 | + * | ||
1674 | + * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS | ||
1675 | + * SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND | ||
1676 | + * FITNESS, IN NO EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
1677 | + * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER | ||
1678 | + * RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF | ||
1679 | + * CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN | ||
1680 | + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | ||
1681 | + */ | ||
1682 | +#ifndef __gal_2d_renderer_h_ | ||
1683 | +#define __gal_2d_renderer_h_ | ||
1684 | + | ||
1685 | +#include "compositor.h" | ||
1686 | +#ifdef ENABLE_EGL | ||
1687 | +#include <EGL/egl.h> | ||
1688 | +#else | ||
1689 | +#include <HAL/gc_hal_eglplatform.h> | ||
1690 | +typedef HALNativeDisplayType NativeDisplayType; | ||
1691 | +typedef HALNativeWindowType NativeWindowType; | ||
1692 | +#endif | ||
1693 | + | ||
1694 | + | ||
1695 | +struct gal2d_renderer_interface { | ||
1696 | + | ||
1697 | + int (*create)(struct weston_compositor *ec); | ||
1698 | + | ||
1699 | + int (*output_create)(struct weston_output *output, | ||
1700 | + NativeDisplayType display, | ||
1701 | + NativeWindowType window); | ||
1702 | + | ||
1703 | + void (*output_destroy)(struct weston_output *output); | ||
1704 | +}; | ||
1705 | + | ||
1706 | +#endif | ||
1707 | -- | ||
1708 | 2.3.6 | ||
1709 | |||
diff --git a/meta-fsl-arm/recipes-graphics/wayland/weston_%.bbappend b/meta-fsl-arm/recipes-graphics/wayland/weston_%.bbappend new file mode 100644 index 00000000..a254f07f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/wayland/weston_%.bbappend | |||
@@ -0,0 +1,42 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
2 | |||
3 | # only install patch for mx6 with a GPU | ||
4 | GPU_PATCH = "file://0001-MGS-840-Add-i.MX6-support-for-weston.patch" | ||
5 | SRC_URI_append_mx6q = " ${GPU_PATCH}" | ||
6 | SRC_URI_append_mx6dl = " ${GPU_PATCH}" | ||
7 | SRC_URI_append_mx6sx = " ${GPU_PATCH}" | ||
8 | SRC_URI_append_mx6sl = " ${GPU_PATCH}" | ||
9 | |||
10 | PACKAGECONFIG_append_mx6q = " cairo-glesv2" | ||
11 | PACKAGECONFIG_append_mx6dl = " cairo-glesv2" | ||
12 | PACKAGECONFIG_append_mx6sx = " cairo-glesv2" | ||
13 | PACKAGECONFIG_remove_mx6sl = "egl" | ||
14 | |||
15 | EXTRA_OECONF_append_mx6 = " \ | ||
16 | --disable-libunwind \ | ||
17 | --disable-xwayland-test \ | ||
18 | WESTON_NATIVE_BACKEND=fbdev-backend.so \ | ||
19 | " | ||
20 | EXTRA_OEMAKE_append_mx6 = " \ | ||
21 | COMPOSITOR_CFLAGS="-I ${STAGING_INCDIR}/pixman-1 -DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ | ||
22 | FB_COMPOSITOR_CFLAGS="-DLINUX=1 -DEGL_API_FB -DEGL_API_WL" \ | ||
23 | SIMPLE_EGL_CLIENT_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ | ||
24 | EGL_TESTS_CFLAGS="-DLINUX -DEGL_API_FB -DEGL_API_WL" \ | ||
25 | CLIENT_CFLAGS="-I ${STAGING_INCDIR}/cairo -I ${STAGING_INCDIR}/pixman-1 -DLINUX -DEGL_API_FB -DEGL_API_WL" \ | ||
26 | " | ||
27 | EXTRA_OEMAKE_append_mx6q = " \ | ||
28 | COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ | ||
29 | FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ | ||
30 | " | ||
31 | EXTRA_OEMAKE_append_mx6dl = " \ | ||
32 | COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ | ||
33 | FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ | ||
34 | " | ||
35 | EXTRA_OEMAKE_append_mx6sx = " \ | ||
36 | COMPOSITOR_LIBS="-lGLESv2 -lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ | ||
37 | FB_COMPOSITOR_LIBS="-lGLESv2 -lEGL -lwayland-server -lxkbcommon" \ | ||
38 | " | ||
39 | EXTRA_OEMAKE_append_mx6sl = " \ | ||
40 | COMPOSITOR_LIBS="-lEGL -lGAL -lwayland-server -lxkbcommon -lpixman-1" \ | ||
41 | FB_COMPOSITOR_LIBS="-lEGL -lwayland-server -lxkbcommon" \ | ||
42 | " | ||
diff --git a/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput new file mode 100644 index 00000000..59f76300 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/imx28evk/pointercal.xinput | |||
@@ -0,0 +1,2 @@ | |||
1 | xinput set-int-prop "MXS touchscreen" "Evdev Axis Calibration" 32 194 3938 301 3878 | ||
2 | xinput set-int-prop "MXS touchscreen" "Evdev Axes Swap" 8 1 | ||
diff --git a/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput new file mode 100644 index 00000000..bd140ff9 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput/mx6/pointercal.xinput | |||
@@ -0,0 +1,2 @@ | |||
1 | xinput set-int-prop "eGalax Touch Screen" "Evdev Axis Calibration" 42060 2062 -8 -783544 1 1549 65536 | ||
2 | xinput set-int-prop "eGalax Touch Screen" "Evdev Axes Swap" 8 0 | ||
diff --git a/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend new file mode 100644 index 00000000..a9c60f3e --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xinput-calibrator/pointercal-xinput_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # Append path for freescale layer to include bsp pointercal.xinput | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc new file mode 100644 index 00000000..684cdb4c --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante.inc | |||
@@ -0,0 +1,79 @@ | |||
1 | # Copyright (C) 2012-2015 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2014 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | ||
6 | |||
7 | PE = "3" | ||
8 | |||
9 | inherit autotools-brokensep update-rc.d pkgconfig | ||
10 | |||
11 | DEPENDS += "virtual/xserver virtual/libx11 virtual/libgal-x11 imx-gpu-viv pixman" | ||
12 | |||
13 | LIC_FILES_CHKSUM = "file://EXA/src/vivante_fbdev/vivante.h;endline=19;md5=95cf961a2ceacdf7cf43caef25766779" | ||
14 | |||
15 | SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-viv-${PV}.tar.gz \ | ||
16 | file://rc.autohdmi" | ||
17 | |||
18 | INITSCRIPT_PACKAGES = "xserver-xorg-extension-viv-autohdmi" | ||
19 | INITSCRIPT_NAME = "rc.autohdmi" | ||
20 | INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." | ||
21 | |||
22 | EXTRA_OEMAKE += "-C ${S} -d -f Makefile prefix=${D}/usr \ | ||
23 | sysroot=${STAGING_DIR_TARGET} \ | ||
24 | BUSID_HAS_NUMBER=1 \ | ||
25 | BUILD_IN_YOCTO=1 \ | ||
26 | XSERVER_GREATER_THAN_13=1" | ||
27 | |||
28 | CFLAGS += "-I${STAGING_INCDIR}/xorg \ | ||
29 | -I${STAGING_INCDIR}/drm \ | ||
30 | -I../../DRI_1.10.4/src" | ||
31 | |||
32 | S = "${WORKDIR}/xserver-xorg-video-imx-viv-${PV}/" | ||
33 | |||
34 | PACKAGES =+ "xserver-xorg-extension-viv-autohdmi" | ||
35 | |||
36 | # FIXME: The Freescale provided Makefile has hardcodec include paths | ||
37 | # and this does not work in case prefix is different than /usr, | ||
38 | # sed it. | ||
39 | do_configure_prepend () { | ||
40 | sed -i 's,$(sysroot)/usr/include,${STAGING_INCDIR},g' \ | ||
41 | ${S}EXA/src/makefile.linux | ||
42 | } | ||
43 | |||
44 | # FIXME: This is need as Freescale didn't use standard Makefile filename | ||
45 | # thus oe_runmame thinks nothing is need to be done, use ln to | ||
46 | # workaround it. | ||
47 | base_do_compile () { | ||
48 | oe_runmake || die "make failed" | ||
49 | } | ||
50 | |||
51 | do_install_append () { | ||
52 | install -d ${D}${includedir} | ||
53 | cp -axr ${S}/EXA/src/vivante_gal/vivante_priv.h ${D}${includedir} | ||
54 | cp -axr ${S}/EXA/src/vivante_gal/vivante_gal.h ${D}${includedir} | ||
55 | |||
56 | install -d ${D}/${sysconfdir}/init.d | ||
57 | install -m 755 ${WORKDIR}/rc.autohdmi ${D}/${sysconfdir}/init.d/rc.autohdmi | ||
58 | |||
59 | find ${D}${includedir} -type f -exec chmod 660 {} \; | ||
60 | } | ||
61 | |||
62 | RDEPENDS_${PN} += "libvivante-dri-mx6 \ | ||
63 | xserver-xorg-module-exa \ | ||
64 | mesa-driver-swrast \ | ||
65 | xserver-xorg-extension-dri \ | ||
66 | xserver-xorg-extension-dri2 \ | ||
67 | xserver-xorg-extension-glx" | ||
68 | |||
69 | REALSOLIBS := "${SOLIBS}" | ||
70 | SOLIBS = "${SOLIBSDEV}" | ||
71 | |||
72 | FILES_${PN} = "${libdir}/*/*/*/vivante_drv${SOLIBS}" | ||
73 | FILES_${PN}-dev = "${includedir} /usr/src ${libdir}/libfsl_x11_ext${SOLIBSDEV}" | ||
74 | FILES_${PN}-dbg = "${libdir}/*/*/*/.debug ${libdir}/.debug/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/.debug/autohdmi" | ||
75 | |||
76 | FILES_xserver-xorg-extension-viv-autohdmi = " ${libdir}/libfsl_x11_ext${SOLIBS} ${exec_prefix}/bin/autohdmi ${sysconfdir}/init.d/rc.autohdmi" | ||
77 | |||
78 | PACKAGE_ARCH = "${MACHINE_SOCARCH}" | ||
79 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/rc.autohdmi b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/rc.autohdmi new file mode 100644 index 00000000..8c16a1d7 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante/rc.autohdmi | |||
@@ -0,0 +1,42 @@ | |||
1 | #! /bin/sh | ||
2 | ### BEGIN INIT INFO | ||
3 | # Provides: rc.autohdmi | ||
4 | # Required-Start: $all | ||
5 | # Required-Stop: | ||
6 | # Default-Start: 2 3 4 5 | ||
7 | # Default-Stop: | ||
8 | ### END INIT INFO | ||
9 | |||
10 | PATH=/sbin:/usr/sbin:/bin:/usr/bin | ||
11 | |||
12 | # Source function library. | ||
13 | . /etc/init.d/functions | ||
14 | |||
15 | case "$1" in | ||
16 | start) | ||
17 | echo -n "Starting autohdmi: " | ||
18 | export DISPLAY=:0 | ||
19 | autohdmi & | ||
20 | echo | ||
21 | exit 0 | ||
22 | ;; | ||
23 | reload|force-reload) | ||
24 | echo "Error: argument '$1' not supported" >&2 | ||
25 | exit 3 | ||
26 | ;; | ||
27 | stop) | ||
28 | echo -n "Shutting down autohdmi: " | ||
29 | killproc autohdmi | ||
30 | echo | ||
31 | ;; | ||
32 | restart) | ||
33 | echo -n "Restarting autohdmi: " | ||
34 | $0 stop | ||
35 | $0 start | ||
36 | echo | ||
37 | ;; | ||
38 | *) | ||
39 | echo "Usage: $0 start|stop" >&2 | ||
40 | exit 3 | ||
41 | ;; | ||
42 | esac | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p4.5.bb b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p4.5.bb new file mode 100644 index 00000000..c5cf2715 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb-vivante_5.0.11.p4.5.bb | |||
@@ -0,0 +1,8 @@ | |||
1 | # Copyright (C) 2012-2015 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2014 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | require xf86-video-imxfb-vivante.inc | ||
6 | |||
7 | SRC_URI[md5sum] = "e89cd72f6d35d53accfd6b6bb3e05f42" | ||
8 | SRC_URI[sha256sum] = "1a0b25a91b493e99dfa94a802290320ea998ebd45d7aab0f73d7c7bb521b7e84" | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Fix-error-unknown-type-name-uint.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Fix-error-unknown-type-name-uint.patch new file mode 100644 index 00000000..6a2fcdf4 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Fix-error-unknown-type-name-uint.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From ccdfce5e75ba707deacdd5808a8f3de8744848d0 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?Eric=20B=C3=A9nard?= <eric@eukrea.com> | ||
3 | Date: Tue, 5 Feb 2013 10:57:47 +0100 | ||
4 | Subject: [PATCH] Fix "error: unknown type name 'uint'" | ||
5 | MIME-Version: 1.0 | ||
6 | Content-Type: text/plain; charset=UTF-8 | ||
7 | Content-Transfer-Encoding: 8bit | ||
8 | |||
9 | In file included from imx_driver.c:33:0: | ||
10 | .../sysroots/imx53qsb/usr/src/kernel/include/linux/mxcfb.h:107:2: error: unknown type name 'uint' | ||
11 | |||
12 | Upstream-Status: Pending | ||
13 | |||
14 | Signed-off-by: Eric Bénard <eric@eukrea.com> | ||
15 | --- | ||
16 | src/imx_driver.c | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/src/imx_driver.c b/src/imx_driver.c | ||
20 | index f4b3e38..4cf662d 100644 | ||
21 | --- a/src/imx_driver.c | ||
22 | +++ b/src/imx_driver.c | ||
23 | @@ -29,6 +29,7 @@ | ||
24 | #include <errno.h> | ||
25 | #include <fcntl.h> | ||
26 | #include <string.h> | ||
27 | +#include <sys/types.h> | ||
28 | #include <linux/fb.h> | ||
29 | #include <linux/mxcfb.h> | ||
30 | |||
31 | -- | ||
32 | 1.7.10.4 | ||
33 | |||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch new file mode 100644 index 00000000..2ac6311f --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/Make-video-API-forward-and-backward-compatible.patch | |||
@@ -0,0 +1,787 @@ | |||
1 | From 5216cb0f14414b5451f58df48a36c1c62c035276 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Sat, 29 Dec 2012 18:02:11 -0200 | ||
4 | Subject: [PATCH] Make video API forward and backward compatible | ||
5 | |||
6 | This updates the video API in a forward and backward compatible way | ||
7 | using the "compat-api.h" as used in Xorg maintained drivers. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
12 | --- | ||
13 | src/compat-api.h | 106 +++++++++++++++++++++++++++++++++++++++++++++++ | ||
14 | src/imx_display.c | 22 +++++----- | ||
15 | src/imx_display.h | 8 ++-- | ||
16 | src/imx_driver.c | 60 ++++++++++++++------------- | ||
17 | src/imx_exa_offscreen.c | 12 +++--- | ||
18 | src/imx_exa_z160.c | 53 ++++++++++++------------ | ||
19 | src/imx_xv_ipu.c | 4 +- | ||
20 | 7 files changed, 188 insertions(+), 77 deletions(-) | ||
21 | create mode 100644 src/compat-api.h | ||
22 | |||
23 | diff --git a/src/compat-api.h b/src/compat-api.h | ||
24 | new file mode 100644 | ||
25 | index 0000000..73ac8a2 | ||
26 | --- /dev/null | ||
27 | +++ b/src/compat-api.h | ||
28 | @@ -0,0 +1,106 @@ | ||
29 | +/* | ||
30 | + * Copyright 2012 Red Hat, Inc. | ||
31 | + * | ||
32 | + * Permission is hereby granted, free of charge, to any person obtaining a | ||
33 | + * copy of this software and associated documentation files (the "Software"), | ||
34 | + * to deal in the Software without restriction, including without limitation | ||
35 | + * the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
36 | + * and/or sell copies of the Software, and to permit persons to whom the | ||
37 | + * Software is furnished to do so, subject to the following conditions: | ||
38 | + * | ||
39 | + * The above copyright notice and this permission notice (including the next | ||
40 | + * paragraph) shall be included in all copies or substantial portions of the | ||
41 | + * Software. | ||
42 | + * | ||
43 | + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
44 | + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
45 | + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
46 | + * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
47 | + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING | ||
48 | + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
49 | + * DEALINGS IN THE SOFTWARE. | ||
50 | + * | ||
51 | + * Author: Dave Airlie <airlied@redhat.com> | ||
52 | + */ | ||
53 | + | ||
54 | +/* this file provides API compat between server post 1.13 and pre it, | ||
55 | + it should be reused inside as many drivers as possible */ | ||
56 | +#ifndef COMPAT_API_H | ||
57 | +#define COMPAT_API_H | ||
58 | + | ||
59 | +#ifndef GLYPH_HAS_GLYPH_PICTURE_ACCESSOR | ||
60 | +#define GetGlyphPicture(g, s) GlyphPicture((g))[(s)->myNum] | ||
61 | +#define SetGlyphPicture(g, s, p) GlyphPicture((g))[(s)->myNum] = p | ||
62 | +#endif | ||
63 | + | ||
64 | +#ifndef XF86_HAS_SCRN_CONV | ||
65 | +#define xf86ScreenToScrn(s) xf86Screens[(s)->myNum] | ||
66 | +#define xf86ScrnToScreen(s) screenInfo.screens[(s)->scrnIndex] | ||
67 | +#endif | ||
68 | + | ||
69 | +#ifndef XF86_SCRN_INTERFACE | ||
70 | + | ||
71 | +#define SCRN_ARG_TYPE int | ||
72 | +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = xf86Screens[(arg1)] | ||
73 | + | ||
74 | +#define SCREEN_ARG_TYPE int | ||
75 | +#define SCREEN_PTR(arg1) ScreenPtr pScreen = screenInfo.screens[(arg1)] | ||
76 | + | ||
77 | +#define SCREEN_INIT_ARGS_DECL int index, ScreenPtr pScreen, int argc, char **argv | ||
78 | + | ||
79 | +#define BLOCKHANDLER_ARGS_DECL int arg, pointer blockData, pointer pTimeout, pointer pReadmask | ||
80 | +#define BLOCKHANDLER_ARGS arg, blockData, pTimeout, pReadmask | ||
81 | + | ||
82 | +#define CLOSE_SCREEN_ARGS_DECL int scrnIndex, ScreenPtr pScreen | ||
83 | +#define CLOSE_SCREEN_ARGS scrnIndex, pScreen | ||
84 | +#define CLOSE_SCREEN_DECL_ScrnInfoPtr ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
85 | + | ||
86 | +#define FBDEVHWADJUSTFRAME_ARGS(x, y) scrnIndex, (x), (y), 0 | ||
87 | + | ||
88 | +#define ADJUST_FRAME_ARGS_DECL int arg, int x, int y, int flags | ||
89 | + | ||
90 | +#define SWITCH_MODE_ARGS_DECL int arg, DisplayModePtr mode, int flags | ||
91 | + | ||
92 | +#define FREE_SCREEN_ARGS_DECL int arg, int flags | ||
93 | +#define FREE_SCREEN_ARGS(x) (x)->scrnIndex, 0 | ||
94 | + | ||
95 | +#define VT_FUNC_ARGS_DECL int arg, int flags | ||
96 | +#define VT_FUNC_ARGS(flags) pScrn->scrnIndex, (flags) | ||
97 | + | ||
98 | +#define ENABLE_DISABLE_FB_ACCESS_ARGS(pScrn, b) pScrn->scrnIndex, b | ||
99 | + | ||
100 | +#define XF86_ENABLEDISABLEFB_ARG(x) ((x)->scrnIndex) | ||
101 | +#else | ||
102 | +#define SCRN_ARG_TYPE ScrnInfoPtr | ||
103 | +#define SCRN_INFO_PTR(arg1) ScrnInfoPtr pScrn = (arg1) | ||
104 | + | ||
105 | +#define SCREEN_ARG_TYPE ScreenPtr | ||
106 | +#define SCREEN_PTR(arg1) ScreenPtr pScreen = (arg1) | ||
107 | + | ||
108 | +#define SCREEN_INIT_ARGS_DECL ScreenPtr pScreen, int argc, char **argv | ||
109 | + | ||
110 | +#define BLOCKHANDLER_ARGS_DECL ScreenPtr arg, pointer pTimeout, pointer pReadmask | ||
111 | +#define BLOCKHANDLER_ARGS arg, pTimeout, pReadmask | ||
112 | + | ||
113 | +#define CLOSE_SCREEN_ARGS_DECL ScreenPtr pScreen | ||
114 | +#define CLOSE_SCREEN_ARGS pScreen | ||
115 | +#define CLOSE_SCREEN_DECL_ScrnInfoPtr ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
116 | + | ||
117 | +#define FBDEVHWADJUSTFRAME_ARGS(x, y) pScrn, (x), (y) | ||
118 | + | ||
119 | +#define ADJUST_FRAME_ARGS_DECL ScrnInfoPtr arg, int x, int y | ||
120 | +#define SWITCH_MODE_ARGS_DECL ScrnInfoPtr arg, DisplayModePtr mode | ||
121 | + | ||
122 | +#define FREE_SCREEN_ARGS_DECL ScrnInfoPtr arg | ||
123 | +#define FREE_SCREEN_ARGS(x) (x) | ||
124 | + | ||
125 | +#define VT_FUNC_ARGS_DECL ScrnInfoPtr arg | ||
126 | +#define VT_FUNC_ARGS(flags) pScrn | ||
127 | + | ||
128 | +#define ENABLE_DISABLE_FB_ACCESS_ARGS(pScrn, b) pScrn, b | ||
129 | + | ||
130 | +#define XF86_ENABLEDISABLEFB_ARG(x) (x) | ||
131 | + | ||
132 | +#endif | ||
133 | + | ||
134 | +#endif | ||
135 | diff --git a/src/imx_display.c b/src/imx_display.c | ||
136 | index fcb8195..e2dc36a 100644 | ||
137 | --- a/src/imx_display.c | ||
138 | +++ b/src/imx_display.c | ||
139 | @@ -42,6 +42,8 @@ | ||
140 | #include "imx.h" | ||
141 | #include "imx_display.h" | ||
142 | |||
143 | +#include "compat-api.h" | ||
144 | + | ||
145 | #include <X11/Xatom.h> | ||
146 | |||
147 | #if XORG_VERSION_CURRENT >= XORG_VERSION_NUMERIC(1,7,6,0,0) | ||
148 | @@ -1373,19 +1375,19 @@ imxDisplayPreInit(ScrnInfoPtr pScrn) | ||
149 | Bool | ||
150 | imxDisplayStartScreenInit(int scrnIndex, ScreenPtr pScreen) | ||
151 | { | ||
152 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
153 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
154 | ImxPtr fPtr = IMXPTR(pScrn); | ||
155 | |||
156 | if (!xf86SetDesiredModes(pScrn)) { | ||
157 | |||
158 | - xf86DrvMsg(scrnIndex, X_ERROR, "mode initialization failed\n"); | ||
159 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "mode initialization failed\n"); | ||
160 | return FALSE; | ||
161 | } | ||
162 | |||
163 | #if 0 | ||
164 | if (!fbdevHWModeInit(pScrn, pScrn->currentMode)) { | ||
165 | |||
166 | - xf86DrvMsg(scrnIndex, X_ERROR, "mode initialization failed\n"); | ||
167 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "mode initialization failed\n"); | ||
168 | return FALSE; | ||
169 | } | ||
170 | pScrn->displayWidth = | ||
171 | @@ -1463,29 +1465,29 @@ imxDisplayFinishScreenInit(int scrnIndex, ScreenPtr pScreen) | ||
172 | /* -------------------------------------------------------------------- */ | ||
173 | |||
174 | Bool | ||
175 | -imxDisplaySwitchMode(int scrnIndex, DisplayModePtr mode, int flags) | ||
176 | +imxDisplaySwitchMode(SWITCH_MODE_ARGS_DECL) | ||
177 | { | ||
178 | - ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
179 | + SCRN_INFO_PTR(arg); | ||
180 | |||
181 | return xf86SetSingleMode(pScrn, mode, RR_Rotate_0); | ||
182 | } | ||
183 | |||
184 | void | ||
185 | -imxDisplayAdjustFrame(int scrnIndex, int x, int y, int flags) | ||
186 | +imxDisplayAdjustFrame(ADJUST_FRAME_ARGS_DECL) | ||
187 | { | ||
188 | -// fbdevHWAdjustFrame(scrnIndex, x, y, flags); | ||
189 | +// fbdevHWAdjustFrame(pScrn->scrnIndex, x, y, flags); | ||
190 | } | ||
191 | |||
192 | Bool | ||
193 | -imxDisplayEnterVT(int scrnIndex, int flags) | ||
194 | +imxDisplayEnterVT(VT_FUNC_ARGS_DECL) | ||
195 | { | ||
196 | - ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
197 | + SCRN_INFO_PTR(arg); | ||
198 | |||
199 | return xf86SetDesiredModes(pScrn); | ||
200 | } | ||
201 | |||
202 | void | ||
203 | -imxDisplayLeaveVT(int scrnIndex, int flags) | ||
204 | +imxDisplayLeaveVT(VT_FUNC_ARGS_DECL) | ||
205 | { | ||
206 | } | ||
207 | |||
208 | diff --git a/src/imx_display.h b/src/imx_display.h | ||
209 | index 4a5d5aa..3a3d43a 100644 | ||
210 | --- a/src/imx_display.h | ||
211 | +++ b/src/imx_display.h | ||
212 | @@ -59,16 +59,16 @@ imxDisplayValidMode(int scrnIndex, DisplayModePtr mode, | ||
213 | Bool verbose, int flags); | ||
214 | |||
215 | extern Bool | ||
216 | -imxDisplaySwitchMode(int scrnIndex, DisplayModePtr mode, int flags); | ||
217 | +imxDisplaySwitchMode(SWITCH_MODE_ARGS_DECL); | ||
218 | |||
219 | extern void | ||
220 | -imxDisplayAdjustFrame(int scrnIndex, int x, int y, int flags); | ||
221 | +imxDisplayAdjustFrame(ADJUST_FRAME_ARGS_DECL); | ||
222 | |||
223 | extern Bool | ||
224 | -imxDisplayEnterVT(int scrnIndex, int flags); | ||
225 | +imxDisplayEnterVT(VT_FUNC_ARGS_DECL); | ||
226 | |||
227 | extern void | ||
228 | -imxDisplayLeaveVT(int scrnIndex, int flags); | ||
229 | +imxDisplayLeaveVT(VT_FUNC_ARGS_DECL); | ||
230 | |||
231 | extern Bool | ||
232 | imxDisplayChangeFrameBufferRotateEPDC(int scrnIndex, int fbRotate); | ||
233 | diff --git a/src/imx_driver.c b/src/imx_driver.c | ||
234 | index 178e36e..f4b3e38 100644 | ||
235 | --- a/src/imx_driver.c | ||
236 | +++ b/src/imx_driver.c | ||
237 | @@ -46,6 +46,8 @@ | ||
238 | #include "fb.h" | ||
239 | #include "fbdevhw.h" | ||
240 | |||
241 | +#include "compat-api.h" | ||
242 | + | ||
243 | #if GET_ABI_MAJOR(ABI_VIDEODRV_VERSION) < 6 | ||
244 | #include "xf86Resources.h" | ||
245 | #include "xf86RAC.h" | ||
246 | @@ -435,17 +437,17 @@ errorPreInit: | ||
247 | } | ||
248 | |||
249 | static void | ||
250 | -imxFreeScreen(int scrnIndex, int flags) | ||
251 | +imxFreeScreen(FREE_SCREEN_ARGS_DECL) | ||
252 | { | ||
253 | - ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
254 | + SCRN_INFO_PTR(arg); | ||
255 | |||
256 | imxFreeRec(pScrn); | ||
257 | } | ||
258 | |||
259 | static Bool | ||
260 | -imxCloseScreen(int scrnIndex, ScreenPtr pScreen) | ||
261 | +imxCloseScreen(CLOSE_SCREEN_ARGS_DECL) | ||
262 | { | ||
263 | - ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
264 | + CLOSE_SCREEN_DECL_ScrnInfoPtr; | ||
265 | ImxPtr fPtr = IMXPTR(pScrn); | ||
266 | |||
267 | fbdevHWRestore(pScrn); | ||
268 | @@ -453,7 +455,7 @@ imxCloseScreen(int scrnIndex, ScreenPtr pScreen) | ||
269 | pScrn->vtSema = FALSE; | ||
270 | |||
271 | pScreen->CloseScreen = fPtr->saveCloseScreen; | ||
272 | - return (*pScreen->CloseScreen)(scrnIndex, pScreen); | ||
273 | + return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS); | ||
274 | } | ||
275 | |||
276 | static int | ||
277 | @@ -488,9 +490,9 @@ LCM(a, b) | ||
278 | } | ||
279 | |||
280 | static Bool | ||
281 | -imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
282 | +imxScreenInit(SCREEN_INIT_ARGS_DECL) | ||
283 | { | ||
284 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
285 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
286 | ImxPtr fPtr = IMXPTR(pScrn); | ||
287 | VisualPtr visual; | ||
288 | int init_picture = 0; | ||
289 | @@ -514,7 +516,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
290 | /* Map frame buffer memory */ | ||
291 | fPtr->fbMemoryBase = fbdevHWMapVidmem(pScrn); | ||
292 | if (NULL == fPtr->fbMemoryBase) { | ||
293 | - xf86DrvMsg(scrnIndex,X_ERROR,"mapping of video memory" | ||
294 | + xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"mapping of video memory" | ||
295 | " failed\n"); | ||
296 | return FALSE; | ||
297 | } | ||
298 | @@ -558,7 +560,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
299 | const int fbOffsetScreen2 = | ||
300 | IMX_ALIGN(fbMaxScreenSize, fbMaxAlignOffset); | ||
301 | fPtr->fbMemoryScreenReserve = fbMaxScreenSize; | ||
302 | - xf86DrvMsg(scrnIndex, X_INFO, | ||
303 | + xf86DrvMsg(pScrn->scrnIndex, X_INFO, | ||
304 | "reserve %d bytes of frame buffer for screen\n", | ||
305 | fPtr->fbMemoryScreenReserve); | ||
306 | fPtr->fbMemoryStart2 = NULL; | ||
307 | @@ -568,12 +570,12 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
308 | |||
309 | fPtr->fbMemoryScreenReserve += fbOffsetScreen2; | ||
310 | |||
311 | - xf86DrvMsg(scrnIndex, X_INFO, | ||
312 | + xf86DrvMsg(pScrn->scrnIndex, X_INFO, | ||
313 | "reserve same number of bytes for XRandR rotated screen at offset %d\n", | ||
314 | fbOffsetScreen2); | ||
315 | } | ||
316 | |||
317 | - if (!imxDisplayStartScreenInit(scrnIndex, pScreen)) { | ||
318 | + if (!imxDisplayStartScreenInit(pScrn->scrnIndex, pScreen)) { | ||
319 | |||
320 | return FALSE; | ||
321 | } | ||
322 | @@ -582,7 +584,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
323 | miClearVisualTypes(); | ||
324 | if (pScrn->bitsPerPixel > 8) { | ||
325 | if (!miSetVisualTypes(pScrn->depth, TrueColorMask, pScrn->rgbBits, TrueColor)) { | ||
326 | - xf86DrvMsg(scrnIndex,X_ERROR,"visual type setup failed" | ||
327 | + xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"visual type setup failed" | ||
328 | " for %d bits per pixel [1]\n", | ||
329 | pScrn->bitsPerPixel); | ||
330 | return FALSE; | ||
331 | @@ -591,14 +593,14 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
332 | if (!miSetVisualTypes(pScrn->depth, | ||
333 | miGetDefaultVisualMask(pScrn->depth), | ||
334 | pScrn->rgbBits, pScrn->defaultVisual)) { | ||
335 | - xf86DrvMsg(scrnIndex,X_ERROR,"visual type setup failed" | ||
336 | + xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"visual type setup failed" | ||
337 | " for %d bits per pixel [2]\n", | ||
338 | pScrn->bitsPerPixel); | ||
339 | return FALSE; | ||
340 | } | ||
341 | } | ||
342 | if (!miSetPixmapDepths()) { | ||
343 | - xf86DrvMsg(scrnIndex,X_ERROR,"pixmap depth setup failed\n"); | ||
344 | + xf86DrvMsg(pScrn->scrnIndex,X_ERROR,"pixmap depth setup failed\n"); | ||
345 | return FALSE; | ||
346 | } | ||
347 | |||
348 | @@ -607,10 +609,10 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
349 | has a padding which is independent from the depth (controlfb) */ | ||
350 | pScrn->displayWidth = fbdevHWGetLineLength(pScrn) / | ||
351 | (pScrn->bitsPerPixel / 8); | ||
352 | - xf86DrvMsg(scrnIndex, X_INFO, "displayWidth = %d\n", pScrn->displayWidth); | ||
353 | + xf86DrvMsg(pScrn->scrnIndex, X_INFO, "displayWidth = %d\n", pScrn->displayWidth); | ||
354 | |||
355 | if (pScrn->displayWidth != pScrn->virtualX) { | ||
356 | - xf86DrvMsg(scrnIndex, X_INFO, | ||
357 | + xf86DrvMsg(pScrn->scrnIndex, X_INFO, | ||
358 | "Pitch updated to %d after ModeInit\n", | ||
359 | pScrn->displayWidth); | ||
360 | } | ||
361 | @@ -633,7 +635,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
362 | init_picture = 1; | ||
363 | break; | ||
364 | default: | ||
365 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
366 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
367 | "internal error: invalid number of bits per" | ||
368 | " pixel (%d) encountered in" | ||
369 | " imxScreenInit()\n", pScrn->bitsPerPixel); | ||
370 | @@ -644,7 +646,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
371 | case FBDEVHW_INTERLEAVED_PLANES: | ||
372 | /* This should never happen ... | ||
373 | * we should check for this much much earlier ... */ | ||
374 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
375 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
376 | "internal error: interleaved planes are not yet " | ||
377 | "supported by the imx driver\n"); | ||
378 | ret = FALSE; | ||
379 | @@ -652,20 +654,20 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
380 | case FBDEVHW_TEXT: | ||
381 | /* This should never happen ... | ||
382 | * we should check for this much much earlier ... */ | ||
383 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
384 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
385 | "internal error: text mode is not supported by the " | ||
386 | "imx driver\n"); | ||
387 | ret = FALSE; | ||
388 | break; | ||
389 | case FBDEVHW_VGA_PLANES: | ||
390 | /* Not supported yet */ | ||
391 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
392 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
393 | "internal error: EGA/VGA Planes are not yet " | ||
394 | "supported by the imx driver\n"); | ||
395 | ret = FALSE; | ||
396 | break; | ||
397 | default: | ||
398 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
399 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
400 | "internal error: unrecognised hardware type (%d) " | ||
401 | "encountered in imxScreenInit()\n", type); | ||
402 | ret = FALSE; | ||
403 | @@ -699,7 +701,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
404 | /* INIT ACCELERATION BEFORE INIT FOR BACKING STORE & SOFTWARE CURSOR */ | ||
405 | if (fPtr->useAccel) { | ||
406 | |||
407 | - if (!imxExaZ160Setup(scrnIndex, pScreen)) { | ||
408 | + if (!imxExaZ160Setup(pScrn->scrnIndex, pScreen)) { | ||
409 | |||
410 | fPtr->useAccel = FALSE; | ||
411 | } | ||
412 | @@ -731,29 +733,29 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
413 | /* XXX It would be simpler to use miCreateDefColormap() in all cases. */ | ||
414 | case FBDEVHW_PACKED_PIXELS: | ||
415 | if (!miCreateDefColormap(pScreen)) { | ||
416 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
417 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
418 | "internal error: miCreateDefColormap failed " | ||
419 | "in imxScreenInit()\n"); | ||
420 | return FALSE; | ||
421 | } | ||
422 | break; | ||
423 | case FBDEVHW_INTERLEAVED_PLANES: | ||
424 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
425 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
426 | "internal error: interleaved planes are not yet " | ||
427 | "supported by the imx driver\n"); | ||
428 | return FALSE; | ||
429 | case FBDEVHW_TEXT: | ||
430 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
431 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
432 | "internal error: text mode is not supported by " | ||
433 | "the imx driver\n"); | ||
434 | return FALSE; | ||
435 | case FBDEVHW_VGA_PLANES: | ||
436 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
437 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
438 | "internal error: EGA/VGA planes are not yet " | ||
439 | "supported by the imx driver\n"); | ||
440 | return FALSE; | ||
441 | default: | ||
442 | - xf86DrvMsg(scrnIndex, X_ERROR, | ||
443 | + xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
444 | "internal error: unrecognised imx hardware type " | ||
445 | "(%d) encountered in imxScreenInit()\n", type); | ||
446 | return FALSE; | ||
447 | @@ -782,7 +784,7 @@ imxScreenInit(int scrnIndex, ScreenPtr pScreen, int argc, char **argv) | ||
448 | } | ||
449 | #endif | ||
450 | |||
451 | - if (!imxDisplayFinishScreenInit(scrnIndex, pScreen)) { | ||
452 | + if (!imxDisplayFinishScreenInit(pScrn->scrnIndex, pScreen)) { | ||
453 | return FALSE; | ||
454 | } | ||
455 | |||
456 | @@ -810,7 +812,7 @@ IMXGetPixmapProperties( | ||
457 | } | ||
458 | |||
459 | /* Access screen associated with this pixmap. */ | ||
460 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
461 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
462 | |||
463 | /* Check if the screen associated with this pixmap has IMX driver. */ | ||
464 | if (0 != strcmp(IMX_DRIVER_NAME, pScrn->driverName)) { | ||
465 | diff --git a/src/imx_exa_offscreen.c b/src/imx_exa_offscreen.c | ||
466 | index 3a5c24d..0fbe2fc 100644 | ||
467 | --- a/src/imx_exa_offscreen.c | ||
468 | +++ b/src/imx_exa_offscreen.c | ||
469 | @@ -79,7 +79,7 @@ static void | ||
470 | imxExaOffscreenValidate (ScreenPtr pScreen) | ||
471 | { | ||
472 | /* Access the driver specific data. */ | ||
473 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
474 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
475 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
476 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
477 | ExaOffscreenArea *prev = 0, *area; | ||
478 | @@ -135,7 +135,7 @@ imxExaOffscreenMerge (ImxExaPtr imxExaPtr, ExaOffscreenArea *area) | ||
479 | ExaOffscreenArea * | ||
480 | imxExaOffscreenFree (ScreenPtr pScreen, ExaOffscreenArea *area) | ||
481 | { | ||
482 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
483 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
484 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
485 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
486 | ExaOffscreenArea *next = area->next; | ||
487 | @@ -281,7 +281,7 @@ imxExaOffscreenAlloc (ScreenPtr pScreen, int size, int align, | ||
488 | pointer privData) | ||
489 | { | ||
490 | ExaOffscreenArea *area; | ||
491 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
492 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
493 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
494 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
495 | int real_size = 0, largest_avail = 0; | ||
496 | @@ -418,7 +418,7 @@ imxExaOffscreenSwapIn (ScreenPtr pScreen) | ||
497 | Bool | ||
498 | imxExaOffscreenInit (ScreenPtr pScreen) | ||
499 | { | ||
500 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
501 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
502 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
503 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
504 | ExaOffscreenArea *area; | ||
505 | @@ -453,7 +453,7 @@ imxExaOffscreenInit (ScreenPtr pScreen) | ||
506 | void | ||
507 | imxExaOffscreenFini (ScreenPtr pScreen) | ||
508 | { | ||
509 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
510 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
511 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
512 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
513 | ExaOffscreenArea *area; | ||
514 | @@ -472,7 +472,7 @@ imxExaOffscreenFini (ScreenPtr pScreen) | ||
515 | void | ||
516 | imxExaOffscreenSwapOut (ScreenPtr pScreen) | ||
517 | { | ||
518 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
519 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
520 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
521 | ImxExaPtr imxExaPtr = IMXEXAPTR(imxPtr); | ||
522 | |||
523 | diff --git a/src/imx_exa_z160.c b/src/imx_exa_z160.c | ||
524 | index fb718e0..3d0bc96 100644 | ||
525 | --- a/src/imx_exa_z160.c | ||
526 | +++ b/src/imx_exa_z160.c | ||
527 | @@ -32,6 +32,7 @@ | ||
528 | #include <errno.h> | ||
529 | #include <fcntl.h> | ||
530 | |||
531 | +#include "compat-api.h" | ||
532 | |||
533 | /* Set if handles pixmap allocation and migration, i.e, EXA_HANDLES_PIXMAPS */ | ||
534 | #define IMX_EXA_ENABLE_HANDLES_PIXMAPS \ | ||
535 | @@ -299,7 +300,7 @@ imxExaZ160GetPixmapAddress(PixmapPtr pPixmap) | ||
536 | return fPixmapPtr->ptr; | ||
537 | #else | ||
538 | /* Access screen associated with this pixmap. */ | ||
539 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
540 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
541 | |||
542 | /* Access driver specific data */ | ||
543 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
544 | @@ -344,7 +345,7 @@ imxExaZ160GetPixmapProperties( | ||
545 | #else | ||
546 | |||
547 | /* Access screen associated with this pixmap. */ | ||
548 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
549 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
550 | |||
551 | /* Make sure pixmap is in framebuffer */ | ||
552 | if (!exaDrawableIsOffscreen(&(pPixmap->drawable))) { | ||
553 | @@ -856,7 +857,7 @@ imxExaZ160SyncIfBusyPixmap(PixmapPtr pPixmap) | ||
554 | { | ||
555 | /* Access screen associated with this pixmap. */ | ||
556 | ScreenPtr pScreen = pPixmap->drawable.pScreen; | ||
557 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
558 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
559 | |||
560 | /* Access driver specific data for screen. */ | ||
561 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
562 | @@ -924,7 +925,7 @@ imxExaZ160CreatePixmap2(ScreenPtr pScreen, int width, int height, | ||
563 | } | ||
564 | |||
565 | /* Access the driver specific data. */ | ||
566 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
567 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
568 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
569 | ImxExaZ160Ptr fPtr = IMXEXAZ160PTR(imxPtr); | ||
570 | |||
571 | @@ -1028,7 +1029,7 @@ imxExaZ160DestroyPixmap(ScreenPtr pScreen, void *driverPriv) | ||
572 | ImxExaPixmapPtr fPixmapPtr = (ImxExaPixmapPtr)driverPriv; | ||
573 | |||
574 | /* Access the driver specific data. */ | ||
575 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
576 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
577 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
578 | ImxExaZ160Ptr fPtr = IMXEXAZ160PTR(imxPtr); | ||
579 | |||
580 | @@ -1068,7 +1069,7 @@ imxExaZ160ModifyPixmapHeader(PixmapPtr pPixmap, int width, int height, | ||
581 | } | ||
582 | |||
583 | /* Access screen associated with this pixmap */ | ||
584 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
585 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
586 | |||
587 | /* Access driver specific data */ | ||
588 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
589 | @@ -1194,7 +1195,7 @@ imxExaZ160TrackBusyPixmap(ImxExaZ160Ptr fPtr, PixmapPtr pPixmap) | ||
590 | static void | ||
591 | imxExaZ160WaitMarker(ScreenPtr pScreen, int marker) | ||
592 | { | ||
593 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
594 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
595 | |||
596 | /* Access driver specific data associated with the screen. */ | ||
597 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
598 | @@ -1249,7 +1250,7 @@ imxExaZ160PrepareSolid(PixmapPtr pPixmap, int alu, Pixel planemask, Pixel fg) | ||
599 | } | ||
600 | |||
601 | /* Access screen associated with this pixmap */ | ||
602 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
603 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
604 | |||
605 | /* Access driver specific data */ | ||
606 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
607 | @@ -1352,7 +1353,7 @@ static void | ||
608 | imxExaZ160Solid(PixmapPtr pPixmap, int x1, int y1, int x2, int y2) | ||
609 | { | ||
610 | /* Access screen associated with this pixmap */ | ||
611 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
612 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
613 | |||
614 | /* Access driver specific data */ | ||
615 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
616 | @@ -1423,7 +1424,7 @@ static void | ||
617 | imxExaZ160DoneSolid(PixmapPtr pPixmap) | ||
618 | { | ||
619 | /* Access screen associated with this pixmap */ | ||
620 | - ScrnInfoPtr pScrn = xf86Screens[pPixmap->drawable.pScreen->myNum]; | ||
621 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmap->drawable.pScreen); | ||
622 | |||
623 | /* Access driver specific data */ | ||
624 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
625 | @@ -1485,7 +1486,7 @@ imxExaZ160PrepareCopy( | ||
626 | } | ||
627 | |||
628 | /* Access the screen associated with this pixmap. */ | ||
629 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
630 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
631 | |||
632 | /* Access driver specific data */ | ||
633 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
634 | @@ -1599,7 +1600,7 @@ static void | ||
635 | imxExaZ160Copy(PixmapPtr pPixmapDst, int srcX, int srcY, int dstX, int dstY, int width, int height) | ||
636 | { | ||
637 | /* Access screen associated with dst pixmap */ | ||
638 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
639 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
640 | |||
641 | /* Access driver specific data */ | ||
642 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
643 | @@ -1661,7 +1662,7 @@ static void | ||
644 | imxExaZ160DoneCopy(PixmapPtr pPixmapDst) | ||
645 | { | ||
646 | /* Access screen associated with this pixmap */ | ||
647 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
648 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
649 | |||
650 | /* Access driver specific data */ | ||
651 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
652 | @@ -1770,7 +1771,7 @@ imxExaZ160CheckComposite(int op, PicturePtr pPictureSrc, PicturePtr pPictureMask | ||
653 | } | ||
654 | |||
655 | /* Access screen associated with dst pixmap (same screen as for src pixmap). */ | ||
656 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
657 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
658 | |||
659 | /* Check the number of entities, and fail if it isn't one. */ | ||
660 | if (pScrn->numEntities != 1) { | ||
661 | @@ -1987,7 +1988,7 @@ imxExaZ160PrepareComposite( | ||
662 | { | ||
663 | /* Access screen associated with dst pixmap. */ | ||
664 | /* Should be same screen as for src pixmap. */ | ||
665 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
666 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
667 | |||
668 | /* NOTE - many preconditions already verified in CheckComposite. */ | ||
669 | |||
670 | @@ -2196,7 +2197,7 @@ imxExaZ160Composite( | ||
671 | int height) | ||
672 | { | ||
673 | /* Access screen associated with dst pixmap */ | ||
674 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
675 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
676 | |||
677 | /* Access driver specific data */ | ||
678 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
679 | @@ -2275,7 +2276,7 @@ static void | ||
680 | imxExaZ160DoneComposite(PixmapPtr pPixmapDst) | ||
681 | { | ||
682 | /* Access screen associated with this pixmap */ | ||
683 | - ScrnInfoPtr pScrn = xf86Screens[pPixmapDst->drawable.pScreen->myNum]; | ||
684 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pPixmapDst->drawable.pScreen); | ||
685 | |||
686 | /* Access driver specific data */ | ||
687 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
688 | @@ -2323,7 +2324,7 @@ imxExaZ160UploadToScreen( | ||
689 | |||
690 | /* Access screen associated with this pixmap */ | ||
691 | ScreenPtr pScreen = pPixmapDst->drawable.pScreen; | ||
692 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
693 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
694 | |||
695 | /* Access driver specific data */ | ||
696 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
697 | @@ -2381,7 +2382,7 @@ imxExaZ160DownloadFromScreen( | ||
698 | |||
699 | /* Access screen associated with this pixmap */ | ||
700 | ScreenPtr pScreen = pPixmapSrc->drawable.pScreen; | ||
701 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
702 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
703 | |||
704 | /* Access driver specific data */ | ||
705 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
706 | @@ -2412,9 +2413,9 @@ imxExaZ160DownloadFromScreen( | ||
707 | } | ||
708 | |||
709 | Bool | ||
710 | -imxExaZ160CloseScreen(int scrnIndex, ScreenPtr pScreen) | ||
711 | +imxExaZ160CloseScreen(CLOSE_SCREEN_ARGS_DECL) | ||
712 | { | ||
713 | - ScrnInfoPtr pScrn = xf86Screens[scrnIndex]; | ||
714 | + CLOSE_SCREEN_DECL_ScrnInfoPtr; | ||
715 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
716 | |||
717 | ImxExaZ160Ptr fPtr = IMXEXAZ160PTR(imxPtr); | ||
718 | @@ -2504,7 +2505,7 @@ imxExaZ160CloseScreen(int scrnIndex, ScreenPtr pScreen) | ||
719 | /* Install our CloseScreen function so that it gets called. */ | ||
720 | if (NULL != pScreen->CloseScreen) { | ||
721 | |||
722 | - return (*pScreen->CloseScreen)(scrnIndex, pScreen); | ||
723 | + return (*pScreen->CloseScreen)(CLOSE_SCREEN_ARGS); | ||
724 | } | ||
725 | |||
726 | return TRUE; | ||
727 | @@ -2514,7 +2515,7 @@ Bool | ||
728 | imxExaZ160Setup(int scrnIndex, ScreenPtr pScreen) | ||
729 | { | ||
730 | /* Access the screen info and then private data structures. */ | ||
731 | - ScrnInfoPtr pScrn = xf86Screens[pScreen->myNum]; | ||
732 | + ScrnInfoPtr pScrn = xf86ScreenToScrn(pScreen); | ||
733 | ImxPtr imxPtr = IMXPTR(pScrn); | ||
734 | |||
735 | /* Private data structure must not already be in use. */ | ||
736 | @@ -2582,7 +2583,7 @@ imxExaZ160Setup(int scrnIndex, ScreenPtr pScreen) | ||
737 | |||
738 | xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
739 | "Initialize Z160 interfaces failed.\n"); | ||
740 | - imxExaZ160CloseScreen(scrnIndex, pScreen); | ||
741 | + imxExaZ160CloseScreen(CLOSE_SCREEN_ARGS); | ||
742 | return FALSE; | ||
743 | } | ||
744 | |||
745 | @@ -2592,7 +2593,7 @@ imxExaZ160Setup(int scrnIndex, ScreenPtr pScreen) | ||
746 | |||
747 | xf86DrvMsg(pScrn->scrnIndex, X_ERROR, | ||
748 | "Allocate EXA driver structure.\n"); | ||
749 | - imxExaZ160CloseScreen(scrnIndex, pScreen); | ||
750 | + imxExaZ160CloseScreen(CLOSE_SCREEN_ARGS); | ||
751 | return FALSE; | ||
752 | } | ||
753 | |||
754 | @@ -2657,7 +2658,7 @@ imxExaZ160Setup(int scrnIndex, ScreenPtr pScreen) | ||
755 | if (!exaDriverInit(pScreen, exaDriverPtr)) { | ||
756 | |||
757 | xf86DrvMsg(pScrn->scrnIndex, X_ERROR, "EXA initialization failed.\n"); | ||
758 | - imxExaZ160CloseScreen(scrnIndex, pScreen); | ||
759 | + imxExaZ160CloseScreen(CLOSE_SCREEN_ARGS); | ||
760 | return FALSE; | ||
761 | } | ||
762 | fPtr->imxExaRec.exaDriverPtr = exaDriverPtr; | ||
763 | diff --git a/src/imx_xv_ipu.c b/src/imx_xv_ipu.c | ||
764 | index a517742..fc8a827 100644 | ||
765 | --- a/src/imx_xv_ipu.c | ||
766 | +++ b/src/imx_xv_ipu.c | ||
767 | @@ -398,7 +398,7 @@ xf86XVFillKeyHelper1 (ScreenPtr pScreen, CARD32 key, RegionPtr clipboxes) | ||
768 | xRectangle *rects; | ||
769 | GCPtr gc; | ||
770 | |||
771 | - if(!xf86Screens[pScreen->myNum]->vtSema) return; | ||
772 | + if(!xf86ScreenToScrn(pScreen)->vtSema) return; | ||
773 | |||
774 | gc = GetScratchGC(root->depth, pScreen); | ||
775 | pval[0] = key; | ||
776 | @@ -771,7 +771,7 @@ MXXVInitializeAdaptor | ||
777 | XF86VideoAdaptorPtr **pppAdaptor | ||
778 | ) | ||
779 | { | ||
780 | - ScreenPtr pScreen = screenInfo.screens[pScreenInfo->scrnIndex]; | ||
781 | + ScreenPtr pScreen = xf86ScrnToScreen(pScreenInfo); | ||
782 | XF86VideoAdaptorPtr *ppAdaptor = NULL; | ||
783 | IMXPtr fPtr = IMXPTR(pScreenInfo); | ||
784 | int nAdaptor; | ||
785 | -- | ||
786 | 1.7.10.4 | ||
787 | |||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/ext-Update-to-newer-swap-macros.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/ext-Update-to-newer-swap-macros.patch new file mode 100644 index 00000000..05be6b32 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/ext-Update-to-newer-swap-macros.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From fc7f191a1a0f290a4e808dd8f9bd58ba1dbd2be4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Sat, 29 Dec 2012 18:00:36 -0200 | ||
4 | Subject: [PATCH 1/2] ext: Update to newer swap macros | ||
5 | |||
6 | The swap macros now use an internal temporary variable so we need to | ||
7 | adapt the code according. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | |||
11 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
12 | --- | ||
13 | src/imx_ext.c | 16 ++++++---------- | ||
14 | 1 file changed, 6 insertions(+), 10 deletions(-) | ||
15 | |||
16 | diff --git a/src/imx_ext.c b/src/imx_ext.c | ||
17 | index f12469a..710cba4 100644 | ||
18 | --- a/src/imx_ext.c | ||
19 | +++ b/src/imx_ext.c | ||
20 | @@ -57,8 +57,6 @@ void imxExtInit() | ||
21 | static int | ||
22 | Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) | ||
23 | { | ||
24 | - int n; | ||
25 | - | ||
26 | REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); | ||
27 | REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); | ||
28 | |||
29 | @@ -96,10 +94,10 @@ Proc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) | ||
30 | /* Check if any reply values need byte swapping */ | ||
31 | if (client->swapped) { | ||
32 | |||
33 | - swaps(&rep.sequenceNumber, n); | ||
34 | - swapl(&rep.length, n); | ||
35 | - swapl(&rep.pixmapPhysAddr, n); | ||
36 | - swapl(&rep.pixmapPitch, n); | ||
37 | + swaps(&rep.sequenceNumber); | ||
38 | + swapl(&rep.length); | ||
39 | + swapl(&rep.pixmapPhysAddr); | ||
40 | + swapl(&rep.pixmapPitch); | ||
41 | } | ||
42 | |||
43 | /* Reply to client */ | ||
44 | @@ -123,16 +121,14 @@ Proc_IMX_EXT_Dispatch(ClientPtr client) | ||
45 | static int | ||
46 | SProc_IMX_EXT_GetPixmapPhysAddr(ClientPtr client) | ||
47 | { | ||
48 | - int n; | ||
49 | - | ||
50 | REQUEST(xIMX_EXT_GetPixmapPhysAddrReq); | ||
51 | |||
52 | /* Swap request message length and verify it is correct. */ | ||
53 | - swaps(&stuff->length, n); | ||
54 | + swaps(&stuff->length); | ||
55 | REQUEST_SIZE_MATCH(xIMX_EXT_GetPixmapPhysAddrReq); | ||
56 | |||
57 | /* Swap remaining request message parameters. */ | ||
58 | - swapl(&stuff->pixmap, n); | ||
59 | + swapl(&stuff->pixmap); | ||
60 | |||
61 | return Proc_IMX_EXT_GetPixmapPhysAddr(client); | ||
62 | } | ||
63 | -- | ||
64 | 1.7.10.4 | ||
65 | |||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/glibc-2.20.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/glibc-2.20.patch new file mode 100644 index 00000000..3b1b84d1 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/glibc-2.20.patch | |||
@@ -0,0 +1,57 @@ | |||
1 | Fix build errors seen with glibc 2.20 | ||
2 | |||
3 | /home/ubuntu/work/upstream/openembedded-core/build/tmp-glibc/sysroots/imx53qsb/usr/include/xorg/os.h:579:1: error: expected identifier or '(' before '__extension__' | ||
4 | strndup(const char *str, size_t n); | ||
5 | ^ | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | Upstream-Status: Pending | ||
9 | Index: xserver-xorg-video-imx-11.09.01/src/imx_accel.c | ||
10 | =================================================================== | ||
11 | --- xserver-xorg-video-imx-11.09.01.orig/src/imx_accel.c 2011-07-26 14:22:47.000000000 -0700 | ||
12 | +++ xserver-xorg-video-imx-11.09.01/src/imx_accel.c 2014-08-29 15:54:43.648070587 -0700 | ||
13 | @@ -21,6 +21,7 @@ | ||
14 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
15 | * SOFTWARE. | ||
16 | */ | ||
17 | +#include <xorg-server.h> | ||
18 | |||
19 | #include <stdint.h> | ||
20 | #include "xf86.h" | ||
21 | Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c | ||
22 | =================================================================== | ||
23 | --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_offscreen.c 2014-08-29 15:26:31.992070587 -0700 | ||
24 | +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_offscreen.c 2014-08-29 15:54:54.632070587 -0700 | ||
25 | @@ -53,7 +53,7 @@ | ||
26 | * When allocating, the contiguous block of areas with the minimum eviction | ||
27 | * cost is found and evicted in order to make room for the new allocation. | ||
28 | */ | ||
29 | - | ||
30 | +#include <xorg-server.h> | ||
31 | |||
32 | #include "xf86.h" | ||
33 | #include "exa.h" | ||
34 | Index: xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c | ||
35 | =================================================================== | ||
36 | --- xserver-xorg-video-imx-11.09.01.orig/src/imx_exa_z160.c 2014-08-29 15:26:31.992070587 -0700 | ||
37 | +++ xserver-xorg-video-imx-11.09.01/src/imx_exa_z160.c 2014-08-29 15:54:36.056070587 -0700 | ||
38 | @@ -21,6 +21,7 @@ | ||
39 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
40 | * SOFTWARE. | ||
41 | */ | ||
42 | +#include <xorg-server.h> | ||
43 | |||
44 | #include "xf86.h" | ||
45 | #include "xf86_OSproc.h" | ||
46 | Index: xserver-xorg-video-imx-11.09.01/src/imx_ext.c | ||
47 | =================================================================== | ||
48 | --- xserver-xorg-video-imx-11.09.01.orig/src/imx_ext.c 2014-08-29 15:26:32.064070587 -0700 | ||
49 | +++ xserver-xorg-video-imx-11.09.01/src/imx_ext.c 2014-08-29 15:55:18.048070587 -0700 | ||
50 | @@ -21,6 +21,7 @@ | ||
51 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
52 | * SOFTWARE. | ||
53 | */ | ||
54 | +#include <xorg-server.h> | ||
55 | |||
56 | #include <X11/X.h> | ||
57 | #include <X11/Xproto.h> | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xf86-video-imxfb-fix-m4-hardcodded-paths.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xf86-video-imxfb-fix-m4-hardcodded-paths.patch new file mode 100644 index 00000000..64af7732 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xf86-video-imxfb-fix-m4-hardcodded-paths.patch | |||
@@ -0,0 +1,53 @@ | |||
1 | From 5b348e7be67957f4be6fcfa4942128c04f6db905 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Alonso <b38018@freescale.com> | ||
3 | Date: Thu, 4 Aug 2011 14:24:26 -0500 | ||
4 | Subject: [PATCH] xf86-video-imxfb: fix m4 hardcodded paths | ||
5 | |||
6 | * Fix m4 macros lookup location; remove /usr/share/aclocal path | ||
7 | |||
8 | Signed-off-by: Adrian Alonso <b38018@freescale.com> | ||
9 | --- | ||
10 | Makefile.am | 2 +- | ||
11 | Makefile.in | 2 +- | ||
12 | configure.ac | 2 +- | ||
13 | 3 files changed, 3 insertions(+), 3 deletions(-) | ||
14 | |||
15 | diff --git a/Makefile.am b/Makefile.am | ||
16 | index 6752256..e205657 100644 | ||
17 | --- a/Makefile.am | ||
18 | +++ b/Makefile.am | ||
19 | @@ -20,4 +20,4 @@ | ||
20 | |||
21 | AUTOMAKE_OPTIONS = foreign | ||
22 | SUBDIRS = src | ||
23 | -ACLOCAL_AMFLAGS = -I /usr/share/aclocal | ||
24 | +ACLOCAL_AMFLAGS = -I m4 | ||
25 | diff --git a/Makefile.in b/Makefile.in | ||
26 | index 5c0ba0e..f829db7 100644 | ||
27 | --- a/Makefile.in | ||
28 | +++ b/Makefile.in | ||
29 | @@ -243,7 +243,7 @@ top_builddir = @top_builddir@ | ||
30 | top_srcdir = @top_srcdir@ | ||
31 | AUTOMAKE_OPTIONS = foreign | ||
32 | SUBDIRS = src | ||
33 | -ACLOCAL_AMFLAGS = -I /usr/share/aclocal | ||
34 | +ACLOCAL_AMFLAGS = -I m4 | ||
35 | all: config.h | ||
36 | $(MAKE) $(AM_MAKEFLAGS) all-recursive | ||
37 | |||
38 | diff --git a/configure.ac b/configure.ac | ||
39 | index a1ac73b..0078b86 100644 | ||
40 | --- a/configure.ac | ||
41 | +++ b/configure.ac | ||
42 | @@ -29,7 +29,7 @@ AC_INIT([xf86-video-imx], | ||
43 | AC_CONFIG_SRCDIR([Makefile.am]) | ||
44 | AM_CONFIG_HEADER([config.h]) | ||
45 | AC_CONFIG_AUX_DIR(.) | ||
46 | -AC_CONFIG_MACRO_DIR([/usr/share/aclocal]) | ||
47 | +AC_CONFIG_MACRO_DIR([m4]) | ||
48 | |||
49 | AM_INIT_AUTOMAKE([dist-bzip2]) | ||
50 | |||
51 | -- | ||
52 | 1.7.4.1 | ||
53 | |||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch new file mode 100644 index 00000000..14ccbbf9 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb/xserver-1.14-compat.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | Fix building using new Xorg 1.14 | ||
2 | |||
3 | mibstore functions are no longer supported. This patch removes them | ||
4 | from this driver, following the pattern in | ||
5 | http://patches.openembedded.org/patch/46133/ | ||
6 | |||
7 | This checkin shows when/where the changes to the X server were made | ||
8 | that deleted the header mibstore.h and mentions the reasons. | ||
9 | http://lists.x.org/archives/xorg-devel/2012-September/033575.html | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | |||
13 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
14 | |||
15 | Index: xserver-xorg-video-imx-11.09.01/src/imx_driver.c | ||
16 | =================================================================== | ||
17 | --- xserver-xorg-video-imx-11.09.01.orig/src/imx_driver.c | ||
18 | +++ xserver-xorg-video-imx-11.09.01/src/imx_driver.c | ||
19 | @@ -37,7 +37,6 @@ | ||
20 | #include "xf86_OSproc.h" | ||
21 | |||
22 | #include "mipointer.h" | ||
23 | -#include "mibstore.h" | ||
24 | #include "micmap.h" | ||
25 | #include "colormapst.h" | ||
26 | #include "xf86cmap.h" | ||
27 | @@ -722,7 +721,6 @@ imxScreenInit(SCREEN_INIT_ARGS_DECL) | ||
28 | /* Initialize for X extensions. */ | ||
29 | imxExtInit(); | ||
30 | |||
31 | - miInitializeBackingStore(pScreen); | ||
32 | xf86SetBackingStore(pScreen); | ||
33 | |||
34 | /* software cursor */ | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb new file mode 100644 index 00000000..51f243fc --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-driver/xf86-video-imxfb_11.09.01.bb | |||
@@ -0,0 +1,48 @@ | |||
1 | # Copyright (C) 2011-2015 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2011, 2012 Freescale | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | require recipes-graphics/xorg-driver/xorg-driver-video.inc | ||
6 | |||
7 | DESCRIPTION = "X.Org X server -- Freescale iMx framebuffer driver" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f7bdc0c63080175d1667091b864cb12c" | ||
9 | DEPENDS = "virtual/kernel virtual/xserver virtual/libx11 xproto randrproto util-macros amd-gpu-x11-bin-mx51 libz160" | ||
10 | |||
11 | PR = "r12" | ||
12 | |||
13 | SRC_URI = "${FSL_MIRROR}/xserver-xorg-video-imx-${PV}.tar.gz \ | ||
14 | file://xf86-video-imxfb-fix-m4-hardcodded-paths.patch \ | ||
15 | file://Make-video-API-forward-and-backward-compatible.patch \ | ||
16 | file://ext-Update-to-newer-swap-macros.patch \ | ||
17 | file://Fix-error-unknown-type-name-uint.patch \ | ||
18 | file://xserver-1.14-compat.patch \ | ||
19 | file://glibc-2.20.patch \ | ||
20 | " | ||
21 | SRC_URI[md5sum] = "d19148399b5d1c4dab90d0cc6f2c4789" | ||
22 | SRC_URI[sha256sum] = "d7d85e9f13c6dd58addab89847f3a8a67f6382a54135c7978c9a95368af024d4" | ||
23 | |||
24 | inherit autotools pkgconfig | ||
25 | |||
26 | # Make sure kernel sources are available | ||
27 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
28 | |||
29 | # Skip warning | ||
30 | UNKNOWN_CONFIGURE_WHITELIST += "--enable-neon" | ||
31 | |||
32 | FILES_${PN} += " ${libdir}/xorg/modules/drivers/*.so" | ||
33 | FILES_${PN}-dbg += " ${libdir}/xorg/modules/drivers/.debug" | ||
34 | EXTRA_OECONF_armv7a = " --enable-neon " | ||
35 | CFLAGS += " -I${STAGING_INCDIR}/xorg -I${STAGING_KERNEL_DIR}/include" | ||
36 | |||
37 | S = "${WORKDIR}/xserver-xorg-video-imx-${PV}" | ||
38 | |||
39 | do_install_append () { | ||
40 | # driver's la files are not packaged | ||
41 | rm -f ${D}${libdir}/xorg/modules/drivers/*.la | ||
42 | } | ||
43 | |||
44 | RDEPENDS_${PN} += "xserver-xorg-module-exa" | ||
45 | |||
46 | INSANE_SKIP_${PN} = "ldflags" | ||
47 | INSANE_SKIP_${PN}-dbg = "ldflags" | ||
48 | COMPATIBLE_MACHINE = "(mx5)" | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf new file mode 100644 index 00000000..a99e6f24 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx5/xorg.conf | |||
@@ -0,0 +1,16 @@ | |||
1 | Section "Device" | ||
2 | Identifier "i.MX Accelerated Framebuffer Device" | ||
3 | Driver "imx" | ||
4 | Option "fbdev" "/dev/fb0" | ||
5 | # This option only recognized when "mxc_epdc_fb" frame buffer driver in | ||
6 | # use. Values are "RGB565" (default, 16-bit RGB), "Y8" (8-bit gray), | ||
7 | # and "Y8INV" (8-bit gray inverted). | ||
8 | Option "FormatEPDC" "Y8INV" | ||
9 | EndSection | ||
10 | |||
11 | Section "ServerFlags" | ||
12 | Option "BlankTime" "0" | ||
13 | Option "StandbyTime" "0" | ||
14 | Option "SuspendTime" "0" | ||
15 | Option "OffTime" "0" | ||
16 | EndSection | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf new file mode 100644 index 00000000..b89bed60 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mx6/xorg.conf | |||
@@ -0,0 +1,14 @@ | |||
1 | Section "Device" | ||
2 | Identifier "i.MX Accelerated Framebuffer Device" | ||
3 | Driver "vivante" | ||
4 | Option "fbdev" "/dev/fb0" | ||
5 | Option "vivante_fbdev" "/dev/fb0" | ||
6 | Option "HWcursor" "false" | ||
7 | EndSection | ||
8 | |||
9 | Section "ServerFlags" | ||
10 | Option "BlankTime" "0" | ||
11 | Option "StandbyTime" "0" | ||
12 | Option "SuspendTime" "0" | ||
13 | Option "OffTime" "0" | ||
14 | EndSection | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf new file mode 100644 index 00000000..79b6c0fc --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config/mxs/xorg.conf | |||
@@ -0,0 +1,12 @@ | |||
1 | Section "Device" | ||
2 | Identifier "Kernel Framebuffer Device" | ||
3 | Driver "fbdev" | ||
4 | Option "fbdev" "/dev/fb0" | ||
5 | EndSection | ||
6 | |||
7 | Section "ServerFlags" | ||
8 | Option "BlankTime" "0" | ||
9 | Option "StandbyTime" "0" | ||
10 | Option "SuspendTime" "0" | ||
11 | Option "OffTime" "0" | ||
12 | EndSection | ||
diff --git a/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend new file mode 100644 index 00000000..ceb438e3 --- /dev/null +++ b/meta-fsl-arm/recipes-graphics/xorg-xserver/xserver-xf86-config_%.bbappend | |||
@@ -0,0 +1,2 @@ | |||
1 | # Append path for freescale layer to include bsp xorg.conf | ||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
diff --git a/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch b/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch new file mode 100644 index 00000000..570edaa7 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc/mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From 17e04c68557c4c9cb1a0112717019329a0cc3f96 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 6 Jan 2015 13:39:50 -0200 | ||
4 | Subject: [PATCH] mcc_config.h: Only include mvf_sema4.h if building in kernel | ||
5 | Organization: O.S. Systems Software LTDA. | ||
6 | |||
7 | When mcc_config.h is used to make application we shouldn't include | ||
8 | mvf_sema4.h as it is an internal symbol of kernel and shouldn't be | ||
9 | directly referenced by user space applications using the MCC | ||
10 | interface. | ||
11 | |||
12 | This patch puts a guard using __KERNEL__ define, avoiding the include | ||
13 | and the definition of MCC_SHMEM_SEMAPHORE_NUMBER as | ||
14 | MVF_SHMEM_SEMAPHORE_NUMBER would be undefined. | ||
15 | |||
16 | Upstream-Status: Pending | ||
17 | |||
18 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
19 | --- | ||
20 | mcc_config.h | 8 +++++--- | ||
21 | 1 file changed, 5 insertions(+), 3 deletions(-) | ||
22 | |||
23 | diff --git a/mcc_config.h b/mcc_config.h | ||
24 | index 6a12c6d..3887aad 100644 | ||
25 | --- a/mcc_config.h | ||
26 | +++ b/mcc_config.h | ||
27 | @@ -18,8 +18,13 @@ | ||
28 | #ifndef __MCC_CONFIG__ | ||
29 | #define __MCC_CONFIG__ | ||
30 | |||
31 | +#ifdef __KERNEL__ | ||
32 | #include <linux/mvf_sema4.h> | ||
33 | |||
34 | +/* semaphore number */ | ||
35 | +#define MCC_SHMEM_SEMAPHORE_NUMBER (MVF_SHMEM_SEMAPHORE_NUMBER) | ||
36 | +#endif | ||
37 | + | ||
38 | /* used OS */ | ||
39 | #define MCC_OS_USED (MCC_LINUX) | ||
40 | |||
41 | @@ -47,7 +52,4 @@ | ||
42 | /* other cores, besides this participating in mcc */ | ||
43 | #define MCC_OTHER_CORES {1} | ||
44 | |||
45 | -/* semaphore number */ | ||
46 | -#define MCC_SHMEM_SEMAPHORE_NUMBER (MVF_SHMEM_SEMAPHORE_NUMBER) | ||
47 | - | ||
48 | #endif /* __MCC_CONFIG__ */ | ||
49 | -- | ||
50 | 2.1.4 | ||
51 | |||
diff --git a/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.06.bb b/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.06.bb new file mode 100644 index 00000000..db3eb025 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/kernel-module-mcc/kernel-module-mcc_1.06.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | # Copyright (C) 2013 Timesys Corporation | ||
2 | SUMMARY = "Multicore communication kernel module" | ||
3 | LICENSE = "GPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=c8959abcbbe4d6676c58eab9354019e6" | ||
5 | |||
6 | PROVIDES = "virtual/kernel-module-mcc" | ||
7 | RPROVIDES_${PN} = "virtual/kernel-module-mcc" | ||
8 | RPROVIDES_${PN}-dev = "virtual/kernel-module-mcc-dev" | ||
9 | |||
10 | inherit module | ||
11 | |||
12 | SRC_URI = "http://repository.timesys.com/buildsources/m/mcc-kmod/mcc-kmod-${PV}/mcc-kmod-${PV}.tar.bz2 \ | ||
13 | file://mcc_config.h-Only-include-mvf_sema4.h-if-building-in.patch" | ||
14 | |||
15 | SRC_URI[md5sum] = "d0507968592af5d8781e8bdbbb249e7d" | ||
16 | SRC_URI[sha256sum] = "43f834ddf9845da843c7790a307a0dbc8b04a40deed06aed7c3c99ad3a273f6c" | ||
17 | |||
18 | S = "${WORKDIR}/mcc-kmod-${PV}" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(vf60)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6/defconfig new file mode 100644 index 00000000..85d70009 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6/defconfig | |||
@@ -0,0 +1,414 @@ | |||
1 | CONFIG_KERNEL_LZO=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_NO_HZ=y | ||
4 | CONFIG_HIGH_RES_TIMERS=y | ||
5 | CONFIG_LOG_BUF_SHIFT=18 | ||
6 | CONFIG_CGROUPS=y | ||
7 | CONFIG_RELAY=y | ||
8 | CONFIG_BLK_DEV_INITRD=y | ||
9 | CONFIG_EXPERT=y | ||
10 | CONFIG_KALLSYMS_ALL=y | ||
11 | CONFIG_PERF_EVENTS=y | ||
12 | # CONFIG_SLUB_DEBUG is not set | ||
13 | # CONFIG_COMPAT_BRK is not set | ||
14 | CONFIG_MODULES=y | ||
15 | CONFIG_MODULE_UNLOAD=y | ||
16 | CONFIG_MODVERSIONS=y | ||
17 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
18 | # CONFIG_BLK_DEV_BSG is not set | ||
19 | CONFIG_GPIO_PCA953X=y | ||
20 | CONFIG_ARCH_MXC=y | ||
21 | CONFIG_MACH_IMX51_DT=y | ||
22 | CONFIG_MACH_EUKREA_CPUIMX51SD=y | ||
23 | CONFIG_SOC_IMX50=y | ||
24 | CONFIG_SOC_IMX53=y | ||
25 | CONFIG_SOC_IMX6Q=y | ||
26 | CONFIG_SOC_IMX6SL=y | ||
27 | CONFIG_SOC_IMX6SX=y | ||
28 | CONFIG_SOC_VF610=y | ||
29 | # CONFIG_SWP_EMULATE is not set | ||
30 | CONFIG_SMP=y | ||
31 | CONFIG_VMSPLIT_2G=y | ||
32 | CONFIG_PREEMPT=y | ||
33 | CONFIG_AEABI=y | ||
34 | CONFIG_HIGHMEM=y | ||
35 | CONFIG_CMA=y | ||
36 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
37 | CONFIG_KEXEC=y | ||
38 | CONFIG_CPU_FREQ=y | ||
39 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y | ||
40 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
41 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
42 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
43 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
44 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
45 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
46 | CONFIG_CPU_IDLE=y | ||
47 | CONFIG_VFP=y | ||
48 | CONFIG_NEON=y | ||
49 | CONFIG_BINFMT_MISC=m | ||
50 | CONFIG_PM_RUNTIME=y | ||
51 | CONFIG_PM_DEBUG=y | ||
52 | CONFIG_PM_TEST_SUSPEND=y | ||
53 | CONFIG_NET=y | ||
54 | CONFIG_PACKET=y | ||
55 | CONFIG_UNIX=y | ||
56 | CONFIG_INET=y | ||
57 | CONFIG_IP_PNP=y | ||
58 | CONFIG_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 | ||
62 | # CONFIG_INET_LRO is not set | ||
63 | CONFIG_IPV6=y | ||
64 | CONFIG_NETFILTER=y | ||
65 | CONFIG_VLAN_8021Q=y | ||
66 | CONFIG_LLC2=y | ||
67 | CONFIG_CAN=y | ||
68 | CONFIG_CAN_FLEXCAN=y | ||
69 | CONFIG_CAN_M_CAN=y | ||
70 | CONFIG_BT=y | ||
71 | CONFIG_BT_RFCOMM=y | ||
72 | CONFIG_BT_RFCOMM_TTY=y | ||
73 | CONFIG_BT_BNEP=y | ||
74 | CONFIG_BT_BNEP_MC_FILTER=y | ||
75 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
76 | CONFIG_BT_HIDP=y | ||
77 | CONFIG_BT_HCIBTUSB=y | ||
78 | CONFIG_BT_HCIBTSDIO=y | ||
79 | CONFIG_BT_HCIUART=y | ||
80 | CONFIG_BT_HCIUART_H4=y | ||
81 | CONFIG_BT_HCIUART_BCSP=y | ||
82 | CONFIG_BT_HCIUART_ATH3K=y | ||
83 | CONFIG_BT_HCIBCM203X=y | ||
84 | CONFIG_BT_ATH3K=y | ||
85 | CONFIG_CFG80211=y | ||
86 | CONFIG_MAC80211=y | ||
87 | CONFIG_DEVTMPFS=y | ||
88 | CONFIG_DEVTMPFS_MOUNT=y | ||
89 | # CONFIG_STANDALONE is not set | ||
90 | CONFIG_DMA_CMA=y | ||
91 | CONFIG_CMA_SIZE_MBYTES=320 | ||
92 | CONFIG_IMX_WEIM=y | ||
93 | CONFIG_CONNECTOR=y | ||
94 | CONFIG_MTD=y | ||
95 | CONFIG_MTD_CMDLINE_PARTS=y | ||
96 | CONFIG_MTD_BLOCK=y | ||
97 | CONFIG_MTD_CFI=y | ||
98 | CONFIG_MTD_JEDECPROBE=y | ||
99 | CONFIG_MTD_CFI_INTELEXT=y | ||
100 | CONFIG_MTD_CFI_AMDSTD=y | ||
101 | CONFIG_MTD_CFI_STAA=y | ||
102 | CONFIG_MTD_PHYSMAP_OF=y | ||
103 | CONFIG_MTD_DATAFLASH=y | ||
104 | CONFIG_MTD_M25P80=y | ||
105 | CONFIG_MTD_SST25L=y | ||
106 | CONFIG_MTD_NAND=y | ||
107 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
108 | CONFIG_MTD_NAND_MXC=y | ||
109 | CONFIG_MTD_SPI_NOR=y | ||
110 | CONFIG_SPI_FSL_QUADSPI=y | ||
111 | CONFIG_MTD_UBI=y | ||
112 | CONFIG_BLK_DEV_LOOP=y | ||
113 | CONFIG_BLK_DEV_RAM=y | ||
114 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
115 | CONFIG_EEPROM_AT24=y | ||
116 | CONFIG_EEPROM_AT25=y | ||
117 | # CONFIG_SCSI_PROC_FS is not set | ||
118 | CONFIG_BLK_DEV_SD=y | ||
119 | CONFIG_SCSI_MULTI_LUN=y | ||
120 | CONFIG_SCSI_CONSTANTS=y | ||
121 | CONFIG_SCSI_LOGGING=y | ||
122 | CONFIG_SCSI_SCAN_ASYNC=y | ||
123 | # CONFIG_SCSI_LOWLEVEL is not set | ||
124 | CONFIG_ATA=y | ||
125 | CONFIG_SATA_AHCI_PLATFORM=y | ||
126 | CONFIG_AHCI_IMX=y | ||
127 | CONFIG_PATA_IMX=y | ||
128 | CONFIG_NETDEVICES=y | ||
129 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
130 | CONFIG_CS89x0=y | ||
131 | CONFIG_CS89x0_PLATFORM=y | ||
132 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
133 | # CONFIG_NET_VENDOR_INTEL is not set | ||
134 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
135 | # CONFIG_NET_VENDOR_MICREL is not set | ||
136 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
137 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
138 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
139 | CONFIG_SMC91X=y | ||
140 | CONFIG_SMC911X=y | ||
141 | CONFIG_SMSC911X=y | ||
142 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
143 | CONFIG_USB_PEGASUS=m | ||
144 | CONFIG_USB_RTL8150=m | ||
145 | CONFIG_USB_RTL8152=m | ||
146 | CONFIG_USB_USBNET=m | ||
147 | CONFIG_USB_NET_CDC_EEM=m | ||
148 | CONFIG_ATH_CARDS=y | ||
149 | CONFIG_ATH6KL=m | ||
150 | CONFIG_ATH6KL_SDIO=m | ||
151 | CONFIG_BRCMFMAC=m | ||
152 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
153 | CONFIG_INPUT_EVDEV=y | ||
154 | CONFIG_INPUT_EVBUG=m | ||
155 | CONFIG_KEYBOARD_GPIO=y | ||
156 | CONFIG_KEYBOARD_SNVS_PWRKEY=y | ||
157 | CONFIG_KEYBOARD_IMX=y | ||
158 | CONFIG_MOUSE_PS2=m | ||
159 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
160 | CONFIG_INPUT_TOUCHSCREEN=y | ||
161 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
162 | CONFIG_TOUCHSCREEN_ELAN=y | ||
163 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
164 | CONFIG_TOUCHSCREEN_MC13783=y | ||
165 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
166 | CONFIG_TOUCHSCREEN_STMPE=y | ||
167 | CONFIG_INPUT_MISC=y | ||
168 | CONFIG_INPUT_MMA8450=y | ||
169 | CONFIG_INPUT_ISL29023=y | ||
170 | CONFIG_SERIO_SERPORT=m | ||
171 | # CONFIG_LEGACY_PTYS is not set | ||
172 | # CONFIG_DEVKMEM is not set | ||
173 | CONFIG_SERIAL_IMX=y | ||
174 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
175 | CONFIG_SERIAL_FSL_LPUART=y | ||
176 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
177 | CONFIG_FSL_OTP=y | ||
178 | # CONFIG_I2C_COMPAT is not set | ||
179 | CONFIG_I2C_CHARDEV=y | ||
180 | # CONFIG_I2C_HELPER_AUTO is not set | ||
181 | CONFIG_I2C_ALGOPCF=m | ||
182 | CONFIG_I2C_ALGOPCA=m | ||
183 | CONFIG_I2C_IMX=y | ||
184 | CONFIG_SPI=y | ||
185 | CONFIG_SPI_IMX=y | ||
186 | CONFIG_GPIO_SYSFS=y | ||
187 | CONFIG_POWER_SUPPLY=y | ||
188 | CONFIG_SABRESD_MAX8903=y | ||
189 | CONFIG_SENSORS_MAX17135=y | ||
190 | CONFIG_SENSORS_MAG3110=y | ||
191 | CONFIG_THERMAL=y | ||
192 | CONFIG_CPU_THERMAL=y | ||
193 | CONFIG_IMX_THERMAL=y | ||
194 | CONFIG_DEVICE_THERMAL=y | ||
195 | CONFIG_WATCHDOG=y | ||
196 | CONFIG_IMX2_WDT=y | ||
197 | CONFIG_MFD_DA9052_I2C=y | ||
198 | CONFIG_MFD_MC13XXX_SPI=y | ||
199 | CONFIG_MFD_MC13XXX_I2C=y | ||
200 | CONFIG_MFD_MAX17135=y | ||
201 | CONFIG_MFD_SI476X_CORE=y | ||
202 | CONFIG_MFD_STMPE=y | ||
203 | CONFIG_REGULATOR=y | ||
204 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
205 | CONFIG_REGULATOR_ANATOP=y | ||
206 | CONFIG_REGULATOR_DA9052=y | ||
207 | CONFIG_REGULATOR_MAX17135=y | ||
208 | CONFIG_REGULATOR_MC13783=y | ||
209 | CONFIG_REGULATOR_MC13892=y | ||
210 | CONFIG_REGULATOR_PFUZE100=y | ||
211 | CONFIG_MEDIA_SUPPORT=y | ||
212 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
213 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
214 | CONFIG_MEDIA_RC_SUPPORT=y | ||
215 | CONFIG_RC_DEVICES=y | ||
216 | CONFIG_IR_GPIO_CIR=y | ||
217 | CONFIG_MEDIA_USB_SUPPORT=y | ||
218 | CONFIG_USB_VIDEO_CLASS=m | ||
219 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
220 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
221 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
222 | CONFIG_MXC_CAMERA_OV5640=m | ||
223 | CONFIG_MXC_CAMERA_OV5642=m | ||
224 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
225 | CONFIG_MXC_TVIN_ADV7180=m | ||
226 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
227 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
228 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
229 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
230 | CONFIG_MXC_VADC=m | ||
231 | CONFIG_SOC_CAMERA=y | ||
232 | CONFIG_VIDEO_MX3=y | ||
233 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
234 | CONFIG_VIDEO_CODA=y | ||
235 | CONFIG_RADIO_SI476X=y | ||
236 | CONFIG_SOC_CAMERA_OV2640=y | ||
237 | CONFIG_DRM=y | ||
238 | CONFIG_DRM_VIVANTE=y | ||
239 | CONFIG_FB=y | ||
240 | CONFIG_FB_MXS=y | ||
241 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
242 | CONFIG_LCD_CLASS_DEVICE=y | ||
243 | CONFIG_LCD_L4F00242T03=y | ||
244 | CONFIG_LCD_PLATFORM=y | ||
245 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
246 | CONFIG_BACKLIGHT_PWM=y | ||
247 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
248 | CONFIG_FB_MXC_LDB=y | ||
249 | CONFIG_FB_MXC_MIPI_DSI=y | ||
250 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
251 | CONFIG_FB_MXC_HDMI=y | ||
252 | CONFIG_FB_MXC_EINK_PANEL=y | ||
253 | CONFIG_FB_MXS_SII902X=y | ||
254 | CONFIG_FB_MXC_DCIC=m | ||
255 | CONFIG_HANNSTAR_CABC=y | ||
256 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
257 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
258 | CONFIG_LOGO=y | ||
259 | CONFIG_SOUND=y | ||
260 | CONFIG_SND=y | ||
261 | CONFIG_SND_USB_AUDIO=m | ||
262 | CONFIG_SND_SOC=y | ||
263 | CONFIG_SND_IMX_SOC=y | ||
264 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
265 | CONFIG_SND_SOC_IMX_CS42888=y | ||
266 | CONFIG_SND_SOC_IMX_WM8962=y | ||
267 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
268 | CONFIG_SND_SOC_IMX_MQS=y | ||
269 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
270 | CONFIG_SND_SOC_IMX_MC13783=y | ||
271 | CONFIG_SND_SOC_IMX_HDMI=y | ||
272 | CONFIG_SND_SOC_IMX_SI476X=y | ||
273 | CONFIG_USB=y | ||
274 | CONFIG_USB_EHCI_HCD=y | ||
275 | CONFIG_USB_EHCI_MXC=y | ||
276 | CONFIG_USB_ACM=m | ||
277 | CONFIG_USB_STORAGE=y | ||
278 | CONFIG_USB_CHIPIDEA=y | ||
279 | CONFIG_USB_CHIPIDEA_UDC=y | ||
280 | CONFIG_USB_CHIPIDEA_HOST=y | ||
281 | CONFIG_USB_SERIAL=m | ||
282 | CONFIG_USB_SERIAL_GENERIC=y | ||
283 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
284 | CONFIG_USB_SERIAL_OPTION=m | ||
285 | CONFIG_USB_EHSET_TEST_FIXTURE=m | ||
286 | CONFIG_NOP_USB_XCEIV=y | ||
287 | CONFIG_USB_MXS_PHY=y | ||
288 | CONFIG_USB_GADGET=y | ||
289 | CONFIG_USB_CONFIGFS=m | ||
290 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
291 | CONFIG_USB_CONFIGFS_ACM=y | ||
292 | CONFIG_USB_CONFIGFS_OBEX=y | ||
293 | CONFIG_USB_CONFIGFS_NCM=y | ||
294 | CONFIG_USB_CONFIGFS_ECM=y | ||
295 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
296 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
297 | CONFIG_USB_CONFIGFS_EEM=y | ||
298 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
299 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
300 | CONFIG_USB_CONFIGFS_F_FS=y | ||
301 | CONFIG_USB_ZERO=m | ||
302 | CONFIG_USB_ETH=m | ||
303 | CONFIG_USB_G_NCM=m | ||
304 | CONFIG_USB_GADGETFS=m | ||
305 | CONFIG_USB_MASS_STORAGE=m | ||
306 | CONFIG_USB_G_SERIAL=m | ||
307 | CONFIG_MMC=y | ||
308 | CONFIG_MMC_UNSAFE_RESUME=y | ||
309 | CONFIG_MMC_SDHCI=y | ||
310 | CONFIG_MMC_SDHCI_PLTFM=y | ||
311 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
312 | CONFIG_MXC_IPU=y | ||
313 | CONFIG_MXC_GPU_VIV=y | ||
314 | CONFIG_MXC_MIPI_CSI2=y | ||
315 | CONFIG_MXC_MLB150=m | ||
316 | CONFIG_NEW_LEDS=y | ||
317 | CONFIG_LEDS_CLASS=y | ||
318 | CONFIG_LEDS_GPIO=y | ||
319 | CONFIG_LEDS_TRIGGERS=y | ||
320 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
321 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
322 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
323 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
324 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
325 | CONFIG_RTC_CLASS=y | ||
326 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
327 | CONFIG_RTC_DRV_MC13XXX=y | ||
328 | CONFIG_RTC_DRV_MXC=y | ||
329 | CONFIG_RTC_DRV_SNVS=y | ||
330 | CONFIG_DMADEVICES=y | ||
331 | CONFIG_MXC_PXP_V2=y | ||
332 | CONFIG_IMX_SDMA=y | ||
333 | CONFIG_MXS_DMA=y | ||
334 | CONFIG_STAGING=y | ||
335 | CONFIG_STAGING_MEDIA=y | ||
336 | # CONFIG_IOMMU_SUPPORT is not set | ||
337 | CONFIG_IIO=y | ||
338 | CONFIG_VF610_ADC=y | ||
339 | CONFIG_PWM=y | ||
340 | CONFIG_PWM_IMX=y | ||
341 | CONFIG_EXT2_FS=y | ||
342 | CONFIG_EXT2_FS_XATTR=y | ||
343 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
344 | CONFIG_EXT2_FS_SECURITY=y | ||
345 | CONFIG_EXT3_FS=y | ||
346 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
347 | CONFIG_EXT3_FS_SECURITY=y | ||
348 | CONFIG_EXT4_FS=y | ||
349 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
350 | CONFIG_EXT4_FS_SECURITY=y | ||
351 | CONFIG_QUOTA=y | ||
352 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
353 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
354 | CONFIG_AUTOFS4_FS=y | ||
355 | CONFIG_FUSE_FS=y | ||
356 | CONFIG_ISO9660_FS=m | ||
357 | CONFIG_JOLIET=y | ||
358 | CONFIG_ZISOFS=y | ||
359 | CONFIG_UDF_FS=m | ||
360 | CONFIG_MSDOS_FS=m | ||
361 | CONFIG_VFAT_FS=y | ||
362 | CONFIG_TMPFS=y | ||
363 | CONFIG_JFFS2_FS=y | ||
364 | CONFIG_UBIFS_FS=y | ||
365 | CONFIG_NFS_FS=y | ||
366 | CONFIG_NFS_V3_ACL=y | ||
367 | CONFIG_NFS_V4=y | ||
368 | CONFIG_ROOT_NFS=y | ||
369 | CONFIG_NLS_DEFAULT="cp437" | ||
370 | CONFIG_NLS_CODEPAGE_437=y | ||
371 | CONFIG_NLS_ASCII=y | ||
372 | CONFIG_NLS_ISO8859_1=y | ||
373 | CONFIG_NLS_ISO8859_15=m | ||
374 | CONFIG_NLS_UTF8=y | ||
375 | CONFIG_DEBUG_FS=y | ||
376 | CONFIG_MAGIC_SYSRQ=y | ||
377 | # CONFIG_SCHED_DEBUG is not set | ||
378 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
379 | # CONFIG_FTRACE is not set | ||
380 | CONFIG_SECURITYFS=y | ||
381 | CONFIG_CRYPTO_USER=y | ||
382 | CONFIG_CRYPTO_TEST=m | ||
383 | CONFIG_CRYPTO_GCM=y | ||
384 | CONFIG_CRYPTO_CBC=y | ||
385 | CONFIG_CRYPTO_CTS=y | ||
386 | CONFIG_CRYPTO_LRW=y | ||
387 | CONFIG_CRYPTO_XTS=y | ||
388 | CONFIG_CRYPTO_MD4=y | ||
389 | CONFIG_CRYPTO_MD5=y | ||
390 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
391 | CONFIG_CRYPTO_RMD128=y | ||
392 | CONFIG_CRYPTO_RMD160=y | ||
393 | CONFIG_CRYPTO_RMD256=y | ||
394 | CONFIG_CRYPTO_RMD320=y | ||
395 | CONFIG_CRYPTO_SHA1=y | ||
396 | CONFIG_CRYPTO_SHA512=y | ||
397 | CONFIG_CRYPTO_TGR192=y | ||
398 | CONFIG_CRYPTO_WP512=y | ||
399 | CONFIG_CRYPTO_BLOWFISH=y | ||
400 | CONFIG_CRYPTO_CAMELLIA=y | ||
401 | CONFIG_CRYPTO_DES=y | ||
402 | CONFIG_CRYPTO_TWOFISH=y | ||
403 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
404 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
405 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
406 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
407 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
408 | CONFIG_CRC_CCITT=m | ||
409 | CONFIG_CRC_T10DIF=y | ||
410 | CONFIG_CRC7=m | ||
411 | CONFIG_LIBCRC32C=m | ||
412 | CONFIG_FONTS=y | ||
413 | CONFIG_FONT_8x8=y | ||
414 | CONFIG_FONT_8x16=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6_3.14-1.0.x.bb b/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6_3.14-1.0.x.bb new file mode 100644 index 00000000..daf396df --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc-mx6_3.14-1.0.x.bb | |||
@@ -0,0 +1,16 @@ | |||
1 | # Copyright (C) 2015 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "FSL Community BSP i.MX6 Linux kernel with backported features and fixes" | ||
5 | DESCRIPTION = "Linux kernel based on Freescale 3.14.28 GA release, used by FSL Community BSP in order to \ | ||
6 | provide support for i.MX6 based platforms and include official Linux kernel stable updates, backported \ | ||
7 | features and fixes coming from the vendors, kernel community or FSL Community itself." | ||
8 | |||
9 | include linux-fslc.inc | ||
10 | |||
11 | PV .= "+git${SRCPV}" | ||
12 | |||
13 | SRCBRANCH = "3.14-1.0.x-mx6" | ||
14 | SRCREV = "9e71c2c628a48c6892a01ea98a818a41357981c1" | ||
15 | |||
16 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc.inc b/meta-fsl-arm/recipes-kernel/linux/linux-fslc.inc new file mode 100644 index 00000000..1501ae7f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc.inc | |||
@@ -0,0 +1,11 @@ | |||
1 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require recipes-kernel/linux/linux-imx.inc | ||
5 | require recipes-kernel/linux/linux-dtb.inc | ||
6 | |||
7 | DEPENDS += "lzop-native bc-native" | ||
8 | |||
9 | SRC_URI = "git://github.com/Freescale/linux-fslc.git;branch=${SRCBRANCH} \ | ||
10 | file://defconfig" | ||
11 | LOCALVERSION = "-fslc" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-fslc/defconfig new file mode 100644 index 00000000..d615e3d3 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc/defconfig | |||
@@ -0,0 +1,357 @@ | |||
1 | CONFIG_KERNEL_LZO=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_FHANDLE=y | ||
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_LOG_BUF_SHIFT=18 | ||
7 | CONFIG_CGROUPS=y | ||
8 | CONFIG_RELAY=y | ||
9 | CONFIG_BLK_DEV_INITRD=y | ||
10 | CONFIG_EXPERT=y | ||
11 | CONFIG_PERF_EVENTS=y | ||
12 | # CONFIG_SLUB_DEBUG is not set | ||
13 | # CONFIG_COMPAT_BRK is not set | ||
14 | CONFIG_MODULES=y | ||
15 | CONFIG_MODULE_UNLOAD=y | ||
16 | CONFIG_MODVERSIONS=y | ||
17 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
18 | # CONFIG_BLK_DEV_BSG is not set | ||
19 | CONFIG_ARCH_MULTI_V6=y | ||
20 | CONFIG_ARCH_MXC=y | ||
21 | CONFIG_MACH_MX31LILLY=y | ||
22 | CONFIG_MACH_MX31LITE=y | ||
23 | CONFIG_MACH_PCM037=y | ||
24 | CONFIG_MACH_PCM037_EET=y | ||
25 | CONFIG_MACH_MX31_3DS=y | ||
26 | CONFIG_MACH_MX31MOBOARD=y | ||
27 | CONFIG_MACH_QONG=y | ||
28 | CONFIG_MACH_ARMADILLO5X0=y | ||
29 | CONFIG_MACH_KZM_ARM11_01=y | ||
30 | CONFIG_MACH_IMX31_DT=y | ||
31 | CONFIG_MACH_IMX35_DT=y | ||
32 | CONFIG_MACH_PCM043=y | ||
33 | CONFIG_MACH_MX35_3DS=y | ||
34 | CONFIG_MACH_VPR200=y | ||
35 | CONFIG_SOC_IMX50=y | ||
36 | CONFIG_SOC_IMX51=y | ||
37 | CONFIG_SOC_IMX53=y | ||
38 | CONFIG_SOC_IMX6Q=y | ||
39 | CONFIG_SOC_IMX6SL=y | ||
40 | CONFIG_SOC_IMX6SX=y | ||
41 | CONFIG_SOC_VF610=y | ||
42 | CONFIG_PCI=y | ||
43 | CONFIG_PCI_IMX6=y | ||
44 | CONFIG_PCCARD=y | ||
45 | CONFIG_SMP=y | ||
46 | CONFIG_VMSPLIT_2G=y | ||
47 | CONFIG_PREEMPT_VOLUNTARY=y | ||
48 | CONFIG_AEABI=y | ||
49 | CONFIG_HIGHMEM=y | ||
50 | CONFIG_CMA=y | ||
51 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
52 | CONFIG_CPU_FREQ=y | ||
53 | CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y | ||
54 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
55 | CONFIG_VFP=y | ||
56 | CONFIG_NEON=y | ||
57 | CONFIG_BINFMT_MISC=m | ||
58 | CONFIG_PM_DEBUG=y | ||
59 | CONFIG_PM_TEST_SUSPEND=y | ||
60 | CONFIG_NET=y | ||
61 | CONFIG_PACKET=y | ||
62 | CONFIG_UNIX=y | ||
63 | CONFIG_INET=y | ||
64 | CONFIG_IP_PNP=y | ||
65 | CONFIG_IP_PNP_DHCP=y | ||
66 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
67 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
68 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
69 | # CONFIG_INET_LRO is not set | ||
70 | CONFIG_IPV6=y | ||
71 | CONFIG_NETFILTER=y | ||
72 | CONFIG_CAN=y | ||
73 | CONFIG_CAN_FLEXCAN=y | ||
74 | CONFIG_BT=y | ||
75 | CONFIG_BT_HCIUART=y | ||
76 | CONFIG_BT_HCIUART_H4=y | ||
77 | CONFIG_CFG80211=y | ||
78 | CONFIG_CFG80211_WEXT=y | ||
79 | CONFIG_MAC80211=y | ||
80 | CONFIG_RFKILL=y | ||
81 | CONFIG_RFKILL_INPUT=y | ||
82 | CONFIG_DEVTMPFS=y | ||
83 | CONFIG_DEVTMPFS_MOUNT=y | ||
84 | # CONFIG_STANDALONE is not set | ||
85 | CONFIG_DMA_CMA=y | ||
86 | CONFIG_IMX_WEIM=y | ||
87 | CONFIG_CONNECTOR=y | ||
88 | CONFIG_MTD=y | ||
89 | CONFIG_MTD_CMDLINE_PARTS=y | ||
90 | CONFIG_MTD_BLOCK=y | ||
91 | CONFIG_MTD_CFI=y | ||
92 | CONFIG_MTD_JEDECPROBE=y | ||
93 | CONFIG_MTD_CFI_INTELEXT=y | ||
94 | CONFIG_MTD_CFI_AMDSTD=y | ||
95 | CONFIG_MTD_CFI_STAA=y | ||
96 | CONFIG_MTD_PHYSMAP_OF=y | ||
97 | CONFIG_MTD_DATAFLASH=y | ||
98 | CONFIG_MTD_M25P80=y | ||
99 | CONFIG_MTD_SST25L=y | ||
100 | CONFIG_MTD_NAND=y | ||
101 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
102 | CONFIG_MTD_NAND_MXC=y | ||
103 | CONFIG_MTD_SPI_NOR=y | ||
104 | CONFIG_SPI_FSL_QUADSPI=y | ||
105 | CONFIG_MTD_UBI=y | ||
106 | CONFIG_BLK_DEV_LOOP=y | ||
107 | CONFIG_BLK_DEV_RAM=y | ||
108 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
109 | CONFIG_EEPROM_AT24=y | ||
110 | CONFIG_EEPROM_AT25=y | ||
111 | # CONFIG_SCSI_PROC_FS is not set | ||
112 | CONFIG_BLK_DEV_SD=y | ||
113 | CONFIG_SCSI_CONSTANTS=y | ||
114 | CONFIG_SCSI_LOGGING=y | ||
115 | CONFIG_SCSI_SCAN_ASYNC=y | ||
116 | # CONFIG_SCSI_LOWLEVEL is not set | ||
117 | CONFIG_ATA=y | ||
118 | CONFIG_SATA_AHCI_PLATFORM=y | ||
119 | CONFIG_AHCI_IMX=y | ||
120 | CONFIG_PATA_IMX=y | ||
121 | CONFIG_NETDEVICES=y | ||
122 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
123 | CONFIG_CS89x0=y | ||
124 | CONFIG_CS89x0_PLATFORM=y | ||
125 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
126 | # CONFIG_NET_VENDOR_INTEL is not set | ||
127 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
128 | # CONFIG_NET_VENDOR_MICREL is not set | ||
129 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
130 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
131 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
132 | CONFIG_SMC91X=y | ||
133 | CONFIG_SMC911X=y | ||
134 | CONFIG_SMSC911X=y | ||
135 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
136 | CONFIG_AT803X_PHY=y | ||
137 | CONFIG_USB_PEGASUS=m | ||
138 | CONFIG_USB_RTL8150=m | ||
139 | CONFIG_USB_RTL8152=m | ||
140 | CONFIG_USB_USBNET=m | ||
141 | CONFIG_USB_NET_CDC_EEM=m | ||
142 | CONFIG_PCMCIA_RAYCS=y | ||
143 | CONFIG_BRCMFMAC=y | ||
144 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
145 | CONFIG_INPUT_EVDEV=y | ||
146 | CONFIG_INPUT_EVBUG=m | ||
147 | CONFIG_KEYBOARD_GPIO=y | ||
148 | CONFIG_KEYBOARD_IMX=y | ||
149 | CONFIG_MOUSE_PS2=m | ||
150 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
151 | CONFIG_INPUT_TOUCHSCREEN=y | ||
152 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
153 | CONFIG_TOUCHSCREEN_MC13783=y | ||
154 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
155 | CONFIG_TOUCHSCREEN_STMPE=y | ||
156 | CONFIG_INPUT_MISC=y | ||
157 | CONFIG_INPUT_MMA8450=y | ||
158 | CONFIG_SERIO_SERPORT=m | ||
159 | # CONFIG_LEGACY_PTYS is not set | ||
160 | # CONFIG_DEVKMEM is not set | ||
161 | CONFIG_SERIAL_IMX=y | ||
162 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
163 | CONFIG_SERIAL_FSL_LPUART=y | ||
164 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
165 | CONFIG_HW_RANDOM=y | ||
166 | # CONFIG_I2C_COMPAT is not set | ||
167 | CONFIG_I2C_CHARDEV=y | ||
168 | # CONFIG_I2C_HELPER_AUTO is not set | ||
169 | CONFIG_I2C_ALGOPCF=m | ||
170 | CONFIG_I2C_ALGOPCA=m | ||
171 | CONFIG_I2C_IMX=y | ||
172 | CONFIG_SPI=y | ||
173 | CONFIG_SPI_IMX=y | ||
174 | CONFIG_GPIO_SYSFS=y | ||
175 | CONFIG_GPIO_MC9S08DZ60=y | ||
176 | CONFIG_GPIO_PCA953X=y | ||
177 | CONFIG_GPIO_STMPE=y | ||
178 | CONFIG_POWER_SUPPLY=y | ||
179 | CONFIG_POWER_RESET=y | ||
180 | CONFIG_POWER_RESET_IMX=y | ||
181 | CONFIG_POWER_RESET_SYSCON=y | ||
182 | CONFIG_SENSORS_GPIO_FAN=y | ||
183 | CONFIG_THERMAL=y | ||
184 | CONFIG_CPU_THERMAL=y | ||
185 | CONFIG_IMX_THERMAL=y | ||
186 | CONFIG_WATCHDOG=y | ||
187 | CONFIG_IMX2_WDT=y | ||
188 | CONFIG_MFD_DA9052_I2C=y | ||
189 | CONFIG_MFD_MC13XXX_SPI=y | ||
190 | CONFIG_MFD_MC13XXX_I2C=y | ||
191 | CONFIG_MFD_STMPE=y | ||
192 | CONFIG_REGULATOR=y | ||
193 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
194 | CONFIG_REGULATOR_ANATOP=y | ||
195 | CONFIG_REGULATOR_DA9052=y | ||
196 | CONFIG_REGULATOR_GPIO=y | ||
197 | CONFIG_REGULATOR_MC13783=y | ||
198 | CONFIG_REGULATOR_MC13892=y | ||
199 | CONFIG_REGULATOR_PFUZE100=y | ||
200 | CONFIG_MEDIA_SUPPORT=y | ||
201 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
202 | CONFIG_MEDIA_RC_SUPPORT=y | ||
203 | CONFIG_RC_DEVICES=y | ||
204 | CONFIG_IR_GPIO_CIR=y | ||
205 | CONFIG_MEDIA_USB_SUPPORT=y | ||
206 | CONFIG_USB_VIDEO_CLASS=m | ||
207 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
208 | CONFIG_SOC_CAMERA=y | ||
209 | CONFIG_VIDEO_MX3=y | ||
210 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
211 | CONFIG_VIDEO_CODA=y | ||
212 | CONFIG_SOC_CAMERA_OV2640=y | ||
213 | CONFIG_IMX_IPUV3_CORE=y | ||
214 | CONFIG_DRM=y | ||
215 | CONFIG_DRM_PANEL_SIMPLE=y | ||
216 | CONFIG_DRM_IMX=y | ||
217 | CONFIG_DRM_IMX_FB_HELPER=y | ||
218 | CONFIG_DRM_IMX_PARALLEL_DISPLAY=y | ||
219 | CONFIG_DRM_IMX_TVE=y | ||
220 | CONFIG_DRM_IMX_LDB=y | ||
221 | CONFIG_DRM_IMX_HDMI=y | ||
222 | CONFIG_FB_MXS=y | ||
223 | CONFIG_LCD_CLASS_DEVICE=y | ||
224 | CONFIG_LCD_L4F00242T03=y | ||
225 | CONFIG_LCD_PLATFORM=y | ||
226 | CONFIG_BACKLIGHT_PWM=y | ||
227 | CONFIG_BACKLIGHT_GPIO=y | ||
228 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
229 | CONFIG_LOGO=y | ||
230 | CONFIG_SOUND=y | ||
231 | CONFIG_SND=y | ||
232 | CONFIG_SND_USB_AUDIO=m | ||
233 | CONFIG_SND_SOC=y | ||
234 | CONFIG_SND_SOC_FSL_SAI=y | ||
235 | CONFIG_SND_IMX_SOC=y | ||
236 | CONFIG_SND_SOC_PHYCORE_AC97=y | ||
237 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
238 | CONFIG_SND_SOC_IMX_WM8962=y | ||
239 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
240 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
241 | CONFIG_SND_SOC_IMX_MC13783=y | ||
242 | CONFIG_SND_SOC_TLV320AIC3X=y | ||
243 | CONFIG_SND_SIMPLE_CARD=y | ||
244 | CONFIG_USB=y | ||
245 | CONFIG_USB_EHCI_HCD=y | ||
246 | CONFIG_USB_EHCI_MXC=y | ||
247 | CONFIG_USB_STORAGE=y | ||
248 | CONFIG_USB_CHIPIDEA=y | ||
249 | CONFIG_USB_CHIPIDEA_UDC=y | ||
250 | CONFIG_USB_CHIPIDEA_HOST=y | ||
251 | CONFIG_USB_SERIAL=m | ||
252 | CONFIG_USB_SERIAL_GENERIC=y | ||
253 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
254 | CONFIG_USB_SERIAL_OPTION=m | ||
255 | CONFIG_USB_EHSET_TEST_FIXTURE=m | ||
256 | CONFIG_NOP_USB_XCEIV=y | ||
257 | CONFIG_USB_MXS_PHY=y | ||
258 | CONFIG_USB_GADGET=y | ||
259 | CONFIG_USB_CONFIGFS=m | ||
260 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
261 | CONFIG_USB_CONFIGFS_ACM=y | ||
262 | CONFIG_USB_CONFIGFS_OBEX=y | ||
263 | CONFIG_USB_CONFIGFS_NCM=y | ||
264 | CONFIG_USB_CONFIGFS_ECM=y | ||
265 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
266 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
267 | CONFIG_USB_CONFIGFS_EEM=y | ||
268 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
269 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
270 | CONFIG_USB_CONFIGFS_F_FS=y | ||
271 | CONFIG_USB_ZERO=m | ||
272 | CONFIG_USB_ETH=m | ||
273 | CONFIG_USB_G_NCM=m | ||
274 | CONFIG_USB_GADGETFS=m | ||
275 | CONFIG_USB_MASS_STORAGE=m | ||
276 | CONFIG_USB_G_SERIAL=m | ||
277 | CONFIG_MMC=y | ||
278 | CONFIG_MMC_SDHCI=y | ||
279 | CONFIG_MMC_SDHCI_PLTFM=y | ||
280 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
281 | CONFIG_NEW_LEDS=y | ||
282 | CONFIG_LEDS_CLASS=y | ||
283 | CONFIG_LEDS_GPIO=y | ||
284 | CONFIG_LEDS_TRIGGERS=y | ||
285 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
286 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
287 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
288 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
289 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
290 | CONFIG_RTC_CLASS=y | ||
291 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
292 | CONFIG_RTC_DRV_DS1307=y | ||
293 | CONFIG_RTC_DRV_ISL1208=y | ||
294 | CONFIG_RTC_DRV_PCF8563=y | ||
295 | CONFIG_RTC_DRV_MC13XXX=y | ||
296 | CONFIG_RTC_DRV_MXC=y | ||
297 | CONFIG_RTC_DRV_SNVS=y | ||
298 | CONFIG_DMADEVICES=y | ||
299 | CONFIG_IMX_SDMA=y | ||
300 | CONFIG_MXS_DMA=y | ||
301 | CONFIG_FSL_EDMA=y | ||
302 | CONFIG_STAGING=y | ||
303 | # CONFIG_IOMMU_SUPPORT is not set | ||
304 | CONFIG_PWM=y | ||
305 | CONFIG_PWM_IMX=y | ||
306 | CONFIG_EXT2_FS=y | ||
307 | CONFIG_EXT2_FS_XATTR=y | ||
308 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
309 | CONFIG_EXT2_FS_SECURITY=y | ||
310 | CONFIG_EXT3_FS=y | ||
311 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
312 | CONFIG_EXT3_FS_SECURITY=y | ||
313 | CONFIG_EXT4_FS=y | ||
314 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
315 | CONFIG_EXT4_FS_SECURITY=y | ||
316 | CONFIG_QUOTA=y | ||
317 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
318 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
319 | CONFIG_AUTOFS4_FS=y | ||
320 | CONFIG_FUSE_FS=y | ||
321 | CONFIG_ISO9660_FS=m | ||
322 | CONFIG_JOLIET=y | ||
323 | CONFIG_ZISOFS=y | ||
324 | CONFIG_UDF_FS=m | ||
325 | CONFIG_MSDOS_FS=m | ||
326 | CONFIG_VFAT_FS=y | ||
327 | CONFIG_TMPFS=y | ||
328 | CONFIG_JFFS2_FS=y | ||
329 | CONFIG_UBIFS_FS=y | ||
330 | CONFIG_NFS_FS=y | ||
331 | CONFIG_NFS_V3_ACL=y | ||
332 | CONFIG_NFS_V4=y | ||
333 | CONFIG_ROOT_NFS=y | ||
334 | CONFIG_NLS_DEFAULT="cp437" | ||
335 | CONFIG_NLS_CODEPAGE_437=y | ||
336 | CONFIG_NLS_ASCII=y | ||
337 | CONFIG_NLS_ISO8859_1=y | ||
338 | CONFIG_NLS_ISO8859_15=m | ||
339 | CONFIG_NLS_UTF8=y | ||
340 | CONFIG_PRINTK_TIME=y | ||
341 | CONFIG_DEBUG_FS=y | ||
342 | CONFIG_MAGIC_SYSRQ=y | ||
343 | # CONFIG_SCHED_DEBUG is not set | ||
344 | CONFIG_PROVE_LOCKING=y | ||
345 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
346 | # CONFIG_FTRACE is not set | ||
347 | # CONFIG_ARM_UNWIND is not set | ||
348 | CONFIG_SECURITYFS=y | ||
349 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
350 | # CONFIG_CRYPTO_HW is not set | ||
351 | CONFIG_CRC_CCITT=m | ||
352 | CONFIG_CRC_T10DIF=y | ||
353 | CONFIG_CRC7=m | ||
354 | CONFIG_LIBCRC32C=m | ||
355 | CONFIG_FONTS=y | ||
356 | CONFIG_FONT_8x8=y | ||
357 | CONFIG_FONT_8x16=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc/mxs/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-fslc/mxs/defconfig new file mode 100644 index 00000000..b47e7c66 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc/mxs/defconfig | |||
@@ -0,0 +1,185 @@ | |||
1 | CONFIG_SYSVIPC=y | ||
2 | CONFIG_FHANDLE=y | ||
3 | CONFIG_NO_HZ=y | ||
4 | CONFIG_HIGH_RES_TIMERS=y | ||
5 | CONFIG_TASKSTATS=y | ||
6 | CONFIG_TASK_DELAY_ACCT=y | ||
7 | CONFIG_TASK_XACCT=y | ||
8 | CONFIG_TASK_IO_ACCOUNTING=y | ||
9 | CONFIG_IKCONFIG=y | ||
10 | CONFIG_IKCONFIG_PROC=y | ||
11 | # CONFIG_UTS_NS is not set | ||
12 | # CONFIG_IPC_NS is not set | ||
13 | # CONFIG_PID_NS is not set | ||
14 | # CONFIG_NET_NS is not set | ||
15 | CONFIG_PERF_EVENTS=y | ||
16 | # CONFIG_COMPAT_BRK is not set | ||
17 | CONFIG_MODULES=y | ||
18 | CONFIG_MODULE_FORCE_LOAD=y | ||
19 | CONFIG_MODULE_UNLOAD=y | ||
20 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
21 | CONFIG_MODVERSIONS=y | ||
22 | CONFIG_BLK_DEV_INTEGRITY=y | ||
23 | # CONFIG_IOSCHED_DEADLINE is not set | ||
24 | # CONFIG_IOSCHED_CFQ is not set | ||
25 | # CONFIG_ARCH_MULTI_V7 is not set | ||
26 | CONFIG_ARCH_MXS=y | ||
27 | # CONFIG_ARM_THUMB is not set | ||
28 | CONFIG_PREEMPT_VOLUNTARY=y | ||
29 | CONFIG_AEABI=y | ||
30 | CONFIG_NET=y | ||
31 | CONFIG_PACKET=y | ||
32 | CONFIG_UNIX=y | ||
33 | CONFIG_INET=y | ||
34 | CONFIG_IP_PNP=y | ||
35 | CONFIG_IP_PNP_DHCP=y | ||
36 | CONFIG_SYN_COOKIES=y | ||
37 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
38 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
39 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
40 | # CONFIG_INET_LRO is not set | ||
41 | # CONFIG_INET_DIAG is not set | ||
42 | # CONFIG_IPV6 is not set | ||
43 | CONFIG_CAN=m | ||
44 | CONFIG_CAN_FLEXCAN=m | ||
45 | # CONFIG_WIRELESS is not set | ||
46 | CONFIG_DEVTMPFS=y | ||
47 | CONFIG_DEVTMPFS_MOUNT=y | ||
48 | # CONFIG_FIRMWARE_IN_KERNEL is not set | ||
49 | CONFIG_MTD=y | ||
50 | CONFIG_MTD_CMDLINE_PARTS=y | ||
51 | CONFIG_MTD_BLOCK=y | ||
52 | CONFIG_MTD_DATAFLASH=y | ||
53 | CONFIG_MTD_M25P80=y | ||
54 | CONFIG_MTD_SST25L=y | ||
55 | CONFIG_MTD_NAND=y | ||
56 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
57 | CONFIG_MTD_SPI_NOR=y | ||
58 | CONFIG_MTD_UBI=y | ||
59 | # CONFIG_BLK_DEV is not set | ||
60 | CONFIG_EEPROM_AT24=y | ||
61 | CONFIG_SCSI=y | ||
62 | CONFIG_BLK_DEV_SD=y | ||
63 | CONFIG_NETDEVICES=y | ||
64 | CONFIG_ENC28J60=y | ||
65 | CONFIG_SMSC_PHY=y | ||
66 | CONFIG_ICPLUS_PHY=y | ||
67 | CONFIG_REALTEK_PHY=y | ||
68 | CONFIG_MICREL_PHY=y | ||
69 | CONFIG_USB_USBNET=y | ||
70 | CONFIG_USB_NET_SMSC95XX=y | ||
71 | # CONFIG_WLAN is not set | ||
72 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
73 | CONFIG_INPUT_EVDEV=y | ||
74 | # CONFIG_INPUT_KEYBOARD is not set | ||
75 | # CONFIG_INPUT_MOUSE is not set | ||
76 | CONFIG_INPUT_TOUCHSCREEN=y | ||
77 | CONFIG_TOUCHSCREEN_TSC2007=m | ||
78 | # CONFIG_SERIO is not set | ||
79 | CONFIG_DEVPTS_MULTIPLE_INSTANCES=y | ||
80 | # CONFIG_LEGACY_PTYS is not set | ||
81 | # CONFIG_DEVKMEM is not set | ||
82 | CONFIG_SERIAL_AMBA_PL011=y | ||
83 | CONFIG_SERIAL_AMBA_PL011_CONSOLE=y | ||
84 | CONFIG_SERIAL_MXS_AUART=y | ||
85 | # CONFIG_HW_RANDOM is not set | ||
86 | CONFIG_I2C=y | ||
87 | # CONFIG_I2C_COMPAT is not set | ||
88 | CONFIG_I2C_CHARDEV=y | ||
89 | CONFIG_I2C_MXS=y | ||
90 | CONFIG_SPI=y | ||
91 | CONFIG_SPI_GPIO=m | ||
92 | CONFIG_SPI_MXS=y | ||
93 | CONFIG_GPIO_SYSFS=y | ||
94 | # CONFIG_HWMON is not set | ||
95 | CONFIG_WATCHDOG=y | ||
96 | CONFIG_STMP3XXX_RTC_WATCHDOG=y | ||
97 | CONFIG_REGULATOR=y | ||
98 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
99 | CONFIG_FB=y | ||
100 | CONFIG_FB_MXS=y | ||
101 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
102 | CONFIG_LCD_CLASS_DEVICE=y | ||
103 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
104 | CONFIG_BACKLIGHT_PWM=y | ||
105 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
106 | CONFIG_LOGO=y | ||
107 | CONFIG_SOUND=y | ||
108 | CONFIG_SND=y | ||
109 | CONFIG_SND_SOC=y | ||
110 | CONFIG_SND_MXS_SOC=y | ||
111 | CONFIG_SND_SOC_MXS_SGTL5000=y | ||
112 | CONFIG_USB=y | ||
113 | CONFIG_USB_EHCI_HCD=y | ||
114 | CONFIG_USB_STORAGE=y | ||
115 | CONFIG_USB_CHIPIDEA=y | ||
116 | CONFIG_USB_CHIPIDEA_UDC=y | ||
117 | CONFIG_USB_CHIPIDEA_HOST=y | ||
118 | CONFIG_USB_MXS_PHY=y | ||
119 | CONFIG_USB_GADGET=y | ||
120 | CONFIG_USB_ETH=m | ||
121 | CONFIG_USB_MASS_STORAGE=m | ||
122 | CONFIG_MMC=y | ||
123 | CONFIG_MMC_MXS=y | ||
124 | CONFIG_NEW_LEDS=y | ||
125 | CONFIG_LEDS_CLASS=y | ||
126 | CONFIG_LEDS_GPIO=y | ||
127 | CONFIG_LEDS_TRIGGERS=y | ||
128 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
129 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
130 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
131 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
132 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
133 | CONFIG_RTC_CLASS=y | ||
134 | CONFIG_RTC_DRV_DS1307=m | ||
135 | CONFIG_RTC_DRV_STMP=y | ||
136 | CONFIG_DMADEVICES=y | ||
137 | CONFIG_MXS_DMA=y | ||
138 | CONFIG_STAGING=y | ||
139 | CONFIG_MXS_LRADC=y | ||
140 | CONFIG_IIO=y | ||
141 | CONFIG_IIO_SYSFS_TRIGGER=y | ||
142 | CONFIG_PWM=y | ||
143 | CONFIG_PWM_MXS=y | ||
144 | CONFIG_EXT2_FS=y | ||
145 | CONFIG_EXT2_FS_XATTR=y | ||
146 | CONFIG_EXT3_FS=y | ||
147 | CONFIG_EXT4_FS=y | ||
148 | # CONFIG_DNOTIFY is not set | ||
149 | CONFIG_FSCACHE=m | ||
150 | CONFIG_FSCACHE_STATS=y | ||
151 | CONFIG_CACHEFILES=m | ||
152 | CONFIG_VFAT_FS=y | ||
153 | CONFIG_TMPFS=y | ||
154 | CONFIG_TMPFS_POSIX_ACL=y | ||
155 | CONFIG_JFFS2_FS=y | ||
156 | CONFIG_JFFS2_COMPRESSION_OPTIONS=y | ||
157 | CONFIG_JFFS2_LZO=y | ||
158 | CONFIG_JFFS2_RUBIN=y | ||
159 | CONFIG_UBIFS_FS=y | ||
160 | CONFIG_UBIFS_FS_ADVANCED_COMPR=y | ||
161 | CONFIG_NFS_FS=y | ||
162 | CONFIG_NFS_V3_ACL=y | ||
163 | CONFIG_NFS_V4=y | ||
164 | CONFIG_ROOT_NFS=y | ||
165 | CONFIG_NLS_CODEPAGE_437=y | ||
166 | CONFIG_NLS_CODEPAGE_850=y | ||
167 | CONFIG_NLS_ISO8859_1=y | ||
168 | CONFIG_NLS_ISO8859_15=y | ||
169 | CONFIG_PRINTK_TIME=y | ||
170 | CONFIG_DEBUG_INFO=y | ||
171 | CONFIG_FRAME_WARN=2048 | ||
172 | CONFIG_UNUSED_SYMBOLS=y | ||
173 | CONFIG_MAGIC_SYSRQ=y | ||
174 | CONFIG_DEBUG_KERNEL=y | ||
175 | CONFIG_LOCKUP_DETECTOR=y | ||
176 | CONFIG_TIMER_STATS=y | ||
177 | CONFIG_PROVE_LOCKING=y | ||
178 | CONFIG_BLK_DEV_IO_TRACE=y | ||
179 | CONFIG_STRICT_DEVMEM=y | ||
180 | CONFIG_DEBUG_USER=y | ||
181 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
182 | CONFIG_CRYPTO_DEV_MXS_DCP=y | ||
183 | CONFIG_CRC_ITU_T=m | ||
184 | CONFIG_CRC7=m | ||
185 | CONFIG_FONTS=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-fslc_4.1.bb b/meta-fsl-arm/recipes-kernel/linux/linux-fslc_4.1.bb new file mode 100644 index 00000000..84edf118 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-fslc_4.1.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "FSL Community BSP Linux mainline based kernel with backported features and fixes" | ||
5 | DESCRIPTION = "Linux kernel based on mainline kernel used by FSL Community BSP in order to \ | ||
6 | provide support for some backported features and fixes, or because it was applied in linux-next \ | ||
7 | and takes some time to become part of a stable version, or because it is not applicable for \ | ||
8 | upstreaming." | ||
9 | |||
10 | include linux-fslc.inc | ||
11 | |||
12 | PV = "4.1+git${SRCPV}" | ||
13 | |||
14 | SRCBRANCH = "patches-4.1" | ||
15 | SRCREV = "665a389b8e62c444969ac65e3e0eda5d8c13ea24" | ||
16 | |||
17 | COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/fixes-for-using-make-3.82.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/fixes-for-using-make-3.82.patch new file mode 100644 index 00000000..aa81fb25 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/fixes-for-using-make-3.82.patch | |||
@@ -0,0 +1,51 @@ | |||
1 | From: Jan Beulich <JBeulich@novell.com> | ||
2 | Date: Mon, 16 Aug 2010 11:58:58 +0100 | ||
3 | Subject: fixes for using make 3.82 | ||
4 | |||
5 | It doesn't like pattern and explicit rules to be on the same line, | ||
6 | and it seems to be more picky when matching file (or really directory) | ||
7 | names with different numbers of trailing slashes. | ||
8 | |||
9 | Upstream-Status: Backport [2.6.36] | ||
10 | |||
11 | Signed-off-by: Jan Beulich <jbeulich@novell.com> | ||
12 | Acked-by: Sam Ravnborg <sam@ravnborg.org> | ||
13 | Andrew Benton <b3nton@gmail.com> | ||
14 | Cc: <stable@kernel.org> | ||
15 | Signed-off-by: Michal Marek <mmarek@suse.cz> | ||
16 | --- | ||
17 | firmware/Makefile | 2 +- | ||
18 | scripts/mkmakefile | 4 +++- | ||
19 | 2 files changed, 4 insertions(+), 2 deletions(-) | ||
20 | |||
21 | diff --git a/firmware/Makefile b/firmware/Makefile | ||
22 | index 2f1c370..bed7d05 100644 | ||
23 | --- a/firmware/Makefile | ||
24 | +++ b/firmware/Makefile | ||
25 | @@ -145,7 +145,7 @@ fw-shipped-$(CONFIG_FB_MXC_EINK_PANEL) += imx/epdc_E60_V110.fw \ | ||
26 | fw-shipped-all := $(fw-shipped-y) $(fw-shipped-m) $(fw-shipped-) | ||
27 | |||
28 | # Directories which we _might_ need to create, so we have a rule for them. | ||
29 | -firmware-dirs := $(sort $(patsubst %,$(objtree)/$(obj)/%/,$(dir $(fw-external-y) $(fw-shipped-all)))) | ||
30 | +firmware-dirs := $(sort $(addprefix $(objtree)/$(obj)/,$(dir $(fw-external-y) $(fw-shipped-all)))) | ||
31 | |||
32 | quiet_cmd_mkdir = MKDIR $(patsubst $(objtree)/%,%,$@) | ||
33 | cmd_mkdir = mkdir -p $@ | ||
34 | diff --git a/scripts/mkmakefile b/scripts/mkmakefile | ||
35 | index 67d59c7..5325423 100644 | ||
36 | --- a/scripts/mkmakefile | ||
37 | +++ b/scripts/mkmakefile | ||
38 | @@ -44,7 +44,9 @@ all: | ||
39 | |||
40 | Makefile:; | ||
41 | |||
42 | -\$(all) %/: all | ||
43 | +\$(all): all | ||
44 | @: | ||
45 | |||
46 | +%/: all | ||
47 | + @: | ||
48 | EOF | ||
49 | -- | ||
50 | 2.1.4 | ||
51 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx23evk/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx23evk/defconfig new file mode 100644 index 00000000..3c20ee8f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx23evk/defconfig | |||
@@ -0,0 +1,2053 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.35.3 | ||
4 | # Sat Aug 4 14:59:15 2012 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
8 | CONFIG_GENERIC_GPIO=y | ||
9 | CONFIG_GENERIC_TIME=y | ||
10 | # CONFIG_ARCH_USES_GETTIMEOFFSET is not set | ||
11 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
12 | CONFIG_HAVE_PROC_CPU=y | ||
13 | CONFIG_GENERIC_HARDIRQS=y | ||
14 | CONFIG_STACKTRACE_SUPPORT=y | ||
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
16 | CONFIG_LOCKDEP_SUPPORT=y | ||
17 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
18 | CONFIG_HARDIRQS_SW_RESEND=y | ||
19 | CONFIG_GENERIC_IRQ_PROBE=y | ||
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
21 | CONFIG_ARCH_HAS_CPUFREQ=y | ||
22 | CONFIG_GENERIC_HWEIGHT=y | ||
23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
24 | CONFIG_ZONE_DMA=y | ||
25 | CONFIG_NEED_DMA_MAP_STATE=y | ||
26 | CONFIG_FIQ=y | ||
27 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
28 | CONFIG_VECTORS_BASE=0xffff0000 | ||
29 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
30 | CONFIG_CONSTRUCTORS=y | ||
31 | |||
32 | # | ||
33 | # General setup | ||
34 | # | ||
35 | CONFIG_EXPERIMENTAL=y | ||
36 | CONFIG_BROKEN_ON_SMP=y | ||
37 | CONFIG_LOCK_KERNEL=y | ||
38 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
39 | CONFIG_CROSS_COMPILE="" | ||
40 | CONFIG_LOCALVERSION="" | ||
41 | CONFIG_LOCALVERSION_AUTO=y | ||
42 | CONFIG_HAVE_KERNEL_GZIP=y | ||
43 | CONFIG_HAVE_KERNEL_LZMA=y | ||
44 | CONFIG_HAVE_KERNEL_LZO=y | ||
45 | CONFIG_KERNEL_GZIP=y | ||
46 | # CONFIG_KERNEL_BZIP2 is not set | ||
47 | # CONFIG_KERNEL_LZMA is not set | ||
48 | # CONFIG_KERNEL_LZO is not set | ||
49 | # CONFIG_SWAP is not set | ||
50 | CONFIG_SYSVIPC=y | ||
51 | CONFIG_SYSVIPC_SYSCTL=y | ||
52 | # CONFIG_POSIX_MQUEUE is not set | ||
53 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
54 | # CONFIG_TASKSTATS is not set | ||
55 | # CONFIG_AUDIT is not set | ||
56 | |||
57 | # | ||
58 | # RCU Subsystem | ||
59 | # | ||
60 | CONFIG_TREE_RCU=y | ||
61 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
62 | # CONFIG_TINY_RCU is not set | ||
63 | # CONFIG_RCU_TRACE is not set | ||
64 | CONFIG_RCU_FANOUT=32 | ||
65 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
66 | # CONFIG_TREE_RCU_TRACE is not set | ||
67 | CONFIG_IKCONFIG=y | ||
68 | CONFIG_IKCONFIG_PROC=y | ||
69 | CONFIG_LOG_BUF_SHIFT=14 | ||
70 | # CONFIG_CGROUPS is not set | ||
71 | # CONFIG_RELAY is not set | ||
72 | # CONFIG_NAMESPACES is not set | ||
73 | CONFIG_BLK_DEV_INITRD=y | ||
74 | CONFIG_INITRAMFS_SOURCE="" | ||
75 | CONFIG_RD_GZIP=y | ||
76 | CONFIG_RD_BZIP2=y | ||
77 | CONFIG_RD_LZMA=y | ||
78 | # CONFIG_RD_LZO is not set | ||
79 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
80 | CONFIG_SYSCTL=y | ||
81 | CONFIG_ANON_INODES=y | ||
82 | CONFIG_EMBEDDED=y | ||
83 | CONFIG_UID16=y | ||
84 | CONFIG_SYSCTL_SYSCALL=y | ||
85 | CONFIG_KALLSYMS=y | ||
86 | # CONFIG_KALLSYMS_ALL is not set | ||
87 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
88 | CONFIG_HOTPLUG=y | ||
89 | CONFIG_PRINTK=y | ||
90 | CONFIG_BUG=y | ||
91 | CONFIG_ELF_CORE=y | ||
92 | CONFIG_BASE_FULL=y | ||
93 | CONFIG_FUTEX=y | ||
94 | CONFIG_EPOLL=y | ||
95 | CONFIG_SIGNALFD=y | ||
96 | CONFIG_TIMERFD=y | ||
97 | CONFIG_EVENTFD=y | ||
98 | CONFIG_SHMEM=y | ||
99 | # CONFIG_ASHMEM is not set | ||
100 | CONFIG_AIO=y | ||
101 | CONFIG_HAVE_PERF_EVENTS=y | ||
102 | CONFIG_PERF_USE_VMALLOC=y | ||
103 | |||
104 | # | ||
105 | # Kernel Performance Events And Counters | ||
106 | # | ||
107 | # CONFIG_PERF_EVENTS is not set | ||
108 | # CONFIG_PERF_COUNTERS is not set | ||
109 | CONFIG_VM_EVENT_COUNTERS=y | ||
110 | CONFIG_SLUB_DEBUG=y | ||
111 | CONFIG_COMPAT_BRK=y | ||
112 | # CONFIG_SLAB is not set | ||
113 | CONFIG_SLUB=y | ||
114 | # CONFIG_SLOB is not set | ||
115 | # CONFIG_PROFILING is not set | ||
116 | CONFIG_HAVE_OPROFILE=y | ||
117 | # CONFIG_KPROBES is not set | ||
118 | CONFIG_HAVE_KPROBES=y | ||
119 | CONFIG_HAVE_KRETPROBES=y | ||
120 | CONFIG_HAVE_CLK=y | ||
121 | |||
122 | # | ||
123 | # GCOV-based kernel profiling | ||
124 | # | ||
125 | # CONFIG_SLOW_WORK is not set | ||
126 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
127 | CONFIG_SLABINFO=y | ||
128 | CONFIG_RT_MUTEXES=y | ||
129 | CONFIG_BASE_SMALL=0 | ||
130 | CONFIG_MODULES=y | ||
131 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
132 | CONFIG_MODULE_UNLOAD=y | ||
133 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
134 | CONFIG_MODVERSIONS=y | ||
135 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
136 | CONFIG_BLOCK=y | ||
137 | CONFIG_LBDAF=y | ||
138 | # CONFIG_BLK_DEV_BSG is not set | ||
139 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
140 | |||
141 | # | ||
142 | # IO Schedulers | ||
143 | # | ||
144 | CONFIG_IOSCHED_NOOP=y | ||
145 | CONFIG_IOSCHED_DEADLINE=y | ||
146 | CONFIG_IOSCHED_CFQ=y | ||
147 | # CONFIG_DEFAULT_DEADLINE is not set | ||
148 | CONFIG_DEFAULT_CFQ=y | ||
149 | # CONFIG_DEFAULT_NOOP is not set | ||
150 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
151 | # CONFIG_INLINE_SPIN_TRYLOCK is not set | ||
152 | # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set | ||
153 | # CONFIG_INLINE_SPIN_LOCK is not set | ||
154 | # CONFIG_INLINE_SPIN_LOCK_BH is not set | ||
155 | # CONFIG_INLINE_SPIN_LOCK_IRQ is not set | ||
156 | # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set | ||
157 | # CONFIG_INLINE_SPIN_UNLOCK is not set | ||
158 | # CONFIG_INLINE_SPIN_UNLOCK_BH is not set | ||
159 | # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set | ||
160 | # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set | ||
161 | # CONFIG_INLINE_READ_TRYLOCK is not set | ||
162 | # CONFIG_INLINE_READ_LOCK is not set | ||
163 | # CONFIG_INLINE_READ_LOCK_BH is not set | ||
164 | # CONFIG_INLINE_READ_LOCK_IRQ is not set | ||
165 | # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set | ||
166 | # CONFIG_INLINE_READ_UNLOCK is not set | ||
167 | # CONFIG_INLINE_READ_UNLOCK_BH is not set | ||
168 | # CONFIG_INLINE_READ_UNLOCK_IRQ is not set | ||
169 | # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set | ||
170 | # CONFIG_INLINE_WRITE_TRYLOCK is not set | ||
171 | # CONFIG_INLINE_WRITE_LOCK is not set | ||
172 | # CONFIG_INLINE_WRITE_LOCK_BH is not set | ||
173 | # CONFIG_INLINE_WRITE_LOCK_IRQ is not set | ||
174 | # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set | ||
175 | # CONFIG_INLINE_WRITE_UNLOCK is not set | ||
176 | # CONFIG_INLINE_WRITE_UNLOCK_BH is not set | ||
177 | # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set | ||
178 | # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set | ||
179 | # CONFIG_MUTEX_SPIN_ON_OWNER is not set | ||
180 | CONFIG_FREEZER=y | ||
181 | |||
182 | # | ||
183 | # System Type | ||
184 | # | ||
185 | CONFIG_MMU=y | ||
186 | # CONFIG_ARCH_AAEC2000 is not set | ||
187 | # CONFIG_ARCH_INTEGRATOR is not set | ||
188 | # CONFIG_ARCH_REALVIEW is not set | ||
189 | # CONFIG_ARCH_VERSATILE is not set | ||
190 | # CONFIG_ARCH_VEXPRESS is not set | ||
191 | # CONFIG_ARCH_AT91 is not set | ||
192 | # CONFIG_ARCH_BCMRING is not set | ||
193 | # CONFIG_ARCH_CLPS711X is not set | ||
194 | # CONFIG_ARCH_CNS3XXX is not set | ||
195 | # CONFIG_ARCH_GEMINI is not set | ||
196 | # CONFIG_ARCH_EBSA110 is not set | ||
197 | # CONFIG_ARCH_EP93XX is not set | ||
198 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
199 | # CONFIG_ARCH_MXC is not set | ||
200 | # CONFIG_ARCH_STMP3XXX is not set | ||
201 | CONFIG_ARCH_MXS=y | ||
202 | # CONFIG_ARCH_NETX is not set | ||
203 | # CONFIG_ARCH_H720X is not set | ||
204 | # CONFIG_ARCH_IOP13XX is not set | ||
205 | # CONFIG_ARCH_IOP32X is not set | ||
206 | # CONFIG_ARCH_IOP33X is not set | ||
207 | # CONFIG_ARCH_IXP23XX is not set | ||
208 | # CONFIG_ARCH_IXP2000 is not set | ||
209 | # CONFIG_ARCH_IXP4XX is not set | ||
210 | # CONFIG_ARCH_L7200 is not set | ||
211 | # CONFIG_ARCH_DOVE is not set | ||
212 | # CONFIG_ARCH_KIRKWOOD is not set | ||
213 | # CONFIG_ARCH_LOKI is not set | ||
214 | # CONFIG_ARCH_MV78XX0 is not set | ||
215 | # CONFIG_ARCH_ORION5X is not set | ||
216 | # CONFIG_ARCH_MMP is not set | ||
217 | # CONFIG_ARCH_KS8695 is not set | ||
218 | # CONFIG_ARCH_NS9XXX is not set | ||
219 | # CONFIG_ARCH_W90X900 is not set | ||
220 | # CONFIG_ARCH_NUC93X is not set | ||
221 | # CONFIG_ARCH_PNX4008 is not set | ||
222 | # CONFIG_ARCH_PXA is not set | ||
223 | # CONFIG_ARCH_MSM is not set | ||
224 | # CONFIG_ARCH_SHMOBILE is not set | ||
225 | # CONFIG_ARCH_RPC is not set | ||
226 | # CONFIG_ARCH_SA1100 is not set | ||
227 | # CONFIG_ARCH_S3C2410 is not set | ||
228 | # CONFIG_ARCH_S3C64XX is not set | ||
229 | # CONFIG_ARCH_S5P6440 is not set | ||
230 | # CONFIG_ARCH_S5P6442 is not set | ||
231 | # CONFIG_ARCH_S5PC100 is not set | ||
232 | # CONFIG_ARCH_S5PV210 is not set | ||
233 | # CONFIG_ARCH_SHARK is not set | ||
234 | # CONFIG_ARCH_LH7A40X is not set | ||
235 | # CONFIG_ARCH_U300 is not set | ||
236 | # CONFIG_ARCH_U8500 is not set | ||
237 | # CONFIG_ARCH_NOMADIK is not set | ||
238 | # CONFIG_ARCH_DAVINCI is not set | ||
239 | # CONFIG_ARCH_OMAP is not set | ||
240 | # CONFIG_PLAT_SPEAR is not set | ||
241 | CONFIG_IRAM_ALLOC=y | ||
242 | CONFIG_DMA_ZONE_SIZE=12 | ||
243 | |||
244 | # | ||
245 | # Freescale i.MXS implementations | ||
246 | # | ||
247 | # CONFIG_ARCH_MX28 is not set | ||
248 | CONFIG_ARCH_MX23=y | ||
249 | CONFIG_VECTORS_PHY_ADDR=0 | ||
250 | CONFIG_MACH_MX23EVK=y | ||
251 | CONFIG_MXS_UNIQUE_ID=y | ||
252 | CONFIG_MXS_UNIQUE_ID_OTP=y | ||
253 | CONFIG_MXS_ICOLL=y | ||
254 | CONFIG_MXS_EARLY_CONSOLE=y | ||
255 | CONFIG_MXS_DMA_ENGINE=y | ||
256 | CONFIG_MXS_LRADC=y | ||
257 | CONFIG_MXS_PWM_CHANNELS=8 | ||
258 | |||
259 | # | ||
260 | # Freescale Application UART: | ||
261 | # | ||
262 | CONFIG_MXS_AUART_DMA_SUPPORT=y | ||
263 | CONFIG_MXS_AUART_PORTS=5 | ||
264 | # CONFIG_MXS_AUART0_DEVICE_ENABLE is not set | ||
265 | # CONFIG_MXS_AUART0_DMA_ENABLE is not set | ||
266 | CONFIG_MXS_AUART1_DEVICE_ENABLE=y | ||
267 | # CONFIG_MXS_AUART1_DMA_ENABLE is not set | ||
268 | # CONFIG_MXS_AUART2_DEVICE_ENABLE is not set | ||
269 | # CONFIG_MXS_AUART2_DMA_ENABLE is not set | ||
270 | # CONFIG_MXS_AUART3_DEVICE_ENABLE is not set | ||
271 | # CONFIG_MXS_AUART3_DMA_ENABLE is not set | ||
272 | # CONFIG_MXS_AUART4_DEVICE_ENABLE is not set | ||
273 | # CONFIG_MXS_AUART4_DMA_ENABLE is not set | ||
274 | CONFIG_MXS_RAM_FREQ_SCALING=y | ||
275 | # CONFIG_MXS_RAM_MDDR is not set | ||
276 | CONFIG_MXS_RAM_DDR=y | ||
277 | |||
278 | # | ||
279 | # Processor Type | ||
280 | # | ||
281 | CONFIG_CPU_ARM926T=y | ||
282 | CONFIG_CPU_32v5=y | ||
283 | CONFIG_CPU_ABRT_EV5TJ=y | ||
284 | CONFIG_CPU_PABRT_LEGACY=y | ||
285 | CONFIG_CPU_CACHE_VIVT=y | ||
286 | CONFIG_CPU_COPY_V4WB=y | ||
287 | CONFIG_CPU_TLB_V4WBI=y | ||
288 | CONFIG_CPU_CP15=y | ||
289 | CONFIG_CPU_CP15_MMU=y | ||
290 | |||
291 | # | ||
292 | # Processor Features | ||
293 | # | ||
294 | CONFIG_ARM_THUMB=y | ||
295 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
296 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
297 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
298 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
299 | CONFIG_ARM_L1_CACHE_SHIFT=5 | ||
300 | CONFIG_COMMON_CLKDEV=y | ||
301 | |||
302 | # | ||
303 | # Bus support | ||
304 | # | ||
305 | # CONFIG_PCI_SYSCALL is not set | ||
306 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
307 | # CONFIG_PCCARD is not set | ||
308 | |||
309 | # | ||
310 | # Kernel Features | ||
311 | # | ||
312 | CONFIG_TICK_ONESHOT=y | ||
313 | CONFIG_NO_HZ=y | ||
314 | CONFIG_HIGH_RES_TIMERS=y | ||
315 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
316 | CONFIG_VMSPLIT_3G=y | ||
317 | # CONFIG_VMSPLIT_2G is not set | ||
318 | # CONFIG_VMSPLIT_1G is not set | ||
319 | CONFIG_PAGE_OFFSET=0xC0000000 | ||
320 | # CONFIG_PREEMPT_NONE is not set | ||
321 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
322 | CONFIG_PREEMPT=y | ||
323 | CONFIG_HZ=100 | ||
324 | CONFIG_AEABI=y | ||
325 | # CONFIG_OABI_COMPAT is not set | ||
326 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | ||
327 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | ||
328 | # CONFIG_HIGHMEM is not set | ||
329 | CONFIG_SELECT_MEMORY_MODEL=y | ||
330 | CONFIG_FLATMEM_MANUAL=y | ||
331 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
332 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
333 | CONFIG_FLATMEM=y | ||
334 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
335 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
336 | CONFIG_SPLIT_PTLOCK_CPUS=999999 | ||
337 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
338 | CONFIG_ZONE_DMA_FLAG=1 | ||
339 | CONFIG_BOUNCE=y | ||
340 | CONFIG_VIRT_TO_BUS=y | ||
341 | # CONFIG_KSM is not set | ||
342 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
343 | CONFIG_ALIGNMENT_TRAP=y | ||
344 | # CONFIG_UACCESS_WITH_MEMCPY is not set | ||
345 | |||
346 | # | ||
347 | # Boot options | ||
348 | # | ||
349 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
350 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
351 | CONFIG_CMDLINE="" | ||
352 | # CONFIG_XIP_KERNEL is not set | ||
353 | # CONFIG_KEXEC is not set | ||
354 | |||
355 | # | ||
356 | # CPU Power Management | ||
357 | # | ||
358 | CONFIG_CPU_FREQ=y | ||
359 | CONFIG_CPU_FREQ_TABLE=y | ||
360 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
361 | CONFIG_CPU_FREQ_STAT=y | ||
362 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
363 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set | ||
364 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
365 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y | ||
366 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
367 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
368 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
369 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
370 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
371 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | ||
372 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
373 | # CONFIG_CPU_IDLE is not set | ||
374 | |||
375 | # | ||
376 | # Floating point emulation | ||
377 | # | ||
378 | |||
379 | # | ||
380 | # At least one emulation must be selected | ||
381 | # | ||
382 | # CONFIG_VFP is not set | ||
383 | |||
384 | # | ||
385 | # Userspace binary formats | ||
386 | # | ||
387 | CONFIG_BINFMT_ELF=y | ||
388 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
389 | CONFIG_HAVE_AOUT=y | ||
390 | # CONFIG_BINFMT_AOUT is not set | ||
391 | # CONFIG_BINFMT_MISC is not set | ||
392 | |||
393 | # | ||
394 | # Power management options | ||
395 | # | ||
396 | CONFIG_PM=y | ||
397 | # CONFIG_PM_DEBUG is not set | ||
398 | CONFIG_PM_SLEEP=y | ||
399 | CONFIG_SUSPEND_NVS=y | ||
400 | CONFIG_SUSPEND=y | ||
401 | CONFIG_SUSPEND_FREEZER=y | ||
402 | # CONFIG_APM_EMULATION is not set | ||
403 | # CONFIG_PM_RUNTIME is not set | ||
404 | CONFIG_PM_OPS=y | ||
405 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
406 | CONFIG_NET=y | ||
407 | |||
408 | # | ||
409 | # Networking options | ||
410 | # | ||
411 | CONFIG_PACKET=y | ||
412 | CONFIG_UNIX=y | ||
413 | CONFIG_XFRM=y | ||
414 | # CONFIG_XFRM_USER is not set | ||
415 | # CONFIG_XFRM_SUB_POLICY is not set | ||
416 | # CONFIG_XFRM_MIGRATE is not set | ||
417 | # CONFIG_XFRM_STATISTICS is not set | ||
418 | # CONFIG_NET_KEY is not set | ||
419 | CONFIG_INET=y | ||
420 | CONFIG_IP_MULTICAST=y | ||
421 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
422 | CONFIG_IP_FIB_HASH=y | ||
423 | CONFIG_IP_PNP=y | ||
424 | CONFIG_IP_PNP_DHCP=y | ||
425 | CONFIG_IP_PNP_BOOTP=y | ||
426 | CONFIG_IP_PNP_RARP=y | ||
427 | # CONFIG_NET_IPIP is not set | ||
428 | # CONFIG_NET_IPGRE is not set | ||
429 | # CONFIG_IP_MROUTE is not set | ||
430 | CONFIG_ARPD=y | ||
431 | # CONFIG_SYN_COOKIES is not set | ||
432 | # CONFIG_INET_AH is not set | ||
433 | # CONFIG_INET_ESP is not set | ||
434 | # CONFIG_INET_IPCOMP is not set | ||
435 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
436 | CONFIG_INET_TUNNEL=y | ||
437 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
438 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
439 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
440 | CONFIG_INET_LRO=y | ||
441 | CONFIG_INET_DIAG=y | ||
442 | CONFIG_INET_TCP_DIAG=y | ||
443 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
444 | CONFIG_TCP_CONG_CUBIC=y | ||
445 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
446 | # CONFIG_TCP_MD5SIG is not set | ||
447 | CONFIG_IPV6=y | ||
448 | # CONFIG_IPV6_PRIVACY is not set | ||
449 | # CONFIG_IPV6_ROUTER_PREF is not set | ||
450 | # CONFIG_IPV6_OPTIMISTIC_DAD is not set | ||
451 | # CONFIG_INET6_AH is not set | ||
452 | # CONFIG_INET6_ESP is not set | ||
453 | # CONFIG_INET6_IPCOMP is not set | ||
454 | # CONFIG_IPV6_MIP6 is not set | ||
455 | # CONFIG_INET6_XFRM_TUNNEL is not set | ||
456 | # CONFIG_INET6_TUNNEL is not set | ||
457 | CONFIG_INET6_XFRM_MODE_TRANSPORT=y | ||
458 | CONFIG_INET6_XFRM_MODE_TUNNEL=y | ||
459 | CONFIG_INET6_XFRM_MODE_BEET=y | ||
460 | # CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION is not set | ||
461 | CONFIG_IPV6_SIT=y | ||
462 | # CONFIG_IPV6_SIT_6RD is not set | ||
463 | CONFIG_IPV6_NDISC_NODETYPE=y | ||
464 | # CONFIG_IPV6_TUNNEL is not set | ||
465 | # CONFIG_IPV6_MULTIPLE_TABLES is not set | ||
466 | # CONFIG_IPV6_MROUTE is not set | ||
467 | # CONFIG_NETLABEL is not set | ||
468 | # CONFIG_NETWORK_SECMARK is not set | ||
469 | CONFIG_NETFILTER=y | ||
470 | # CONFIG_NETFILTER_DEBUG is not set | ||
471 | CONFIG_NETFILTER_ADVANCED=y | ||
472 | |||
473 | # | ||
474 | # Core Netfilter Configuration | ||
475 | # | ||
476 | # CONFIG_NETFILTER_NETLINK_QUEUE is not set | ||
477 | # CONFIG_NETFILTER_NETLINK_LOG is not set | ||
478 | # CONFIG_NF_CONNTRACK is not set | ||
479 | # CONFIG_NETFILTER_XTABLES is not set | ||
480 | # CONFIG_IP_VS is not set | ||
481 | |||
482 | # | ||
483 | # IP: Netfilter Configuration | ||
484 | # | ||
485 | # CONFIG_NF_DEFRAG_IPV4 is not set | ||
486 | # CONFIG_IP_NF_QUEUE is not set | ||
487 | # CONFIG_IP_NF_IPTABLES is not set | ||
488 | # CONFIG_IP_NF_ARPTABLES is not set | ||
489 | |||
490 | # | ||
491 | # IPv6: Netfilter Configuration | ||
492 | # | ||
493 | # CONFIG_IP6_NF_QUEUE is not set | ||
494 | # CONFIG_IP6_NF_IPTABLES is not set | ||
495 | # CONFIG_IP_DCCP is not set | ||
496 | # CONFIG_IP_SCTP is not set | ||
497 | # CONFIG_RDS is not set | ||
498 | # CONFIG_TIPC is not set | ||
499 | # CONFIG_ATM is not set | ||
500 | # CONFIG_L2TP is not set | ||
501 | # CONFIG_BRIDGE is not set | ||
502 | # CONFIG_NET_DSA is not set | ||
503 | # CONFIG_VLAN_8021Q is not set | ||
504 | # CONFIG_DECNET is not set | ||
505 | # CONFIG_LLC2 is not set | ||
506 | # CONFIG_IPX is not set | ||
507 | # CONFIG_ATALK is not set | ||
508 | # CONFIG_X25 is not set | ||
509 | # CONFIG_LAPB is not set | ||
510 | # CONFIG_ECONET is not set | ||
511 | # CONFIG_WAN_ROUTER is not set | ||
512 | # CONFIG_PHONET is not set | ||
513 | # CONFIG_IEEE802154 is not set | ||
514 | # CONFIG_NET_SCHED is not set | ||
515 | # CONFIG_DCB is not set | ||
516 | |||
517 | # | ||
518 | # Network testing | ||
519 | # | ||
520 | # CONFIG_NET_PKTGEN is not set | ||
521 | # CONFIG_HAMRADIO is not set | ||
522 | # CONFIG_CAN is not set | ||
523 | # CONFIG_IRDA is not set | ||
524 | # CONFIG_BT is not set | ||
525 | # CONFIG_AF_RXRPC is not set | ||
526 | CONFIG_WIRELESS=y | ||
527 | # CONFIG_CFG80211 is not set | ||
528 | # CONFIG_LIB80211 is not set | ||
529 | |||
530 | # | ||
531 | # CFG80211 needs to be enabled for MAC80211 | ||
532 | # | ||
533 | |||
534 | # | ||
535 | # Some wireless drivers require a rate control algorithm | ||
536 | # | ||
537 | # CONFIG_WIMAX is not set | ||
538 | CONFIG_RFKILL=y | ||
539 | CONFIG_RFKILL_INPUT=y | ||
540 | # CONFIG_NET_9P is not set | ||
541 | # CONFIG_CAIF is not set | ||
542 | |||
543 | # | ||
544 | # Device Drivers | ||
545 | # | ||
546 | |||
547 | # | ||
548 | # Generic Driver Options | ||
549 | # | ||
550 | CONFIG_UEVENT_HELPER_PATH="" | ||
551 | CONFIG_DEVTMPFS=y | ||
552 | CONFIG_DEVTMPFS_MOUNT=y | ||
553 | CONFIG_STANDALONE=y | ||
554 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
555 | CONFIG_FW_LOADER=y | ||
556 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
557 | CONFIG_EXTRA_FIRMWARE="" | ||
558 | # CONFIG_DEBUG_DRIVER is not set | ||
559 | # CONFIG_DEBUG_DEVRES is not set | ||
560 | # CONFIG_SYS_HYPERVISOR is not set | ||
561 | # CONFIG_CONNECTOR is not set | ||
562 | CONFIG_MTD=y | ||
563 | # CONFIG_MTD_DEBUG is not set | ||
564 | # CONFIG_MTD_TESTS is not set | ||
565 | CONFIG_MTD_CONCAT=y | ||
566 | CONFIG_MTD_PARTITIONS=y | ||
567 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
568 | CONFIG_MTD_CMDLINE_PARTS=y | ||
569 | # CONFIG_MTD_AFS_PARTS is not set | ||
570 | # CONFIG_MTD_AR7_PARTS is not set | ||
571 | |||
572 | # | ||
573 | # User Modules And Translation Layers | ||
574 | # | ||
575 | CONFIG_MTD_CHAR=y | ||
576 | CONFIG_MTD_BLKDEVS=y | ||
577 | CONFIG_MTD_BLOCK=y | ||
578 | # CONFIG_FTL is not set | ||
579 | # CONFIG_NFTL is not set | ||
580 | # CONFIG_INFTL is not set | ||
581 | # CONFIG_RFD_FTL is not set | ||
582 | # CONFIG_SSFDC is not set | ||
583 | # CONFIG_SM_FTL is not set | ||
584 | # CONFIG_MTD_OOPS is not set | ||
585 | |||
586 | # | ||
587 | # RAM/ROM/Flash chip drivers | ||
588 | # | ||
589 | # CONFIG_MTD_CFI is not set | ||
590 | # CONFIG_MTD_JEDECPROBE is not set | ||
591 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
592 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
593 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
594 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
595 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
596 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
597 | CONFIG_MTD_CFI_I1=y | ||
598 | CONFIG_MTD_CFI_I2=y | ||
599 | # CONFIG_MTD_CFI_I4 is not set | ||
600 | # CONFIG_MTD_CFI_I8 is not set | ||
601 | # CONFIG_MTD_RAM is not set | ||
602 | # CONFIG_MTD_ROM is not set | ||
603 | # CONFIG_MTD_ABSENT is not set | ||
604 | |||
605 | # | ||
606 | # Mapping drivers for chip access | ||
607 | # | ||
608 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
609 | # CONFIG_MTD_PLATRAM is not set | ||
610 | |||
611 | # | ||
612 | # Self-contained MTD device drivers | ||
613 | # | ||
614 | # CONFIG_MTD_DATAFLASH is not set | ||
615 | # CONFIG_MTD_MXC_DATAFLASH is not set | ||
616 | # CONFIG_MTD_M25P80 is not set | ||
617 | # CONFIG_MTD_SST25L is not set | ||
618 | # CONFIG_MTD_SLRAM is not set | ||
619 | # CONFIG_MTD_PHRAM is not set | ||
620 | # CONFIG_MTD_MTDRAM is not set | ||
621 | # CONFIG_MTD_BLOCK2MTD is not set | ||
622 | |||
623 | # | ||
624 | # Disk-On-Chip Device Drivers | ||
625 | # | ||
626 | # CONFIG_MTD_DOC2000 is not set | ||
627 | # CONFIG_MTD_DOC2001 is not set | ||
628 | # CONFIG_MTD_DOC2001PLUS is not set | ||
629 | CONFIG_MTD_NAND_ECC=y | ||
630 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
631 | CONFIG_MTD_NAND=y | ||
632 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
633 | # CONFIG_MTD_SM_COMMON is not set | ||
634 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
635 | CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018 | ||
636 | # CONFIG_MTD_NAND_GPIO is not set | ||
637 | CONFIG_MTD_NAND_IDS=y | ||
638 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
639 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
640 | CONFIG_MTD_NAND_GPMI_NFC=y | ||
641 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
642 | # CONFIG_MTD_ALAUDA is not set | ||
643 | # CONFIG_MTD_ONENAND is not set | ||
644 | |||
645 | # | ||
646 | # LPDDR flash memory drivers | ||
647 | # | ||
648 | # CONFIG_MTD_LPDDR is not set | ||
649 | |||
650 | # | ||
651 | # UBI - Unsorted block images | ||
652 | # | ||
653 | CONFIG_MTD_UBI=y | ||
654 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
655 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
656 | CONFIG_MTD_UBI_GLUEBI=y | ||
657 | |||
658 | # | ||
659 | # UBI debugging options | ||
660 | # | ||
661 | # CONFIG_MTD_UBI_DEBUG is not set | ||
662 | CONFIG_MTD_UBI_BLOCK=y | ||
663 | # CONFIG_PARPORT is not set | ||
664 | CONFIG_BLK_DEV=y | ||
665 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
666 | CONFIG_BLK_DEV_LOOP=y | ||
667 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
668 | |||
669 | # | ||
670 | # DRBD disabled because PROC_FS, INET or CONNECTOR not selected | ||
671 | # | ||
672 | # CONFIG_BLK_DEV_NBD is not set | ||
673 | # CONFIG_BLK_DEV_UB is not set | ||
674 | CONFIG_BLK_DEV_RAM=y | ||
675 | CONFIG_BLK_DEV_RAM_COUNT=4 | ||
676 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
677 | # CONFIG_BLK_DEV_XIP is not set | ||
678 | # CONFIG_CDROM_PKTCDVD is not set | ||
679 | # CONFIG_ATA_OVER_ETH is not set | ||
680 | # CONFIG_MG_DISK is not set | ||
681 | CONFIG_MISC_DEVICES=y | ||
682 | # CONFIG_AD525X_DPOT is not set | ||
683 | # CONFIG_ICS932S401 is not set | ||
684 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
685 | # CONFIG_ISL29003 is not set | ||
686 | # CONFIG_SENSORS_TSL2550 is not set | ||
687 | # CONFIG_DS1682 is not set | ||
688 | # CONFIG_TI_DAC7512 is not set | ||
689 | CONFIG_MXS_PERSISTENT=y | ||
690 | # CONFIG_ANDROID_PMEM is not set | ||
691 | # CONFIG_UID_STAT is not set | ||
692 | # CONFIG_C2PORT is not set | ||
693 | |||
694 | # | ||
695 | # EEPROM support | ||
696 | # | ||
697 | # CONFIG_EEPROM_AT24 is not set | ||
698 | # CONFIG_EEPROM_AT25 is not set | ||
699 | # CONFIG_EEPROM_LEGACY is not set | ||
700 | # CONFIG_EEPROM_MAX6875 is not set | ||
701 | # CONFIG_EEPROM_93CX6 is not set | ||
702 | # CONFIG_IWMC3200TOP is not set | ||
703 | CONFIG_HAVE_IDE=y | ||
704 | # CONFIG_IDE is not set | ||
705 | |||
706 | # | ||
707 | # SCSI device support | ||
708 | # | ||
709 | CONFIG_SCSI_MOD=y | ||
710 | # CONFIG_RAID_ATTRS is not set | ||
711 | CONFIG_SCSI=y | ||
712 | CONFIG_SCSI_DMA=y | ||
713 | # CONFIG_SCSI_TGT is not set | ||
714 | # CONFIG_SCSI_NETLINK is not set | ||
715 | CONFIG_SCSI_PROC_FS=y | ||
716 | |||
717 | # | ||
718 | # SCSI support type (disk, tape, CD-ROM) | ||
719 | # | ||
720 | CONFIG_BLK_DEV_SD=y | ||
721 | # CONFIG_CHR_DEV_ST is not set | ||
722 | # CONFIG_CHR_DEV_OSST is not set | ||
723 | # CONFIG_BLK_DEV_SR is not set | ||
724 | # CONFIG_CHR_DEV_SG is not set | ||
725 | # CONFIG_CHR_DEV_SCH is not set | ||
726 | # CONFIG_SCSI_MULTI_LUN is not set | ||
727 | # CONFIG_SCSI_CONSTANTS is not set | ||
728 | # CONFIG_SCSI_LOGGING is not set | ||
729 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
730 | CONFIG_SCSI_WAIT_SCAN=m | ||
731 | |||
732 | # | ||
733 | # SCSI Transports | ||
734 | # | ||
735 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
736 | # CONFIG_SCSI_FC_ATTRS is not set | ||
737 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
738 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
739 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
740 | # CONFIG_SCSI_LOWLEVEL is not set | ||
741 | # CONFIG_SCSI_DH is not set | ||
742 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
743 | # CONFIG_ATA is not set | ||
744 | # CONFIG_MD is not set | ||
745 | CONFIG_NETDEVICES=y | ||
746 | # CONFIG_DUMMY is not set | ||
747 | # CONFIG_BONDING is not set | ||
748 | # CONFIG_MACVLAN is not set | ||
749 | # CONFIG_EQUALIZER is not set | ||
750 | # CONFIG_TUN is not set | ||
751 | # CONFIG_VETH is not set | ||
752 | # CONFIG_PHYLIB is not set | ||
753 | CONFIG_NET_ETHERNET=y | ||
754 | # CONFIG_MII is not set | ||
755 | # CONFIG_AX88796 is not set | ||
756 | # CONFIG_SMC91X is not set | ||
757 | # CONFIG_DM9000 is not set | ||
758 | CONFIG_ENC28J60=y | ||
759 | # CONFIG_ENC28J60_WRITEVERIFY is not set | ||
760 | # CONFIG_ETHOC is not set | ||
761 | # CONFIG_SMC911X is not set | ||
762 | # CONFIG_SMSC911X is not set | ||
763 | # CONFIG_DNET is not set | ||
764 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
765 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
766 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
767 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
768 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
769 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
770 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
771 | # CONFIG_B44 is not set | ||
772 | # CONFIG_KS8842 is not set | ||
773 | # CONFIG_KS8851 is not set | ||
774 | # CONFIG_KS8851_MLL is not set | ||
775 | CONFIG_NETDEV_1000=y | ||
776 | CONFIG_NETDEV_10000=y | ||
777 | CONFIG_WLAN=y | ||
778 | # CONFIG_USB_ZD1201 is not set | ||
779 | # CONFIG_HOSTAP is not set | ||
780 | # CONFIG_ATH6K_LEGACY is not set | ||
781 | |||
782 | # | ||
783 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
784 | # | ||
785 | |||
786 | # | ||
787 | # USB Network Adapters | ||
788 | # | ||
789 | # CONFIG_USB_CATC is not set | ||
790 | # CONFIG_USB_KAWETH is not set | ||
791 | # CONFIG_USB_PEGASUS is not set | ||
792 | # CONFIG_USB_RTL8150 is not set | ||
793 | # CONFIG_USB_USBNET is not set | ||
794 | # CONFIG_USB_HSO is not set | ||
795 | # CONFIG_USB_IPHETH is not set | ||
796 | # CONFIG_WAN is not set | ||
797 | # CONFIG_PPP is not set | ||
798 | # CONFIG_SLIP is not set | ||
799 | # CONFIG_NETCONSOLE is not set | ||
800 | # CONFIG_NETPOLL is not set | ||
801 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
802 | # CONFIG_ISDN is not set | ||
803 | # CONFIG_PHONE is not set | ||
804 | |||
805 | # | ||
806 | # Input device support | ||
807 | # | ||
808 | CONFIG_INPUT=y | ||
809 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
810 | CONFIG_INPUT_POLLDEV=y | ||
811 | # CONFIG_INPUT_SPARSEKMAP is not set | ||
812 | |||
813 | # | ||
814 | # Userland interfaces | ||
815 | # | ||
816 | CONFIG_INPUT_MOUSEDEV=y | ||
817 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
818 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=320 | ||
819 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=240 | ||
820 | # CONFIG_INPUT_JOYDEV is not set | ||
821 | CONFIG_INPUT_EVDEV=y | ||
822 | # CONFIG_INPUT_EVBUG is not set | ||
823 | |||
824 | # | ||
825 | # Input Device Drivers | ||
826 | # | ||
827 | CONFIG_INPUT_KEYBOARD=y | ||
828 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
829 | # CONFIG_KEYBOARD_ATKBD is not set | ||
830 | # CONFIG_KEYBOARD_QT2160 is not set | ||
831 | # CONFIG_KEYBOARD_LKKBD is not set | ||
832 | # CONFIG_KEYBOARD_GPIO is not set | ||
833 | # CONFIG_KEYBOARD_TCA6416 is not set | ||
834 | # CONFIG_KEYBOARD_MATRIX is not set | ||
835 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
836 | # CONFIG_KEYBOARD_NEWTON is not set | ||
837 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
838 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
839 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
840 | # CONFIG_KEYBOARD_XTKBD is not set | ||
841 | CONFIG_KEYBOARD_MXS=y | ||
842 | # CONFIG_INPUT_MOUSE is not set | ||
843 | # CONFIG_INPUT_JOYSTICK is not set | ||
844 | # CONFIG_INPUT_TABLET is not set | ||
845 | CONFIG_INPUT_TOUCHSCREEN=y | ||
846 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
847 | # CONFIG_TOUCHSCREEN_AD7877 is not set | ||
848 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set | ||
849 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set | ||
850 | # CONFIG_TOUCHSCREEN_AD7879 is not set | ||
851 | # CONFIG_TOUCHSCREEN_DYNAPRO is not set | ||
852 | # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set | ||
853 | # CONFIG_TOUCHSCREEN_EETI is not set | ||
854 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
855 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
856 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
857 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
858 | # CONFIG_TOUCHSCREEN_MCS5000 is not set | ||
859 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
860 | # CONFIG_TOUCHSCREEN_INEXIO is not set | ||
861 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
862 | CONFIG_TOUCHSCREEN_MXS=y | ||
863 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
864 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
865 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
866 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
867 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | ||
868 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
869 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
870 | # CONFIG_TOUCHSCREEN_TPS6507X is not set | ||
871 | CONFIG_INPUT_MISC=y | ||
872 | # CONFIG_INPUT_AD714X is not set | ||
873 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
874 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
875 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
876 | # CONFIG_INPUT_POWERMATE is not set | ||
877 | # CONFIG_INPUT_YEALINK is not set | ||
878 | # CONFIG_INPUT_CM109 is not set | ||
879 | # CONFIG_INPUT_UINPUT is not set | ||
880 | # CONFIG_INPUT_PCF8574 is not set | ||
881 | # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set | ||
882 | |||
883 | # | ||
884 | # Hardware I/O ports | ||
885 | # | ||
886 | CONFIG_SERIO=y | ||
887 | CONFIG_SERIO_SERPORT=y | ||
888 | # CONFIG_SERIO_LIBPS2 is not set | ||
889 | # CONFIG_SERIO_RAW is not set | ||
890 | # CONFIG_SERIO_ALTERA_PS2 is not set | ||
891 | # CONFIG_GAMEPORT is not set | ||
892 | |||
893 | # | ||
894 | # Character devices | ||
895 | # | ||
896 | CONFIG_VT=y | ||
897 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
898 | CONFIG_VT_CONSOLE=y | ||
899 | CONFIG_HW_CONSOLE=y | ||
900 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
901 | CONFIG_DEVKMEM=y | ||
902 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
903 | # CONFIG_N_GSM is not set | ||
904 | CONFIG_MXS_VIIM=y | ||
905 | |||
906 | # | ||
907 | # Serial drivers | ||
908 | # | ||
909 | # CONFIG_SERIAL_8250 is not set | ||
910 | |||
911 | # | ||
912 | # Non-8250 serial port support | ||
913 | # | ||
914 | CONFIG_SERIAL_MXS_DUART=y | ||
915 | CONFIG_SERIAL_MXS_AUART=y | ||
916 | # CONFIG_SERIAL_MXS_AUART_CONSOLE is not set | ||
917 | CONFIG_SERIAL_MXS_DUART_CONSOLE=y | ||
918 | # CONFIG_SERIAL_MAX3100 is not set | ||
919 | CONFIG_SERIAL_CORE=y | ||
920 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
921 | # CONFIG_SERIAL_TIMBERDALE is not set | ||
922 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set | ||
923 | # CONFIG_SERIAL_ALTERA_UART is not set | ||
924 | CONFIG_UNIX98_PTYS=y | ||
925 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
926 | # CONFIG_LEGACY_PTYS is not set | ||
927 | # CONFIG_FSL_OTP is not set | ||
928 | # CONFIG_IPMI_HANDLER is not set | ||
929 | CONFIG_HW_RANDOM=y | ||
930 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
931 | # CONFIG_R3964 is not set | ||
932 | # CONFIG_RAW_DRIVER is not set | ||
933 | # CONFIG_TCG_TPM is not set | ||
934 | # CONFIG_RAMOOPS is not set | ||
935 | CONFIG_I2C=y | ||
936 | CONFIG_I2C_BOARDINFO=y | ||
937 | CONFIG_I2C_COMPAT=y | ||
938 | CONFIG_I2C_CHARDEV=y | ||
939 | CONFIG_I2C_HELPER_AUTO=y | ||
940 | |||
941 | # | ||
942 | # I2C Hardware Bus support | ||
943 | # | ||
944 | |||
945 | # | ||
946 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
947 | # | ||
948 | # CONFIG_I2C_DESIGNWARE is not set | ||
949 | # CONFIG_I2C_GPIO is not set | ||
950 | CONFIG_I2C_MXS=y | ||
951 | CONFIG_I2C_MXS_SELECT0=y | ||
952 | # CONFIG_I2C_OCORES is not set | ||
953 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
954 | # CONFIG_I2C_SIMTEC is not set | ||
955 | # CONFIG_I2C_XILINX is not set | ||
956 | |||
957 | # | ||
958 | # External I2C/SMBus adapter drivers | ||
959 | # | ||
960 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
961 | # CONFIG_I2C_TAOS_EVM is not set | ||
962 | # CONFIG_I2C_TINY_USB is not set | ||
963 | |||
964 | # | ||
965 | # Other I2C/SMBus bus drivers | ||
966 | # | ||
967 | # CONFIG_I2C_STUB is not set | ||
968 | # CONFIG_I2C_DEBUG_CORE is not set | ||
969 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
970 | # CONFIG_I2C_DEBUG_BUS is not set | ||
971 | CONFIG_SPI=y | ||
972 | # CONFIG_SPI_DEBUG is not set | ||
973 | CONFIG_SPI_MASTER=y | ||
974 | |||
975 | # | ||
976 | # SPI Master Controller Drivers | ||
977 | # | ||
978 | # CONFIG_SPI_BITBANG is not set | ||
979 | # CONFIG_SPI_GPIO is not set | ||
980 | # CONFIG_SPI_XILINX is not set | ||
981 | CONFIG_SPI_MXS=y | ||
982 | # CONFIG_SPI_DESIGNWARE is not set | ||
983 | |||
984 | # | ||
985 | # SPI Protocol Masters | ||
986 | # | ||
987 | # CONFIG_SPI_SPIDEV is not set | ||
988 | # CONFIG_SPI_TLE62X0 is not set | ||
989 | |||
990 | # | ||
991 | # PPS support | ||
992 | # | ||
993 | # CONFIG_PPS is not set | ||
994 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
995 | CONFIG_GPIOLIB=y | ||
996 | # CONFIG_DEBUG_GPIO is not set | ||
997 | # CONFIG_GPIO_SYSFS is not set | ||
998 | |||
999 | # | ||
1000 | # Memory mapped GPIO expanders: | ||
1001 | # | ||
1002 | # CONFIG_GPIO_IT8761E is not set | ||
1003 | |||
1004 | # | ||
1005 | # I2C GPIO expanders: | ||
1006 | # | ||
1007 | # CONFIG_GPIO_MAX7300 is not set | ||
1008 | # CONFIG_GPIO_MAX732X is not set | ||
1009 | # CONFIG_GPIO_PCA953X is not set | ||
1010 | # CONFIG_GPIO_PCF857X is not set | ||
1011 | # CONFIG_GPIO_ADP5588 is not set | ||
1012 | |||
1013 | # | ||
1014 | # PCI GPIO expanders: | ||
1015 | # | ||
1016 | |||
1017 | # | ||
1018 | # SPI GPIO expanders: | ||
1019 | # | ||
1020 | # CONFIG_GPIO_MAX7301 is not set | ||
1021 | # CONFIG_GPIO_MCP23S08 is not set | ||
1022 | # CONFIG_GPIO_MC33880 is not set | ||
1023 | |||
1024 | # | ||
1025 | # AC97 GPIO expanders: | ||
1026 | # | ||
1027 | |||
1028 | # | ||
1029 | # MODULbus GPIO expanders: | ||
1030 | # | ||
1031 | # CONFIG_W1 is not set | ||
1032 | CONFIG_POWER_SUPPLY=y | ||
1033 | # CONFIG_POWER_SUPPLY_DEBUG is not set | ||
1034 | # CONFIG_PDA_POWER is not set | ||
1035 | # CONFIG_TEST_POWER is not set | ||
1036 | # CONFIG_BATTERY_DS2760 is not set | ||
1037 | # CONFIG_BATTERY_DS2782 is not set | ||
1038 | # CONFIG_BATTERY_BQ27x00 is not set | ||
1039 | # CONFIG_BATTERY_MAX17040 is not set | ||
1040 | CONFIG_BATTERY_MXS=y | ||
1041 | # CONFIG_MXS_VBUS_CURRENT_DRAW is not set | ||
1042 | # CONFIG_BATTERY_DS2438 is not set | ||
1043 | CONFIG_HWMON=y | ||
1044 | # CONFIG_HWMON_VID is not set | ||
1045 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1046 | |||
1047 | # | ||
1048 | # Native drivers | ||
1049 | # | ||
1050 | # CONFIG_SENSORS_AD7414 is not set | ||
1051 | # CONFIG_SENSORS_AD7418 is not set | ||
1052 | # CONFIG_SENSORS_ADCXX is not set | ||
1053 | # CONFIG_SENSORS_ADM1021 is not set | ||
1054 | # CONFIG_SENSORS_ADM1025 is not set | ||
1055 | # CONFIG_SENSORS_ADM1026 is not set | ||
1056 | # CONFIG_SENSORS_ADM1029 is not set | ||
1057 | # CONFIG_SENSORS_ADM1031 is not set | ||
1058 | # CONFIG_SENSORS_ADM9240 is not set | ||
1059 | # CONFIG_SENSORS_ADT7411 is not set | ||
1060 | # CONFIG_SENSORS_ADT7462 is not set | ||
1061 | # CONFIG_SENSORS_ADT7470 is not set | ||
1062 | # CONFIG_SENSORS_ADT7475 is not set | ||
1063 | # CONFIG_SENSORS_ASC7621 is not set | ||
1064 | # CONFIG_SENSORS_ATXP1 is not set | ||
1065 | # CONFIG_SENSORS_DS1621 is not set | ||
1066 | # CONFIG_SENSORS_F71805F is not set | ||
1067 | # CONFIG_SENSORS_F71882FG is not set | ||
1068 | # CONFIG_SENSORS_F75375S is not set | ||
1069 | # CONFIG_SENSORS_G760A is not set | ||
1070 | # CONFIG_SENSORS_GL518SM is not set | ||
1071 | # CONFIG_SENSORS_GL520SM is not set | ||
1072 | # CONFIG_SENSORS_IT87 is not set | ||
1073 | # CONFIG_SENSORS_LM63 is not set | ||
1074 | # CONFIG_SENSORS_LM70 is not set | ||
1075 | # CONFIG_SENSORS_LM73 is not set | ||
1076 | # CONFIG_SENSORS_LM75 is not set | ||
1077 | # CONFIG_SENSORS_LM77 is not set | ||
1078 | # CONFIG_SENSORS_LM78 is not set | ||
1079 | # CONFIG_SENSORS_LM80 is not set | ||
1080 | # CONFIG_SENSORS_LM83 is not set | ||
1081 | # CONFIG_SENSORS_LM85 is not set | ||
1082 | # CONFIG_SENSORS_LM87 is not set | ||
1083 | # CONFIG_SENSORS_LM90 is not set | ||
1084 | # CONFIG_SENSORS_LM92 is not set | ||
1085 | # CONFIG_SENSORS_LM93 is not set | ||
1086 | # CONFIG_SENSORS_LTC4215 is not set | ||
1087 | # CONFIG_SENSORS_LTC4245 is not set | ||
1088 | # CONFIG_SENSORS_LM95241 is not set | ||
1089 | # CONFIG_SENSORS_MAX1111 is not set | ||
1090 | # CONFIG_SENSORS_MAX1619 is not set | ||
1091 | # CONFIG_SENSORS_MAX17135 is not set | ||
1092 | # CONFIG_SENSORS_MAX6650 is not set | ||
1093 | # CONFIG_SENSORS_PC87360 is not set | ||
1094 | # CONFIG_SENSORS_PC87427 is not set | ||
1095 | # CONFIG_SENSORS_PCF8591 is not set | ||
1096 | # CONFIG_SENSORS_SHT15 is not set | ||
1097 | # CONFIG_SENSORS_DME1737 is not set | ||
1098 | # CONFIG_SENSORS_EMC1403 is not set | ||
1099 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
1100 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
1101 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
1102 | # CONFIG_SENSORS_ADS7828 is not set | ||
1103 | # CONFIG_SENSORS_ADS7871 is not set | ||
1104 | # CONFIG_SENSORS_AMC6821 is not set | ||
1105 | # CONFIG_SENSORS_THMC50 is not set | ||
1106 | # CONFIG_SENSORS_TMP102 is not set | ||
1107 | # CONFIG_SENSORS_TMP401 is not set | ||
1108 | # CONFIG_SENSORS_TMP421 is not set | ||
1109 | # CONFIG_SENSORS_VT1211 is not set | ||
1110 | # CONFIG_SENSORS_W83781D is not set | ||
1111 | # CONFIG_SENSORS_W83791D is not set | ||
1112 | # CONFIG_SENSORS_W83792D is not set | ||
1113 | # CONFIG_SENSORS_W83793 is not set | ||
1114 | # CONFIG_SENSORS_W83L785TS is not set | ||
1115 | # CONFIG_SENSORS_W83L786NG is not set | ||
1116 | # CONFIG_SENSORS_W83627HF is not set | ||
1117 | # CONFIG_SENSORS_W83627EHF is not set | ||
1118 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
1119 | # CONFIG_SENSORS_LIS3_I2C is not set | ||
1120 | CONFIG_MXC_MMA7450=m | ||
1121 | # CONFIG_THERMAL is not set | ||
1122 | CONFIG_WATCHDOG=y | ||
1123 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
1124 | |||
1125 | # | ||
1126 | # Watchdog Device Drivers | ||
1127 | # | ||
1128 | # CONFIG_SOFT_WATCHDOG is not set | ||
1129 | CONFIG_MXS_WATCHDOG=y | ||
1130 | # CONFIG_MAX63XX_WATCHDOG is not set | ||
1131 | |||
1132 | # | ||
1133 | # USB-based Watchdog Cards | ||
1134 | # | ||
1135 | # CONFIG_USBPCWATCHDOG is not set | ||
1136 | CONFIG_SSB_POSSIBLE=y | ||
1137 | |||
1138 | # | ||
1139 | # Sonics Silicon Backplane | ||
1140 | # | ||
1141 | # CONFIG_SSB is not set | ||
1142 | CONFIG_MFD_SUPPORT=y | ||
1143 | # CONFIG_MFD_CORE is not set | ||
1144 | # CONFIG_MFD_88PM860X is not set | ||
1145 | # CONFIG_MFD_SM501 is not set | ||
1146 | # CONFIG_MFD_ASIC3 is not set | ||
1147 | # CONFIG_HTC_EGPIO is not set | ||
1148 | # CONFIG_HTC_PASIC3 is not set | ||
1149 | # CONFIG_HTC_I2CPLD is not set | ||
1150 | # CONFIG_TPS65010 is not set | ||
1151 | # CONFIG_TPS6507X is not set | ||
1152 | # CONFIG_TWL4030_CORE is not set | ||
1153 | # CONFIG_MFD_TC35892 is not set | ||
1154 | # CONFIG_MFD_TMIO is not set | ||
1155 | # CONFIG_MFD_T7L66XB is not set | ||
1156 | # CONFIG_MFD_TC6387XB is not set | ||
1157 | # CONFIG_MFD_TC6393XB is not set | ||
1158 | # CONFIG_PMIC_DA903X is not set | ||
1159 | # CONFIG_PMIC_ADP5520 is not set | ||
1160 | # CONFIG_MFD_MAX8925 is not set | ||
1161 | # CONFIG_MFD_WM8400 is not set | ||
1162 | # CONFIG_MFD_WM831X is not set | ||
1163 | # CONFIG_MFD_WM8350_I2C is not set | ||
1164 | # CONFIG_MFD_WM8994 is not set | ||
1165 | # CONFIG_MFD_LTC3589_I2C is not set | ||
1166 | # CONFIG_MFD_PCF50633 is not set | ||
1167 | # CONFIG_MFD_MC13783 is not set | ||
1168 | # CONFIG_ABX500_CORE is not set | ||
1169 | # CONFIG_EZX_PCAP is not set | ||
1170 | # CONFIG_AB8500_CORE is not set | ||
1171 | # CONFIG_MFD_MAX17135 is not set | ||
1172 | CONFIG_REGULATOR=y | ||
1173 | # CONFIG_REGULATOR_DEBUG is not set | ||
1174 | # CONFIG_REGULATOR_DUMMY is not set | ||
1175 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
1176 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1177 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
1178 | # CONFIG_REGULATOR_BQ24022 is not set | ||
1179 | # CONFIG_REGULATOR_MAX1586 is not set | ||
1180 | # CONFIG_REGULATOR_MAX8649 is not set | ||
1181 | # CONFIG_REGULATOR_MAX8660 is not set | ||
1182 | # CONFIG_REGULATOR_LP3971 is not set | ||
1183 | # CONFIG_REGULATOR_TPS65023 is not set | ||
1184 | # CONFIG_REGULATOR_TPS6507X is not set | ||
1185 | CONFIG_REGULATOR_MXS=y | ||
1186 | CONFIG_MEDIA_SUPPORT=y | ||
1187 | |||
1188 | # | ||
1189 | # Multimedia core support | ||
1190 | # | ||
1191 | CONFIG_VIDEO_DEV=y | ||
1192 | CONFIG_VIDEO_V4L2_COMMON=y | ||
1193 | CONFIG_VIDEO_ALLOW_V4L1=y | ||
1194 | CONFIG_VIDEO_V4L1_COMPAT=y | ||
1195 | # CONFIG_DVB_CORE is not set | ||
1196 | CONFIG_VIDEO_MEDIA=y | ||
1197 | |||
1198 | # | ||
1199 | # Multimedia drivers | ||
1200 | # | ||
1201 | CONFIG_IR_CORE=y | ||
1202 | CONFIG_VIDEO_IR=y | ||
1203 | CONFIG_RC_MAP=y | ||
1204 | CONFIG_IR_NEC_DECODER=y | ||
1205 | CONFIG_IR_RC5_DECODER=y | ||
1206 | CONFIG_IR_RC6_DECODER=y | ||
1207 | CONFIG_IR_JVC_DECODER=y | ||
1208 | CONFIG_IR_SONY_DECODER=y | ||
1209 | # CONFIG_IR_IMON is not set | ||
1210 | # CONFIG_MEDIA_ATTACH is not set | ||
1211 | CONFIG_MEDIA_TUNER=y | ||
1212 | # CONFIG_MEDIA_TUNER_CUSTOMISE is not set | ||
1213 | CONFIG_MEDIA_TUNER_SIMPLE=y | ||
1214 | CONFIG_MEDIA_TUNER_TDA8290=y | ||
1215 | CONFIG_MEDIA_TUNER_TDA9887=y | ||
1216 | CONFIG_MEDIA_TUNER_TEA5761=y | ||
1217 | CONFIG_MEDIA_TUNER_TEA5767=y | ||
1218 | CONFIG_MEDIA_TUNER_MT20XX=y | ||
1219 | CONFIG_MEDIA_TUNER_XC2028=y | ||
1220 | CONFIG_MEDIA_TUNER_XC5000=y | ||
1221 | CONFIG_MEDIA_TUNER_MC44S803=y | ||
1222 | CONFIG_VIDEO_V4L2=y | ||
1223 | CONFIG_VIDEO_V4L1=y | ||
1224 | CONFIG_VIDEOBUF_GEN=y | ||
1225 | CONFIG_VIDEOBUF_DMA_CONTIG=y | ||
1226 | CONFIG_VIDEO_CAPTURE_DRIVERS=y | ||
1227 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
1228 | # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set | ||
1229 | CONFIG_VIDEO_HELPER_CHIPS_AUTO=y | ||
1230 | CONFIG_VIDEO_IR_I2C=y | ||
1231 | CONFIG_VIDEO_MXS_PXP=y | ||
1232 | # CONFIG_VIDEO_CPIA is not set | ||
1233 | # CONFIG_VIDEO_CPIA2 is not set | ||
1234 | # CONFIG_VIDEO_SAA5246A is not set | ||
1235 | # CONFIG_VIDEO_SAA5249 is not set | ||
1236 | # CONFIG_SOC_CAMERA is not set | ||
1237 | CONFIG_V4L_USB_DRIVERS=y | ||
1238 | # CONFIG_USB_VIDEO_CLASS is not set | ||
1239 | CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y | ||
1240 | CONFIG_USB_GSPCA=m | ||
1241 | # CONFIG_USB_M5602 is not set | ||
1242 | # CONFIG_USB_STV06XX is not set | ||
1243 | # CONFIG_USB_GL860 is not set | ||
1244 | # CONFIG_USB_GSPCA_BENQ is not set | ||
1245 | # CONFIG_USB_GSPCA_CONEX is not set | ||
1246 | # CONFIG_USB_GSPCA_CPIA1 is not set | ||
1247 | # CONFIG_USB_GSPCA_ETOMS is not set | ||
1248 | # CONFIG_USB_GSPCA_FINEPIX is not set | ||
1249 | # CONFIG_USB_GSPCA_JEILINJ is not set | ||
1250 | # CONFIG_USB_GSPCA_MARS is not set | ||
1251 | # CONFIG_USB_GSPCA_MR97310A is not set | ||
1252 | # CONFIG_USB_GSPCA_OV519 is not set | ||
1253 | # CONFIG_USB_GSPCA_OV534 is not set | ||
1254 | # CONFIG_USB_GSPCA_OV534_9 is not set | ||
1255 | # CONFIG_USB_GSPCA_PAC207 is not set | ||
1256 | # CONFIG_USB_GSPCA_PAC7302 is not set | ||
1257 | # CONFIG_USB_GSPCA_PAC7311 is not set | ||
1258 | # CONFIG_USB_GSPCA_SN9C2028 is not set | ||
1259 | # CONFIG_USB_GSPCA_SN9C20X is not set | ||
1260 | # CONFIG_USB_GSPCA_SONIXB is not set | ||
1261 | # CONFIG_USB_GSPCA_SONIXJ is not set | ||
1262 | # CONFIG_USB_GSPCA_SPCA500 is not set | ||
1263 | # CONFIG_USB_GSPCA_SPCA501 is not set | ||
1264 | # CONFIG_USB_GSPCA_SPCA505 is not set | ||
1265 | # CONFIG_USB_GSPCA_SPCA506 is not set | ||
1266 | # CONFIG_USB_GSPCA_SPCA508 is not set | ||
1267 | # CONFIG_USB_GSPCA_SPCA561 is not set | ||
1268 | # CONFIG_USB_GSPCA_SQ905 is not set | ||
1269 | # CONFIG_USB_GSPCA_SQ905C is not set | ||
1270 | # CONFIG_USB_GSPCA_STK014 is not set | ||
1271 | # CONFIG_USB_GSPCA_STV0680 is not set | ||
1272 | # CONFIG_USB_GSPCA_SUNPLUS is not set | ||
1273 | # CONFIG_USB_GSPCA_T613 is not set | ||
1274 | # CONFIG_USB_GSPCA_TV8532 is not set | ||
1275 | # CONFIG_USB_GSPCA_VC032X is not set | ||
1276 | # CONFIG_USB_GSPCA_ZC3XX is not set | ||
1277 | # CONFIG_VIDEO_PVRUSB2 is not set | ||
1278 | # CONFIG_VIDEO_HDPVR is not set | ||
1279 | # CONFIG_VIDEO_EM28XX is not set | ||
1280 | # CONFIG_VIDEO_CX231XX is not set | ||
1281 | # CONFIG_VIDEO_USBVISION is not set | ||
1282 | # CONFIG_USB_VICAM is not set | ||
1283 | # CONFIG_USB_IBMCAM is not set | ||
1284 | # CONFIG_USB_KONICAWC is not set | ||
1285 | # CONFIG_USB_QUICKCAM_MESSENGER is not set | ||
1286 | # CONFIG_USB_ET61X251 is not set | ||
1287 | # CONFIG_VIDEO_OVCAMCHIP is not set | ||
1288 | # CONFIG_USB_OV511 is not set | ||
1289 | # CONFIG_USB_SE401 is not set | ||
1290 | # CONFIG_USB_SN9C102 is not set | ||
1291 | # CONFIG_USB_STV680 is not set | ||
1292 | # CONFIG_USB_ZC0301 is not set | ||
1293 | # CONFIG_USB_PWC is not set | ||
1294 | # CONFIG_USB_ZR364XX is not set | ||
1295 | # CONFIG_USB_STKWEBCAM is not set | ||
1296 | # CONFIG_USB_S2255 is not set | ||
1297 | # CONFIG_V4L_MEM2MEM_DRIVERS is not set | ||
1298 | CONFIG_RADIO_ADAPTERS=y | ||
1299 | # CONFIG_I2C_SI4713 is not set | ||
1300 | # CONFIG_RADIO_SI4713 is not set | ||
1301 | # CONFIG_USB_DSBR is not set | ||
1302 | # CONFIG_RADIO_SI470X is not set | ||
1303 | # CONFIG_USB_MR800 is not set | ||
1304 | # CONFIG_RADIO_TEA5764 is not set | ||
1305 | # CONFIG_RADIO_SAA7706H is not set | ||
1306 | # CONFIG_RADIO_TEF6862 is not set | ||
1307 | # CONFIG_DAB is not set | ||
1308 | |||
1309 | # | ||
1310 | # Graphics support | ||
1311 | # | ||
1312 | # CONFIG_VGASTATE is not set | ||
1313 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
1314 | CONFIG_FB=y | ||
1315 | # CONFIG_FIRMWARE_EDID is not set | ||
1316 | # CONFIG_FB_DDC is not set | ||
1317 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1318 | CONFIG_FB_CFB_FILLRECT=y | ||
1319 | CONFIG_FB_CFB_COPYAREA=y | ||
1320 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
1321 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1322 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1323 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1324 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1325 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1326 | # CONFIG_FB_SYS_FOPS is not set | ||
1327 | # CONFIG_FB_SVGALIB is not set | ||
1328 | # CONFIG_FB_MACMODES is not set | ||
1329 | # CONFIG_FB_BACKLIGHT is not set | ||
1330 | # CONFIG_FB_MODE_HELPERS is not set | ||
1331 | # CONFIG_FB_TILEBLITTING is not set | ||
1332 | |||
1333 | # | ||
1334 | # Frame buffer hardware drivers | ||
1335 | # | ||
1336 | CONFIG_FB_MXS=y | ||
1337 | # CONFIG_FB_MXS_LCD_43WVF1G is not set | ||
1338 | CONFIG_FB_MXS_LCD_LMS430=y | ||
1339 | # CONFIG_FB_MXS_TVENC is not set | ||
1340 | # CONFIG_FB_S1D13XXX is not set | ||
1341 | # CONFIG_FB_VIRTUAL is not set | ||
1342 | # CONFIG_FB_METRONOME is not set | ||
1343 | # CONFIG_FB_MB862XX is not set | ||
1344 | # CONFIG_FB_BROADSHEET is not set | ||
1345 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1346 | # CONFIG_LCD_CLASS_DEVICE is not set | ||
1347 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
1348 | # CONFIG_BACKLIGHT_GENERIC is not set | ||
1349 | # CONFIG_BACKLIGHT_ADP8860 is not set | ||
1350 | CONFIG_BACKLIGHT_MXS=y | ||
1351 | |||
1352 | # | ||
1353 | # Display device support | ||
1354 | # | ||
1355 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1356 | |||
1357 | # | ||
1358 | # Console display driver support | ||
1359 | # | ||
1360 | # CONFIG_VGA_CONSOLE is not set | ||
1361 | CONFIG_DUMMY_CONSOLE=y | ||
1362 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
1363 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1364 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1365 | # CONFIG_FONTS is not set | ||
1366 | CONFIG_FONT_8x8=y | ||
1367 | CONFIG_FONT_8x16=y | ||
1368 | CONFIG_LOGO=y | ||
1369 | # CONFIG_LOGO_LINUX_MONO is not set | ||
1370 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
1371 | CONFIG_LOGO_LINUX_CLUT224=y | ||
1372 | CONFIG_SOUND=y | ||
1373 | # CONFIG_SOUND_OSS_CORE is not set | ||
1374 | CONFIG_SND=y | ||
1375 | CONFIG_SND_TIMER=y | ||
1376 | CONFIG_SND_PCM=y | ||
1377 | CONFIG_SND_JACK=y | ||
1378 | # CONFIG_SND_SEQUENCER is not set | ||
1379 | # CONFIG_SND_MIXER_OSS is not set | ||
1380 | # CONFIG_SND_PCM_OSS is not set | ||
1381 | # CONFIG_SND_HRTIMER is not set | ||
1382 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1383 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1384 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1385 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1386 | # CONFIG_SND_DEBUG is not set | ||
1387 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1388 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1389 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1390 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1391 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1392 | # CONFIG_SND_DRIVERS is not set | ||
1393 | # CONFIG_SND_ARM is not set | ||
1394 | CONFIG_SND_SPI=y | ||
1395 | # CONFIG_SND_USB is not set | ||
1396 | CONFIG_SND_SOC=y | ||
1397 | CONFIG_SND_MXS_SOC=y | ||
1398 | CONFIG_SND_MXS_SOC_EVK_ADC=y | ||
1399 | CONFIG_SND_MXS_SOC_ADC=y | ||
1400 | # CONFIG_SND_MXS_SOC_EVK_DEVB_SPDIF is not set | ||
1401 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
1402 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
1403 | CONFIG_SND_SOC_MXS_ADC_CODEC=y | ||
1404 | # CONFIG_SOUND_PRIME is not set | ||
1405 | # CONFIG_HID_SUPPORT is not set | ||
1406 | CONFIG_USB_SUPPORT=y | ||
1407 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1408 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
1409 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
1410 | CONFIG_USB=y | ||
1411 | # CONFIG_USB_DEBUG is not set | ||
1412 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1413 | |||
1414 | # | ||
1415 | # Miscellaneous USB options | ||
1416 | # | ||
1417 | # CONFIG_USB_DEVICEFS is not set | ||
1418 | CONFIG_USB_DEVICE_CLASS=y | ||
1419 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1420 | # CONFIG_USB_OTG is not set | ||
1421 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1422 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1423 | CONFIG_USB_MON=y | ||
1424 | # CONFIG_USB_WUSB is not set | ||
1425 | # CONFIG_USB_WUSB_CBAF is not set | ||
1426 | |||
1427 | # | ||
1428 | # USB Host Controller Drivers | ||
1429 | # | ||
1430 | # CONFIG_USB_C67X00_HCD is not set | ||
1431 | CONFIG_USB_EHCI_HCD=y | ||
1432 | CONFIG_USB_EHCI_ARC=y | ||
1433 | CONFIG_USB_EHCI_ARC_OTG=y | ||
1434 | # CONFIG_USB_STATIC_IRAM is not set | ||
1435 | # CONFIG_USB_EHCI_FSL_MC13783 is not set | ||
1436 | # CONFIG_USB_EHCI_FSL_1301 is not set | ||
1437 | # CONFIG_USB_EHCI_FSL_1504 is not set | ||
1438 | CONFIG_USB_EHCI_FSL_UTMI=y | ||
1439 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
1440 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
1441 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1442 | # CONFIG_USB_ISP116X_HCD is not set | ||
1443 | # CONFIG_USB_ISP1760_HCD is not set | ||
1444 | # CONFIG_USB_ISP1362_HCD is not set | ||
1445 | # CONFIG_USB_SL811_HCD is not set | ||
1446 | # CONFIG_USB_R8A66597_HCD is not set | ||
1447 | # CONFIG_USB_HWA_HCD is not set | ||
1448 | # CONFIG_USB_MUSB_HDRC is not set | ||
1449 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
1450 | |||
1451 | # | ||
1452 | # USB Device Class drivers | ||
1453 | # | ||
1454 | # CONFIG_USB_ACM is not set | ||
1455 | # CONFIG_USB_PRINTER is not set | ||
1456 | # CONFIG_USB_WDM is not set | ||
1457 | # CONFIG_USB_TMC is not set | ||
1458 | |||
1459 | # | ||
1460 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1461 | # | ||
1462 | |||
1463 | # | ||
1464 | # also be needed; see USB_STORAGE Help for more info | ||
1465 | # | ||
1466 | CONFIG_USB_STORAGE=y | ||
1467 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1468 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1469 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1470 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1471 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1472 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1473 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1474 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1475 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1476 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1477 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1478 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1479 | # CONFIG_USB_LIBUSUAL is not set | ||
1480 | |||
1481 | # | ||
1482 | # USB Imaging devices | ||
1483 | # | ||
1484 | # CONFIG_USB_MDC800 is not set | ||
1485 | # CONFIG_USB_MICROTEK is not set | ||
1486 | |||
1487 | # | ||
1488 | # USB port drivers | ||
1489 | # | ||
1490 | # CONFIG_USB_SERIAL is not set | ||
1491 | |||
1492 | # | ||
1493 | # USB Miscellaneous drivers | ||
1494 | # | ||
1495 | # CONFIG_USB_EMI62 is not set | ||
1496 | # CONFIG_USB_EMI26 is not set | ||
1497 | # CONFIG_USB_ADUTUX is not set | ||
1498 | # CONFIG_USB_SEVSEG is not set | ||
1499 | # CONFIG_USB_RIO500 is not set | ||
1500 | # CONFIG_USB_LEGOTOWER is not set | ||
1501 | # CONFIG_USB_LCD is not set | ||
1502 | # CONFIG_USB_LED is not set | ||
1503 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1504 | # CONFIG_USB_CYTHERM is not set | ||
1505 | # CONFIG_USB_IDMOUSE is not set | ||
1506 | # CONFIG_USB_FTDI_ELAN is not set | ||
1507 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1508 | # CONFIG_USB_SISUSBVGA is not set | ||
1509 | # CONFIG_USB_LD is not set | ||
1510 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1511 | # CONFIG_USB_IOWARRIOR is not set | ||
1512 | # CONFIG_USB_TEST is not set | ||
1513 | # CONFIG_USB_ISIGHTFW is not set | ||
1514 | CONFIG_USB_GADGET=y | ||
1515 | # CONFIG_USB_GADGET_DEBUG is not set | ||
1516 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1517 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
1518 | CONFIG_USB_GADGET_SELECTED=y | ||
1519 | # CONFIG_USB_GADGET_AT91 is not set | ||
1520 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1521 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1522 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1523 | # CONFIG_USB_GADGET_OMAP is not set | ||
1524 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1525 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1526 | # CONFIG_USB_GADGET_PXA27X is not set | ||
1527 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | ||
1528 | # CONFIG_USB_GADGET_IMX is not set | ||
1529 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1530 | # CONFIG_USB_GADGET_M66592 is not set | ||
1531 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1532 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1533 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1534 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1535 | # CONFIG_USB_GADGET_GOKU is not set | ||
1536 | CONFIG_USB_GADGET_ARC=y | ||
1537 | CONFIG_USB_ARC=y | ||
1538 | # CONFIG_USB_GADGET_LANGWELL is not set | ||
1539 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1540 | CONFIG_USB_GADGET_DUALSPEED=y | ||
1541 | # CONFIG_USB_ZERO is not set | ||
1542 | # CONFIG_USB_AUDIO is not set | ||
1543 | CONFIG_USB_ETH=m | ||
1544 | CONFIG_USB_ETH_RNDIS=y | ||
1545 | # CONFIG_USB_ETH_EEM is not set | ||
1546 | # CONFIG_USB_GADGETFS is not set | ||
1547 | # CONFIG_USB_FUNCTIONFS is not set | ||
1548 | CONFIG_USB_FILE_STORAGE=m | ||
1549 | # CONFIG_FSL_UTP is not set | ||
1550 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1551 | # CONFIG_USB_MASS_STORAGE is not set | ||
1552 | CONFIG_USB_G_SERIAL=m | ||
1553 | # CONFIG_USB_MIDI_GADGET is not set | ||
1554 | # CONFIG_USB_G_PRINTER is not set | ||
1555 | CONFIG_USB_CDC_COMPOSITE=m | ||
1556 | # CONFIG_USB_G_NOKIA is not set | ||
1557 | # CONFIG_USB_G_MULTI is not set | ||
1558 | # CONFIG_USB_G_HID is not set | ||
1559 | # CONFIG_USB_G_WEBCAM is not set | ||
1560 | |||
1561 | # | ||
1562 | # OTG and related infrastructure | ||
1563 | # | ||
1564 | CONFIG_USB_OTG_UTILS=y | ||
1565 | # CONFIG_USB_GPIO_VBUS is not set | ||
1566 | # CONFIG_USB_ULPI is not set | ||
1567 | # CONFIG_NOP_USB_XCEIV is not set | ||
1568 | # CONFIG_MXC_OTG is not set | ||
1569 | CONFIG_MMC=y | ||
1570 | # CONFIG_MMC_DEBUG is not set | ||
1571 | CONFIG_MMC_UNSAFE_RESUME=y | ||
1572 | |||
1573 | # | ||
1574 | # MMC/SD/SDIO Card Drivers | ||
1575 | # | ||
1576 | CONFIG_MMC_BLOCK=y | ||
1577 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
1578 | # CONFIG_SDIO_UART is not set | ||
1579 | # CONFIG_MMC_TEST is not set | ||
1580 | |||
1581 | # | ||
1582 | # MMC/SD/SDIO Host Controller Drivers | ||
1583 | # | ||
1584 | # CONFIG_MMC_SDHCI is not set | ||
1585 | # CONFIG_MMC_SPI is not set | ||
1586 | # CONFIG_MMC_IMX_ESDHCI_PIO_MODE is not set | ||
1587 | CONFIG_MMC_MXS=y | ||
1588 | # CONFIG_MEMSTICK is not set | ||
1589 | # CONFIG_NEW_LEDS is not set | ||
1590 | # CONFIG_ACCESSIBILITY is not set | ||
1591 | CONFIG_RTC_LIB=y | ||
1592 | CONFIG_RTC_CLASS=y | ||
1593 | CONFIG_RTC_HCTOSYS=y | ||
1594 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1595 | # CONFIG_RTC_DEBUG is not set | ||
1596 | |||
1597 | # | ||
1598 | # RTC interfaces | ||
1599 | # | ||
1600 | CONFIG_RTC_INTF_SYSFS=y | ||
1601 | CONFIG_RTC_INTF_PROC=y | ||
1602 | CONFIG_RTC_INTF_DEV=y | ||
1603 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1604 | # CONFIG_RTC_DRV_TEST is not set | ||
1605 | |||
1606 | # | ||
1607 | # I2C RTC drivers | ||
1608 | # | ||
1609 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1610 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1611 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1612 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1613 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1614 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1615 | # CONFIG_RTC_DRV_X1205 is not set | ||
1616 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1617 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1618 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1619 | # CONFIG_RTC_DRV_BQ32K is not set | ||
1620 | # CONFIG_RTC_DRV_S35390A is not set | ||
1621 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1622 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1623 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1624 | |||
1625 | # | ||
1626 | # SPI RTC drivers | ||
1627 | # | ||
1628 | # CONFIG_RTC_DRV_M41T94 is not set | ||
1629 | # CONFIG_RTC_DRV_DS1305 is not set | ||
1630 | # CONFIG_RTC_DRV_DS1390 is not set | ||
1631 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1632 | # CONFIG_RTC_DRV_R9701 is not set | ||
1633 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1634 | # CONFIG_RTC_DRV_DS3234 is not set | ||
1635 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1636 | |||
1637 | # | ||
1638 | # Platform RTC drivers | ||
1639 | # | ||
1640 | # CONFIG_RTC_DRV_CMOS is not set | ||
1641 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1642 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1643 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1644 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1645 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1646 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1647 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1648 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1649 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
1650 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1651 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
1652 | # CONFIG_RTC_DRV_V3020 is not set | ||
1653 | |||
1654 | # | ||
1655 | # on-CPU RTC drivers | ||
1656 | # | ||
1657 | CONFIG_RTC_DRV_MXS=y | ||
1658 | # CONFIG_DMADEVICES is not set | ||
1659 | # CONFIG_AUXDISPLAY is not set | ||
1660 | # CONFIG_UIO is not set | ||
1661 | # CONFIG_STAGING is not set | ||
1662 | |||
1663 | # | ||
1664 | # File systems | ||
1665 | # | ||
1666 | # CONFIG_EXT2_FS is not set | ||
1667 | # CONFIG_EXT3_FS is not set | ||
1668 | CONFIG_EXT4_FS=y | ||
1669 | CONFIG_EXT4_USE_FOR_EXT23=y | ||
1670 | CONFIG_EXT4_FS_XATTR=y | ||
1671 | # CONFIG_EXT4_FS_POSIX_ACL is not set | ||
1672 | # CONFIG_EXT4_FS_SECURITY is not set | ||
1673 | # CONFIG_EXT4_DEBUG is not set | ||
1674 | CONFIG_JBD2=y | ||
1675 | CONFIG_FS_MBCACHE=y | ||
1676 | # CONFIG_REISERFS_FS is not set | ||
1677 | # CONFIG_JFS_FS is not set | ||
1678 | # CONFIG_FS_POSIX_ACL is not set | ||
1679 | # CONFIG_XFS_FS is not set | ||
1680 | # CONFIG_GFS2_FS is not set | ||
1681 | # CONFIG_OCFS2_FS is not set | ||
1682 | # CONFIG_BTRFS_FS is not set | ||
1683 | # CONFIG_NILFS2_FS is not set | ||
1684 | CONFIG_FILE_LOCKING=y | ||
1685 | CONFIG_FSNOTIFY=y | ||
1686 | CONFIG_DNOTIFY=y | ||
1687 | CONFIG_INOTIFY=y | ||
1688 | CONFIG_INOTIFY_USER=y | ||
1689 | # CONFIG_QUOTA is not set | ||
1690 | # CONFIG_AUTOFS_FS is not set | ||
1691 | # CONFIG_AUTOFS4_FS is not set | ||
1692 | # CONFIG_FUSE_FS is not set | ||
1693 | |||
1694 | # | ||
1695 | # Caches | ||
1696 | # | ||
1697 | # CONFIG_FSCACHE is not set | ||
1698 | |||
1699 | # | ||
1700 | # CD-ROM/DVD Filesystems | ||
1701 | # | ||
1702 | # CONFIG_ISO9660_FS is not set | ||
1703 | # CONFIG_UDF_FS is not set | ||
1704 | |||
1705 | # | ||
1706 | # DOS/FAT/NT Filesystems | ||
1707 | # | ||
1708 | CONFIG_FAT_FS=y | ||
1709 | CONFIG_MSDOS_FS=y | ||
1710 | CONFIG_VFAT_FS=y | ||
1711 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1712 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
1713 | # CONFIG_NTFS_FS is not set | ||
1714 | |||
1715 | # | ||
1716 | # Pseudo filesystems | ||
1717 | # | ||
1718 | CONFIG_PROC_FS=y | ||
1719 | CONFIG_PROC_SYSCTL=y | ||
1720 | CONFIG_PROC_PAGE_MONITOR=y | ||
1721 | CONFIG_SYSFS=y | ||
1722 | CONFIG_TMPFS=y | ||
1723 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1724 | # CONFIG_HUGETLB_PAGE is not set | ||
1725 | # CONFIG_CONFIGFS_FS is not set | ||
1726 | CONFIG_MISC_FILESYSTEMS=y | ||
1727 | # CONFIG_ADFS_FS is not set | ||
1728 | # CONFIG_AFFS_FS is not set | ||
1729 | # CONFIG_ECRYPT_FS is not set | ||
1730 | # CONFIG_HFS_FS is not set | ||
1731 | # CONFIG_HFSPLUS_FS is not set | ||
1732 | # CONFIG_BEFS_FS is not set | ||
1733 | # CONFIG_BFS_FS is not set | ||
1734 | # CONFIG_EFS_FS is not set | ||
1735 | # CONFIG_JFFS2_FS is not set | ||
1736 | CONFIG_UBIFS_FS=y | ||
1737 | # CONFIG_UBIFS_FS_XATTR is not set | ||
1738 | # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set | ||
1739 | CONFIG_UBIFS_FS_LZO=y | ||
1740 | CONFIG_UBIFS_FS_ZLIB=y | ||
1741 | # CONFIG_UBIFS_FS_DEBUG is not set | ||
1742 | # CONFIG_LOGFS is not set | ||
1743 | # CONFIG_CRAMFS is not set | ||
1744 | # CONFIG_SQUASHFS is not set | ||
1745 | # CONFIG_VXFS_FS is not set | ||
1746 | # CONFIG_MINIX_FS is not set | ||
1747 | # CONFIG_OMFS_FS is not set | ||
1748 | # CONFIG_HPFS_FS is not set | ||
1749 | # CONFIG_QNX4FS_FS is not set | ||
1750 | # CONFIG_ROMFS_FS is not set | ||
1751 | # CONFIG_SYSV_FS is not set | ||
1752 | # CONFIG_UFS_FS is not set | ||
1753 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1754 | CONFIG_NFS_FS=y | ||
1755 | CONFIG_NFS_V3=y | ||
1756 | # CONFIG_NFS_V3_ACL is not set | ||
1757 | CONFIG_NFS_V4=y | ||
1758 | # CONFIG_NFS_V4_1 is not set | ||
1759 | CONFIG_ROOT_NFS=y | ||
1760 | # CONFIG_NFSD is not set | ||
1761 | CONFIG_LOCKD=y | ||
1762 | CONFIG_LOCKD_V4=y | ||
1763 | CONFIG_NFS_COMMON=y | ||
1764 | CONFIG_SUNRPC=y | ||
1765 | CONFIG_SUNRPC_GSS=y | ||
1766 | CONFIG_RPCSEC_GSS_KRB5=y | ||
1767 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1768 | # CONFIG_SMB_FS is not set | ||
1769 | # CONFIG_CEPH_FS is not set | ||
1770 | # CONFIG_CIFS is not set | ||
1771 | # CONFIG_NCP_FS is not set | ||
1772 | # CONFIG_CODA_FS is not set | ||
1773 | # CONFIG_AFS_FS is not set | ||
1774 | |||
1775 | # | ||
1776 | # Partition Types | ||
1777 | # | ||
1778 | CONFIG_PARTITION_ADVANCED=y | ||
1779 | # CONFIG_ACORN_PARTITION is not set | ||
1780 | # CONFIG_OSF_PARTITION is not set | ||
1781 | # CONFIG_AMIGA_PARTITION is not set | ||
1782 | # CONFIG_ATARI_PARTITION is not set | ||
1783 | # CONFIG_MAC_PARTITION is not set | ||
1784 | CONFIG_MSDOS_PARTITION=y | ||
1785 | # CONFIG_BSD_DISKLABEL is not set | ||
1786 | # CONFIG_MINIX_SUBPARTITION is not set | ||
1787 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
1788 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
1789 | # CONFIG_LDM_PARTITION is not set | ||
1790 | # CONFIG_SGI_PARTITION is not set | ||
1791 | # CONFIG_ULTRIX_PARTITION is not set | ||
1792 | # CONFIG_SUN_PARTITION is not set | ||
1793 | # CONFIG_KARMA_PARTITION is not set | ||
1794 | # CONFIG_EFI_PARTITION is not set | ||
1795 | # CONFIG_SYSV68_PARTITION is not set | ||
1796 | CONFIG_NLS=y | ||
1797 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
1798 | CONFIG_NLS_CODEPAGE_437=y | ||
1799 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
1800 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
1801 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
1802 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
1803 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
1804 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
1805 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
1806 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
1807 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
1808 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
1809 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
1810 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
1811 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
1812 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
1813 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
1814 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
1815 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
1816 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
1817 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
1818 | # CONFIG_NLS_ISO8859_8 is not set | ||
1819 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
1820 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
1821 | CONFIG_NLS_ASCII=y | ||
1822 | CONFIG_NLS_ISO8859_1=y | ||
1823 | # CONFIG_NLS_ISO8859_2 is not set | ||
1824 | # CONFIG_NLS_ISO8859_3 is not set | ||
1825 | # CONFIG_NLS_ISO8859_4 is not set | ||
1826 | # CONFIG_NLS_ISO8859_5 is not set | ||
1827 | # CONFIG_NLS_ISO8859_6 is not set | ||
1828 | # CONFIG_NLS_ISO8859_7 is not set | ||
1829 | # CONFIG_NLS_ISO8859_9 is not set | ||
1830 | # CONFIG_NLS_ISO8859_13 is not set | ||
1831 | # CONFIG_NLS_ISO8859_14 is not set | ||
1832 | # CONFIG_NLS_ISO8859_15 is not set | ||
1833 | # CONFIG_NLS_KOI8_R is not set | ||
1834 | # CONFIG_NLS_KOI8_U is not set | ||
1835 | CONFIG_NLS_UTF8=y | ||
1836 | # CONFIG_DLM is not set | ||
1837 | |||
1838 | # | ||
1839 | # Kernel hacking | ||
1840 | # | ||
1841 | # CONFIG_PRINTK_TIME is not set | ||
1842 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
1843 | CONFIG_ENABLE_MUST_CHECK=y | ||
1844 | CONFIG_FRAME_WARN=1024 | ||
1845 | # CONFIG_MAGIC_SYSRQ is not set | ||
1846 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1847 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1848 | # CONFIG_DEBUG_FS is not set | ||
1849 | # CONFIG_HEADERS_CHECK is not set | ||
1850 | CONFIG_DEBUG_KERNEL=y | ||
1851 | # CONFIG_DEBUG_SHIRQ is not set | ||
1852 | CONFIG_DETECT_SOFTLOCKUP=y | ||
1853 | # CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC is not set | ||
1854 | CONFIG_BOOTPARAM_SOFTLOCKUP_PANIC_VALUE=0 | ||
1855 | CONFIG_DETECT_HUNG_TASK=y | ||
1856 | # CONFIG_BOOTPARAM_HUNG_TASK_PANIC is not set | ||
1857 | CONFIG_BOOTPARAM_HUNG_TASK_PANIC_VALUE=0 | ||
1858 | CONFIG_SCHED_DEBUG=y | ||
1859 | # CONFIG_SCHEDSTATS is not set | ||
1860 | # CONFIG_TIMER_STATS is not set | ||
1861 | # CONFIG_DEBUG_OBJECTS is not set | ||
1862 | # CONFIG_SLUB_DEBUG_ON is not set | ||
1863 | # CONFIG_SLUB_STATS is not set | ||
1864 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
1865 | CONFIG_DEBUG_PREEMPT=y | ||
1866 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
1867 | # CONFIG_RT_MUTEX_TESTER is not set | ||
1868 | # CONFIG_DEBUG_SPINLOCK is not set | ||
1869 | # CONFIG_DEBUG_MUTEXES is not set | ||
1870 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
1871 | # CONFIG_PROVE_LOCKING is not set | ||
1872 | # CONFIG_LOCK_STAT is not set | ||
1873 | # CONFIG_DEBUG_SPINLOCK_SLEEP is not set | ||
1874 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
1875 | # CONFIG_DEBUG_KOBJECT is not set | ||
1876 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
1877 | CONFIG_DEBUG_INFO=y | ||
1878 | # CONFIG_DEBUG_VM is not set | ||
1879 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
1880 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
1881 | # CONFIG_DEBUG_LIST is not set | ||
1882 | # CONFIG_DEBUG_SG is not set | ||
1883 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
1884 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
1885 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
1886 | # CONFIG_RCU_TORTURE_TEST is not set | ||
1887 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1888 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
1889 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
1890 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
1891 | # CONFIG_FAULT_INJECTION is not set | ||
1892 | # CONFIG_LATENCYTOP is not set | ||
1893 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
1894 | # CONFIG_PAGE_POISONING is not set | ||
1895 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
1896 | CONFIG_TRACING_SUPPORT=y | ||
1897 | # CONFIG_FTRACE is not set | ||
1898 | # CONFIG_ATOMIC64_SELFTEST is not set | ||
1899 | # CONFIG_SAMPLES is not set | ||
1900 | CONFIG_HAVE_ARCH_KGDB=y | ||
1901 | # CONFIG_KGDB is not set | ||
1902 | CONFIG_ARM_UNWIND=y | ||
1903 | # CONFIG_DEBUG_USER is not set | ||
1904 | # CONFIG_DEBUG_ERRORS is not set | ||
1905 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
1906 | CONFIG_DEBUG_LL=y | ||
1907 | # CONFIG_EARLY_PRINTK is not set | ||
1908 | # CONFIG_DEBUG_ICEDCC is not set | ||
1909 | # CONFIG_OC_ETM is not set | ||
1910 | |||
1911 | # | ||
1912 | # Security options | ||
1913 | # | ||
1914 | CONFIG_KEYS=y | ||
1915 | CONFIG_KEYS_DEBUG_PROC_KEYS=y | ||
1916 | CONFIG_SECURITY=y | ||
1917 | # CONFIG_SECURITYFS is not set | ||
1918 | # CONFIG_SECURITY_NETWORK is not set | ||
1919 | # CONFIG_SECURITY_PATH is not set | ||
1920 | # CONFIG_SECURITY_TOMOYO is not set | ||
1921 | # CONFIG_IMA is not set | ||
1922 | # CONFIG_DEFAULT_SECURITY_SELINUX is not set | ||
1923 | # CONFIG_DEFAULT_SECURITY_SMACK is not set | ||
1924 | # CONFIG_DEFAULT_SECURITY_TOMOYO is not set | ||
1925 | CONFIG_DEFAULT_SECURITY_DAC=y | ||
1926 | CONFIG_DEFAULT_SECURITY="" | ||
1927 | CONFIG_CRYPTO=y | ||
1928 | |||
1929 | # | ||
1930 | # Crypto core or helper | ||
1931 | # | ||
1932 | CONFIG_CRYPTO_ALGAPI=y | ||
1933 | CONFIG_CRYPTO_ALGAPI2=y | ||
1934 | CONFIG_CRYPTO_AEAD2=y | ||
1935 | CONFIG_CRYPTO_BLKCIPHER=y | ||
1936 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
1937 | CONFIG_CRYPTO_HASH=y | ||
1938 | CONFIG_CRYPTO_HASH2=y | ||
1939 | CONFIG_CRYPTO_RNG2=y | ||
1940 | CONFIG_CRYPTO_PCOMP=y | ||
1941 | CONFIG_CRYPTO_MANAGER=y | ||
1942 | CONFIG_CRYPTO_MANAGER2=y | ||
1943 | CONFIG_CRYPTO_MANAGER_TESTS=y | ||
1944 | # CONFIG_CRYPTO_GF128MUL is not set | ||
1945 | # CONFIG_CRYPTO_NULL is not set | ||
1946 | CONFIG_CRYPTO_WORKQUEUE=y | ||
1947 | # CONFIG_CRYPTO_CRYPTD is not set | ||
1948 | # CONFIG_CRYPTO_AUTHENC is not set | ||
1949 | CONFIG_CRYPTO_TEST=m | ||
1950 | CONFIG_CRYPTO_CRYPTODEV=y | ||
1951 | |||
1952 | # | ||
1953 | # Authenticated Encryption with Associated Data | ||
1954 | # | ||
1955 | # CONFIG_CRYPTO_CCM is not set | ||
1956 | # CONFIG_CRYPTO_GCM is not set | ||
1957 | # CONFIG_CRYPTO_SEQIV is not set | ||
1958 | |||
1959 | # | ||
1960 | # Block modes | ||
1961 | # | ||
1962 | CONFIG_CRYPTO_CBC=y | ||
1963 | # CONFIG_CRYPTO_CTR is not set | ||
1964 | # CONFIG_CRYPTO_CTS is not set | ||
1965 | CONFIG_CRYPTO_ECB=y | ||
1966 | # CONFIG_CRYPTO_LRW is not set | ||
1967 | # CONFIG_CRYPTO_PCBC is not set | ||
1968 | # CONFIG_CRYPTO_XTS is not set | ||
1969 | |||
1970 | # | ||
1971 | # Hash modes | ||
1972 | # | ||
1973 | CONFIG_CRYPTO_HMAC=y | ||
1974 | # CONFIG_CRYPTO_XCBC is not set | ||
1975 | # CONFIG_CRYPTO_VMAC is not set | ||
1976 | |||
1977 | # | ||
1978 | # Digest | ||
1979 | # | ||
1980 | CONFIG_CRYPTO_CRC32C=m | ||
1981 | # CONFIG_CRYPTO_GHASH is not set | ||
1982 | # CONFIG_CRYPTO_MD4 is not set | ||
1983 | CONFIG_CRYPTO_MD5=y | ||
1984 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
1985 | # CONFIG_CRYPTO_RMD128 is not set | ||
1986 | # CONFIG_CRYPTO_RMD160 is not set | ||
1987 | # CONFIG_CRYPTO_RMD256 is not set | ||
1988 | # CONFIG_CRYPTO_RMD320 is not set | ||
1989 | CONFIG_CRYPTO_SHA1=m | ||
1990 | CONFIG_CRYPTO_SHA256=m | ||
1991 | # CONFIG_CRYPTO_SHA512 is not set | ||
1992 | # CONFIG_CRYPTO_TGR192 is not set | ||
1993 | # CONFIG_CRYPTO_WP512 is not set | ||
1994 | |||
1995 | # | ||
1996 | # Ciphers | ||
1997 | # | ||
1998 | CONFIG_CRYPTO_AES=y | ||
1999 | # CONFIG_CRYPTO_ANUBIS is not set | ||
2000 | # CONFIG_CRYPTO_ARC4 is not set | ||
2001 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
2002 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
2003 | # CONFIG_CRYPTO_CAST5 is not set | ||
2004 | # CONFIG_CRYPTO_CAST6 is not set | ||
2005 | CONFIG_CRYPTO_DES=y | ||
2006 | # CONFIG_CRYPTO_FCRYPT is not set | ||
2007 | # CONFIG_CRYPTO_KHAZAD is not set | ||
2008 | # CONFIG_CRYPTO_SALSA20 is not set | ||
2009 | # CONFIG_CRYPTO_SEED is not set | ||
2010 | # CONFIG_CRYPTO_SERPENT is not set | ||
2011 | # CONFIG_CRYPTO_TEA is not set | ||
2012 | # CONFIG_CRYPTO_TWOFISH is not set | ||
2013 | |||
2014 | # | ||
2015 | # Compression | ||
2016 | # | ||
2017 | CONFIG_CRYPTO_DEFLATE=y | ||
2018 | # CONFIG_CRYPTO_ZLIB is not set | ||
2019 | CONFIG_CRYPTO_LZO=y | ||
2020 | |||
2021 | # | ||
2022 | # Random Number Generation | ||
2023 | # | ||
2024 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
2025 | CONFIG_CRYPTO_HW=y | ||
2026 | CONFIG_CRYPTO_DEV_DCP=y | ||
2027 | # CONFIG_BINARY_PRINTF is not set | ||
2028 | |||
2029 | # | ||
2030 | # Library routines | ||
2031 | # | ||
2032 | CONFIG_BITREVERSE=y | ||
2033 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
2034 | CONFIG_CRC_CCITT=m | ||
2035 | CONFIG_CRC16=y | ||
2036 | # CONFIG_CRC_T10DIF is not set | ||
2037 | # CONFIG_CRC_ITU_T is not set | ||
2038 | CONFIG_CRC32=y | ||
2039 | # CONFIG_CRC7 is not set | ||
2040 | # CONFIG_LIBCRC32C is not set | ||
2041 | CONFIG_ZLIB_INFLATE=y | ||
2042 | CONFIG_ZLIB_DEFLATE=y | ||
2043 | CONFIG_LZO_COMPRESS=y | ||
2044 | CONFIG_LZO_DECOMPRESS=y | ||
2045 | CONFIG_DECOMPRESS_GZIP=y | ||
2046 | CONFIG_DECOMPRESS_BZIP2=y | ||
2047 | CONFIG_DECOMPRESS_LZMA=y | ||
2048 | CONFIG_GENERIC_ALLOCATOR=y | ||
2049 | CONFIG_HAS_IOMEM=y | ||
2050 | CONFIG_HAS_IOPORT=y | ||
2051 | CONFIG_HAS_DMA=y | ||
2052 | CONFIG_NLATTR=y | ||
2053 | CONFIG_GENERIC_ATOMIC64=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig new file mode 100644 index 00000000..29c4677f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/imx28evk/defconfig | |||
@@ -0,0 +1,2181 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.35.3 | ||
4 | # Tue Jul 2 16:27:45 2013 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
8 | CONFIG_GENERIC_GPIO=y | ||
9 | CONFIG_GENERIC_TIME=y | ||
10 | # CONFIG_ARCH_USES_GETTIMEOFFSET is not set | ||
11 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
12 | CONFIG_HAVE_PROC_CPU=y | ||
13 | CONFIG_GENERIC_HARDIRQS=y | ||
14 | CONFIG_STACKTRACE_SUPPORT=y | ||
15 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
16 | CONFIG_LOCKDEP_SUPPORT=y | ||
17 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
18 | CONFIG_HARDIRQS_SW_RESEND=y | ||
19 | CONFIG_GENERIC_IRQ_PROBE=y | ||
20 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
21 | CONFIG_ARCH_HAS_CPUFREQ=y | ||
22 | CONFIG_GENERIC_HWEIGHT=y | ||
23 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
24 | CONFIG_ZONE_DMA=y | ||
25 | CONFIG_NEED_DMA_MAP_STATE=y | ||
26 | CONFIG_FIQ=y | ||
27 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
28 | CONFIG_VECTORS_BASE=0xffff0000 | ||
29 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
30 | CONFIG_CONSTRUCTORS=y | ||
31 | |||
32 | # | ||
33 | # General setup | ||
34 | # | ||
35 | CONFIG_EXPERIMENTAL=y | ||
36 | CONFIG_BROKEN_ON_SMP=y | ||
37 | CONFIG_LOCK_KERNEL=y | ||
38 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
39 | CONFIG_CROSS_COMPILE="" | ||
40 | CONFIG_LOCALVERSION="" | ||
41 | CONFIG_LOCALVERSION_AUTO=y | ||
42 | CONFIG_HAVE_KERNEL_GZIP=y | ||
43 | CONFIG_HAVE_KERNEL_LZMA=y | ||
44 | CONFIG_HAVE_KERNEL_LZO=y | ||
45 | CONFIG_KERNEL_GZIP=y | ||
46 | # CONFIG_KERNEL_BZIP2 is not set | ||
47 | # CONFIG_KERNEL_LZMA is not set | ||
48 | # CONFIG_KERNEL_LZO is not set | ||
49 | CONFIG_SWAP=y | ||
50 | CONFIG_SYSVIPC=y | ||
51 | CONFIG_SYSVIPC_SYSCTL=y | ||
52 | CONFIG_POSIX_MQUEUE=y | ||
53 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
54 | CONFIG_BSD_PROCESS_ACCT=y | ||
55 | # CONFIG_BSD_PROCESS_ACCT_V3 is not set | ||
56 | # CONFIG_TASKSTATS is not set | ||
57 | CONFIG_AUDIT=y | ||
58 | |||
59 | # | ||
60 | # RCU Subsystem | ||
61 | # | ||
62 | CONFIG_TREE_RCU=y | ||
63 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
64 | # CONFIG_TINY_RCU is not set | ||
65 | # CONFIG_RCU_TRACE is not set | ||
66 | CONFIG_RCU_FANOUT=32 | ||
67 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
68 | # CONFIG_TREE_RCU_TRACE is not set | ||
69 | # CONFIG_IKCONFIG is not set | ||
70 | CONFIG_LOG_BUF_SHIFT=17 | ||
71 | # CONFIG_CGROUPS is not set | ||
72 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
73 | # CONFIG_RELAY is not set | ||
74 | CONFIG_NAMESPACES=y | ||
75 | # CONFIG_UTS_NS is not set | ||
76 | # CONFIG_IPC_NS is not set | ||
77 | # CONFIG_USER_NS is not set | ||
78 | # CONFIG_PID_NS is not set | ||
79 | # CONFIG_NET_NS is not set | ||
80 | CONFIG_BLK_DEV_INITRD=y | ||
81 | CONFIG_INITRAMFS_SOURCE="" | ||
82 | CONFIG_RD_GZIP=y | ||
83 | CONFIG_RD_BZIP2=y | ||
84 | CONFIG_RD_LZMA=y | ||
85 | CONFIG_RD_LZO=y | ||
86 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
87 | CONFIG_SYSCTL=y | ||
88 | CONFIG_ANON_INODES=y | ||
89 | # CONFIG_EMBEDDED is not set | ||
90 | CONFIG_UID16=y | ||
91 | CONFIG_SYSCTL_SYSCALL=y | ||
92 | CONFIG_KALLSYMS=y | ||
93 | CONFIG_KALLSYMS_EXTRA_PASS=y | ||
94 | CONFIG_HOTPLUG=y | ||
95 | CONFIG_PRINTK=y | ||
96 | CONFIG_BUG=y | ||
97 | CONFIG_ELF_CORE=y | ||
98 | CONFIG_BASE_FULL=y | ||
99 | CONFIG_FUTEX=y | ||
100 | CONFIG_EPOLL=y | ||
101 | CONFIG_SIGNALFD=y | ||
102 | CONFIG_TIMERFD=y | ||
103 | CONFIG_EVENTFD=y | ||
104 | CONFIG_SHMEM=y | ||
105 | CONFIG_AIO=y | ||
106 | CONFIG_HAVE_PERF_EVENTS=y | ||
107 | CONFIG_PERF_USE_VMALLOC=y | ||
108 | |||
109 | # | ||
110 | # Kernel Performance Events And Counters | ||
111 | # | ||
112 | CONFIG_PERF_EVENTS=y | ||
113 | # CONFIG_PERF_COUNTERS is not set | ||
114 | CONFIG_VM_EVENT_COUNTERS=y | ||
115 | CONFIG_SLUB_DEBUG=y | ||
116 | CONFIG_COMPAT_BRK=y | ||
117 | # CONFIG_SLAB is not set | ||
118 | CONFIG_SLUB=y | ||
119 | # CONFIG_SLOB is not set | ||
120 | CONFIG_PROFILING=y | ||
121 | CONFIG_OPROFILE=m | ||
122 | CONFIG_HAVE_OPROFILE=y | ||
123 | CONFIG_KPROBES=y | ||
124 | CONFIG_KRETPROBES=y | ||
125 | CONFIG_HAVE_KPROBES=y | ||
126 | CONFIG_HAVE_KRETPROBES=y | ||
127 | CONFIG_HAVE_CLK=y | ||
128 | |||
129 | # | ||
130 | # GCOV-based kernel profiling | ||
131 | # | ||
132 | # CONFIG_GCOV_KERNEL is not set | ||
133 | # CONFIG_SLOW_WORK is not set | ||
134 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
135 | CONFIG_SLABINFO=y | ||
136 | CONFIG_RT_MUTEXES=y | ||
137 | CONFIG_BASE_SMALL=0 | ||
138 | CONFIG_MODULES=y | ||
139 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
140 | CONFIG_MODULE_UNLOAD=y | ||
141 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
142 | CONFIG_MODVERSIONS=y | ||
143 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
144 | CONFIG_BLOCK=y | ||
145 | CONFIG_LBDAF=y | ||
146 | CONFIG_BLK_DEV_BSG=y | ||
147 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
148 | |||
149 | # | ||
150 | # IO Schedulers | ||
151 | # | ||
152 | CONFIG_IOSCHED_NOOP=y | ||
153 | CONFIG_IOSCHED_DEADLINE=y | ||
154 | CONFIG_IOSCHED_CFQ=y | ||
155 | # CONFIG_DEFAULT_DEADLINE is not set | ||
156 | CONFIG_DEFAULT_CFQ=y | ||
157 | # CONFIG_DEFAULT_NOOP is not set | ||
158 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
159 | # CONFIG_INLINE_SPIN_TRYLOCK is not set | ||
160 | # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set | ||
161 | # CONFIG_INLINE_SPIN_LOCK is not set | ||
162 | # CONFIG_INLINE_SPIN_LOCK_BH is not set | ||
163 | # CONFIG_INLINE_SPIN_LOCK_IRQ is not set | ||
164 | # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set | ||
165 | # CONFIG_INLINE_SPIN_UNLOCK is not set | ||
166 | # CONFIG_INLINE_SPIN_UNLOCK_BH is not set | ||
167 | # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set | ||
168 | # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set | ||
169 | # CONFIG_INLINE_READ_TRYLOCK is not set | ||
170 | # CONFIG_INLINE_READ_LOCK is not set | ||
171 | # CONFIG_INLINE_READ_LOCK_BH is not set | ||
172 | # CONFIG_INLINE_READ_LOCK_IRQ is not set | ||
173 | # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set | ||
174 | # CONFIG_INLINE_READ_UNLOCK is not set | ||
175 | # CONFIG_INLINE_READ_UNLOCK_BH is not set | ||
176 | # CONFIG_INLINE_READ_UNLOCK_IRQ is not set | ||
177 | # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set | ||
178 | # CONFIG_INLINE_WRITE_TRYLOCK is not set | ||
179 | # CONFIG_INLINE_WRITE_LOCK is not set | ||
180 | # CONFIG_INLINE_WRITE_LOCK_BH is not set | ||
181 | # CONFIG_INLINE_WRITE_LOCK_IRQ is not set | ||
182 | # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set | ||
183 | # CONFIG_INLINE_WRITE_UNLOCK is not set | ||
184 | # CONFIG_INLINE_WRITE_UNLOCK_BH is not set | ||
185 | # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set | ||
186 | # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set | ||
187 | # CONFIG_MUTEX_SPIN_ON_OWNER is not set | ||
188 | CONFIG_FREEZER=y | ||
189 | |||
190 | # | ||
191 | # System Type | ||
192 | # | ||
193 | CONFIG_MMU=y | ||
194 | # CONFIG_ARCH_AAEC2000 is not set | ||
195 | # CONFIG_ARCH_INTEGRATOR is not set | ||
196 | # CONFIG_ARCH_REALVIEW is not set | ||
197 | # CONFIG_ARCH_VERSATILE is not set | ||
198 | # CONFIG_ARCH_VEXPRESS is not set | ||
199 | # CONFIG_ARCH_AT91 is not set | ||
200 | # CONFIG_ARCH_BCMRING is not set | ||
201 | # CONFIG_ARCH_CLPS711X is not set | ||
202 | # CONFIG_ARCH_CNS3XXX is not set | ||
203 | # CONFIG_ARCH_GEMINI is not set | ||
204 | # CONFIG_ARCH_EBSA110 is not set | ||
205 | # CONFIG_ARCH_EP93XX is not set | ||
206 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
207 | # CONFIG_ARCH_MXC is not set | ||
208 | # CONFIG_ARCH_STMP3XXX is not set | ||
209 | CONFIG_ARCH_MXS=y | ||
210 | # CONFIG_ARCH_NETX is not set | ||
211 | # CONFIG_ARCH_H720X is not set | ||
212 | # CONFIG_ARCH_IOP13XX is not set | ||
213 | # CONFIG_ARCH_IOP32X is not set | ||
214 | # CONFIG_ARCH_IOP33X is not set | ||
215 | # CONFIG_ARCH_IXP23XX is not set | ||
216 | # CONFIG_ARCH_IXP2000 is not set | ||
217 | # CONFIG_ARCH_IXP4XX is not set | ||
218 | # CONFIG_ARCH_L7200 is not set | ||
219 | # CONFIG_ARCH_DOVE is not set | ||
220 | # CONFIG_ARCH_KIRKWOOD is not set | ||
221 | # CONFIG_ARCH_LOKI is not set | ||
222 | # CONFIG_ARCH_MV78XX0 is not set | ||
223 | # CONFIG_ARCH_ORION5X is not set | ||
224 | # CONFIG_ARCH_MMP is not set | ||
225 | # CONFIG_ARCH_KS8695 is not set | ||
226 | # CONFIG_ARCH_NS9XXX is not set | ||
227 | # CONFIG_ARCH_W90X900 is not set | ||
228 | # CONFIG_ARCH_NUC93X is not set | ||
229 | # CONFIG_ARCH_PNX4008 is not set | ||
230 | # CONFIG_ARCH_PXA is not set | ||
231 | # CONFIG_ARCH_MSM is not set | ||
232 | # CONFIG_ARCH_SHMOBILE is not set | ||
233 | # CONFIG_ARCH_RPC is not set | ||
234 | # CONFIG_ARCH_SA1100 is not set | ||
235 | # CONFIG_ARCH_S3C2410 is not set | ||
236 | # CONFIG_ARCH_S3C64XX is not set | ||
237 | # CONFIG_ARCH_S5P6440 is not set | ||
238 | # CONFIG_ARCH_S5P6442 is not set | ||
239 | # CONFIG_ARCH_S5PC100 is not set | ||
240 | # CONFIG_ARCH_S5PV210 is not set | ||
241 | # CONFIG_ARCH_SHARK is not set | ||
242 | # CONFIG_ARCH_LH7A40X is not set | ||
243 | # CONFIG_ARCH_U300 is not set | ||
244 | # CONFIG_ARCH_U8500 is not set | ||
245 | # CONFIG_ARCH_NOMADIK is not set | ||
246 | # CONFIG_ARCH_DAVINCI is not set | ||
247 | # CONFIG_ARCH_OMAP is not set | ||
248 | # CONFIG_PLAT_SPEAR is not set | ||
249 | CONFIG_IRAM_ALLOC=y | ||
250 | CONFIG_DMA_ZONE_SIZE=16 | ||
251 | |||
252 | # | ||
253 | # Freescale i.MXS implementations | ||
254 | # | ||
255 | CONFIG_ARCH_MX28=y | ||
256 | # CONFIG_ARCH_MX23 is not set | ||
257 | CONFIG_MACH_MX28EVK=y | ||
258 | CONFIG_VECTORS_PHY_ADDR=0 | ||
259 | CONFIG_MXS_TIMER_WITH_MACH=y | ||
260 | # CONFIG_MEM_mDDR is not set | ||
261 | CONFIG_MXS_ICOLL=y | ||
262 | CONFIG_MXS_EARLY_CONSOLE=y | ||
263 | CONFIG_MXS_DMA_ENGINE=y | ||
264 | CONFIG_MXS_LRADC=y | ||
265 | CONFIG_MXS_PWM_CHANNELS=8 | ||
266 | |||
267 | # | ||
268 | # Freescale Application UART: | ||
269 | # | ||
270 | CONFIG_MXS_AUART_DMA_SUPPORT=y | ||
271 | CONFIG_MXS_AUART_PORTS=5 | ||
272 | CONFIG_MXS_AUART0_DEVICE_ENABLE=y | ||
273 | # CONFIG_MXS_AUART0_DMA_ENABLE is not set | ||
274 | CONFIG_MXS_AUART1_DEVICE_ENABLE=y | ||
275 | # CONFIG_MXS_AUART1_DMA_ENABLE is not set | ||
276 | CONFIG_MXS_AUART2_DEVICE_ENABLE=y | ||
277 | # CONFIG_MXS_AUART2_DMA_ENABLE is not set | ||
278 | CONFIG_MXS_AUART3_DEVICE_ENABLE=y | ||
279 | # CONFIG_MXS_AUART3_DMA_ENABLE is not set | ||
280 | CONFIG_MXS_AUART4_DEVICE_ENABLE=y | ||
281 | # CONFIG_MXS_AUART4_DMA_ENABLE is not set | ||
282 | CONFIG_MXS_RAM_FREQ_SCALING=y | ||
283 | # CONFIG_MXS_RAM_MDDR is not set | ||
284 | # CONFIG_MXS_RAM_DDR is not set | ||
285 | |||
286 | # | ||
287 | # Processor Type | ||
288 | # | ||
289 | CONFIG_CPU_ARM926T=y | ||
290 | CONFIG_CPU_32v5=y | ||
291 | CONFIG_CPU_ABRT_EV5TJ=y | ||
292 | CONFIG_CPU_PABRT_LEGACY=y | ||
293 | CONFIG_CPU_CACHE_VIVT=y | ||
294 | CONFIG_CPU_COPY_V4WB=y | ||
295 | CONFIG_CPU_TLB_V4WBI=y | ||
296 | CONFIG_CPU_CP15=y | ||
297 | CONFIG_CPU_CP15_MMU=y | ||
298 | |||
299 | # | ||
300 | # Processor Features | ||
301 | # | ||
302 | CONFIG_ARM_THUMB=y | ||
303 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
304 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
305 | # CONFIG_CPU_DCACHE_WRITETHROUGH is not set | ||
306 | # CONFIG_CPU_CACHE_ROUND_ROBIN is not set | ||
307 | CONFIG_ARM_L1_CACHE_SHIFT=5 | ||
308 | CONFIG_COMMON_CLKDEV=y | ||
309 | |||
310 | # | ||
311 | # Bus support | ||
312 | # | ||
313 | # CONFIG_PCI_SYSCALL is not set | ||
314 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
315 | # CONFIG_PCCARD is not set | ||
316 | |||
317 | # | ||
318 | # Kernel Features | ||
319 | # | ||
320 | CONFIG_TICK_ONESHOT=y | ||
321 | CONFIG_NO_HZ=y | ||
322 | CONFIG_HIGH_RES_TIMERS=y | ||
323 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
324 | CONFIG_VMSPLIT_3G=y | ||
325 | # CONFIG_VMSPLIT_2G is not set | ||
326 | # CONFIG_VMSPLIT_1G is not set | ||
327 | CONFIG_PAGE_OFFSET=0xC0000000 | ||
328 | # CONFIG_PREEMPT_NONE is not set | ||
329 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
330 | CONFIG_PREEMPT=y | ||
331 | CONFIG_HZ=100 | ||
332 | CONFIG_AEABI=y | ||
333 | CONFIG_OABI_COMPAT=y | ||
334 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | ||
335 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | ||
336 | # CONFIG_HIGHMEM is not set | ||
337 | CONFIG_SELECT_MEMORY_MODEL=y | ||
338 | CONFIG_FLATMEM_MANUAL=y | ||
339 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
340 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
341 | CONFIG_FLATMEM=y | ||
342 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
343 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
344 | CONFIG_SPLIT_PTLOCK_CPUS=999999 | ||
345 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
346 | CONFIG_ZONE_DMA_FLAG=1 | ||
347 | CONFIG_BOUNCE=y | ||
348 | CONFIG_VIRT_TO_BUS=y | ||
349 | # CONFIG_KSM is not set | ||
350 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
351 | CONFIG_ALIGNMENT_TRAP=y | ||
352 | # CONFIG_UACCESS_WITH_MEMCPY is not set | ||
353 | |||
354 | # | ||
355 | # Boot options | ||
356 | # | ||
357 | CONFIG_ZBOOT_ROM_TEXT=0 | ||
358 | CONFIG_ZBOOT_ROM_BSS=0 | ||
359 | CONFIG_CMDLINE="" | ||
360 | # CONFIG_XIP_KERNEL is not set | ||
361 | # CONFIG_KEXEC is not set | ||
362 | |||
363 | # | ||
364 | # CPU Power Management | ||
365 | # | ||
366 | CONFIG_CPU_FREQ=y | ||
367 | CONFIG_CPU_FREQ_TABLE=y | ||
368 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
369 | CONFIG_CPU_FREQ_STAT=y | ||
370 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
371 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set | ||
372 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
373 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y | ||
374 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
375 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
376 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
377 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
378 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
379 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | ||
380 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
381 | # CONFIG_CPU_IDLE is not set | ||
382 | |||
383 | # | ||
384 | # Floating point emulation | ||
385 | # | ||
386 | |||
387 | # | ||
388 | # At least one emulation must be selected | ||
389 | # | ||
390 | # CONFIG_FPE_NWFPE is not set | ||
391 | # CONFIG_FPE_FASTFPE is not set | ||
392 | # CONFIG_VFP is not set | ||
393 | |||
394 | # | ||
395 | # Userspace binary formats | ||
396 | # | ||
397 | CONFIG_BINFMT_ELF=y | ||
398 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
399 | CONFIG_HAVE_AOUT=y | ||
400 | # CONFIG_BINFMT_AOUT is not set | ||
401 | CONFIG_BINFMT_MISC=y | ||
402 | |||
403 | # | ||
404 | # Power management options | ||
405 | # | ||
406 | CONFIG_PM=y | ||
407 | # CONFIG_PM_DEBUG is not set | ||
408 | CONFIG_PM_SLEEP=y | ||
409 | CONFIG_SUSPEND_NVS=y | ||
410 | CONFIG_SUSPEND=y | ||
411 | CONFIG_SUSPEND_FREEZER=y | ||
412 | # CONFIG_APM_EMULATION is not set | ||
413 | CONFIG_PM_RUNTIME=y | ||
414 | CONFIG_PM_OPS=y | ||
415 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
416 | CONFIG_NET=y | ||
417 | |||
418 | # | ||
419 | # Networking options | ||
420 | # | ||
421 | CONFIG_PACKET=y | ||
422 | CONFIG_UNIX=y | ||
423 | CONFIG_XFRM=y | ||
424 | # CONFIG_XFRM_USER is not set | ||
425 | # CONFIG_XFRM_SUB_POLICY is not set | ||
426 | # CONFIG_XFRM_MIGRATE is not set | ||
427 | # CONFIG_XFRM_STATISTICS is not set | ||
428 | # CONFIG_NET_KEY is not set | ||
429 | CONFIG_INET=y | ||
430 | CONFIG_IP_MULTICAST=y | ||
431 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
432 | CONFIG_IP_FIB_HASH=y | ||
433 | CONFIG_IP_PNP=y | ||
434 | CONFIG_IP_PNP_DHCP=y | ||
435 | CONFIG_IP_PNP_BOOTP=y | ||
436 | # CONFIG_IP_PNP_RARP is not set | ||
437 | # CONFIG_NET_IPIP is not set | ||
438 | # CONFIG_NET_IPGRE is not set | ||
439 | # CONFIG_IP_MROUTE is not set | ||
440 | # CONFIG_ARPD is not set | ||
441 | # CONFIG_SYN_COOKIES is not set | ||
442 | # CONFIG_INET_AH is not set | ||
443 | # CONFIG_INET_ESP is not set | ||
444 | # CONFIG_INET_IPCOMP is not set | ||
445 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
446 | # CONFIG_INET_TUNNEL is not set | ||
447 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
448 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
449 | CONFIG_INET_XFRM_MODE_BEET=y | ||
450 | # CONFIG_INET_LRO is not set | ||
451 | CONFIG_INET_DIAG=y | ||
452 | CONFIG_INET_TCP_DIAG=y | ||
453 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
454 | CONFIG_TCP_CONG_CUBIC=y | ||
455 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
456 | # CONFIG_TCP_MD5SIG is not set | ||
457 | # CONFIG_IPV6 is not set | ||
458 | # CONFIG_NETLABEL is not set | ||
459 | CONFIG_NETWORK_SECMARK=y | ||
460 | # CONFIG_NETFILTER is not set | ||
461 | # CONFIG_IP_DCCP is not set | ||
462 | # CONFIG_IP_SCTP is not set | ||
463 | # CONFIG_RDS is not set | ||
464 | # CONFIG_TIPC is not set | ||
465 | # CONFIG_ATM is not set | ||
466 | # CONFIG_L2TP is not set | ||
467 | # CONFIG_BRIDGE is not set | ||
468 | # CONFIG_NET_DSA is not set | ||
469 | # CONFIG_VLAN_8021Q is not set | ||
470 | # CONFIG_DECNET is not set | ||
471 | # CONFIG_LLC2 is not set | ||
472 | # CONFIG_IPX is not set | ||
473 | # CONFIG_ATALK is not set | ||
474 | # CONFIG_X25 is not set | ||
475 | # CONFIG_LAPB is not set | ||
476 | # CONFIG_ECONET is not set | ||
477 | # CONFIG_WAN_ROUTER is not set | ||
478 | # CONFIG_PHONET is not set | ||
479 | # CONFIG_IEEE802154 is not set | ||
480 | # CONFIG_NET_SCHED is not set | ||
481 | # CONFIG_DCB is not set | ||
482 | |||
483 | # | ||
484 | # Network testing | ||
485 | # | ||
486 | # CONFIG_NET_PKTGEN is not set | ||
487 | # CONFIG_NET_TCPPROBE is not set | ||
488 | # CONFIG_HAMRADIO is not set | ||
489 | CONFIG_CAN=y | ||
490 | CONFIG_CAN_RAW=y | ||
491 | # CONFIG_CAN_BCM is not set | ||
492 | |||
493 | # | ||
494 | # CAN Device Drivers | ||
495 | # | ||
496 | # CONFIG_CAN_VCAN is not set | ||
497 | # CONFIG_CAN_DEV is not set | ||
498 | # CONFIG_CAN_DEBUG_DEVICES is not set | ||
499 | CONFIG_CAN_FLEXCAN=m | ||
500 | # CONFIG_IRDA is not set | ||
501 | # CONFIG_BT is not set | ||
502 | # CONFIG_AF_RXRPC is not set | ||
503 | CONFIG_WIRELESS=y | ||
504 | CONFIG_WIRELESS_EXT=y | ||
505 | CONFIG_WEXT_CORE=y | ||
506 | CONFIG_WEXT_PROC=y | ||
507 | CONFIG_WEXT_PRIV=y | ||
508 | # CONFIG_CFG80211 is not set | ||
509 | CONFIG_WIRELESS_EXT_SYSFS=y | ||
510 | # CONFIG_LIB80211 is not set | ||
511 | |||
512 | # | ||
513 | # CFG80211 needs to be enabled for MAC80211 | ||
514 | # | ||
515 | |||
516 | # | ||
517 | # Some wireless drivers require a rate control algorithm | ||
518 | # | ||
519 | # CONFIG_WIMAX is not set | ||
520 | CONFIG_RFKILL=y | ||
521 | CONFIG_RFKILL_INPUT=y | ||
522 | # CONFIG_NET_9P is not set | ||
523 | # CONFIG_CAIF is not set | ||
524 | |||
525 | # | ||
526 | # Device Drivers | ||
527 | # | ||
528 | |||
529 | # | ||
530 | # Generic Driver Options | ||
531 | # | ||
532 | CONFIG_UEVENT_HELPER_PATH="" | ||
533 | CONFIG_DEVTMPFS=y | ||
534 | CONFIG_DEVTMPFS_MOUNT=y | ||
535 | CONFIG_STANDALONE=y | ||
536 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
537 | CONFIG_FW_LOADER=y | ||
538 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
539 | CONFIG_EXTRA_FIRMWARE="" | ||
540 | # CONFIG_SYS_HYPERVISOR is not set | ||
541 | # CONFIG_CONNECTOR is not set | ||
542 | CONFIG_MTD=y | ||
543 | # CONFIG_MTD_DEBUG is not set | ||
544 | # CONFIG_MTD_TESTS is not set | ||
545 | CONFIG_MTD_CONCAT=y | ||
546 | CONFIG_MTD_PARTITIONS=y | ||
547 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
548 | CONFIG_MTD_CMDLINE_PARTS=y | ||
549 | # CONFIG_MTD_AFS_PARTS is not set | ||
550 | # CONFIG_MTD_AR7_PARTS is not set | ||
551 | |||
552 | # | ||
553 | # User Modules And Translation Layers | ||
554 | # | ||
555 | CONFIG_MTD_CHAR=y | ||
556 | CONFIG_MTD_BLKDEVS=y | ||
557 | CONFIG_MTD_BLOCK=y | ||
558 | # CONFIG_FTL is not set | ||
559 | # CONFIG_NFTL is not set | ||
560 | # CONFIG_INFTL is not set | ||
561 | # CONFIG_RFD_FTL is not set | ||
562 | # CONFIG_SSFDC is not set | ||
563 | # CONFIG_SM_FTL is not set | ||
564 | # CONFIG_MTD_OOPS is not set | ||
565 | |||
566 | # | ||
567 | # RAM/ROM/Flash chip drivers | ||
568 | # | ||
569 | # CONFIG_MTD_CFI is not set | ||
570 | # CONFIG_MTD_JEDECPROBE is not set | ||
571 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
572 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
573 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
574 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
575 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
576 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
577 | CONFIG_MTD_CFI_I1=y | ||
578 | CONFIG_MTD_CFI_I2=y | ||
579 | # CONFIG_MTD_CFI_I4 is not set | ||
580 | # CONFIG_MTD_CFI_I8 is not set | ||
581 | # CONFIG_MTD_RAM is not set | ||
582 | # CONFIG_MTD_ROM is not set | ||
583 | # CONFIG_MTD_ABSENT is not set | ||
584 | |||
585 | # | ||
586 | # Mapping drivers for chip access | ||
587 | # | ||
588 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
589 | # CONFIG_MTD_PLATRAM is not set | ||
590 | |||
591 | # | ||
592 | # Self-contained MTD device drivers | ||
593 | # | ||
594 | # CONFIG_MTD_DATAFLASH is not set | ||
595 | # CONFIG_MTD_MXC_DATAFLASH is not set | ||
596 | # CONFIG_MTD_MXC_M25P80 is not set | ||
597 | CONFIG_MTD_M25P80=m | ||
598 | CONFIG_M25PXX_USE_FAST_READ=y | ||
599 | # CONFIG_MTD_SST25L is not set | ||
600 | # CONFIG_MTD_SLRAM is not set | ||
601 | # CONFIG_MTD_PHRAM is not set | ||
602 | # CONFIG_MTD_MTDRAM is not set | ||
603 | # CONFIG_MTD_BLOCK2MTD is not set | ||
604 | |||
605 | # | ||
606 | # Disk-On-Chip Device Drivers | ||
607 | # | ||
608 | # CONFIG_MTD_DOC2000 is not set | ||
609 | # CONFIG_MTD_DOC2001 is not set | ||
610 | # CONFIG_MTD_DOC2001PLUS is not set | ||
611 | CONFIG_MTD_NAND_ECC=y | ||
612 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
613 | CONFIG_MTD_NAND=y | ||
614 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
615 | # CONFIG_MTD_SM_COMMON is not set | ||
616 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
617 | CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018 | ||
618 | # CONFIG_MTD_NAND_GPIO is not set | ||
619 | CONFIG_MTD_NAND_IDS=y | ||
620 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
621 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
622 | CONFIG_MTD_NAND_GPMI_NFC=y | ||
623 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
624 | # CONFIG_MTD_ALAUDA is not set | ||
625 | # CONFIG_MTD_ONENAND is not set | ||
626 | |||
627 | # | ||
628 | # LPDDR flash memory drivers | ||
629 | # | ||
630 | # CONFIG_MTD_LPDDR is not set | ||
631 | |||
632 | # | ||
633 | # UBI - Unsorted block images | ||
634 | # | ||
635 | CONFIG_MTD_UBI=y | ||
636 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
637 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
638 | # CONFIG_MTD_UBI_GLUEBI is not set | ||
639 | |||
640 | # | ||
641 | # UBI debugging options | ||
642 | # | ||
643 | # CONFIG_MTD_UBI_DEBUG is not set | ||
644 | CONFIG_MTD_UBI_BLOCK=y | ||
645 | # CONFIG_PARPORT is not set | ||
646 | CONFIG_BLK_DEV=y | ||
647 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
648 | CONFIG_BLK_DEV_LOOP=y | ||
649 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
650 | |||
651 | # | ||
652 | # DRBD disabled because PROC_FS, INET or CONNECTOR not selected | ||
653 | # | ||
654 | # CONFIG_BLK_DEV_NBD is not set | ||
655 | # CONFIG_BLK_DEV_UB is not set | ||
656 | CONFIG_BLK_DEV_RAM=y | ||
657 | CONFIG_BLK_DEV_RAM_COUNT=4 | ||
658 | CONFIG_BLK_DEV_RAM_SIZE=16384 | ||
659 | # CONFIG_BLK_DEV_XIP is not set | ||
660 | # CONFIG_CDROM_PKTCDVD is not set | ||
661 | # CONFIG_ATA_OVER_ETH is not set | ||
662 | # CONFIG_MG_DISK is not set | ||
663 | CONFIG_MISC_DEVICES=y | ||
664 | # CONFIG_AD525X_DPOT is not set | ||
665 | # CONFIG_ICS932S401 is not set | ||
666 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
667 | # CONFIG_ISL29003 is not set | ||
668 | # CONFIG_SENSORS_TSL2550 is not set | ||
669 | # CONFIG_DS1682 is not set | ||
670 | # CONFIG_TI_DAC7512 is not set | ||
671 | CONFIG_MXS_PERSISTENT=y | ||
672 | CONFIG_MXS_PERFMON=y | ||
673 | # CONFIG_C2PORT is not set | ||
674 | |||
675 | # | ||
676 | # EEPROM support | ||
677 | # | ||
678 | # CONFIG_EEPROM_AT24 is not set | ||
679 | # CONFIG_EEPROM_AT25 is not set | ||
680 | # CONFIG_EEPROM_LEGACY is not set | ||
681 | # CONFIG_EEPROM_MAX6875 is not set | ||
682 | # CONFIG_EEPROM_93CX6 is not set | ||
683 | # CONFIG_IWMC3200TOP is not set | ||
684 | CONFIG_HAVE_IDE=y | ||
685 | # CONFIG_IDE is not set | ||
686 | |||
687 | # | ||
688 | # SCSI device support | ||
689 | # | ||
690 | CONFIG_SCSI_MOD=y | ||
691 | # CONFIG_RAID_ATTRS is not set | ||
692 | CONFIG_SCSI=y | ||
693 | CONFIG_SCSI_DMA=y | ||
694 | # CONFIG_SCSI_TGT is not set | ||
695 | CONFIG_SCSI_NETLINK=y | ||
696 | CONFIG_SCSI_PROC_FS=y | ||
697 | |||
698 | # | ||
699 | # SCSI support type (disk, tape, CD-ROM) | ||
700 | # | ||
701 | CONFIG_BLK_DEV_SD=y | ||
702 | # CONFIG_CHR_DEV_ST is not set | ||
703 | # CONFIG_CHR_DEV_OSST is not set | ||
704 | # CONFIG_BLK_DEV_SR is not set | ||
705 | # CONFIG_CHR_DEV_SG is not set | ||
706 | # CONFIG_CHR_DEV_SCH is not set | ||
707 | CONFIG_SCSI_MULTI_LUN=y | ||
708 | # CONFIG_SCSI_CONSTANTS is not set | ||
709 | # CONFIG_SCSI_LOGGING is not set | ||
710 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
711 | CONFIG_SCSI_WAIT_SCAN=m | ||
712 | |||
713 | # | ||
714 | # SCSI Transports | ||
715 | # | ||
716 | CONFIG_SCSI_SPI_ATTRS=m | ||
717 | CONFIG_SCSI_FC_ATTRS=m | ||
718 | CONFIG_SCSI_ISCSI_ATTRS=m | ||
719 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
720 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
721 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
722 | CONFIG_SCSI_LOWLEVEL=y | ||
723 | # CONFIG_ISCSI_TCP is not set | ||
724 | # CONFIG_LIBFC is not set | ||
725 | # CONFIG_LIBFCOE is not set | ||
726 | # CONFIG_SCSI_DEBUG is not set | ||
727 | # CONFIG_SCSI_DH is not set | ||
728 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
729 | # CONFIG_ATA is not set | ||
730 | # CONFIG_MD is not set | ||
731 | CONFIG_NETDEVICES=y | ||
732 | # CONFIG_DUMMY is not set | ||
733 | # CONFIG_BONDING is not set | ||
734 | # CONFIG_MACVLAN is not set | ||
735 | # CONFIG_EQUALIZER is not set | ||
736 | # CONFIG_TUN is not set | ||
737 | # CONFIG_VETH is not set | ||
738 | CONFIG_PHYLIB=y | ||
739 | |||
740 | # | ||
741 | # MII PHY device drivers | ||
742 | # | ||
743 | # CONFIG_MARVELL_PHY is not set | ||
744 | # CONFIG_DAVICOM_PHY is not set | ||
745 | # CONFIG_QSEMI_PHY is not set | ||
746 | # CONFIG_LXT_PHY is not set | ||
747 | # CONFIG_CICADA_PHY is not set | ||
748 | # CONFIG_VITESSE_PHY is not set | ||
749 | # CONFIG_SMSC_PHY is not set | ||
750 | # CONFIG_BROADCOM_PHY is not set | ||
751 | # CONFIG_ICPLUS_PHY is not set | ||
752 | # CONFIG_REALTEK_PHY is not set | ||
753 | # CONFIG_NATIONAL_PHY is not set | ||
754 | # CONFIG_STE10XP is not set | ||
755 | # CONFIG_LSI_ET1011C_PHY is not set | ||
756 | # CONFIG_MICREL_PHY is not set | ||
757 | # CONFIG_FIXED_PHY is not set | ||
758 | # CONFIG_MDIO_BITBANG is not set | ||
759 | CONFIG_NET_ETHERNET=y | ||
760 | CONFIG_MII=y | ||
761 | # CONFIG_AX88796 is not set | ||
762 | # CONFIG_SMC91X is not set | ||
763 | # CONFIG_DM9000 is not set | ||
764 | # CONFIG_ENC28J60 is not set | ||
765 | # CONFIG_ETHOC is not set | ||
766 | # CONFIG_SMC911X is not set | ||
767 | # CONFIG_SMSC911X is not set | ||
768 | # CONFIG_DNET is not set | ||
769 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
770 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
771 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
772 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
773 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
774 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
775 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
776 | # CONFIG_B44 is not set | ||
777 | # CONFIG_KS8842 is not set | ||
778 | # CONFIG_KS8851 is not set | ||
779 | # CONFIG_KS8851_MLL is not set | ||
780 | CONFIG_FEC=y | ||
781 | # CONFIG_FEC_NAPI is not set | ||
782 | # CONFIG_FEC_1588 is not set | ||
783 | # CONFIG_FEC2 is not set | ||
784 | # CONFIG_NETDEV_1000 is not set | ||
785 | # CONFIG_NETDEV_10000 is not set | ||
786 | CONFIG_WLAN=y | ||
787 | # CONFIG_USB_ZD1201 is not set | ||
788 | # CONFIG_HOSTAP is not set | ||
789 | |||
790 | # | ||
791 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
792 | # | ||
793 | |||
794 | # | ||
795 | # USB Network Adapters | ||
796 | # | ||
797 | # CONFIG_USB_CATC is not set | ||
798 | # CONFIG_USB_KAWETH is not set | ||
799 | # CONFIG_USB_PEGASUS is not set | ||
800 | # CONFIG_USB_RTL8150 is not set | ||
801 | # CONFIG_USB_USBNET is not set | ||
802 | # CONFIG_USB_HSO is not set | ||
803 | # CONFIG_USB_IPHETH is not set | ||
804 | # CONFIG_WAN is not set | ||
805 | # CONFIG_PPP is not set | ||
806 | # CONFIG_SLIP is not set | ||
807 | # CONFIG_NETCONSOLE is not set | ||
808 | # CONFIG_NETPOLL is not set | ||
809 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
810 | # CONFIG_ISDN is not set | ||
811 | # CONFIG_PHONE is not set | ||
812 | |||
813 | # | ||
814 | # Input device support | ||
815 | # | ||
816 | CONFIG_INPUT=y | ||
817 | CONFIG_INPUT_FF_MEMLESS=y | ||
818 | # CONFIG_INPUT_POLLDEV is not set | ||
819 | # CONFIG_INPUT_SPARSEKMAP is not set | ||
820 | |||
821 | # | ||
822 | # Userland interfaces | ||
823 | # | ||
824 | CONFIG_INPUT_MOUSEDEV=y | ||
825 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
826 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
827 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
828 | CONFIG_INPUT_JOYDEV=m | ||
829 | CONFIG_INPUT_EVDEV=y | ||
830 | # CONFIG_INPUT_EVBUG is not set | ||
831 | |||
832 | # | ||
833 | # Input Device Drivers | ||
834 | # | ||
835 | CONFIG_INPUT_KEYBOARD=y | ||
836 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
837 | CONFIG_KEYBOARD_ATKBD=y | ||
838 | # CONFIG_KEYBOARD_QT2160 is not set | ||
839 | # CONFIG_KEYBOARD_LKKBD is not set | ||
840 | # CONFIG_KEYBOARD_GPIO is not set | ||
841 | # CONFIG_KEYBOARD_TCA6416 is not set | ||
842 | # CONFIG_KEYBOARD_MATRIX is not set | ||
843 | # CONFIG_KEYBOARD_LM8323 is not set | ||
844 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
845 | # CONFIG_KEYBOARD_NEWTON is not set | ||
846 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
847 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
848 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
849 | # CONFIG_KEYBOARD_XTKBD is not set | ||
850 | CONFIG_KEYBOARD_MXS=y | ||
851 | # CONFIG_KEYBOARD_MPR121 is not set | ||
852 | CONFIG_INPUT_MOUSE=y | ||
853 | CONFIG_MOUSE_PS2=y | ||
854 | CONFIG_MOUSE_PS2_ALPS=y | ||
855 | CONFIG_MOUSE_PS2_LOGIPS2PP=y | ||
856 | CONFIG_MOUSE_PS2_SYNAPTICS=y | ||
857 | CONFIG_MOUSE_PS2_TRACKPOINT=y | ||
858 | # CONFIG_MOUSE_PS2_ELANTECH is not set | ||
859 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
860 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | ||
861 | CONFIG_MOUSE_SERIAL=m | ||
862 | # CONFIG_MOUSE_APPLETOUCH is not set | ||
863 | # CONFIG_MOUSE_BCM5974 is not set | ||
864 | CONFIG_MOUSE_VSXXXAA=m | ||
865 | # CONFIG_MOUSE_GPIO is not set | ||
866 | # CONFIG_MOUSE_SYNAPTICS_I2C is not set | ||
867 | CONFIG_INPUT_JOYSTICK=y | ||
868 | # CONFIG_JOYSTICK_ANALOG is not set | ||
869 | # CONFIG_JOYSTICK_A3D is not set | ||
870 | # CONFIG_JOYSTICK_ADI is not set | ||
871 | # CONFIG_JOYSTICK_COBRA is not set | ||
872 | # CONFIG_JOYSTICK_GF2K is not set | ||
873 | # CONFIG_JOYSTICK_GRIP is not set | ||
874 | # CONFIG_JOYSTICK_GRIP_MP is not set | ||
875 | # CONFIG_JOYSTICK_GUILLEMOT is not set | ||
876 | # CONFIG_JOYSTICK_INTERACT is not set | ||
877 | # CONFIG_JOYSTICK_SIDEWINDER is not set | ||
878 | # CONFIG_JOYSTICK_TMDC is not set | ||
879 | # CONFIG_JOYSTICK_IFORCE is not set | ||
880 | # CONFIG_JOYSTICK_WARRIOR is not set | ||
881 | # CONFIG_JOYSTICK_MAGELLAN is not set | ||
882 | # CONFIG_JOYSTICK_SPACEORB is not set | ||
883 | # CONFIG_JOYSTICK_SPACEBALL is not set | ||
884 | # CONFIG_JOYSTICK_STINGER is not set | ||
885 | # CONFIG_JOYSTICK_TWIDJOY is not set | ||
886 | # CONFIG_JOYSTICK_ZHENHUA is not set | ||
887 | # CONFIG_JOYSTICK_JOYDUMP is not set | ||
888 | # CONFIG_JOYSTICK_XPAD is not set | ||
889 | # CONFIG_INPUT_TABLET is not set | ||
890 | CONFIG_INPUT_TOUCHSCREEN=y | ||
891 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
892 | # CONFIG_TOUCHSCREEN_AD7877 is not set | ||
893 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set | ||
894 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set | ||
895 | # CONFIG_TOUCHSCREEN_AD7879 is not set | ||
896 | # CONFIG_TOUCHSCREEN_DYNAPRO is not set | ||
897 | # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set | ||
898 | # CONFIG_TOUCHSCREEN_EETI is not set | ||
899 | # CONFIG_TOUCHSCREEN_EGALAX is not set | ||
900 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
901 | CONFIG_TOUCHSCREEN_GUNZE=m | ||
902 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
903 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
904 | # CONFIG_TOUCHSCREEN_MCS5000 is not set | ||
905 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
906 | # CONFIG_TOUCHSCREEN_INEXIO is not set | ||
907 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
908 | CONFIG_TOUCHSCREEN_MXS=y | ||
909 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
910 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
911 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
912 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
913 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | ||
914 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
915 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
916 | # CONFIG_TOUCHSCREEN_TPS6507X is not set | ||
917 | # CONFIG_TOUCHSCREEN_P1003 is not set | ||
918 | # CONFIG_TOUCHSCREEN_MAX11801 is not set | ||
919 | CONFIG_INPUT_MISC=y | ||
920 | # CONFIG_INPUT_AD714X is not set | ||
921 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
922 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
923 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
924 | # CONFIG_INPUT_POWERMATE is not set | ||
925 | # CONFIG_INPUT_YEALINK is not set | ||
926 | # CONFIG_INPUT_CM109 is not set | ||
927 | CONFIG_INPUT_UINPUT=m | ||
928 | # CONFIG_INPUT_PCF8574 is not set | ||
929 | # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set | ||
930 | # CONFIG_INPUT_ISL29023 is not set | ||
931 | |||
932 | # | ||
933 | # Hardware I/O ports | ||
934 | # | ||
935 | CONFIG_SERIO=y | ||
936 | CONFIG_SERIO_SERPORT=y | ||
937 | CONFIG_SERIO_LIBPS2=y | ||
938 | # CONFIG_SERIO_RAW is not set | ||
939 | # CONFIG_SERIO_ALTERA_PS2 is not set | ||
940 | # CONFIG_GAMEPORT is not set | ||
941 | |||
942 | # | ||
943 | # Character devices | ||
944 | # | ||
945 | CONFIG_VT=y | ||
946 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
947 | CONFIG_VT_CONSOLE=y | ||
948 | CONFIG_HW_CONSOLE=y | ||
949 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
950 | CONFIG_DEVKMEM=y | ||
951 | CONFIG_SERIAL_NONSTANDARD=y | ||
952 | # CONFIG_N_HDLC is not set | ||
953 | # CONFIG_N_GSM is not set | ||
954 | # CONFIG_RISCOM8 is not set | ||
955 | # CONFIG_SPECIALIX is not set | ||
956 | CONFIG_STALDRV=y | ||
957 | CONFIG_MXS_VIIM=y | ||
958 | |||
959 | # | ||
960 | # Serial drivers | ||
961 | # | ||
962 | # CONFIG_SERIAL_8250 is not set | ||
963 | |||
964 | # | ||
965 | # Non-8250 serial port support | ||
966 | # | ||
967 | CONFIG_SERIAL_MXS_DUART=y | ||
968 | CONFIG_SERIAL_MXS_AUART=y | ||
969 | # CONFIG_SERIAL_MXS_AUART_CONSOLE is not set | ||
970 | CONFIG_SERIAL_MXS_DUART_CONSOLE=y | ||
971 | # CONFIG_SERIAL_MAX3100 is not set | ||
972 | CONFIG_SERIAL_CORE=y | ||
973 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
974 | # CONFIG_SERIAL_TIMBERDALE is not set | ||
975 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set | ||
976 | # CONFIG_SERIAL_ALTERA_UART is not set | ||
977 | CONFIG_UNIX98_PTYS=y | ||
978 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
979 | CONFIG_LEGACY_PTYS=y | ||
980 | CONFIG_LEGACY_PTY_COUNT=256 | ||
981 | # CONFIG_FSL_OTP is not set | ||
982 | CONFIG_IPMI_HANDLER=m | ||
983 | # CONFIG_IPMI_PANIC_EVENT is not set | ||
984 | CONFIG_IPMI_DEVICE_INTERFACE=m | ||
985 | CONFIG_IPMI_SI=m | ||
986 | CONFIG_IPMI_WATCHDOG=m | ||
987 | CONFIG_IPMI_POWEROFF=m | ||
988 | CONFIG_HW_RANDOM=m | ||
989 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
990 | # CONFIG_R3964 is not set | ||
991 | CONFIG_RAW_DRIVER=y | ||
992 | CONFIG_MAX_RAW_DEVS=8192 | ||
993 | # CONFIG_TCG_TPM is not set | ||
994 | # CONFIG_RAMOOPS is not set | ||
995 | CONFIG_I2C=y | ||
996 | CONFIG_I2C_BOARDINFO=y | ||
997 | CONFIG_I2C_COMPAT=y | ||
998 | # CONFIG_I2C_CHARDEV is not set | ||
999 | CONFIG_I2C_HELPER_AUTO=y | ||
1000 | |||
1001 | # | ||
1002 | # I2C Hardware Bus support | ||
1003 | # | ||
1004 | |||
1005 | # | ||
1006 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1007 | # | ||
1008 | # CONFIG_I2C_DESIGNWARE is not set | ||
1009 | # CONFIG_I2C_GPIO is not set | ||
1010 | CONFIG_I2C_MXS=y | ||
1011 | CONFIG_I2C_MXS_SELECT0=y | ||
1012 | # CONFIG_I2C_MXS_SELECT0_PIOQUEUE_MODE is not set | ||
1013 | # CONFIG_I2C_MXS_SELECT1 is not set | ||
1014 | # CONFIG_I2C_OCORES is not set | ||
1015 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
1016 | # CONFIG_I2C_SIMTEC is not set | ||
1017 | # CONFIG_I2C_XILINX is not set | ||
1018 | |||
1019 | # | ||
1020 | # External I2C/SMBus adapter drivers | ||
1021 | # | ||
1022 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1023 | # CONFIG_I2C_TAOS_EVM is not set | ||
1024 | # CONFIG_I2C_TINY_USB is not set | ||
1025 | |||
1026 | # | ||
1027 | # Other I2C/SMBus bus drivers | ||
1028 | # | ||
1029 | # CONFIG_I2C_STUB is not set | ||
1030 | # CONFIG_I2C_DEBUG_CORE is not set | ||
1031 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
1032 | # CONFIG_I2C_DEBUG_BUS is not set | ||
1033 | CONFIG_SPI=y | ||
1034 | CONFIG_SPI_MASTER=y | ||
1035 | |||
1036 | # | ||
1037 | # SPI Master Controller Drivers | ||
1038 | # | ||
1039 | # CONFIG_SPI_BITBANG is not set | ||
1040 | # CONFIG_SPI_GPIO is not set | ||
1041 | # CONFIG_SPI_XILINX is not set | ||
1042 | CONFIG_SPI_MXS=y | ||
1043 | # CONFIG_SPI_DESIGNWARE is not set | ||
1044 | |||
1045 | # | ||
1046 | # SPI Protocol Masters | ||
1047 | # | ||
1048 | # CONFIG_SPI_SPIDEV is not set | ||
1049 | # CONFIG_SPI_TLE62X0 is not set | ||
1050 | |||
1051 | # | ||
1052 | # PPS support | ||
1053 | # | ||
1054 | # CONFIG_PPS is not set | ||
1055 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1056 | CONFIG_GPIOLIB=y | ||
1057 | # CONFIG_GPIO_SYSFS is not set | ||
1058 | |||
1059 | # | ||
1060 | # Memory mapped GPIO expanders: | ||
1061 | # | ||
1062 | # CONFIG_GPIO_IT8761E is not set | ||
1063 | |||
1064 | # | ||
1065 | # I2C GPIO expanders: | ||
1066 | # | ||
1067 | # CONFIG_GPIO_MAX7300 is not set | ||
1068 | # CONFIG_GPIO_MAX732X is not set | ||
1069 | # CONFIG_GPIO_PCA953X is not set | ||
1070 | # CONFIG_GPIO_PCF857X is not set | ||
1071 | # CONFIG_GPIO_ADP5588 is not set | ||
1072 | |||
1073 | # | ||
1074 | # PCI GPIO expanders: | ||
1075 | # | ||
1076 | |||
1077 | # | ||
1078 | # SPI GPIO expanders: | ||
1079 | # | ||
1080 | # CONFIG_GPIO_MAX7301 is not set | ||
1081 | # CONFIG_GPIO_MCP23S08 is not set | ||
1082 | # CONFIG_GPIO_MC33880 is not set | ||
1083 | |||
1084 | # | ||
1085 | # AC97 GPIO expanders: | ||
1086 | # | ||
1087 | |||
1088 | # | ||
1089 | # MODULbus GPIO expanders: | ||
1090 | # | ||
1091 | # CONFIG_W1 is not set | ||
1092 | CONFIG_POWER_SUPPLY=y | ||
1093 | # CONFIG_POWER_SUPPLY_DEBUG is not set | ||
1094 | # CONFIG_PDA_POWER is not set | ||
1095 | # CONFIG_TEST_POWER is not set | ||
1096 | # CONFIG_BATTERY_DS2760 is not set | ||
1097 | # CONFIG_BATTERY_DS2782 is not set | ||
1098 | # CONFIG_BATTERY_BQ27x00 is not set | ||
1099 | # CONFIG_BATTERY_MAX17040 is not set | ||
1100 | CONFIG_BATTERY_MXS=y | ||
1101 | # CONFIG_MXS_VBUS_CURRENT_DRAW is not set | ||
1102 | # CONFIG_BATTERY_DS2438 is not set | ||
1103 | # CONFIG_HWMON is not set | ||
1104 | # CONFIG_THERMAL is not set | ||
1105 | CONFIG_WATCHDOG=y | ||
1106 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
1107 | |||
1108 | # | ||
1109 | # Watchdog Device Drivers | ||
1110 | # | ||
1111 | # CONFIG_SOFT_WATCHDOG is not set | ||
1112 | CONFIG_MXS_WATCHDOG=y | ||
1113 | # CONFIG_MAX63XX_WATCHDOG is not set | ||
1114 | |||
1115 | # | ||
1116 | # USB-based Watchdog Cards | ||
1117 | # | ||
1118 | # CONFIG_USBPCWATCHDOG is not set | ||
1119 | CONFIG_SSB_POSSIBLE=y | ||
1120 | |||
1121 | # | ||
1122 | # Sonics Silicon Backplane | ||
1123 | # | ||
1124 | CONFIG_SSB=m | ||
1125 | CONFIG_SSB_SDIOHOST_POSSIBLE=y | ||
1126 | # CONFIG_SSB_SDIOHOST is not set | ||
1127 | # CONFIG_SSB_DEBUG is not set | ||
1128 | CONFIG_MFD_SUPPORT=y | ||
1129 | # CONFIG_MFD_CORE is not set | ||
1130 | # CONFIG_MFD_88PM860X is not set | ||
1131 | # CONFIG_MFD_SM501 is not set | ||
1132 | # CONFIG_MFD_ASIC3 is not set | ||
1133 | # CONFIG_HTC_EGPIO is not set | ||
1134 | # CONFIG_HTC_PASIC3 is not set | ||
1135 | # CONFIG_HTC_I2CPLD is not set | ||
1136 | # CONFIG_TPS65010 is not set | ||
1137 | # CONFIG_TPS6507X is not set | ||
1138 | # CONFIG_TWL4030_CORE is not set | ||
1139 | # CONFIG_MFD_TC35892 is not set | ||
1140 | # CONFIG_MFD_TMIO is not set | ||
1141 | # CONFIG_MFD_T7L66XB is not set | ||
1142 | # CONFIG_MFD_TC6387XB is not set | ||
1143 | # CONFIG_MFD_TC6393XB is not set | ||
1144 | # CONFIG_PMIC_DA903X is not set | ||
1145 | # CONFIG_PMIC_ADP5520 is not set | ||
1146 | # CONFIG_MFD_MAX8925 is not set | ||
1147 | # CONFIG_MFD_WM8400 is not set | ||
1148 | # CONFIG_MFD_WM831X is not set | ||
1149 | # CONFIG_MFD_WM8350_I2C is not set | ||
1150 | # CONFIG_MFD_WM8994 is not set | ||
1151 | # CONFIG_MFD_LTC3589_I2C is not set | ||
1152 | # CONFIG_MFD_PCF50633 is not set | ||
1153 | # CONFIG_MFD_MC13783 is not set | ||
1154 | # CONFIG_PMIC_DA9052 is not set | ||
1155 | # CONFIG_ABX500_CORE is not set | ||
1156 | # CONFIG_EZX_PCAP is not set | ||
1157 | # CONFIG_AB8500_CORE is not set | ||
1158 | # CONFIG_MFD_MAX17135 is not set | ||
1159 | CONFIG_REGULATOR=y | ||
1160 | # CONFIG_REGULATOR_DEBUG is not set | ||
1161 | # CONFIG_REGULATOR_DUMMY is not set | ||
1162 | # CONFIG_REGULATOR_FIXED_VOLTAGE is not set | ||
1163 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1164 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
1165 | # CONFIG_REGULATOR_BQ24022 is not set | ||
1166 | # CONFIG_REGULATOR_MAX1586 is not set | ||
1167 | # CONFIG_REGULATOR_MAX8649 is not set | ||
1168 | # CONFIG_REGULATOR_MAX8660 is not set | ||
1169 | # CONFIG_REGULATOR_LP3971 is not set | ||
1170 | # CONFIG_REGULATOR_TPS65023 is not set | ||
1171 | # CONFIG_REGULATOR_TPS6507X is not set | ||
1172 | CONFIG_REGULATOR_MXS=y | ||
1173 | CONFIG_MEDIA_SUPPORT=y | ||
1174 | |||
1175 | # | ||
1176 | # Multimedia core support | ||
1177 | # | ||
1178 | CONFIG_VIDEO_DEV=y | ||
1179 | CONFIG_VIDEO_V4L2_COMMON=y | ||
1180 | # CONFIG_VIDEO_ALLOW_V4L1 is not set | ||
1181 | CONFIG_VIDEO_V4L1_COMPAT=y | ||
1182 | # CONFIG_DVB_CORE is not set | ||
1183 | CONFIG_VIDEO_MEDIA=y | ||
1184 | |||
1185 | # | ||
1186 | # Multimedia drivers | ||
1187 | # | ||
1188 | CONFIG_IR_CORE=y | ||
1189 | CONFIG_VIDEO_IR=y | ||
1190 | CONFIG_RC_MAP=y | ||
1191 | CONFIG_IR_NEC_DECODER=y | ||
1192 | CONFIG_IR_RC5_DECODER=y | ||
1193 | CONFIG_IR_RC6_DECODER=y | ||
1194 | CONFIG_IR_JVC_DECODER=y | ||
1195 | CONFIG_IR_SONY_DECODER=y | ||
1196 | # CONFIG_IR_IMON is not set | ||
1197 | # CONFIG_MEDIA_ATTACH is not set | ||
1198 | CONFIG_MEDIA_TUNER=y | ||
1199 | # CONFIG_MEDIA_TUNER_CUSTOMISE is not set | ||
1200 | CONFIG_MEDIA_TUNER_SIMPLE=y | ||
1201 | CONFIG_MEDIA_TUNER_TDA8290=y | ||
1202 | CONFIG_MEDIA_TUNER_TDA9887=y | ||
1203 | CONFIG_MEDIA_TUNER_TEA5761=y | ||
1204 | CONFIG_MEDIA_TUNER_TEA5767=y | ||
1205 | CONFIG_MEDIA_TUNER_MT20XX=y | ||
1206 | CONFIG_MEDIA_TUNER_XC2028=y | ||
1207 | CONFIG_MEDIA_TUNER_XC5000=y | ||
1208 | CONFIG_MEDIA_TUNER_MC44S803=y | ||
1209 | CONFIG_VIDEO_V4L2=y | ||
1210 | CONFIG_VIDEOBUF_GEN=y | ||
1211 | CONFIG_VIDEOBUF_DMA_CONTIG=y | ||
1212 | CONFIG_VIDEO_CAPTURE_DRIVERS=y | ||
1213 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
1214 | # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set | ||
1215 | # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set | ||
1216 | CONFIG_VIDEO_IR_I2C=y | ||
1217 | |||
1218 | # | ||
1219 | # Encoders/decoders and other helper chips | ||
1220 | # | ||
1221 | |||
1222 | # | ||
1223 | # Audio decoders | ||
1224 | # | ||
1225 | # CONFIG_VIDEO_TVAUDIO is not set | ||
1226 | # CONFIG_VIDEO_TDA7432 is not set | ||
1227 | # CONFIG_VIDEO_TDA9840 is not set | ||
1228 | # CONFIG_VIDEO_TDA9875 is not set | ||
1229 | # CONFIG_VIDEO_TEA6415C is not set | ||
1230 | # CONFIG_VIDEO_TEA6420 is not set | ||
1231 | # CONFIG_VIDEO_MSP3400 is not set | ||
1232 | # CONFIG_VIDEO_CS5345 is not set | ||
1233 | # CONFIG_VIDEO_CS53L32A is not set | ||
1234 | # CONFIG_VIDEO_M52790 is not set | ||
1235 | # CONFIG_VIDEO_TLV320AIC23B is not set | ||
1236 | # CONFIG_VIDEO_WM8775 is not set | ||
1237 | # CONFIG_VIDEO_WM8739 is not set | ||
1238 | # CONFIG_VIDEO_VP27SMPX is not set | ||
1239 | |||
1240 | # | ||
1241 | # RDS decoders | ||
1242 | # | ||
1243 | # CONFIG_VIDEO_SAA6588 is not set | ||
1244 | |||
1245 | # | ||
1246 | # Video decoders | ||
1247 | # | ||
1248 | # CONFIG_VIDEO_ADV7180 is not set | ||
1249 | # CONFIG_VIDEO_BT819 is not set | ||
1250 | # CONFIG_VIDEO_BT856 is not set | ||
1251 | # CONFIG_VIDEO_BT866 is not set | ||
1252 | # CONFIG_VIDEO_KS0127 is not set | ||
1253 | # CONFIG_VIDEO_OV7670 is not set | ||
1254 | # CONFIG_VIDEO_MT9V011 is not set | ||
1255 | # CONFIG_VIDEO_TCM825X is not set | ||
1256 | # CONFIG_VIDEO_SAA7110 is not set | ||
1257 | # CONFIG_VIDEO_SAA711X is not set | ||
1258 | # CONFIG_VIDEO_SAA717X is not set | ||
1259 | # CONFIG_VIDEO_SAA7191 is not set | ||
1260 | # CONFIG_VIDEO_TVP514X is not set | ||
1261 | # CONFIG_VIDEO_TVP5150 is not set | ||
1262 | # CONFIG_VIDEO_TVP7002 is not set | ||
1263 | # CONFIG_VIDEO_VPX3220 is not set | ||
1264 | |||
1265 | # | ||
1266 | # Video and audio decoders | ||
1267 | # | ||
1268 | # CONFIG_VIDEO_CX25840 is not set | ||
1269 | |||
1270 | # | ||
1271 | # MPEG video encoders | ||
1272 | # | ||
1273 | # CONFIG_VIDEO_CX2341X is not set | ||
1274 | |||
1275 | # | ||
1276 | # Video encoders | ||
1277 | # | ||
1278 | # CONFIG_VIDEO_SAA7127 is not set | ||
1279 | # CONFIG_VIDEO_SAA7185 is not set | ||
1280 | # CONFIG_VIDEO_ADV7170 is not set | ||
1281 | # CONFIG_VIDEO_ADV7175 is not set | ||
1282 | # CONFIG_VIDEO_THS7303 is not set | ||
1283 | # CONFIG_VIDEO_ADV7343 is not set | ||
1284 | # CONFIG_VIDEO_AK881X is not set | ||
1285 | |||
1286 | # | ||
1287 | # Video improvement chips | ||
1288 | # | ||
1289 | # CONFIG_VIDEO_UPD64031A is not set | ||
1290 | # CONFIG_VIDEO_UPD64083 is not set | ||
1291 | CONFIG_VIDEO_MXS_PXP=y | ||
1292 | # CONFIG_VIDEO_SAA5246A is not set | ||
1293 | # CONFIG_VIDEO_SAA5249 is not set | ||
1294 | # CONFIG_SOC_CAMERA is not set | ||
1295 | # CONFIG_V4L_USB_DRIVERS is not set | ||
1296 | # CONFIG_V4L_MEM2MEM_DRIVERS is not set | ||
1297 | # CONFIG_RADIO_ADAPTERS is not set | ||
1298 | # CONFIG_DAB is not set | ||
1299 | |||
1300 | # | ||
1301 | # Graphics support | ||
1302 | # | ||
1303 | # CONFIG_VGASTATE is not set | ||
1304 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
1305 | CONFIG_FB=y | ||
1306 | # CONFIG_FIRMWARE_EDID is not set | ||
1307 | # CONFIG_FB_DDC is not set | ||
1308 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1309 | CONFIG_FB_CFB_FILLRECT=y | ||
1310 | CONFIG_FB_CFB_COPYAREA=y | ||
1311 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
1312 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1313 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1314 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1315 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1316 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1317 | # CONFIG_FB_SYS_FOPS is not set | ||
1318 | # CONFIG_FB_SVGALIB is not set | ||
1319 | # CONFIG_FB_MACMODES is not set | ||
1320 | # CONFIG_FB_BACKLIGHT is not set | ||
1321 | # CONFIG_FB_MODE_HELPERS is not set | ||
1322 | # CONFIG_FB_TILEBLITTING is not set | ||
1323 | |||
1324 | # | ||
1325 | # Frame buffer hardware drivers | ||
1326 | # | ||
1327 | CONFIG_FB_MXS=y | ||
1328 | CONFIG_FB_MXS_LCD_43WVF1G=y | ||
1329 | # CONFIG_FB_MXS_LCD_LMS430 is not set | ||
1330 | # CONFIG_FB_MXS_TVENC is not set | ||
1331 | # CONFIG_FB_S1D13XXX is not set | ||
1332 | # CONFIG_FB_VIRTUAL is not set | ||
1333 | # CONFIG_FB_METRONOME is not set | ||
1334 | # CONFIG_FB_MB862XX is not set | ||
1335 | # CONFIG_FB_BROADSHEET is not set | ||
1336 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1337 | # CONFIG_LCD_CLASS_DEVICE is not set | ||
1338 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
1339 | # CONFIG_BACKLIGHT_GENERIC is not set | ||
1340 | # CONFIG_BACKLIGHT_ADP8860 is not set | ||
1341 | CONFIG_BACKLIGHT_MXS=y | ||
1342 | |||
1343 | # | ||
1344 | # Display device support | ||
1345 | # | ||
1346 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1347 | |||
1348 | # | ||
1349 | # Console display driver support | ||
1350 | # | ||
1351 | # CONFIG_VGA_CONSOLE is not set | ||
1352 | CONFIG_DUMMY_CONSOLE=y | ||
1353 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
1354 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1355 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1356 | # CONFIG_FONTS is not set | ||
1357 | CONFIG_FONT_8x8=y | ||
1358 | CONFIG_FONT_8x16=y | ||
1359 | CONFIG_LOGO=y | ||
1360 | # CONFIG_LOGO_LINUX_MONO is not set | ||
1361 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
1362 | CONFIG_LOGO_LINUX_CLUT224=y | ||
1363 | CONFIG_SOUND=y | ||
1364 | # CONFIG_SOUND_OSS_CORE is not set | ||
1365 | CONFIG_SND=y | ||
1366 | CONFIG_SND_TIMER=y | ||
1367 | CONFIG_SND_PCM=y | ||
1368 | CONFIG_SND_JACK=y | ||
1369 | # CONFIG_SND_SEQUENCER is not set | ||
1370 | # CONFIG_SND_MIXER_OSS is not set | ||
1371 | # CONFIG_SND_PCM_OSS is not set | ||
1372 | # CONFIG_SND_HRTIMER is not set | ||
1373 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1374 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1375 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1376 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1377 | # CONFIG_SND_DEBUG is not set | ||
1378 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1379 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1380 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1381 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1382 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1383 | # CONFIG_SND_DRIVERS is not set | ||
1384 | # CONFIG_SND_ARM is not set | ||
1385 | CONFIG_SND_SPI=y | ||
1386 | # CONFIG_SND_USB is not set | ||
1387 | CONFIG_SND_SOC=y | ||
1388 | CONFIG_SND_MXS_SOC=y | ||
1389 | CONFIG_SND_MXS_SOC_SPDIF_DAI=y | ||
1390 | CONFIG_SND_MXS_SOC_EVK_DEVB=y | ||
1391 | CONFIG_SND_MXS_SOC_DAI=y | ||
1392 | CONFIG_SND_MXS_SOC_EVK_DEVB_SPDIF=y | ||
1393 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
1394 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
1395 | CONFIG_SND_SOC_SGTL5000=y | ||
1396 | CONFIG_SND_SOC_MXS_SPDIF=y | ||
1397 | # CONFIG_SOUND_PRIME is not set | ||
1398 | CONFIG_HID_SUPPORT=y | ||
1399 | CONFIG_HID=y | ||
1400 | # CONFIG_HIDRAW is not set | ||
1401 | |||
1402 | # | ||
1403 | # USB Input Devices | ||
1404 | # | ||
1405 | CONFIG_USB_HID=y | ||
1406 | # CONFIG_HID_PID is not set | ||
1407 | CONFIG_USB_HIDDEV=y | ||
1408 | |||
1409 | # | ||
1410 | # Special HID drivers | ||
1411 | # | ||
1412 | # CONFIG_HID_3M_PCT is not set | ||
1413 | CONFIG_HID_A4TECH=y | ||
1414 | CONFIG_HID_APPLE=y | ||
1415 | CONFIG_HID_BELKIN=y | ||
1416 | # CONFIG_HID_CANDO is not set | ||
1417 | CONFIG_HID_CHERRY=y | ||
1418 | CONFIG_HID_CHICONY=y | ||
1419 | # CONFIG_HID_PRODIKEYS is not set | ||
1420 | CONFIG_HID_CYPRESS=y | ||
1421 | CONFIG_HID_DRAGONRISE=y | ||
1422 | # CONFIG_DRAGONRISE_FF is not set | ||
1423 | # CONFIG_HID_EGALAX is not set | ||
1424 | CONFIG_HID_EZKEY=y | ||
1425 | CONFIG_HID_KYE=y | ||
1426 | CONFIG_HID_GYRATION=y | ||
1427 | # CONFIG_HID_TWINHAN is not set | ||
1428 | CONFIG_HID_KENSINGTON=y | ||
1429 | CONFIG_HID_LOGITECH=y | ||
1430 | # CONFIG_LOGITECH_FF is not set | ||
1431 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
1432 | # CONFIG_LOGIG940_FF is not set | ||
1433 | CONFIG_HID_MICROSOFT=y | ||
1434 | # CONFIG_HID_MOSART is not set | ||
1435 | CONFIG_HID_MONTEREY=y | ||
1436 | CONFIG_HID_NTRIG=y | ||
1437 | # CONFIG_HID_ORTEK is not set | ||
1438 | CONFIG_HID_PANTHERLORD=y | ||
1439 | # CONFIG_PANTHERLORD_FF is not set | ||
1440 | CONFIG_HID_PETALYNX=y | ||
1441 | # CONFIG_HID_PICOLCD is not set | ||
1442 | # CONFIG_HID_QUANTA is not set | ||
1443 | # CONFIG_HID_ROCCAT is not set | ||
1444 | # CONFIG_HID_ROCCAT_KONE is not set | ||
1445 | CONFIG_HID_SAMSUNG=y | ||
1446 | CONFIG_HID_SONY=y | ||
1447 | # CONFIG_HID_STANTUM is not set | ||
1448 | CONFIG_HID_SUNPLUS=y | ||
1449 | CONFIG_HID_GREENASIA=y | ||
1450 | # CONFIG_GREENASIA_FF is not set | ||
1451 | CONFIG_HID_SMARTJOYPLUS=y | ||
1452 | # CONFIG_SMARTJOYPLUS_FF is not set | ||
1453 | CONFIG_HID_TOPSEED=y | ||
1454 | CONFIG_HID_THRUSTMASTER=y | ||
1455 | # CONFIG_THRUSTMASTER_FF is not set | ||
1456 | CONFIG_HID_ZEROPLUS=y | ||
1457 | # CONFIG_ZEROPLUS_FF is not set | ||
1458 | # CONFIG_HID_ZYDACRON is not set | ||
1459 | CONFIG_USB_SUPPORT=y | ||
1460 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1461 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
1462 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
1463 | CONFIG_USB=y | ||
1464 | # CONFIG_USB_DEBUG is not set | ||
1465 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1466 | |||
1467 | # | ||
1468 | # Miscellaneous USB options | ||
1469 | # | ||
1470 | # CONFIG_USB_DEVICEFS is not set | ||
1471 | # CONFIG_USB_DEVICE_CLASS is not set | ||
1472 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1473 | CONFIG_USB_SUSPEND=y | ||
1474 | CONFIG_USB_OTG=y | ||
1475 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1476 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1477 | # CONFIG_USB_MON is not set | ||
1478 | # CONFIG_USB_WUSB is not set | ||
1479 | # CONFIG_USB_WUSB_CBAF is not set | ||
1480 | |||
1481 | # | ||
1482 | # USB Host Controller Drivers | ||
1483 | # | ||
1484 | # CONFIG_USB_C67X00_HCD is not set | ||
1485 | CONFIG_USB_EHCI_HCD=y | ||
1486 | CONFIG_USB_EHCI_ARC=y | ||
1487 | CONFIG_USB_EHCI_ARC_H1=y | ||
1488 | CONFIG_USB_EHCI_ARC_OTG=y | ||
1489 | # CONFIG_USB_STATIC_IRAM is not set | ||
1490 | # CONFIG_USB_EHCI_FSL_MC13783 is not set | ||
1491 | # CONFIG_USB_EHCI_FSL_1301 is not set | ||
1492 | # CONFIG_USB_EHCI_FSL_1504 is not set | ||
1493 | CONFIG_USB_EHCI_FSL_UTMI=y | ||
1494 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
1495 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
1496 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1497 | # CONFIG_USB_ISP116X_HCD is not set | ||
1498 | # CONFIG_USB_ISP1760_HCD is not set | ||
1499 | # CONFIG_USB_ISP1362_HCD is not set | ||
1500 | # CONFIG_USB_SL811_HCD is not set | ||
1501 | # CONFIG_USB_R8A66597_HCD is not set | ||
1502 | # CONFIG_USB_HWA_HCD is not set | ||
1503 | # CONFIG_USB_MUSB_HDRC is not set | ||
1504 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
1505 | |||
1506 | # | ||
1507 | # USB Device Class drivers | ||
1508 | # | ||
1509 | # CONFIG_USB_ACM is not set | ||
1510 | # CONFIG_USB_PRINTER is not set | ||
1511 | # CONFIG_USB_WDM is not set | ||
1512 | # CONFIG_USB_TMC is not set | ||
1513 | |||
1514 | # | ||
1515 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1516 | # | ||
1517 | |||
1518 | # | ||
1519 | # also be needed; see USB_STORAGE Help for more info | ||
1520 | # | ||
1521 | CONFIG_USB_STORAGE=y | ||
1522 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1523 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1524 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1525 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1526 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1527 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1528 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1529 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1530 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1531 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1532 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1533 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1534 | # CONFIG_USB_LIBUSUAL is not set | ||
1535 | |||
1536 | # | ||
1537 | # USB Imaging devices | ||
1538 | # | ||
1539 | # CONFIG_USB_MDC800 is not set | ||
1540 | # CONFIG_USB_MICROTEK is not set | ||
1541 | |||
1542 | # | ||
1543 | # USB port drivers | ||
1544 | # | ||
1545 | # CONFIG_USB_SERIAL is not set | ||
1546 | |||
1547 | # | ||
1548 | # USB Miscellaneous drivers | ||
1549 | # | ||
1550 | # CONFIG_USB_EMI62 is not set | ||
1551 | # CONFIG_USB_EMI26 is not set | ||
1552 | # CONFIG_USB_ADUTUX is not set | ||
1553 | # CONFIG_USB_SEVSEG is not set | ||
1554 | # CONFIG_USB_RIO500 is not set | ||
1555 | # CONFIG_USB_LEGOTOWER is not set | ||
1556 | # CONFIG_USB_LCD is not set | ||
1557 | # CONFIG_USB_LED is not set | ||
1558 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1559 | # CONFIG_USB_CYTHERM is not set | ||
1560 | # CONFIG_USB_IDMOUSE is not set | ||
1561 | # CONFIG_USB_FTDI_ELAN is not set | ||
1562 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1563 | # CONFIG_USB_SISUSBVGA is not set | ||
1564 | # CONFIG_USB_LD is not set | ||
1565 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1566 | # CONFIG_USB_IOWARRIOR is not set | ||
1567 | # CONFIG_USB_TEST is not set | ||
1568 | # CONFIG_USB_ISIGHTFW is not set | ||
1569 | CONFIG_USB_GADGET=y | ||
1570 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1571 | # CONFIG_USB_GADGET_DEBUG_FS is not set | ||
1572 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
1573 | CONFIG_USB_GADGET_SELECTED=y | ||
1574 | # CONFIG_USB_GADGET_AT91 is not set | ||
1575 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1576 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1577 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1578 | # CONFIG_USB_GADGET_OMAP is not set | ||
1579 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1580 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1581 | # CONFIG_USB_GADGET_PXA27X is not set | ||
1582 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | ||
1583 | # CONFIG_USB_GADGET_IMX is not set | ||
1584 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1585 | # CONFIG_USB_GADGET_M66592 is not set | ||
1586 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1587 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1588 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1589 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1590 | # CONFIG_USB_GADGET_GOKU is not set | ||
1591 | CONFIG_USB_GADGET_ARC=y | ||
1592 | CONFIG_USB_ARC=y | ||
1593 | # CONFIG_USB_GADGET_LANGWELL is not set | ||
1594 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1595 | CONFIG_USB_GADGET_DUALSPEED=y | ||
1596 | # CONFIG_USB_ZERO is not set | ||
1597 | # CONFIG_USB_AUDIO is not set | ||
1598 | CONFIG_USB_ETH=m | ||
1599 | CONFIG_USB_ETH_RNDIS=y | ||
1600 | # CONFIG_USB_ETH_EEM is not set | ||
1601 | # CONFIG_USB_GADGETFS is not set | ||
1602 | # CONFIG_USB_FUNCTIONFS is not set | ||
1603 | CONFIG_USB_FILE_STORAGE=m | ||
1604 | # CONFIG_FSL_UTP is not set | ||
1605 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1606 | # CONFIG_USB_MASS_STORAGE is not set | ||
1607 | CONFIG_USB_G_SERIAL=m | ||
1608 | # CONFIG_USB_MIDI_GADGET is not set | ||
1609 | # CONFIG_USB_G_PRINTER is not set | ||
1610 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
1611 | # CONFIG_USB_G_NOKIA is not set | ||
1612 | # CONFIG_USB_G_MULTI is not set | ||
1613 | # CONFIG_USB_G_HID is not set | ||
1614 | # CONFIG_USB_G_WEBCAM is not set | ||
1615 | |||
1616 | # | ||
1617 | # OTG and related infrastructure | ||
1618 | # | ||
1619 | CONFIG_USB_OTG_UTILS=y | ||
1620 | # CONFIG_USB_GPIO_VBUS is not set | ||
1621 | # CONFIG_USB_ULPI is not set | ||
1622 | # CONFIG_NOP_USB_XCEIV is not set | ||
1623 | CONFIG_MXC_OTG=y | ||
1624 | CONFIG_MMC=y | ||
1625 | # CONFIG_MMC_DEBUG is not set | ||
1626 | CONFIG_MMC_UNSAFE_RESUME=y | ||
1627 | |||
1628 | # | ||
1629 | # MMC/SD/SDIO Card Drivers | ||
1630 | # | ||
1631 | CONFIG_MMC_BLOCK=y | ||
1632 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
1633 | # CONFIG_SDIO_UART is not set | ||
1634 | # CONFIG_MMC_TEST is not set | ||
1635 | |||
1636 | # | ||
1637 | # MMC/SD/SDIO Host Controller Drivers | ||
1638 | # | ||
1639 | # CONFIG_MMC_SDHCI is not set | ||
1640 | # CONFIG_MMC_SPI is not set | ||
1641 | # CONFIG_MMC_IMX_ESDHCI_PIO_MODE is not set | ||
1642 | CONFIG_MMC_MXS=y | ||
1643 | # CONFIG_MEMSTICK is not set | ||
1644 | CONFIG_NEW_LEDS=y | ||
1645 | CONFIG_LEDS_CLASS=y | ||
1646 | |||
1647 | # | ||
1648 | # LED drivers | ||
1649 | # | ||
1650 | CONFIG_LEDS_MXS=y | ||
1651 | # CONFIG_LEDS_PCA9532 is not set | ||
1652 | # CONFIG_LEDS_GPIO is not set | ||
1653 | # CONFIG_LEDS_LP3944 is not set | ||
1654 | # CONFIG_LEDS_PCA955X is not set | ||
1655 | # CONFIG_LEDS_DAC124S085 is not set | ||
1656 | # CONFIG_LEDS_REGULATOR is not set | ||
1657 | # CONFIG_LEDS_BD2802 is not set | ||
1658 | # CONFIG_LEDS_LT3593 is not set | ||
1659 | # CONFIG_LEDS_TRIGGERS is not set | ||
1660 | # CONFIG_ACCESSIBILITY is not set | ||
1661 | CONFIG_RTC_LIB=y | ||
1662 | CONFIG_RTC_CLASS=y | ||
1663 | CONFIG_RTC_HCTOSYS=y | ||
1664 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1665 | # CONFIG_RTC_DEBUG is not set | ||
1666 | |||
1667 | # | ||
1668 | # RTC interfaces | ||
1669 | # | ||
1670 | CONFIG_RTC_INTF_SYSFS=y | ||
1671 | CONFIG_RTC_INTF_PROC=y | ||
1672 | CONFIG_RTC_INTF_DEV=y | ||
1673 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
1674 | # CONFIG_RTC_DRV_TEST is not set | ||
1675 | |||
1676 | # | ||
1677 | # I2C RTC drivers | ||
1678 | # | ||
1679 | # CONFIG_RTC_DRV_DS1307 is not set | ||
1680 | # CONFIG_RTC_DRV_DS1374 is not set | ||
1681 | # CONFIG_RTC_DRV_DS1672 is not set | ||
1682 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
1683 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
1684 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
1685 | # CONFIG_RTC_DRV_X1205 is not set | ||
1686 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
1687 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
1688 | # CONFIG_RTC_DRV_M41T80 is not set | ||
1689 | # CONFIG_RTC_DRV_BQ32K is not set | ||
1690 | # CONFIG_RTC_DRV_S35390A is not set | ||
1691 | # CONFIG_RTC_DRV_FM3130 is not set | ||
1692 | # CONFIG_RTC_DRV_RX8581 is not set | ||
1693 | # CONFIG_RTC_DRV_RX8025 is not set | ||
1694 | |||
1695 | # | ||
1696 | # SPI RTC drivers | ||
1697 | # | ||
1698 | # CONFIG_RTC_DRV_M41T94 is not set | ||
1699 | # CONFIG_RTC_DRV_DS1305 is not set | ||
1700 | # CONFIG_RTC_DRV_DS1390 is not set | ||
1701 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
1702 | # CONFIG_RTC_DRV_R9701 is not set | ||
1703 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
1704 | # CONFIG_RTC_DRV_DS3234 is not set | ||
1705 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
1706 | |||
1707 | # | ||
1708 | # Platform RTC drivers | ||
1709 | # | ||
1710 | # CONFIG_RTC_DRV_CMOS is not set | ||
1711 | # CONFIG_RTC_DRV_DS1286 is not set | ||
1712 | # CONFIG_RTC_DRV_DS1511 is not set | ||
1713 | # CONFIG_RTC_DRV_DS1553 is not set | ||
1714 | # CONFIG_RTC_DRV_DS1742 is not set | ||
1715 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
1716 | # CONFIG_RTC_DRV_M48T86 is not set | ||
1717 | # CONFIG_RTC_DRV_M48T35 is not set | ||
1718 | # CONFIG_RTC_DRV_M48T59 is not set | ||
1719 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
1720 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
1721 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
1722 | # CONFIG_RTC_DRV_V3020 is not set | ||
1723 | |||
1724 | # | ||
1725 | # on-CPU RTC drivers | ||
1726 | # | ||
1727 | CONFIG_RTC_DRV_MXS=y | ||
1728 | CONFIG_DMADEVICES=y | ||
1729 | # CONFIG_DMADEVICES_DEBUG is not set | ||
1730 | |||
1731 | # | ||
1732 | # DMA Devices | ||
1733 | # | ||
1734 | # CONFIG_MXC_PXP is not set | ||
1735 | # CONFIG_TIMB_DMA is not set | ||
1736 | # CONFIG_AUXDISPLAY is not set | ||
1737 | # CONFIG_UIO is not set | ||
1738 | CONFIG_STAGING=y | ||
1739 | # CONFIG_STAGING_EXCLUDE_BUILD is not set | ||
1740 | # CONFIG_VIDEO_TM6000 is not set | ||
1741 | # CONFIG_USB_IP_COMMON is not set | ||
1742 | # CONFIG_PRISM2_USB is not set | ||
1743 | # CONFIG_ECHO is not set | ||
1744 | # CONFIG_RT2870 is not set | ||
1745 | # CONFIG_COMEDI is not set | ||
1746 | # CONFIG_ASUS_OLED is not set | ||
1747 | # CONFIG_TRANZPORT is not set | ||
1748 | # CONFIG_POHMELFS is not set | ||
1749 | # CONFIG_LINE6_USB is not set | ||
1750 | # CONFIG_VT6656 is not set | ||
1751 | # CONFIG_FB_UDL is not set | ||
1752 | |||
1753 | # | ||
1754 | # RAR Register Driver | ||
1755 | # | ||
1756 | # CONFIG_IIO is not set | ||
1757 | # CONFIG_RAMZSWAP is not set | ||
1758 | # CONFIG_BATMAN_ADV is not set | ||
1759 | # CONFIG_FB_SM7XX is not set | ||
1760 | |||
1761 | # | ||
1762 | # Texas Instruments shared transport line discipline | ||
1763 | # | ||
1764 | # CONFIG_TI_ST is not set | ||
1765 | # CONFIG_ADIS16255 is not set | ||
1766 | CONFIG_ATH6K_LEGACY=m | ||
1767 | CONFIG_AR600x_SD31_XXX=y | ||
1768 | # CONFIG_AR600x_WB31_XXX is not set | ||
1769 | # CONFIG_AR600x_SD32_XXX is not set | ||
1770 | # CONFIG_AR600x_CUSTOM_XXX is not set | ||
1771 | # CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set | ||
1772 | # CONFIG_ATH6KL_HCI_BRIDGE is not set | ||
1773 | # CONFIG_ATH6KL_CFG80211 is not set | ||
1774 | # CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set | ||
1775 | # CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER is not set | ||
1776 | # CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set | ||
1777 | # CONFIG_ATH6KL_DEBUG is not set | ||
1778 | |||
1779 | # | ||
1780 | # File systems | ||
1781 | # | ||
1782 | CONFIG_EXT2_FS=y | ||
1783 | CONFIG_EXT2_FS_XATTR=y | ||
1784 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
1785 | CONFIG_EXT2_FS_SECURITY=y | ||
1786 | # CONFIG_EXT2_FS_XIP is not set | ||
1787 | CONFIG_EXT3_FS=y | ||
1788 | CONFIG_EXT3_DEFAULTS_TO_ORDERED=y | ||
1789 | CONFIG_EXT3_FS_XATTR=y | ||
1790 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
1791 | CONFIG_EXT3_FS_SECURITY=y | ||
1792 | # CONFIG_EXT4_FS is not set | ||
1793 | CONFIG_JBD=y | ||
1794 | # CONFIG_JBD_DEBUG is not set | ||
1795 | CONFIG_FS_MBCACHE=y | ||
1796 | # CONFIG_REISERFS_FS is not set | ||
1797 | # CONFIG_JFS_FS is not set | ||
1798 | CONFIG_FS_POSIX_ACL=y | ||
1799 | # CONFIG_XFS_FS is not set | ||
1800 | # CONFIG_GFS2_FS is not set | ||
1801 | # CONFIG_OCFS2_FS is not set | ||
1802 | # CONFIG_BTRFS_FS is not set | ||
1803 | # CONFIG_NILFS2_FS is not set | ||
1804 | CONFIG_FILE_LOCKING=y | ||
1805 | CONFIG_FSNOTIFY=y | ||
1806 | CONFIG_DNOTIFY=y | ||
1807 | # CONFIG_INOTIFY is not set | ||
1808 | CONFIG_INOTIFY_USER=y | ||
1809 | CONFIG_QUOTA=y | ||
1810 | # CONFIG_QUOTA_NETLINK_INTERFACE is not set | ||
1811 | CONFIG_PRINT_QUOTA_WARNING=y | ||
1812 | # CONFIG_QUOTA_DEBUG is not set | ||
1813 | CONFIG_QUOTA_TREE=y | ||
1814 | # CONFIG_QFMT_V1 is not set | ||
1815 | CONFIG_QFMT_V2=y | ||
1816 | CONFIG_QUOTACTL=y | ||
1817 | # CONFIG_AUTOFS_FS is not set | ||
1818 | CONFIG_AUTOFS4_FS=m | ||
1819 | # CONFIG_FUSE_FS is not set | ||
1820 | |||
1821 | # | ||
1822 | # Caches | ||
1823 | # | ||
1824 | # CONFIG_FSCACHE is not set | ||
1825 | |||
1826 | # | ||
1827 | # CD-ROM/DVD Filesystems | ||
1828 | # | ||
1829 | CONFIG_ISO9660_FS=y | ||
1830 | CONFIG_JOLIET=y | ||
1831 | CONFIG_ZISOFS=y | ||
1832 | CONFIG_UDF_FS=m | ||
1833 | CONFIG_UDF_NLS=y | ||
1834 | |||
1835 | # | ||
1836 | # DOS/FAT/NT Filesystems | ||
1837 | # | ||
1838 | CONFIG_FAT_FS=y | ||
1839 | CONFIG_MSDOS_FS=y | ||
1840 | CONFIG_VFAT_FS=y | ||
1841 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
1842 | CONFIG_FAT_DEFAULT_IOCHARSET="ascii" | ||
1843 | # CONFIG_NTFS_FS is not set | ||
1844 | |||
1845 | # | ||
1846 | # Pseudo filesystems | ||
1847 | # | ||
1848 | CONFIG_PROC_FS=y | ||
1849 | CONFIG_PROC_SYSCTL=y | ||
1850 | CONFIG_PROC_PAGE_MONITOR=y | ||
1851 | CONFIG_SYSFS=y | ||
1852 | CONFIG_TMPFS=y | ||
1853 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
1854 | # CONFIG_HUGETLB_PAGE is not set | ||
1855 | # CONFIG_CONFIGFS_FS is not set | ||
1856 | CONFIG_MISC_FILESYSTEMS=y | ||
1857 | # CONFIG_ADFS_FS is not set | ||
1858 | # CONFIG_AFFS_FS is not set | ||
1859 | # CONFIG_ECRYPT_FS is not set | ||
1860 | CONFIG_HFS_FS=m | ||
1861 | CONFIG_HFSPLUS_FS=m | ||
1862 | # CONFIG_BEFS_FS is not set | ||
1863 | # CONFIG_BFS_FS is not set | ||
1864 | # CONFIG_EFS_FS is not set | ||
1865 | CONFIG_JFFS2_FS=y | ||
1866 | CONFIG_JFFS2_FS_DEBUG=0 | ||
1867 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
1868 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
1869 | # CONFIG_JFFS2_SUMMARY is not set | ||
1870 | # CONFIG_JFFS2_FS_XATTR is not set | ||
1871 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
1872 | CONFIG_JFFS2_ZLIB=y | ||
1873 | # CONFIG_JFFS2_LZO is not set | ||
1874 | CONFIG_JFFS2_RTIME=y | ||
1875 | # CONFIG_JFFS2_RUBIN is not set | ||
1876 | CONFIG_UBIFS_FS=y | ||
1877 | # CONFIG_UBIFS_FS_XATTR is not set | ||
1878 | # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set | ||
1879 | CONFIG_UBIFS_FS_LZO=y | ||
1880 | CONFIG_UBIFS_FS_ZLIB=y | ||
1881 | # CONFIG_UBIFS_FS_DEBUG is not set | ||
1882 | # CONFIG_LOGFS is not set | ||
1883 | CONFIG_CRAMFS=m | ||
1884 | # CONFIG_SQUASHFS is not set | ||
1885 | CONFIG_VXFS_FS=m | ||
1886 | # CONFIG_MINIX_FS is not set | ||
1887 | # CONFIG_OMFS_FS is not set | ||
1888 | # CONFIG_HPFS_FS is not set | ||
1889 | # CONFIG_QNX4FS_FS is not set | ||
1890 | # CONFIG_ROMFS_FS is not set | ||
1891 | # CONFIG_SYSV_FS is not set | ||
1892 | # CONFIG_UFS_FS is not set | ||
1893 | CONFIG_NETWORK_FILESYSTEMS=y | ||
1894 | CONFIG_NFS_FS=y | ||
1895 | CONFIG_NFS_V3=y | ||
1896 | # CONFIG_NFS_V3_ACL is not set | ||
1897 | CONFIG_NFS_V4=y | ||
1898 | # CONFIG_NFS_V4_1 is not set | ||
1899 | CONFIG_ROOT_NFS=y | ||
1900 | # CONFIG_NFSD is not set | ||
1901 | CONFIG_LOCKD=y | ||
1902 | CONFIG_LOCKD_V4=y | ||
1903 | CONFIG_NFS_COMMON=y | ||
1904 | CONFIG_SUNRPC=y | ||
1905 | CONFIG_SUNRPC_GSS=y | ||
1906 | CONFIG_RPCSEC_GSS_KRB5=y | ||
1907 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
1908 | # CONFIG_SMB_FS is not set | ||
1909 | # CONFIG_CEPH_FS is not set | ||
1910 | # CONFIG_CIFS is not set | ||
1911 | # CONFIG_NCP_FS is not set | ||
1912 | # CONFIG_CODA_FS is not set | ||
1913 | # CONFIG_AFS_FS is not set | ||
1914 | |||
1915 | # | ||
1916 | # Partition Types | ||
1917 | # | ||
1918 | CONFIG_PARTITION_ADVANCED=y | ||
1919 | # CONFIG_ACORN_PARTITION is not set | ||
1920 | CONFIG_OSF_PARTITION=y | ||
1921 | # CONFIG_AMIGA_PARTITION is not set | ||
1922 | # CONFIG_ATARI_PARTITION is not set | ||
1923 | CONFIG_MAC_PARTITION=y | ||
1924 | CONFIG_MSDOS_PARTITION=y | ||
1925 | CONFIG_BSD_DISKLABEL=y | ||
1926 | CONFIG_MINIX_SUBPARTITION=y | ||
1927 | CONFIG_SOLARIS_X86_PARTITION=y | ||
1928 | CONFIG_UNIXWARE_DISKLABEL=y | ||
1929 | # CONFIG_LDM_PARTITION is not set | ||
1930 | CONFIG_SGI_PARTITION=y | ||
1931 | # CONFIG_ULTRIX_PARTITION is not set | ||
1932 | CONFIG_SUN_PARTITION=y | ||
1933 | # CONFIG_KARMA_PARTITION is not set | ||
1934 | CONFIG_EFI_PARTITION=y | ||
1935 | # CONFIG_SYSV68_PARTITION is not set | ||
1936 | CONFIG_NLS=y | ||
1937 | CONFIG_NLS_DEFAULT="utf8" | ||
1938 | CONFIG_NLS_CODEPAGE_437=y | ||
1939 | CONFIG_NLS_CODEPAGE_737=m | ||
1940 | CONFIG_NLS_CODEPAGE_775=m | ||
1941 | CONFIG_NLS_CODEPAGE_850=m | ||
1942 | CONFIG_NLS_CODEPAGE_852=m | ||
1943 | CONFIG_NLS_CODEPAGE_855=m | ||
1944 | CONFIG_NLS_CODEPAGE_857=m | ||
1945 | CONFIG_NLS_CODEPAGE_860=m | ||
1946 | CONFIG_NLS_CODEPAGE_861=m | ||
1947 | CONFIG_NLS_CODEPAGE_862=m | ||
1948 | CONFIG_NLS_CODEPAGE_863=m | ||
1949 | CONFIG_NLS_CODEPAGE_864=m | ||
1950 | CONFIG_NLS_CODEPAGE_865=m | ||
1951 | CONFIG_NLS_CODEPAGE_866=m | ||
1952 | CONFIG_NLS_CODEPAGE_869=m | ||
1953 | CONFIG_NLS_CODEPAGE_936=m | ||
1954 | CONFIG_NLS_CODEPAGE_950=m | ||
1955 | CONFIG_NLS_CODEPAGE_932=m | ||
1956 | CONFIG_NLS_CODEPAGE_949=m | ||
1957 | CONFIG_NLS_CODEPAGE_874=m | ||
1958 | CONFIG_NLS_ISO8859_8=m | ||
1959 | CONFIG_NLS_CODEPAGE_1250=m | ||
1960 | CONFIG_NLS_CODEPAGE_1251=m | ||
1961 | CONFIG_NLS_ASCII=y | ||
1962 | CONFIG_NLS_ISO8859_1=m | ||
1963 | CONFIG_NLS_ISO8859_2=m | ||
1964 | CONFIG_NLS_ISO8859_3=m | ||
1965 | CONFIG_NLS_ISO8859_4=m | ||
1966 | CONFIG_NLS_ISO8859_5=m | ||
1967 | CONFIG_NLS_ISO8859_6=m | ||
1968 | CONFIG_NLS_ISO8859_7=m | ||
1969 | CONFIG_NLS_ISO8859_9=m | ||
1970 | CONFIG_NLS_ISO8859_13=m | ||
1971 | CONFIG_NLS_ISO8859_14=m | ||
1972 | CONFIG_NLS_ISO8859_15=m | ||
1973 | CONFIG_NLS_KOI8_R=m | ||
1974 | CONFIG_NLS_KOI8_U=m | ||
1975 | CONFIG_NLS_UTF8=m | ||
1976 | # CONFIG_DLM is not set | ||
1977 | |||
1978 | # | ||
1979 | # Kernel hacking | ||
1980 | # | ||
1981 | # CONFIG_PRINTK_TIME is not set | ||
1982 | # CONFIG_ENABLE_WARN_DEPRECATED is not set | ||
1983 | # CONFIG_ENABLE_MUST_CHECK is not set | ||
1984 | CONFIG_FRAME_WARN=1024 | ||
1985 | # CONFIG_MAGIC_SYSRQ is not set | ||
1986 | # CONFIG_STRIP_ASM_SYMS is not set | ||
1987 | # CONFIG_UNUSED_SYMBOLS is not set | ||
1988 | CONFIG_DEBUG_FS=y | ||
1989 | # CONFIG_HEADERS_CHECK is not set | ||
1990 | # CONFIG_DEBUG_KERNEL is not set | ||
1991 | # CONFIG_SLUB_DEBUG_ON is not set | ||
1992 | # CONFIG_SLUB_STATS is not set | ||
1993 | CONFIG_DEBUG_BUGVERBOSE=y | ||
1994 | CONFIG_DEBUG_MEMORY_INIT=y | ||
1995 | CONFIG_FRAME_POINTER=y | ||
1996 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
1997 | # CONFIG_LKDTM is not set | ||
1998 | # CONFIG_LATENCYTOP is not set | ||
1999 | # CONFIG_SYSCTL_SYSCALL_CHECK is not set | ||
2000 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
2001 | CONFIG_RING_BUFFER=y | ||
2002 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
2003 | CONFIG_TRACING_SUPPORT=y | ||
2004 | CONFIG_FTRACE=y | ||
2005 | # CONFIG_FUNCTION_TRACER is not set | ||
2006 | # CONFIG_IRQSOFF_TRACER is not set | ||
2007 | # CONFIG_PREEMPT_TRACER is not set | ||
2008 | # CONFIG_SCHED_TRACER is not set | ||
2009 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set | ||
2010 | # CONFIG_BOOT_TRACER is not set | ||
2011 | CONFIG_BRANCH_PROFILE_NONE=y | ||
2012 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
2013 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
2014 | # CONFIG_STACK_TRACER is not set | ||
2015 | # CONFIG_KMEMTRACE is not set | ||
2016 | # CONFIG_WORKQUEUE_TRACER is not set | ||
2017 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
2018 | # CONFIG_RING_BUFFER_BENCHMARK is not set | ||
2019 | # CONFIG_DYNAMIC_DEBUG is not set | ||
2020 | # CONFIG_ATOMIC64_SELFTEST is not set | ||
2021 | # CONFIG_SAMPLES is not set | ||
2022 | CONFIG_HAVE_ARCH_KGDB=y | ||
2023 | # CONFIG_ARM_UNWIND is not set | ||
2024 | # CONFIG_DEBUG_USER is not set | ||
2025 | # CONFIG_OC_ETM is not set | ||
2026 | |||
2027 | # | ||
2028 | # Security options | ||
2029 | # | ||
2030 | CONFIG_KEYS=y | ||
2031 | CONFIG_KEYS_DEBUG_PROC_KEYS=y | ||
2032 | CONFIG_SECURITY=y | ||
2033 | # CONFIG_SECURITYFS is not set | ||
2034 | CONFIG_SECURITY_NETWORK=y | ||
2035 | # CONFIG_SECURITY_NETWORK_XFRM is not set | ||
2036 | # CONFIG_SECURITY_PATH is not set | ||
2037 | CONFIG_LSM_MMAP_MIN_ADDR=65536 | ||
2038 | CONFIG_SECURITY_SELINUX=y | ||
2039 | CONFIG_SECURITY_SELINUX_BOOTPARAM=y | ||
2040 | CONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=1 | ||
2041 | CONFIG_SECURITY_SELINUX_DISABLE=y | ||
2042 | CONFIG_SECURITY_SELINUX_DEVELOP=y | ||
2043 | CONFIG_SECURITY_SELINUX_AVC_STATS=y | ||
2044 | CONFIG_SECURITY_SELINUX_CHECKREQPROT_VALUE=1 | ||
2045 | # CONFIG_SECURITY_SELINUX_POLICYDB_VERSION_MAX is not set | ||
2046 | # CONFIG_SECURITY_TOMOYO is not set | ||
2047 | # CONFIG_IMA is not set | ||
2048 | CONFIG_DEFAULT_SECURITY_SELINUX=y | ||
2049 | # CONFIG_DEFAULT_SECURITY_SMACK is not set | ||
2050 | # CONFIG_DEFAULT_SECURITY_TOMOYO is not set | ||
2051 | # CONFIG_DEFAULT_SECURITY_DAC is not set | ||
2052 | CONFIG_DEFAULT_SECURITY="selinux" | ||
2053 | CONFIG_CRYPTO=y | ||
2054 | |||
2055 | # | ||
2056 | # Crypto core or helper | ||
2057 | # | ||
2058 | CONFIG_CRYPTO_ALGAPI=y | ||
2059 | CONFIG_CRYPTO_ALGAPI2=y | ||
2060 | CONFIG_CRYPTO_AEAD2=y | ||
2061 | CONFIG_CRYPTO_BLKCIPHER=y | ||
2062 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
2063 | CONFIG_CRYPTO_HASH=y | ||
2064 | CONFIG_CRYPTO_HASH2=y | ||
2065 | CONFIG_CRYPTO_RNG2=y | ||
2066 | CONFIG_CRYPTO_PCOMP=y | ||
2067 | CONFIG_CRYPTO_MANAGER=y | ||
2068 | CONFIG_CRYPTO_MANAGER2=y | ||
2069 | CONFIG_CRYPTO_MANAGER_TESTS=y | ||
2070 | # CONFIG_CRYPTO_GF128MUL is not set | ||
2071 | # CONFIG_CRYPTO_NULL is not set | ||
2072 | CONFIG_CRYPTO_WORKQUEUE=y | ||
2073 | # CONFIG_CRYPTO_CRYPTD is not set | ||
2074 | # CONFIG_CRYPTO_AUTHENC is not set | ||
2075 | CONFIG_CRYPTO_TEST=m | ||
2076 | CONFIG_CRYPTO_CRYPTODEV=y | ||
2077 | |||
2078 | # | ||
2079 | # Authenticated Encryption with Associated Data | ||
2080 | # | ||
2081 | # CONFIG_CRYPTO_CCM is not set | ||
2082 | # CONFIG_CRYPTO_GCM is not set | ||
2083 | # CONFIG_CRYPTO_SEQIV is not set | ||
2084 | |||
2085 | # | ||
2086 | # Block modes | ||
2087 | # | ||
2088 | CONFIG_CRYPTO_CBC=y | ||
2089 | # CONFIG_CRYPTO_CTR is not set | ||
2090 | # CONFIG_CRYPTO_CTS is not set | ||
2091 | CONFIG_CRYPTO_ECB=y | ||
2092 | # CONFIG_CRYPTO_LRW is not set | ||
2093 | # CONFIG_CRYPTO_PCBC is not set | ||
2094 | # CONFIG_CRYPTO_XTS is not set | ||
2095 | |||
2096 | # | ||
2097 | # Hash modes | ||
2098 | # | ||
2099 | CONFIG_CRYPTO_HMAC=y | ||
2100 | # CONFIG_CRYPTO_XCBC is not set | ||
2101 | # CONFIG_CRYPTO_VMAC is not set | ||
2102 | |||
2103 | # | ||
2104 | # Digest | ||
2105 | # | ||
2106 | CONFIG_CRYPTO_CRC32C=m | ||
2107 | # CONFIG_CRYPTO_GHASH is not set | ||
2108 | # CONFIG_CRYPTO_MD4 is not set | ||
2109 | CONFIG_CRYPTO_MD5=y | ||
2110 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
2111 | # CONFIG_CRYPTO_RMD128 is not set | ||
2112 | # CONFIG_CRYPTO_RMD160 is not set | ||
2113 | # CONFIG_CRYPTO_RMD256 is not set | ||
2114 | # CONFIG_CRYPTO_RMD320 is not set | ||
2115 | CONFIG_CRYPTO_SHA1=m | ||
2116 | CONFIG_CRYPTO_SHA256=m | ||
2117 | # CONFIG_CRYPTO_SHA512 is not set | ||
2118 | # CONFIG_CRYPTO_TGR192 is not set | ||
2119 | # CONFIG_CRYPTO_WP512 is not set | ||
2120 | |||
2121 | # | ||
2122 | # Ciphers | ||
2123 | # | ||
2124 | CONFIG_CRYPTO_AES=y | ||
2125 | # CONFIG_CRYPTO_ANUBIS is not set | ||
2126 | # CONFIG_CRYPTO_ARC4 is not set | ||
2127 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
2128 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
2129 | # CONFIG_CRYPTO_CAST5 is not set | ||
2130 | # CONFIG_CRYPTO_CAST6 is not set | ||
2131 | CONFIG_CRYPTO_DES=y | ||
2132 | # CONFIG_CRYPTO_FCRYPT is not set | ||
2133 | # CONFIG_CRYPTO_KHAZAD is not set | ||
2134 | # CONFIG_CRYPTO_SALSA20 is not set | ||
2135 | # CONFIG_CRYPTO_SEED is not set | ||
2136 | # CONFIG_CRYPTO_SERPENT is not set | ||
2137 | # CONFIG_CRYPTO_TEA is not set | ||
2138 | # CONFIG_CRYPTO_TWOFISH is not set | ||
2139 | |||
2140 | # | ||
2141 | # Compression | ||
2142 | # | ||
2143 | CONFIG_CRYPTO_DEFLATE=y | ||
2144 | # CONFIG_CRYPTO_ZLIB is not set | ||
2145 | CONFIG_CRYPTO_LZO=y | ||
2146 | |||
2147 | # | ||
2148 | # Random Number Generation | ||
2149 | # | ||
2150 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
2151 | CONFIG_CRYPTO_HW=y | ||
2152 | CONFIG_CRYPTO_DEV_DCP=y | ||
2153 | # CONFIG_BINARY_PRINTF is not set | ||
2154 | |||
2155 | # | ||
2156 | # Library routines | ||
2157 | # | ||
2158 | CONFIG_BITREVERSE=y | ||
2159 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
2160 | CONFIG_CRC_CCITT=m | ||
2161 | CONFIG_CRC16=y | ||
2162 | # CONFIG_CRC_T10DIF is not set | ||
2163 | CONFIG_CRC_ITU_T=m | ||
2164 | CONFIG_CRC32=y | ||
2165 | # CONFIG_CRC7 is not set | ||
2166 | CONFIG_LIBCRC32C=m | ||
2167 | CONFIG_AUDIT_GENERIC=y | ||
2168 | CONFIG_ZLIB_INFLATE=y | ||
2169 | CONFIG_ZLIB_DEFLATE=y | ||
2170 | CONFIG_LZO_COMPRESS=y | ||
2171 | CONFIG_LZO_DECOMPRESS=y | ||
2172 | CONFIG_DECOMPRESS_GZIP=y | ||
2173 | CONFIG_DECOMPRESS_BZIP2=y | ||
2174 | CONFIG_DECOMPRESS_LZMA=y | ||
2175 | CONFIG_DECOMPRESS_LZO=y | ||
2176 | CONFIG_GENERIC_ALLOCATOR=y | ||
2177 | CONFIG_HAS_IOMEM=y | ||
2178 | CONFIG_HAS_IOPORT=y | ||
2179 | CONFIG_HAS_DMA=y | ||
2180 | CONFIG_NLATTR=y | ||
2181 | CONFIG_GENERIC_ATOMIC64=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mx5/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mx5/defconfig new file mode 100644 index 00000000..213a06d7 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mx5/defconfig | |||
@@ -0,0 +1,2586 @@ | |||
1 | # | ||
2 | # Automatically generated make config: don't edit | ||
3 | # Linux kernel version: 2.6.35.3 | ||
4 | # Tue Jul 2 16:23:28 2013 | ||
5 | # | ||
6 | CONFIG_ARM=y | ||
7 | CONFIG_HAVE_PWM=y | ||
8 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
9 | CONFIG_GENERIC_GPIO=y | ||
10 | CONFIG_GENERIC_TIME=y | ||
11 | # CONFIG_ARCH_USES_GETTIMEOFFSET is not set | ||
12 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
13 | CONFIG_HAVE_PROC_CPU=y | ||
14 | CONFIG_GENERIC_HARDIRQS=y | ||
15 | CONFIG_STACKTRACE_SUPPORT=y | ||
16 | CONFIG_HAVE_LATENCYTOP_SUPPORT=y | ||
17 | CONFIG_LOCKDEP_SUPPORT=y | ||
18 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
19 | CONFIG_HARDIRQS_SW_RESEND=y | ||
20 | CONFIG_GENERIC_IRQ_PROBE=y | ||
21 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
22 | CONFIG_ARCH_HAS_CPUFREQ=y | ||
23 | CONFIG_GENERIC_HWEIGHT=y | ||
24 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
25 | CONFIG_ZONE_DMA=y | ||
26 | CONFIG_NEED_DMA_MAP_STATE=y | ||
27 | CONFIG_GENERIC_HARDIRQS_NO__DO_IRQ=y | ||
28 | CONFIG_ARM_L1_CACHE_SHIFT_6=y | ||
29 | CONFIG_VECTORS_BASE=0xffff0000 | ||
30 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
31 | CONFIG_CONSTRUCTORS=y | ||
32 | |||
33 | # | ||
34 | # General setup | ||
35 | # | ||
36 | CONFIG_EXPERIMENTAL=y | ||
37 | CONFIG_BROKEN_ON_SMP=y | ||
38 | CONFIG_LOCK_KERNEL=y | ||
39 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
40 | CONFIG_CROSS_COMPILE="" | ||
41 | CONFIG_LOCALVERSION="" | ||
42 | CONFIG_LOCALVERSION_AUTO=y | ||
43 | CONFIG_HAVE_KERNEL_GZIP=y | ||
44 | CONFIG_HAVE_KERNEL_LZMA=y | ||
45 | CONFIG_HAVE_KERNEL_LZO=y | ||
46 | CONFIG_KERNEL_GZIP=y | ||
47 | # CONFIG_KERNEL_BZIP2 is not set | ||
48 | # CONFIG_KERNEL_LZMA is not set | ||
49 | # CONFIG_KERNEL_LZO is not set | ||
50 | CONFIG_SWAP=y | ||
51 | CONFIG_SYSVIPC=y | ||
52 | CONFIG_SYSVIPC_SYSCTL=y | ||
53 | # CONFIG_POSIX_MQUEUE is not set | ||
54 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
55 | CONFIG_TASKSTATS=y | ||
56 | CONFIG_TASK_DELAY_ACCT=y | ||
57 | CONFIG_TASK_XACCT=y | ||
58 | CONFIG_TASK_IO_ACCOUNTING=y | ||
59 | # CONFIG_AUDIT is not set | ||
60 | |||
61 | # | ||
62 | # RCU Subsystem | ||
63 | # | ||
64 | CONFIG_TREE_RCU=y | ||
65 | # CONFIG_TREE_PREEMPT_RCU is not set | ||
66 | # CONFIG_TINY_RCU is not set | ||
67 | # CONFIG_RCU_TRACE is not set | ||
68 | CONFIG_RCU_FANOUT=32 | ||
69 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
70 | # CONFIG_TREE_RCU_TRACE is not set | ||
71 | CONFIG_IKCONFIG=y | ||
72 | CONFIG_IKCONFIG_PROC=y | ||
73 | CONFIG_LOG_BUF_SHIFT=14 | ||
74 | CONFIG_CGROUPS=y | ||
75 | # CONFIG_CGROUP_DEBUG is not set | ||
76 | CONFIG_CGROUP_NS=y | ||
77 | CONFIG_CGROUP_FREEZER=y | ||
78 | CONFIG_CGROUP_DEVICE=y | ||
79 | CONFIG_CPUSETS=y | ||
80 | CONFIG_PROC_PID_CPUSET=y | ||
81 | CONFIG_CGROUP_CPUACCT=y | ||
82 | CONFIG_RESOURCE_COUNTERS=y | ||
83 | # CONFIG_CGROUP_MEM_RES_CTLR is not set | ||
84 | CONFIG_CGROUP_SCHED=y | ||
85 | CONFIG_FAIR_GROUP_SCHED=y | ||
86 | CONFIG_RT_GROUP_SCHED=y | ||
87 | CONFIG_BLK_CGROUP=y | ||
88 | # CONFIG_DEBUG_BLK_CGROUP is not set | ||
89 | # CONFIG_SYSFS_DEPRECATED_V2 is not set | ||
90 | # CONFIG_RELAY is not set | ||
91 | CONFIG_NAMESPACES=y | ||
92 | CONFIG_UTS_NS=y | ||
93 | CONFIG_IPC_NS=y | ||
94 | CONFIG_USER_NS=y | ||
95 | CONFIG_PID_NS=y | ||
96 | CONFIG_NET_NS=y | ||
97 | # CONFIG_BLK_DEV_INITRD is not set | ||
98 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
99 | CONFIG_SYSCTL=y | ||
100 | CONFIG_ANON_INODES=y | ||
101 | CONFIG_EMBEDDED=y | ||
102 | CONFIG_UID16=y | ||
103 | CONFIG_SYSCTL_SYSCALL=y | ||
104 | CONFIG_KALLSYMS=y | ||
105 | # CONFIG_KALLSYMS_EXTRA_PASS is not set | ||
106 | CONFIG_HOTPLUG=y | ||
107 | CONFIG_PRINTK=y | ||
108 | CONFIG_BUG=y | ||
109 | CONFIG_ELF_CORE=y | ||
110 | CONFIG_BASE_FULL=y | ||
111 | CONFIG_FUTEX=y | ||
112 | CONFIG_EPOLL=y | ||
113 | CONFIG_SIGNALFD=y | ||
114 | CONFIG_TIMERFD=y | ||
115 | CONFIG_EVENTFD=y | ||
116 | CONFIG_SHMEM=y | ||
117 | CONFIG_AIO=y | ||
118 | CONFIG_HAVE_PERF_EVENTS=y | ||
119 | CONFIG_PERF_USE_VMALLOC=y | ||
120 | |||
121 | # | ||
122 | # Kernel Performance Events And Counters | ||
123 | # | ||
124 | CONFIG_PERF_EVENTS=y | ||
125 | # CONFIG_PERF_COUNTERS is not set | ||
126 | CONFIG_VM_EVENT_COUNTERS=y | ||
127 | CONFIG_SLUB_DEBUG=y | ||
128 | CONFIG_COMPAT_BRK=y | ||
129 | # CONFIG_SLAB is not set | ||
130 | CONFIG_SLUB=y | ||
131 | # CONFIG_SLOB is not set | ||
132 | # CONFIG_PROFILING is not set | ||
133 | CONFIG_HAVE_OPROFILE=y | ||
134 | CONFIG_KPROBES=y | ||
135 | CONFIG_KRETPROBES=y | ||
136 | CONFIG_HAVE_KPROBES=y | ||
137 | CONFIG_HAVE_KRETPROBES=y | ||
138 | CONFIG_HAVE_CLK=y | ||
139 | |||
140 | # | ||
141 | # GCOV-based kernel profiling | ||
142 | # | ||
143 | # CONFIG_SLOW_WORK is not set | ||
144 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
145 | CONFIG_SLABINFO=y | ||
146 | CONFIG_RT_MUTEXES=y | ||
147 | CONFIG_BASE_SMALL=0 | ||
148 | CONFIG_MODULES=y | ||
149 | # CONFIG_MODULE_FORCE_LOAD is not set | ||
150 | CONFIG_MODULE_UNLOAD=y | ||
151 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
152 | CONFIG_MODVERSIONS=y | ||
153 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
154 | CONFIG_BLOCK=y | ||
155 | CONFIG_LBDAF=y | ||
156 | # CONFIG_BLK_DEV_BSG is not set | ||
157 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
158 | |||
159 | # | ||
160 | # IO Schedulers | ||
161 | # | ||
162 | CONFIG_IOSCHED_NOOP=y | ||
163 | CONFIG_IOSCHED_DEADLINE=y | ||
164 | CONFIG_IOSCHED_CFQ=y | ||
165 | # CONFIG_CFQ_GROUP_IOSCHED is not set | ||
166 | # CONFIG_DEFAULT_DEADLINE is not set | ||
167 | CONFIG_DEFAULT_CFQ=y | ||
168 | # CONFIG_DEFAULT_NOOP is not set | ||
169 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
170 | # CONFIG_INLINE_SPIN_TRYLOCK is not set | ||
171 | # CONFIG_INLINE_SPIN_TRYLOCK_BH is not set | ||
172 | # CONFIG_INLINE_SPIN_LOCK is not set | ||
173 | # CONFIG_INLINE_SPIN_LOCK_BH is not set | ||
174 | # CONFIG_INLINE_SPIN_LOCK_IRQ is not set | ||
175 | # CONFIG_INLINE_SPIN_LOCK_IRQSAVE is not set | ||
176 | # CONFIG_INLINE_SPIN_UNLOCK is not set | ||
177 | # CONFIG_INLINE_SPIN_UNLOCK_BH is not set | ||
178 | # CONFIG_INLINE_SPIN_UNLOCK_IRQ is not set | ||
179 | # CONFIG_INLINE_SPIN_UNLOCK_IRQRESTORE is not set | ||
180 | # CONFIG_INLINE_READ_TRYLOCK is not set | ||
181 | # CONFIG_INLINE_READ_LOCK is not set | ||
182 | # CONFIG_INLINE_READ_LOCK_BH is not set | ||
183 | # CONFIG_INLINE_READ_LOCK_IRQ is not set | ||
184 | # CONFIG_INLINE_READ_LOCK_IRQSAVE is not set | ||
185 | # CONFIG_INLINE_READ_UNLOCK is not set | ||
186 | # CONFIG_INLINE_READ_UNLOCK_BH is not set | ||
187 | # CONFIG_INLINE_READ_UNLOCK_IRQ is not set | ||
188 | # CONFIG_INLINE_READ_UNLOCK_IRQRESTORE is not set | ||
189 | # CONFIG_INLINE_WRITE_TRYLOCK is not set | ||
190 | # CONFIG_INLINE_WRITE_LOCK is not set | ||
191 | # CONFIG_INLINE_WRITE_LOCK_BH is not set | ||
192 | # CONFIG_INLINE_WRITE_LOCK_IRQ is not set | ||
193 | # CONFIG_INLINE_WRITE_LOCK_IRQSAVE is not set | ||
194 | # CONFIG_INLINE_WRITE_UNLOCK is not set | ||
195 | # CONFIG_INLINE_WRITE_UNLOCK_BH is not set | ||
196 | # CONFIG_INLINE_WRITE_UNLOCK_IRQ is not set | ||
197 | # CONFIG_INLINE_WRITE_UNLOCK_IRQRESTORE is not set | ||
198 | # CONFIG_MUTEX_SPIN_ON_OWNER is not set | ||
199 | CONFIG_FREEZER=y | ||
200 | |||
201 | # | ||
202 | # System Type | ||
203 | # | ||
204 | CONFIG_MMU=y | ||
205 | # CONFIG_ARCH_AAEC2000 is not set | ||
206 | # CONFIG_ARCH_INTEGRATOR is not set | ||
207 | # CONFIG_ARCH_REALVIEW is not set | ||
208 | # CONFIG_ARCH_VERSATILE is not set | ||
209 | # CONFIG_ARCH_VEXPRESS is not set | ||
210 | # CONFIG_ARCH_AT91 is not set | ||
211 | # CONFIG_ARCH_BCMRING is not set | ||
212 | # CONFIG_ARCH_CLPS711X is not set | ||
213 | # CONFIG_ARCH_CNS3XXX is not set | ||
214 | # CONFIG_ARCH_GEMINI is not set | ||
215 | # CONFIG_ARCH_EBSA110 is not set | ||
216 | # CONFIG_ARCH_EP93XX is not set | ||
217 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
218 | CONFIG_ARCH_MXC=y | ||
219 | # CONFIG_ARCH_STMP3XXX is not set | ||
220 | # CONFIG_ARCH_MXS is not set | ||
221 | # CONFIG_ARCH_NETX is not set | ||
222 | # CONFIG_ARCH_H720X is not set | ||
223 | # CONFIG_ARCH_IOP13XX is not set | ||
224 | # CONFIG_ARCH_IOP32X is not set | ||
225 | # CONFIG_ARCH_IOP33X is not set | ||
226 | # CONFIG_ARCH_IXP23XX is not set | ||
227 | # CONFIG_ARCH_IXP2000 is not set | ||
228 | # CONFIG_ARCH_IXP4XX is not set | ||
229 | # CONFIG_ARCH_L7200 is not set | ||
230 | # CONFIG_ARCH_DOVE is not set | ||
231 | # CONFIG_ARCH_KIRKWOOD is not set | ||
232 | # CONFIG_ARCH_LOKI is not set | ||
233 | # CONFIG_ARCH_MV78XX0 is not set | ||
234 | # CONFIG_ARCH_ORION5X is not set | ||
235 | # CONFIG_ARCH_MMP is not set | ||
236 | # CONFIG_ARCH_KS8695 is not set | ||
237 | # CONFIG_ARCH_NS9XXX is not set | ||
238 | # CONFIG_ARCH_W90X900 is not set | ||
239 | # CONFIG_ARCH_NUC93X is not set | ||
240 | # CONFIG_ARCH_PNX4008 is not set | ||
241 | # CONFIG_ARCH_PXA is not set | ||
242 | # CONFIG_ARCH_MSM is not set | ||
243 | # CONFIG_ARCH_SHMOBILE is not set | ||
244 | # CONFIG_ARCH_RPC is not set | ||
245 | # CONFIG_ARCH_SA1100 is not set | ||
246 | # CONFIG_ARCH_S3C2410 is not set | ||
247 | # CONFIG_ARCH_S3C64XX is not set | ||
248 | # CONFIG_ARCH_S5P6440 is not set | ||
249 | # CONFIG_ARCH_S5P6442 is not set | ||
250 | # CONFIG_ARCH_S5PC100 is not set | ||
251 | # CONFIG_ARCH_S5PV210 is not set | ||
252 | # CONFIG_ARCH_SHARK is not set | ||
253 | # CONFIG_ARCH_LH7A40X is not set | ||
254 | # CONFIG_ARCH_U300 is not set | ||
255 | # CONFIG_ARCH_U8500 is not set | ||
256 | # CONFIG_ARCH_NOMADIK is not set | ||
257 | # CONFIG_ARCH_DAVINCI is not set | ||
258 | # CONFIG_ARCH_OMAP is not set | ||
259 | # CONFIG_PLAT_SPEAR is not set | ||
260 | |||
261 | # | ||
262 | # Freescale MXC Implementations | ||
263 | # | ||
264 | # CONFIG_ARCH_MX1 is not set | ||
265 | # CONFIG_ARCH_MX2 is not set | ||
266 | # CONFIG_ARCH_MX25 is not set | ||
267 | # CONFIG_ARCH_MX3 is not set | ||
268 | # CONFIG_ARCH_MX37 is not set | ||
269 | # CONFIG_ARCH_MXC91231 is not set | ||
270 | CONFIG_ARCH_MX5=y | ||
271 | CONFIG_MXC_SDMA_API=y | ||
272 | CONFIG_SDMA_IRAM=y | ||
273 | CONFIG_ARCH_MX51=y | ||
274 | CONFIG_ARCH_MX53=y | ||
275 | CONFIG_ARCH_MX50=y | ||
276 | CONFIG_FORCE_MAX_ZONEORDER=13 | ||
277 | CONFIG_MX5_MULTI_ARCH=y | ||
278 | CONFIG_MACH_MX51_3DS=y | ||
279 | CONFIG_MACH_MX51_BABBAGE=y | ||
280 | CONFIG_MACH_MX53_EVK=y | ||
281 | CONFIG_MACH_MX53_ARD=y | ||
282 | CONFIG_MACH_MX53_SMD=y | ||
283 | CONFIG_MACH_MX53_LOCO=y | ||
284 | CONFIG_MACH_MX50_ARM2=y | ||
285 | CONFIG_MACH_MX50_RDP=y | ||
286 | |||
287 | # | ||
288 | # MX5x Options: | ||
289 | # | ||
290 | CONFIG_ARCH_MXC_HAS_NFC_V3=y | ||
291 | CONFIG_ARCH_MXC_HAS_NFC_V3_2=y | ||
292 | CONFIG_MXC_BLUETOOTH_RFKILL=y | ||
293 | CONFIG_IRAM_ALLOC=y | ||
294 | CONFIG_DMA_ZONE_SIZE=112 | ||
295 | CONFIG_ISP1504_MXC=y | ||
296 | CONFIG_UTMI_MXC=y | ||
297 | # CONFIG_MXC_IRQ_PRIOR is not set | ||
298 | CONFIG_MXC_TZIC=y | ||
299 | CONFIG_MXC_PWM=y | ||
300 | # CONFIG_MXC_DEBUG_BOARD is not set | ||
301 | CONFIG_ARCH_HAS_RNGC=y | ||
302 | CONFIG_ARCH_MXC_IOMUX_V3=y | ||
303 | CONFIG_MXC_DVFS_PER=y | ||
304 | CONFIG_MXC_ZQ_CALIBRATION=y | ||
305 | |||
306 | # | ||
307 | # Processor Type | ||
308 | # | ||
309 | CONFIG_CPU_32v6K=y | ||
310 | CONFIG_CPU_V7=y | ||
311 | CONFIG_CPU_32v7=y | ||
312 | CONFIG_CPU_ABRT_EV7=y | ||
313 | CONFIG_CPU_PABRT_V7=y | ||
314 | CONFIG_CPU_CACHE_V7=y | ||
315 | CONFIG_CPU_CACHE_VIPT=y | ||
316 | CONFIG_CPU_COPY_V6=y | ||
317 | CONFIG_CPU_TLB_V7=y | ||
318 | CONFIG_CPU_HAS_ASID=y | ||
319 | CONFIG_CPU_CP15=y | ||
320 | CONFIG_CPU_CP15_MMU=y | ||
321 | |||
322 | # | ||
323 | # Processor Features | ||
324 | # | ||
325 | CONFIG_ARM_THUMB=y | ||
326 | # CONFIG_ARM_THUMBEE is not set | ||
327 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
328 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
329 | # CONFIG_CPU_BPREDICT_DISABLE is not set | ||
330 | CONFIG_HAS_TLS_REG=y | ||
331 | CONFIG_ARM_L1_CACHE_SHIFT=6 | ||
332 | CONFIG_ARM_DMA_MEM_BUFFERABLE=y | ||
333 | CONFIG_CPU_HAS_PMU=y | ||
334 | # CONFIG_ARM_ERRATA_430973 is not set | ||
335 | # CONFIG_ARM_ERRATA_458693 is not set | ||
336 | # CONFIG_ARM_ERRATA_460075 is not set | ||
337 | CONFIG_COMMON_CLKDEV=y | ||
338 | |||
339 | # | ||
340 | # Bus support | ||
341 | # | ||
342 | # CONFIG_PCI_SYSCALL is not set | ||
343 | # CONFIG_ARCH_SUPPORTS_MSI is not set | ||
344 | # CONFIG_PCCARD is not set | ||
345 | |||
346 | # | ||
347 | # Kernel Features | ||
348 | # | ||
349 | CONFIG_TICK_ONESHOT=y | ||
350 | CONFIG_NO_HZ=y | ||
351 | CONFIG_HIGH_RES_TIMERS=y | ||
352 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
353 | # CONFIG_VMSPLIT_3G is not set | ||
354 | CONFIG_VMSPLIT_2G=y | ||
355 | # CONFIG_VMSPLIT_1G is not set | ||
356 | CONFIG_PAGE_OFFSET=0x80000000 | ||
357 | # CONFIG_PREEMPT_NONE is not set | ||
358 | # CONFIG_PREEMPT_VOLUNTARY is not set | ||
359 | CONFIG_PREEMPT=y | ||
360 | CONFIG_HZ=100 | ||
361 | # CONFIG_THUMB2_KERNEL is not set | ||
362 | CONFIG_AEABI=y | ||
363 | # CONFIG_OABI_COMPAT is not set | ||
364 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | ||
365 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | ||
366 | CONFIG_HIGHMEM=y | ||
367 | # CONFIG_HIGHPTE is not set | ||
368 | CONFIG_HW_PERF_EVENTS=y | ||
369 | CONFIG_SELECT_MEMORY_MODEL=y | ||
370 | CONFIG_FLATMEM_MANUAL=y | ||
371 | # CONFIG_DISCONTIGMEM_MANUAL is not set | ||
372 | # CONFIG_SPARSEMEM_MANUAL is not set | ||
373 | CONFIG_FLATMEM=y | ||
374 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
375 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
376 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
377 | # CONFIG_PHYS_ADDR_T_64BIT is not set | ||
378 | CONFIG_ZONE_DMA_FLAG=1 | ||
379 | CONFIG_BOUNCE=y | ||
380 | CONFIG_VIRT_TO_BUS=y | ||
381 | # CONFIG_KSM is not set | ||
382 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
383 | # CONFIG_LEDS is not set | ||
384 | CONFIG_ALIGNMENT_TRAP=y | ||
385 | # CONFIG_UACCESS_WITH_MEMCPY is not set | ||
386 | CONFIG_RUNTIME_PHYS_OFFSET=y | ||
387 | |||
388 | # | ||
389 | # Boot options | ||
390 | # | ||
391 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
392 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
393 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200 root=/dev/mtdblock2 rw rootfstype=jffs2 ip=off" | ||
394 | # CONFIG_CMDLINE_FORCE is not set | ||
395 | # CONFIG_XIP_KERNEL is not set | ||
396 | # CONFIG_KEXEC is not set | ||
397 | |||
398 | # | ||
399 | # CPU Power Management | ||
400 | # | ||
401 | CONFIG_CPU_FREQ=y | ||
402 | CONFIG_CPU_FREQ_TABLE=y | ||
403 | # CONFIG_CPU_FREQ_DEBUG is not set | ||
404 | CONFIG_CPU_FREQ_STAT=y | ||
405 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
406 | # CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set | ||
407 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
408 | CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y | ||
409 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
410 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
411 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
412 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
413 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
414 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | ||
415 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
416 | CONFIG_CPU_FREQ_IMX=y | ||
417 | # CONFIG_CPU_IDLE is not set | ||
418 | |||
419 | # | ||
420 | # Floating point emulation | ||
421 | # | ||
422 | |||
423 | # | ||
424 | # At least one emulation must be selected | ||
425 | # | ||
426 | CONFIG_VFP=y | ||
427 | CONFIG_VFPv3=y | ||
428 | CONFIG_NEON=y | ||
429 | |||
430 | # | ||
431 | # Userspace binary formats | ||
432 | # | ||
433 | CONFIG_BINFMT_ELF=y | ||
434 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
435 | CONFIG_HAVE_AOUT=y | ||
436 | # CONFIG_BINFMT_AOUT is not set | ||
437 | # CONFIG_BINFMT_MISC is not set | ||
438 | |||
439 | # | ||
440 | # Power management options | ||
441 | # | ||
442 | CONFIG_PM=y | ||
443 | CONFIG_PM_DEBUG=y | ||
444 | # CONFIG_PM_ADVANCED_DEBUG is not set | ||
445 | # CONFIG_PM_VERBOSE is not set | ||
446 | CONFIG_CAN_PM_TRACE=y | ||
447 | CONFIG_PM_SLEEP=y | ||
448 | CONFIG_SUSPEND_NVS=y | ||
449 | CONFIG_SUSPEND=y | ||
450 | # CONFIG_PM_TEST_SUSPEND is not set | ||
451 | CONFIG_SUSPEND_DEVICE_TIME_DEBUG=y | ||
452 | CONFIG_SUSPEND_FREEZER=y | ||
453 | CONFIG_APM_EMULATION=y | ||
454 | CONFIG_PM_RUNTIME=y | ||
455 | CONFIG_PM_OPS=y | ||
456 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
457 | CONFIG_NET=y | ||
458 | |||
459 | # | ||
460 | # Networking options | ||
461 | # | ||
462 | CONFIG_PACKET=y | ||
463 | CONFIG_UNIX=y | ||
464 | CONFIG_XFRM=y | ||
465 | # CONFIG_XFRM_USER is not set | ||
466 | # CONFIG_XFRM_SUB_POLICY is not set | ||
467 | # CONFIG_XFRM_MIGRATE is not set | ||
468 | # CONFIG_XFRM_STATISTICS is not set | ||
469 | # CONFIG_NET_KEY is not set | ||
470 | CONFIG_INET=y | ||
471 | CONFIG_IP_MULTICAST=y | ||
472 | # CONFIG_IP_ADVANCED_ROUTER is not set | ||
473 | CONFIG_IP_FIB_HASH=y | ||
474 | CONFIG_IP_PNP=y | ||
475 | CONFIG_IP_PNP_DHCP=y | ||
476 | CONFIG_IP_PNP_BOOTP=y | ||
477 | # CONFIG_IP_PNP_RARP is not set | ||
478 | # CONFIG_NET_IPIP is not set | ||
479 | # CONFIG_NET_IPGRE is not set | ||
480 | # CONFIG_IP_MROUTE is not set | ||
481 | # CONFIG_ARPD is not set | ||
482 | # CONFIG_SYN_COOKIES is not set | ||
483 | # CONFIG_INET_AH is not set | ||
484 | # CONFIG_INET_ESP is not set | ||
485 | # CONFIG_INET_IPCOMP is not set | ||
486 | # CONFIG_INET_XFRM_TUNNEL is not set | ||
487 | # CONFIG_INET_TUNNEL is not set | ||
488 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
489 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
490 | CONFIG_INET_XFRM_MODE_BEET=y | ||
491 | # CONFIG_INET_LRO is not set | ||
492 | CONFIG_INET_DIAG=y | ||
493 | CONFIG_INET_TCP_DIAG=y | ||
494 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
495 | CONFIG_TCP_CONG_CUBIC=y | ||
496 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
497 | # CONFIG_TCP_MD5SIG is not set | ||
498 | # CONFIG_IPV6 is not set | ||
499 | # CONFIG_NETWORK_SECMARK is not set | ||
500 | # CONFIG_NETFILTER is not set | ||
501 | # CONFIG_IP_DCCP is not set | ||
502 | # CONFIG_IP_SCTP is not set | ||
503 | # CONFIG_RDS is not set | ||
504 | # CONFIG_TIPC is not set | ||
505 | # CONFIG_ATM is not set | ||
506 | # CONFIG_L2TP is not set | ||
507 | # CONFIG_BRIDGE is not set | ||
508 | # CONFIG_NET_DSA is not set | ||
509 | # CONFIG_VLAN_8021Q is not set | ||
510 | # CONFIG_DECNET is not set | ||
511 | # CONFIG_LLC2 is not set | ||
512 | # CONFIG_IPX is not set | ||
513 | # CONFIG_ATALK is not set | ||
514 | # CONFIG_X25 is not set | ||
515 | # CONFIG_LAPB is not set | ||
516 | # CONFIG_ECONET is not set | ||
517 | # CONFIG_WAN_ROUTER is not set | ||
518 | # CONFIG_PHONET is not set | ||
519 | # CONFIG_IEEE802154 is not set | ||
520 | # CONFIG_NET_SCHED is not set | ||
521 | # CONFIG_DCB is not set | ||
522 | |||
523 | # | ||
524 | # Network testing | ||
525 | # | ||
526 | # CONFIG_NET_PKTGEN is not set | ||
527 | # CONFIG_NET_TCPPROBE is not set | ||
528 | # CONFIG_HAMRADIO is not set | ||
529 | CONFIG_CAN=y | ||
530 | CONFIG_CAN_RAW=y | ||
531 | CONFIG_CAN_BCM=y | ||
532 | |||
533 | # | ||
534 | # CAN Device Drivers | ||
535 | # | ||
536 | CONFIG_CAN_VCAN=y | ||
537 | # CONFIG_CAN_DEV is not set | ||
538 | CONFIG_CAN_DEBUG_DEVICES=y | ||
539 | CONFIG_CAN_FLEXCAN=y | ||
540 | # CONFIG_IRDA is not set | ||
541 | CONFIG_BT=y | ||
542 | CONFIG_BT_L2CAP=y | ||
543 | # CONFIG_BT_L2CAP_EXT_FEATURES is not set | ||
544 | CONFIG_BT_SCO=y | ||
545 | CONFIG_BT_RFCOMM=y | ||
546 | CONFIG_BT_RFCOMM_TTY=y | ||
547 | CONFIG_BT_BNEP=y | ||
548 | CONFIG_BT_BNEP_MC_FILTER=y | ||
549 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
550 | CONFIG_BT_HIDP=y | ||
551 | |||
552 | # | ||
553 | # Bluetooth device drivers | ||
554 | # | ||
555 | CONFIG_BT_HCIBTUSB=y | ||
556 | # CONFIG_BT_HCIBTSDIO is not set | ||
557 | CONFIG_BT_HCIUART=y | ||
558 | # CONFIG_BT_HCIUART_H4 is not set | ||
559 | # CONFIG_BT_HCIUART_BCSP is not set | ||
560 | CONFIG_BT_HCIUART_ATH3K=y | ||
561 | # CONFIG_BT_HCIUART_LL is not set | ||
562 | # CONFIG_BT_HCIBCM203X is not set | ||
563 | # CONFIG_BT_HCIBPA10X is not set | ||
564 | # CONFIG_BT_HCIBFUSB is not set | ||
565 | CONFIG_BT_HCIVHCI=y | ||
566 | # CONFIG_BT_MRVL is not set | ||
567 | # CONFIG_BT_ATH3K is not set | ||
568 | # CONFIG_AF_RXRPC is not set | ||
569 | CONFIG_WIRELESS=y | ||
570 | CONFIG_WIRELESS_EXT=y | ||
571 | CONFIG_WEXT_CORE=y | ||
572 | CONFIG_WEXT_PROC=y | ||
573 | CONFIG_WEXT_PRIV=y | ||
574 | # CONFIG_CFG80211 is not set | ||
575 | CONFIG_WIRELESS_EXT_SYSFS=y | ||
576 | # CONFIG_LIB80211 is not set | ||
577 | |||
578 | # | ||
579 | # CFG80211 needs to be enabled for MAC80211 | ||
580 | # | ||
581 | |||
582 | # | ||
583 | # Some wireless drivers require a rate control algorithm | ||
584 | # | ||
585 | # CONFIG_WIMAX is not set | ||
586 | CONFIG_RFKILL=y | ||
587 | CONFIG_RFKILL_LEDS=y | ||
588 | CONFIG_RFKILL_INPUT=y | ||
589 | # CONFIG_NET_9P is not set | ||
590 | # CONFIG_CAIF is not set | ||
591 | |||
592 | # | ||
593 | # Device Drivers | ||
594 | # | ||
595 | |||
596 | # | ||
597 | # Generic Driver Options | ||
598 | # | ||
599 | CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug" | ||
600 | CONFIG_DEVTMPFS=y | ||
601 | CONFIG_DEVTMPFS_MOUNT=y | ||
602 | CONFIG_STANDALONE=y | ||
603 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
604 | CONFIG_FW_LOADER=y | ||
605 | CONFIG_FIRMWARE_IN_KERNEL=y | ||
606 | CONFIG_EXTRA_FIRMWARE="" | ||
607 | # CONFIG_SYS_HYPERVISOR is not set | ||
608 | CONFIG_CONNECTOR=y | ||
609 | CONFIG_PROC_EVENTS=y | ||
610 | CONFIG_MTD=y | ||
611 | # CONFIG_MTD_DEBUG is not set | ||
612 | # CONFIG_MTD_TESTS is not set | ||
613 | CONFIG_MTD_CONCAT=y | ||
614 | CONFIG_MTD_PARTITIONS=y | ||
615 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
616 | CONFIG_MTD_CMDLINE_PARTS=y | ||
617 | # CONFIG_MTD_AFS_PARTS is not set | ||
618 | # CONFIG_MTD_AR7_PARTS is not set | ||
619 | |||
620 | # | ||
621 | # User Modules And Translation Layers | ||
622 | # | ||
623 | CONFIG_MTD_CHAR=y | ||
624 | CONFIG_MTD_BLKDEVS=y | ||
625 | CONFIG_MTD_BLOCK=y | ||
626 | # CONFIG_FTL is not set | ||
627 | # CONFIG_NFTL is not set | ||
628 | # CONFIG_INFTL is not set | ||
629 | # CONFIG_RFD_FTL is not set | ||
630 | # CONFIG_SSFDC is not set | ||
631 | # CONFIG_SM_FTL is not set | ||
632 | # CONFIG_MTD_OOPS is not set | ||
633 | |||
634 | # | ||
635 | # RAM/ROM/Flash chip drivers | ||
636 | # | ||
637 | # CONFIG_MTD_CFI is not set | ||
638 | # CONFIG_MTD_JEDECPROBE is not set | ||
639 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
640 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
641 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
642 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
643 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
644 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
645 | CONFIG_MTD_CFI_I1=y | ||
646 | CONFIG_MTD_CFI_I2=y | ||
647 | # CONFIG_MTD_CFI_I4 is not set | ||
648 | # CONFIG_MTD_CFI_I8 is not set | ||
649 | # CONFIG_MTD_RAM is not set | ||
650 | # CONFIG_MTD_ROM is not set | ||
651 | # CONFIG_MTD_ABSENT is not set | ||
652 | |||
653 | # | ||
654 | # Mapping drivers for chip access | ||
655 | # | ||
656 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
657 | # CONFIG_MTD_PLATRAM is not set | ||
658 | # CONFIG_MTD_MXC is not set | ||
659 | |||
660 | # | ||
661 | # Self-contained MTD device drivers | ||
662 | # | ||
663 | # CONFIG_MTD_DATAFLASH is not set | ||
664 | CONFIG_MTD_MXC_DATAFLASH=y | ||
665 | CONFIG_MTD_MXC_M25P80=y | ||
666 | # CONFIG_MTD_M25P80 is not set | ||
667 | # CONFIG_MTD_SST25L is not set | ||
668 | # CONFIG_MTD_SLRAM is not set | ||
669 | # CONFIG_MTD_PHRAM is not set | ||
670 | # CONFIG_MTD_MTDRAM is not set | ||
671 | # CONFIG_MTD_BLOCK2MTD is not set | ||
672 | |||
673 | # | ||
674 | # Disk-On-Chip Device Drivers | ||
675 | # | ||
676 | # CONFIG_MTD_DOC2000 is not set | ||
677 | # CONFIG_MTD_DOC2001 is not set | ||
678 | # CONFIG_MTD_DOC2001PLUS is not set | ||
679 | CONFIG_MTD_NAND_ECC=y | ||
680 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
681 | CONFIG_MTD_NAND=y | ||
682 | # CONFIG_MTD_NAND_VERIFY_WRITE is not set | ||
683 | # CONFIG_MTD_SM_COMMON is not set | ||
684 | # CONFIG_MTD_NAND_MUSEUM_IDS is not set | ||
685 | CONFIG_MTD_NAND_DENALI_SCRATCH_REG_ADDR=0xFF108018 | ||
686 | # CONFIG_MTD_NAND_GPIO is not set | ||
687 | CONFIG_MTD_NAND_IDS=y | ||
688 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
689 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
690 | # CONFIG_MTD_NAND_IMX_NFC is not set | ||
691 | CONFIG_MTD_NAND_MXC_V3=y | ||
692 | # CONFIG_MTD_NAND_MXC_SWECC is not set | ||
693 | # CONFIG_MTD_NAND_MXC_FORCE_CE is not set | ||
694 | # CONFIG_MXC_NAND_LOW_LEVEL_ERASE is not set | ||
695 | CONFIG_MTD_NAND_GPMI_NFC=y | ||
696 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
697 | # CONFIG_MTD_ALAUDA is not set | ||
698 | # CONFIG_MTD_ONENAND is not set | ||
699 | |||
700 | # | ||
701 | # LPDDR flash memory drivers | ||
702 | # | ||
703 | # CONFIG_MTD_LPDDR is not set | ||
704 | |||
705 | # | ||
706 | # UBI - Unsorted block images | ||
707 | # | ||
708 | CONFIG_MTD_UBI=y | ||
709 | CONFIG_MTD_UBI_WL_THRESHOLD=4096 | ||
710 | CONFIG_MTD_UBI_BEB_RESERVE=1 | ||
711 | # CONFIG_MTD_UBI_GLUEBI is not set | ||
712 | |||
713 | # | ||
714 | # UBI debugging options | ||
715 | # | ||
716 | # CONFIG_MTD_UBI_DEBUG is not set | ||
717 | # CONFIG_MTD_UBI_BLOCK is not set | ||
718 | # CONFIG_PARPORT is not set | ||
719 | CONFIG_BLK_DEV=y | ||
720 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
721 | CONFIG_BLK_DEV_LOOP=y | ||
722 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
723 | # CONFIG_BLK_DEV_DRBD is not set | ||
724 | # CONFIG_BLK_DEV_NBD is not set | ||
725 | # CONFIG_BLK_DEV_UB is not set | ||
726 | # CONFIG_BLK_DEV_RAM is not set | ||
727 | # CONFIG_CDROM_PKTCDVD is not set | ||
728 | # CONFIG_ATA_OVER_ETH is not set | ||
729 | # CONFIG_MG_DISK is not set | ||
730 | CONFIG_MISC_DEVICES=y | ||
731 | # CONFIG_AD525X_DPOT is not set | ||
732 | # CONFIG_ICS932S401 is not set | ||
733 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
734 | # CONFIG_ISL29003 is not set | ||
735 | # CONFIG_SENSORS_TSL2550 is not set | ||
736 | # CONFIG_DS1682 is not set | ||
737 | # CONFIG_TI_DAC7512 is not set | ||
738 | CONFIG_MXS_PERFMON=y | ||
739 | # CONFIG_C2PORT is not set | ||
740 | |||
741 | # | ||
742 | # EEPROM support | ||
743 | # | ||
744 | # CONFIG_EEPROM_AT24 is not set | ||
745 | # CONFIG_EEPROM_AT25 is not set | ||
746 | # CONFIG_EEPROM_LEGACY is not set | ||
747 | # CONFIG_EEPROM_MAX6875 is not set | ||
748 | # CONFIG_EEPROM_93CX6 is not set | ||
749 | # CONFIG_IWMC3200TOP is not set | ||
750 | CONFIG_HAVE_IDE=y | ||
751 | # CONFIG_IDE is not set | ||
752 | |||
753 | # | ||
754 | # SCSI device support | ||
755 | # | ||
756 | CONFIG_SCSI_MOD=y | ||
757 | # CONFIG_RAID_ATTRS is not set | ||
758 | CONFIG_SCSI=y | ||
759 | CONFIG_SCSI_DMA=y | ||
760 | # CONFIG_SCSI_TGT is not set | ||
761 | # CONFIG_SCSI_NETLINK is not set | ||
762 | CONFIG_SCSI_PROC_FS=y | ||
763 | |||
764 | # | ||
765 | # SCSI support type (disk, tape, CD-ROM) | ||
766 | # | ||
767 | CONFIG_BLK_DEV_SD=y | ||
768 | # CONFIG_CHR_DEV_ST is not set | ||
769 | # CONFIG_CHR_DEV_OSST is not set | ||
770 | # CONFIG_BLK_DEV_SR is not set | ||
771 | # CONFIG_CHR_DEV_SG is not set | ||
772 | # CONFIG_CHR_DEV_SCH is not set | ||
773 | CONFIG_SCSI_MULTI_LUN=y | ||
774 | # CONFIG_SCSI_CONSTANTS is not set | ||
775 | # CONFIG_SCSI_LOGGING is not set | ||
776 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
777 | CONFIG_SCSI_WAIT_SCAN=m | ||
778 | |||
779 | # | ||
780 | # SCSI Transports | ||
781 | # | ||
782 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
783 | # CONFIG_SCSI_FC_ATTRS is not set | ||
784 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
785 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
786 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
787 | CONFIG_SCSI_LOWLEVEL=y | ||
788 | # CONFIG_ISCSI_TCP is not set | ||
789 | # CONFIG_LIBFC is not set | ||
790 | # CONFIG_LIBFCOE is not set | ||
791 | # CONFIG_SCSI_DEBUG is not set | ||
792 | # CONFIG_SCSI_DH is not set | ||
793 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
794 | CONFIG_ATA=y | ||
795 | # CONFIG_ATA_NONSTANDARD is not set | ||
796 | CONFIG_ATA_VERBOSE_ERROR=y | ||
797 | # CONFIG_SATA_PMP is not set | ||
798 | |||
799 | # | ||
800 | # Controllers with non-SFF native interface | ||
801 | # | ||
802 | CONFIG_SATA_AHCI_PLATFORM=y | ||
803 | CONFIG_SATA_AHCI_FSL_NO_HOTPLUG_MODE=y | ||
804 | CONFIG_ATA_SFF=y | ||
805 | |||
806 | # | ||
807 | # SFF controllers with custom DMA interface | ||
808 | # | ||
809 | CONFIG_ATA_BMDMA=y | ||
810 | |||
811 | # | ||
812 | # SATA SFF controllers with BMDMA | ||
813 | # | ||
814 | # CONFIG_SATA_MV is not set | ||
815 | |||
816 | # | ||
817 | # PATA SFF controllers with BMDMA | ||
818 | # | ||
819 | CONFIG_PATA_FSL=m | ||
820 | |||
821 | # | ||
822 | # PIO-only SFF controllers | ||
823 | # | ||
824 | # CONFIG_PATA_PLATFORM is not set | ||
825 | |||
826 | # | ||
827 | # Generic fallback / legacy drivers | ||
828 | # | ||
829 | # CONFIG_MD is not set | ||
830 | CONFIG_NETDEVICES=y | ||
831 | # CONFIG_DUMMY is not set | ||
832 | # CONFIG_BONDING is not set | ||
833 | # CONFIG_MACVLAN is not set | ||
834 | # CONFIG_EQUALIZER is not set | ||
835 | # CONFIG_TUN is not set | ||
836 | # CONFIG_VETH is not set | ||
837 | CONFIG_PHYLIB=y | ||
838 | |||
839 | # | ||
840 | # MII PHY device drivers | ||
841 | # | ||
842 | # CONFIG_MARVELL_PHY is not set | ||
843 | # CONFIG_DAVICOM_PHY is not set | ||
844 | # CONFIG_QSEMI_PHY is not set | ||
845 | # CONFIG_LXT_PHY is not set | ||
846 | # CONFIG_CICADA_PHY is not set | ||
847 | # CONFIG_VITESSE_PHY is not set | ||
848 | # CONFIG_SMSC_PHY is not set | ||
849 | # CONFIG_BROADCOM_PHY is not set | ||
850 | # CONFIG_ICPLUS_PHY is not set | ||
851 | # CONFIG_REALTEK_PHY is not set | ||
852 | # CONFIG_NATIONAL_PHY is not set | ||
853 | # CONFIG_STE10XP is not set | ||
854 | # CONFIG_LSI_ET1011C_PHY is not set | ||
855 | # CONFIG_MICREL_PHY is not set | ||
856 | # CONFIG_FIXED_PHY is not set | ||
857 | # CONFIG_MDIO_BITBANG is not set | ||
858 | CONFIG_NET_ETHERNET=y | ||
859 | CONFIG_MII=y | ||
860 | # CONFIG_AX88796 is not set | ||
861 | # CONFIG_SMC91X is not set | ||
862 | # CONFIG_DM9000 is not set | ||
863 | # CONFIG_ENC28J60 is not set | ||
864 | # CONFIG_ETHOC is not set | ||
865 | # CONFIG_SMC911X is not set | ||
866 | CONFIG_SMSC911X=y | ||
867 | # CONFIG_DNET is not set | ||
868 | # CONFIG_IBM_NEW_EMAC_ZMII is not set | ||
869 | # CONFIG_IBM_NEW_EMAC_RGMII is not set | ||
870 | # CONFIG_IBM_NEW_EMAC_TAH is not set | ||
871 | # CONFIG_IBM_NEW_EMAC_EMAC4 is not set | ||
872 | # CONFIG_IBM_NEW_EMAC_NO_FLOW_CTRL is not set | ||
873 | # CONFIG_IBM_NEW_EMAC_MAL_CLR_ICINTSTAT is not set | ||
874 | # CONFIG_IBM_NEW_EMAC_MAL_COMMON_ERR is not set | ||
875 | # CONFIG_B44 is not set | ||
876 | # CONFIG_KS8842 is not set | ||
877 | # CONFIG_KS8851 is not set | ||
878 | # CONFIG_KS8851_MLL is not set | ||
879 | CONFIG_FEC=y | ||
880 | CONFIG_FEC_NAPI=y | ||
881 | # CONFIG_FEC_1588 is not set | ||
882 | # CONFIG_FEC2 is not set | ||
883 | # CONFIG_NETDEV_1000 is not set | ||
884 | # CONFIG_NETDEV_10000 is not set | ||
885 | CONFIG_WLAN=y | ||
886 | # CONFIG_USB_ZD1201 is not set | ||
887 | # CONFIG_HOSTAP is not set | ||
888 | |||
889 | # | ||
890 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
891 | # | ||
892 | |||
893 | # | ||
894 | # USB Network Adapters | ||
895 | # | ||
896 | # CONFIG_USB_CATC is not set | ||
897 | # CONFIG_USB_KAWETH is not set | ||
898 | # CONFIG_USB_PEGASUS is not set | ||
899 | # CONFIG_USB_RTL8150 is not set | ||
900 | # CONFIG_USB_USBNET is not set | ||
901 | # CONFIG_USB_HSO is not set | ||
902 | # CONFIG_USB_IPHETH is not set | ||
903 | # CONFIG_WAN is not set | ||
904 | # CONFIG_PPP is not set | ||
905 | # CONFIG_SLIP is not set | ||
906 | # CONFIG_NETCONSOLE is not set | ||
907 | # CONFIG_NETPOLL is not set | ||
908 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
909 | # CONFIG_ISDN is not set | ||
910 | # CONFIG_PHONE is not set | ||
911 | |||
912 | # | ||
913 | # Input device support | ||
914 | # | ||
915 | CONFIG_INPUT=y | ||
916 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
917 | CONFIG_INPUT_POLLDEV=y | ||
918 | # CONFIG_INPUT_SPARSEKMAP is not set | ||
919 | |||
920 | # | ||
921 | # Userland interfaces | ||
922 | # | ||
923 | CONFIG_INPUT_MOUSEDEV=y | ||
924 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
925 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
926 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
927 | # CONFIG_INPUT_JOYDEV is not set | ||
928 | CONFIG_INPUT_EVDEV=y | ||
929 | # CONFIG_INPUT_EVBUG is not set | ||
930 | # CONFIG_INPUT_APMPOWER is not set | ||
931 | |||
932 | # | ||
933 | # Input Device Drivers | ||
934 | # | ||
935 | CONFIG_INPUT_KEYBOARD=y | ||
936 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
937 | # CONFIG_KEYBOARD_ATKBD is not set | ||
938 | # CONFIG_KEYBOARD_QT2160 is not set | ||
939 | # CONFIG_KEYBOARD_LKKBD is not set | ||
940 | CONFIG_KEYBOARD_GPIO=y | ||
941 | # CONFIG_KEYBOARD_TCA6416 is not set | ||
942 | # CONFIG_KEYBOARD_MATRIX is not set | ||
943 | # CONFIG_KEYBOARD_LM8323 is not set | ||
944 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
945 | # CONFIG_KEYBOARD_IMX is not set | ||
946 | # CONFIG_KEYBOARD_NEWTON is not set | ||
947 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
948 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
949 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
950 | # CONFIG_KEYBOARD_XTKBD is not set | ||
951 | CONFIG_KEYBOARD_MXC=y | ||
952 | CONFIG_KEYBOARD_MPR121=y | ||
953 | # CONFIG_INPUT_MOUSE is not set | ||
954 | # CONFIG_INPUT_JOYSTICK is not set | ||
955 | # CONFIG_INPUT_TABLET is not set | ||
956 | CONFIG_INPUT_TOUCHSCREEN=y | ||
957 | # CONFIG_TOUCHSCREEN_ADS7846 is not set | ||
958 | # CONFIG_TOUCHSCREEN_AD7877 is not set | ||
959 | # CONFIG_TOUCHSCREEN_AD7879_I2C is not set | ||
960 | # CONFIG_TOUCHSCREEN_AD7879_SPI is not set | ||
961 | # CONFIG_TOUCHSCREEN_AD7879 is not set | ||
962 | # CONFIG_TOUCHSCREEN_DYNAPRO is not set | ||
963 | # CONFIG_TOUCHSCREEN_HAMPSHIRE is not set | ||
964 | # CONFIG_TOUCHSCREEN_EETI is not set | ||
965 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
966 | # CONFIG_TOUCHSCREEN_FUJITSU is not set | ||
967 | # CONFIG_TOUCHSCREEN_GUNZE is not set | ||
968 | # CONFIG_TOUCHSCREEN_ELO is not set | ||
969 | # CONFIG_TOUCHSCREEN_WACOM_W8001 is not set | ||
970 | # CONFIG_TOUCHSCREEN_MCS5000 is not set | ||
971 | # CONFIG_TOUCHSCREEN_MTOUCH is not set | ||
972 | # CONFIG_TOUCHSCREEN_INEXIO is not set | ||
973 | # CONFIG_TOUCHSCREEN_MK712 is not set | ||
974 | CONFIG_TOUCHSCREEN_MXC=y | ||
975 | # CONFIG_TOUCHSCREEN_PENMOUNT is not set | ||
976 | # CONFIG_TOUCHSCREEN_TOUCHRIGHT is not set | ||
977 | # CONFIG_TOUCHSCREEN_TOUCHWIN is not set | ||
978 | # CONFIG_TOUCHSCREEN_USB_COMPOSITE is not set | ||
979 | # CONFIG_TOUCHSCREEN_TOUCHIT213 is not set | ||
980 | # CONFIG_TOUCHSCREEN_TSC2007 is not set | ||
981 | # CONFIG_TOUCHSCREEN_W90X900 is not set | ||
982 | # CONFIG_TOUCHSCREEN_TPS6507X is not set | ||
983 | CONFIG_TOUCHSCREEN_P1003=y | ||
984 | CONFIG_TOUCHSCREEN_DA9052=y | ||
985 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
986 | CONFIG_INPUT_MISC=y | ||
987 | # CONFIG_INPUT_AD714X is not set | ||
988 | # CONFIG_INPUT_ATI_REMOTE is not set | ||
989 | # CONFIG_INPUT_ATI_REMOTE2 is not set | ||
990 | # CONFIG_INPUT_KEYSPAN_REMOTE is not set | ||
991 | # CONFIG_INPUT_POWERMATE is not set | ||
992 | # CONFIG_INPUT_YEALINK is not set | ||
993 | # CONFIG_INPUT_CM109 is not set | ||
994 | CONFIG_INPUT_UINPUT=y | ||
995 | # CONFIG_INPUT_PCF8574 is not set | ||
996 | # CONFIG_INPUT_GPIO_ROTARY_ENCODER is not set | ||
997 | CONFIG_INPUT_DA9052_ONKEY=y | ||
998 | CONFIG_INPUT_ISL29023=y | ||
999 | |||
1000 | # | ||
1001 | # Hardware I/O ports | ||
1002 | # | ||
1003 | # CONFIG_SERIO is not set | ||
1004 | # CONFIG_GAMEPORT is not set | ||
1005 | |||
1006 | # | ||
1007 | # Character devices | ||
1008 | # | ||
1009 | CONFIG_VT=y | ||
1010 | CONFIG_CONSOLE_TRANSLATIONS=y | ||
1011 | CONFIG_VT_CONSOLE=y | ||
1012 | CONFIG_HW_CONSOLE=y | ||
1013 | # CONFIG_VT_HW_CONSOLE_BINDING is not set | ||
1014 | CONFIG_DEVKMEM=y | ||
1015 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
1016 | # CONFIG_N_GSM is not set | ||
1017 | CONFIG_FM_SI4702=m | ||
1018 | CONFIG_MXC_IIM=y | ||
1019 | CONFIG_MXS_VIIM=y | ||
1020 | CONFIG_IMX_SIM=m | ||
1021 | |||
1022 | # | ||
1023 | # Serial drivers | ||
1024 | # | ||
1025 | # CONFIG_SERIAL_8250 is not set | ||
1026 | |||
1027 | # | ||
1028 | # Non-8250 serial port support | ||
1029 | # | ||
1030 | CONFIG_SERIAL_MXC=y | ||
1031 | CONFIG_SERIAL_MXC_CONSOLE=y | ||
1032 | # CONFIG_SERIAL_MAX3100 is not set | ||
1033 | # CONFIG_SERIAL_IMX is not set | ||
1034 | CONFIG_SERIAL_CORE=y | ||
1035 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
1036 | # CONFIG_SERIAL_TIMBERDALE is not set | ||
1037 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set | ||
1038 | # CONFIG_SERIAL_ALTERA_UART is not set | ||
1039 | CONFIG_UNIX98_PTYS=y | ||
1040 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
1041 | CONFIG_LEGACY_PTYS=y | ||
1042 | CONFIG_LEGACY_PTY_COUNT=256 | ||
1043 | # CONFIG_FSL_OTP is not set | ||
1044 | # CONFIG_IPMI_HANDLER is not set | ||
1045 | CONFIG_HW_RANDOM=y | ||
1046 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
1047 | # CONFIG_HW_RANDOM_FSL_RNGC is not set | ||
1048 | # CONFIG_R3964 is not set | ||
1049 | # CONFIG_RAW_DRIVER is not set | ||
1050 | # CONFIG_TCG_TPM is not set | ||
1051 | # CONFIG_RAMOOPS is not set | ||
1052 | CONFIG_I2C=y | ||
1053 | CONFIG_I2C_BOARDINFO=y | ||
1054 | CONFIG_I2C_COMPAT=y | ||
1055 | CONFIG_I2C_CHARDEV=y | ||
1056 | CONFIG_I2C_HELPER_AUTO=y | ||
1057 | |||
1058 | # | ||
1059 | # I2C Hardware Bus support | ||
1060 | # | ||
1061 | |||
1062 | # | ||
1063 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1064 | # | ||
1065 | # CONFIG_I2C_DESIGNWARE is not set | ||
1066 | # CONFIG_I2C_GPIO is not set | ||
1067 | CONFIG_I2C_IMX=y | ||
1068 | # CONFIG_I2C_MXC is not set | ||
1069 | CONFIG_I2C_MXC_HS=y | ||
1070 | # CONFIG_I2C_OCORES is not set | ||
1071 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
1072 | # CONFIG_I2C_SIMTEC is not set | ||
1073 | # CONFIG_I2C_XILINX is not set | ||
1074 | |||
1075 | # | ||
1076 | # External I2C/SMBus adapter drivers | ||
1077 | # | ||
1078 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1079 | # CONFIG_I2C_TAOS_EVM is not set | ||
1080 | # CONFIG_I2C_TINY_USB is not set | ||
1081 | |||
1082 | # | ||
1083 | # Other I2C/SMBus bus drivers | ||
1084 | # | ||
1085 | # CONFIG_I2C_STUB is not set | ||
1086 | # CONFIG_I2C_DEBUG_CORE is not set | ||
1087 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
1088 | # CONFIG_I2C_DEBUG_BUS is not set | ||
1089 | CONFIG_SPI=y | ||
1090 | CONFIG_SPI_MASTER=y | ||
1091 | |||
1092 | # | ||
1093 | # SPI Master Controller Drivers | ||
1094 | # | ||
1095 | CONFIG_SPI_BITBANG=y | ||
1096 | # CONFIG_SPI_GPIO is not set | ||
1097 | # CONFIG_SPI_IMX is not set | ||
1098 | # CONFIG_SPI_XILINX is not set | ||
1099 | CONFIG_SPI_MXC=y | ||
1100 | # CONFIG_SPI_DESIGNWARE is not set | ||
1101 | |||
1102 | # | ||
1103 | # SPI Protocol Masters | ||
1104 | # | ||
1105 | # CONFIG_SPI_SPIDEV is not set | ||
1106 | # CONFIG_SPI_TLE62X0 is not set | ||
1107 | |||
1108 | # | ||
1109 | # PPS support | ||
1110 | # | ||
1111 | # CONFIG_PPS is not set | ||
1112 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1113 | CONFIG_GPIOLIB=y | ||
1114 | CONFIG_GPIO_SYSFS=y | ||
1115 | |||
1116 | # | ||
1117 | # Memory mapped GPIO expanders: | ||
1118 | # | ||
1119 | # CONFIG_GPIO_IT8761E is not set | ||
1120 | |||
1121 | # | ||
1122 | # I2C GPIO expanders: | ||
1123 | # | ||
1124 | # CONFIG_GPIO_MAX7300 is not set | ||
1125 | # CONFIG_GPIO_MAX732X is not set | ||
1126 | CONFIG_GPIO_PCA953X=y | ||
1127 | # CONFIG_GPIO_PCA953X_IRQ is not set | ||
1128 | # CONFIG_GPIO_PCF857X is not set | ||
1129 | # CONFIG_GPIO_ADP5588 is not set | ||
1130 | |||
1131 | # | ||
1132 | # PCI GPIO expanders: | ||
1133 | # | ||
1134 | |||
1135 | # | ||
1136 | # SPI GPIO expanders: | ||
1137 | # | ||
1138 | # CONFIG_GPIO_MAX7301 is not set | ||
1139 | # CONFIG_GPIO_MCP23S08 is not set | ||
1140 | # CONFIG_GPIO_MC33880 is not set | ||
1141 | |||
1142 | # | ||
1143 | # AC97 GPIO expanders: | ||
1144 | # | ||
1145 | |||
1146 | # | ||
1147 | # MODULbus GPIO expanders: | ||
1148 | # | ||
1149 | # CONFIG_DA9052_GPIO_ENABLE is not set | ||
1150 | CONFIG_W1=m | ||
1151 | CONFIG_W1_CON=y | ||
1152 | |||
1153 | # | ||
1154 | # 1-wire Bus Masters | ||
1155 | # | ||
1156 | # CONFIG_W1_MASTER_DS2490 is not set | ||
1157 | # CONFIG_W1_MASTER_DS2482 is not set | ||
1158 | CONFIG_W1_MASTER_MXC=m | ||
1159 | # CONFIG_W1_MASTER_DS1WM is not set | ||
1160 | # CONFIG_W1_MASTER_GPIO is not set | ||
1161 | |||
1162 | # | ||
1163 | # 1-wire Slaves | ||
1164 | # | ||
1165 | # CONFIG_W1_SLAVE_THERM is not set | ||
1166 | # CONFIG_W1_SLAVE_SMEM is not set | ||
1167 | # CONFIG_W1_SLAVE_DS2431 is not set | ||
1168 | # CONFIG_W1_SLAVE_DS2751 is not set | ||
1169 | # CONFIG_W1_SLAVE_DS2433 is not set | ||
1170 | CONFIG_W1_SLAVE_DS2438=m | ||
1171 | # CONFIG_W1_SLAVE_DS2760 is not set | ||
1172 | # CONFIG_W1_SLAVE_BQ27000 is not set | ||
1173 | CONFIG_POWER_SUPPLY=y | ||
1174 | # CONFIG_POWER_SUPPLY_DEBUG is not set | ||
1175 | # CONFIG_PDA_POWER is not set | ||
1176 | CONFIG_APM_POWER=y | ||
1177 | # CONFIG_TEST_POWER is not set | ||
1178 | # CONFIG_BATTERY_DS2760 is not set | ||
1179 | # CONFIG_BATTERY_DS2782 is not set | ||
1180 | # CONFIG_BATTERY_BQ27x00 is not set | ||
1181 | # CONFIG_BATTERY_DA9052 is not set | ||
1182 | # CONFIG_BATTERY_MAX17085 is not set | ||
1183 | # CONFIG_BATTERY_MAX17040 is not set | ||
1184 | CONFIG_BATTERY_DS2438=m | ||
1185 | CONFIG_HWMON=y | ||
1186 | # CONFIG_HWMON_VID is not set | ||
1187 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1188 | |||
1189 | # | ||
1190 | # Native drivers | ||
1191 | # | ||
1192 | # CONFIG_SENSORS_AD7414 is not set | ||
1193 | # CONFIG_SENSORS_AD7418 is not set | ||
1194 | # CONFIG_SENSORS_ADCXX is not set | ||
1195 | # CONFIG_SENSORS_ADM1021 is not set | ||
1196 | # CONFIG_SENSORS_ADM1025 is not set | ||
1197 | # CONFIG_SENSORS_ADM1026 is not set | ||
1198 | # CONFIG_SENSORS_ADM1029 is not set | ||
1199 | # CONFIG_SENSORS_ADM1031 is not set | ||
1200 | # CONFIG_SENSORS_ADM9240 is not set | ||
1201 | # CONFIG_SENSORS_ADT7411 is not set | ||
1202 | # CONFIG_SENSORS_ADT7462 is not set | ||
1203 | # CONFIG_SENSORS_ADT7470 is not set | ||
1204 | # CONFIG_SENSORS_ADT7475 is not set | ||
1205 | # CONFIG_SENSORS_ASC7621 is not set | ||
1206 | # CONFIG_SENSORS_ATXP1 is not set | ||
1207 | CONFIG_SENSORS_DA9052=y | ||
1208 | # CONFIG_SENSORS_DS1621 is not set | ||
1209 | # CONFIG_SENSORS_F71805F is not set | ||
1210 | # CONFIG_SENSORS_F71882FG is not set | ||
1211 | # CONFIG_SENSORS_F75375S is not set | ||
1212 | # CONFIG_SENSORS_G760A is not set | ||
1213 | # CONFIG_SENSORS_GL518SM is not set | ||
1214 | # CONFIG_SENSORS_GL520SM is not set | ||
1215 | # CONFIG_SENSORS_IT87 is not set | ||
1216 | # CONFIG_SENSORS_LM63 is not set | ||
1217 | # CONFIG_SENSORS_LM70 is not set | ||
1218 | # CONFIG_SENSORS_LM73 is not set | ||
1219 | # CONFIG_SENSORS_LM75 is not set | ||
1220 | # CONFIG_SENSORS_LM77 is not set | ||
1221 | # CONFIG_SENSORS_LM78 is not set | ||
1222 | # CONFIG_SENSORS_LM80 is not set | ||
1223 | # CONFIG_SENSORS_LM83 is not set | ||
1224 | # CONFIG_SENSORS_LM85 is not set | ||
1225 | # CONFIG_SENSORS_LM87 is not set | ||
1226 | # CONFIG_SENSORS_LM90 is not set | ||
1227 | # CONFIG_SENSORS_LM92 is not set | ||
1228 | # CONFIG_SENSORS_LM93 is not set | ||
1229 | # CONFIG_SENSORS_LTC4215 is not set | ||
1230 | # CONFIG_SENSORS_LTC4245 is not set | ||
1231 | # CONFIG_SENSORS_LM95241 is not set | ||
1232 | # CONFIG_SENSORS_MAX1111 is not set | ||
1233 | # CONFIG_SENSORS_MAX1619 is not set | ||
1234 | CONFIG_SENSORS_MAX17135=y | ||
1235 | # CONFIG_SENSORS_MAX6650 is not set | ||
1236 | # CONFIG_SENSORS_PC87360 is not set | ||
1237 | # CONFIG_SENSORS_PC87427 is not set | ||
1238 | # CONFIG_SENSORS_PCF8591 is not set | ||
1239 | # CONFIG_SENSORS_SHT15 is not set | ||
1240 | # CONFIG_SENSORS_DME1737 is not set | ||
1241 | # CONFIG_SENSORS_EMC1403 is not set | ||
1242 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
1243 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
1244 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
1245 | # CONFIG_SENSORS_ADS7828 is not set | ||
1246 | # CONFIG_SENSORS_ADS7871 is not set | ||
1247 | # CONFIG_SENSORS_AMC6821 is not set | ||
1248 | # CONFIG_SENSORS_THMC50 is not set | ||
1249 | # CONFIG_SENSORS_TMP102 is not set | ||
1250 | # CONFIG_SENSORS_TMP401 is not set | ||
1251 | # CONFIG_SENSORS_TMP421 is not set | ||
1252 | # CONFIG_SENSORS_VT1211 is not set | ||
1253 | # CONFIG_SENSORS_W83781D is not set | ||
1254 | # CONFIG_SENSORS_W83791D is not set | ||
1255 | # CONFIG_SENSORS_W83792D is not set | ||
1256 | # CONFIG_SENSORS_W83793 is not set | ||
1257 | # CONFIG_SENSORS_W83L785TS is not set | ||
1258 | # CONFIG_SENSORS_W83L786NG is not set | ||
1259 | # CONFIG_SENSORS_W83627HF is not set | ||
1260 | # CONFIG_SENSORS_W83627EHF is not set | ||
1261 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
1262 | # CONFIG_SENSORS_LIS3_I2C is not set | ||
1263 | CONFIG_SENSORS_IMX_AHCI=y | ||
1264 | CONFIG_SENSORS_MAG3110=y | ||
1265 | CONFIG_SENSORS_ISL29003=y | ||
1266 | CONFIG_MXC_MMA8450=y | ||
1267 | CONFIG_MXC_MMA8451=y | ||
1268 | # CONFIG_THERMAL is not set | ||
1269 | CONFIG_WATCHDOG=y | ||
1270 | CONFIG_WATCHDOG_NOWAYOUT=y | ||
1271 | |||
1272 | # | ||
1273 | # Watchdog Device Drivers | ||
1274 | # | ||
1275 | # CONFIG_DA9052_WATCHDOG is not set | ||
1276 | # CONFIG_SOFT_WATCHDOG is not set | ||
1277 | CONFIG_MXC_WATCHDOG=y | ||
1278 | # CONFIG_MAX63XX_WATCHDOG is not set | ||
1279 | # CONFIG_IMX2_WDT is not set | ||
1280 | |||
1281 | # | ||
1282 | # USB-based Watchdog Cards | ||
1283 | # | ||
1284 | # CONFIG_USBPCWATCHDOG is not set | ||
1285 | CONFIG_SSB_POSSIBLE=y | ||
1286 | |||
1287 | # | ||
1288 | # Sonics Silicon Backplane | ||
1289 | # | ||
1290 | # CONFIG_SSB is not set | ||
1291 | CONFIG_MFD_SUPPORT=y | ||
1292 | CONFIG_MFD_CORE=y | ||
1293 | # CONFIG_MFD_88PM860X is not set | ||
1294 | # CONFIG_MFD_SM501 is not set | ||
1295 | # CONFIG_MFD_ASIC3 is not set | ||
1296 | # CONFIG_HTC_EGPIO is not set | ||
1297 | # CONFIG_HTC_PASIC3 is not set | ||
1298 | # CONFIG_HTC_I2CPLD is not set | ||
1299 | # CONFIG_TPS65010 is not set | ||
1300 | # CONFIG_TPS6507X is not set | ||
1301 | # CONFIG_TWL4030_CORE is not set | ||
1302 | # CONFIG_MFD_TC35892 is not set | ||
1303 | # CONFIG_MFD_TMIO is not set | ||
1304 | # CONFIG_MFD_T7L66XB is not set | ||
1305 | # CONFIG_MFD_TC6387XB is not set | ||
1306 | # CONFIG_MFD_TC6393XB is not set | ||
1307 | # CONFIG_PMIC_DA903X is not set | ||
1308 | # CONFIG_PMIC_ADP5520 is not set | ||
1309 | # CONFIG_MFD_MAX8925 is not set | ||
1310 | # CONFIG_MFD_WM8400 is not set | ||
1311 | # CONFIG_MFD_WM831X is not set | ||
1312 | # CONFIG_MFD_WM8350_I2C is not set | ||
1313 | # CONFIG_MFD_WM8994 is not set | ||
1314 | CONFIG_MFD_LTC3589=y | ||
1315 | CONFIG_MFD_LTC3589_I2C=y | ||
1316 | # CONFIG_MFD_PCF50633 is not set | ||
1317 | # CONFIG_MFD_MC13783 is not set | ||
1318 | CONFIG_PMIC_DA9052=y | ||
1319 | # CONFIG_ABX500_CORE is not set | ||
1320 | # CONFIG_EZX_PCAP is not set | ||
1321 | # CONFIG_AB8500_CORE is not set | ||
1322 | CONFIG_MFD_MAX17135=y | ||
1323 | CONFIG_REGULATOR=y | ||
1324 | # CONFIG_REGULATOR_DEBUG is not set | ||
1325 | # CONFIG_REGULATOR_DUMMY is not set | ||
1326 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
1327 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
1328 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
1329 | # CONFIG_REGULATOR_BQ24022 is not set | ||
1330 | # CONFIG_REGULATOR_MAX1586 is not set | ||
1331 | # CONFIG_REGULATOR_MAX8649 is not set | ||
1332 | # CONFIG_REGULATOR_MAX8660 is not set | ||
1333 | # CONFIG_REGULATOR_LP3971 is not set | ||
1334 | # CONFIG_REGULATOR_TPS65023 is not set | ||
1335 | # CONFIG_REGULATOR_TPS6507X is not set | ||
1336 | CONFIG_REGULATOR_MC13892=y | ||
1337 | CONFIG_REGULATOR_MC34708=y | ||
1338 | CONFIG_REGULATOR_LTC3589=y | ||
1339 | CONFIG_REGULATOR_MAX17135=y | ||
1340 | CONFIG_REGULATOR_DA9052=y | ||
1341 | CONFIG_MEDIA_SUPPORT=y | ||
1342 | |||
1343 | # | ||
1344 | # Multimedia core support | ||
1345 | # | ||
1346 | CONFIG_VIDEO_DEV=y | ||
1347 | CONFIG_VIDEO_V4L2_COMMON=y | ||
1348 | CONFIG_VIDEO_ALLOW_V4L1=y | ||
1349 | CONFIG_VIDEO_V4L1_COMPAT=y | ||
1350 | # CONFIG_DVB_CORE is not set | ||
1351 | CONFIG_VIDEO_MEDIA=y | ||
1352 | |||
1353 | # | ||
1354 | # Multimedia drivers | ||
1355 | # | ||
1356 | CONFIG_IR_CORE=y | ||
1357 | CONFIG_VIDEO_IR=y | ||
1358 | CONFIG_RC_MAP=y | ||
1359 | CONFIG_IR_NEC_DECODER=y | ||
1360 | CONFIG_IR_RC5_DECODER=y | ||
1361 | CONFIG_IR_RC6_DECODER=y | ||
1362 | CONFIG_IR_JVC_DECODER=y | ||
1363 | CONFIG_IR_SONY_DECODER=y | ||
1364 | # CONFIG_IR_IMON is not set | ||
1365 | # CONFIG_MEDIA_ATTACH is not set | ||
1366 | CONFIG_MEDIA_TUNER=y | ||
1367 | CONFIG_MEDIA_TUNER_CUSTOMISE=y | ||
1368 | # CONFIG_MEDIA_TUNER_SIMPLE is not set | ||
1369 | # CONFIG_MEDIA_TUNER_TDA8290 is not set | ||
1370 | # CONFIG_MEDIA_TUNER_TDA827X is not set | ||
1371 | # CONFIG_MEDIA_TUNER_TDA18271 is not set | ||
1372 | # CONFIG_MEDIA_TUNER_TDA9887 is not set | ||
1373 | # CONFIG_MEDIA_TUNER_TEA5761 is not set | ||
1374 | # CONFIG_MEDIA_TUNER_TEA5767 is not set | ||
1375 | # CONFIG_MEDIA_TUNER_MT20XX is not set | ||
1376 | # CONFIG_MEDIA_TUNER_MT2060 is not set | ||
1377 | # CONFIG_MEDIA_TUNER_MT2266 is not set | ||
1378 | # CONFIG_MEDIA_TUNER_MT2131 is not set | ||
1379 | # CONFIG_MEDIA_TUNER_QT1010 is not set | ||
1380 | # CONFIG_MEDIA_TUNER_XC2028 is not set | ||
1381 | # CONFIG_MEDIA_TUNER_XC5000 is not set | ||
1382 | # CONFIG_MEDIA_TUNER_MXL5005S is not set | ||
1383 | # CONFIG_MEDIA_TUNER_MXL5007T is not set | ||
1384 | # CONFIG_MEDIA_TUNER_MC44S803 is not set | ||
1385 | CONFIG_MEDIA_TUNER_MAX2165=m | ||
1386 | CONFIG_VIDEO_V4L2=y | ||
1387 | CONFIG_VIDEO_V4L1=y | ||
1388 | CONFIG_VIDEO_CAPTURE_DRIVERS=y | ||
1389 | # CONFIG_VIDEO_ADV_DEBUG is not set | ||
1390 | # CONFIG_VIDEO_FIXED_MINOR_RANGES is not set | ||
1391 | # CONFIG_VIDEO_HELPER_CHIPS_AUTO is not set | ||
1392 | CONFIG_VIDEO_IR_I2C=y | ||
1393 | |||
1394 | # | ||
1395 | # Encoders/decoders and other helper chips | ||
1396 | # | ||
1397 | |||
1398 | # | ||
1399 | # Audio decoders | ||
1400 | # | ||
1401 | # CONFIG_VIDEO_TVAUDIO is not set | ||
1402 | # CONFIG_VIDEO_TDA7432 is not set | ||
1403 | # CONFIG_VIDEO_TDA9840 is not set | ||
1404 | # CONFIG_VIDEO_TDA9875 is not set | ||
1405 | # CONFIG_VIDEO_TEA6415C is not set | ||
1406 | # CONFIG_VIDEO_TEA6420 is not set | ||
1407 | # CONFIG_VIDEO_MSP3400 is not set | ||
1408 | # CONFIG_VIDEO_CS5345 is not set | ||
1409 | # CONFIG_VIDEO_CS53L32A is not set | ||
1410 | # CONFIG_VIDEO_M52790 is not set | ||
1411 | # CONFIG_VIDEO_TLV320AIC23B is not set | ||
1412 | # CONFIG_VIDEO_WM8775 is not set | ||
1413 | # CONFIG_VIDEO_WM8739 is not set | ||
1414 | # CONFIG_VIDEO_VP27SMPX is not set | ||
1415 | |||
1416 | # | ||
1417 | # RDS decoders | ||
1418 | # | ||
1419 | # CONFIG_VIDEO_SAA6588 is not set | ||
1420 | |||
1421 | # | ||
1422 | # Video decoders | ||
1423 | # | ||
1424 | # CONFIG_VIDEO_ADV7180 is not set | ||
1425 | # CONFIG_VIDEO_BT819 is not set | ||
1426 | # CONFIG_VIDEO_BT856 is not set | ||
1427 | # CONFIG_VIDEO_BT866 is not set | ||
1428 | # CONFIG_VIDEO_KS0127 is not set | ||
1429 | # CONFIG_VIDEO_OV7670 is not set | ||
1430 | # CONFIG_VIDEO_MT9V011 is not set | ||
1431 | # CONFIG_VIDEO_TCM825X is not set | ||
1432 | # CONFIG_VIDEO_SAA7110 is not set | ||
1433 | # CONFIG_VIDEO_SAA711X is not set | ||
1434 | # CONFIG_VIDEO_SAA717X is not set | ||
1435 | # CONFIG_VIDEO_SAA7191 is not set | ||
1436 | # CONFIG_VIDEO_TVP514X is not set | ||
1437 | # CONFIG_VIDEO_TVP5150 is not set | ||
1438 | # CONFIG_VIDEO_TVP7002 is not set | ||
1439 | # CONFIG_VIDEO_VPX3220 is not set | ||
1440 | |||
1441 | # | ||
1442 | # Video and audio decoders | ||
1443 | # | ||
1444 | # CONFIG_VIDEO_CX25840 is not set | ||
1445 | |||
1446 | # | ||
1447 | # MPEG video encoders | ||
1448 | # | ||
1449 | # CONFIG_VIDEO_CX2341X is not set | ||
1450 | |||
1451 | # | ||
1452 | # Video encoders | ||
1453 | # | ||
1454 | # CONFIG_VIDEO_SAA7127 is not set | ||
1455 | # CONFIG_VIDEO_SAA7185 is not set | ||
1456 | # CONFIG_VIDEO_ADV7170 is not set | ||
1457 | # CONFIG_VIDEO_ADV7175 is not set | ||
1458 | # CONFIG_VIDEO_THS7303 is not set | ||
1459 | # CONFIG_VIDEO_ADV7343 is not set | ||
1460 | # CONFIG_VIDEO_AK881X is not set | ||
1461 | |||
1462 | # | ||
1463 | # Video improvement chips | ||
1464 | # | ||
1465 | # CONFIG_VIDEO_UPD64031A is not set | ||
1466 | # CONFIG_VIDEO_UPD64083 is not set | ||
1467 | # CONFIG_VIDEO_VIVI is not set | ||
1468 | CONFIG_VIDEO_MXC_CAMERA=m | ||
1469 | |||
1470 | # | ||
1471 | # MXC Camera/V4L2 PRP Features support | ||
1472 | # | ||
1473 | CONFIG_VIDEO_MXC_IPU_CAMERA=y | ||
1474 | # CONFIG_VIDEO_MXC_CSI_CAMERA is not set | ||
1475 | # CONFIG_MXC_CAMERA_MC521DA is not set | ||
1476 | # CONFIG_MXC_EMMA_CAMERA_MICRON111 is not set | ||
1477 | # CONFIG_MXC_CAMERA_OV2640_EMMA is not set | ||
1478 | # CONFIG_MXC_CAMERA_MICRON111 is not set | ||
1479 | # CONFIG_MXC_CAMERA_OV2640 is not set | ||
1480 | CONFIG_MXC_CAMERA_OV3640=m | ||
1481 | CONFIG_MXC_CAMERA_OV5640=m | ||
1482 | CONFIG_MXC_CAMERA_OV5642=m | ||
1483 | CONFIG_MXC_TVIN_ADV7180=m | ||
1484 | CONFIG_MXC_IPU_PRP_VF_SDC=m | ||
1485 | CONFIG_MXC_IPU_PRP_ENC=m | ||
1486 | CONFIG_MXC_IPU_CSI_ENC=m | ||
1487 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
1488 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
1489 | # CONFIG_VIDEO_MXC_IPUV1_WVGA_OUTPUT is not set | ||
1490 | # CONFIG_VIDEO_MXC_PXP_V4L2 is not set | ||
1491 | # CONFIG_VIDEO_MXC_OPL is not set | ||
1492 | # CONFIG_VIDEO_CPIA is not set | ||
1493 | # CONFIG_VIDEO_CPIA2 is not set | ||
1494 | # CONFIG_VIDEO_SAA5246A is not set | ||
1495 | # CONFIG_VIDEO_SAA5249 is not set | ||
1496 | # CONFIG_SOC_CAMERA is not set | ||
1497 | CONFIG_V4L_USB_DRIVERS=y | ||
1498 | CONFIG_USB_VIDEO_CLASS=y | ||
1499 | CONFIG_USB_VIDEO_CLASS_INPUT_EVDEV=y | ||
1500 | CONFIG_USB_GSPCA=m | ||
1501 | # CONFIG_USB_M5602 is not set | ||
1502 | # CONFIG_USB_STV06XX is not set | ||
1503 | # CONFIG_USB_GL860 is not set | ||
1504 | # CONFIG_USB_GSPCA_BENQ is not set | ||
1505 | # CONFIG_USB_GSPCA_CONEX is not set | ||
1506 | # CONFIG_USB_GSPCA_CPIA1 is not set | ||
1507 | # CONFIG_USB_GSPCA_ETOMS is not set | ||
1508 | # CONFIG_USB_GSPCA_FINEPIX is not set | ||
1509 | # CONFIG_USB_GSPCA_JEILINJ is not set | ||
1510 | # CONFIG_USB_GSPCA_MARS is not set | ||
1511 | # CONFIG_USB_GSPCA_MR97310A is not set | ||
1512 | # CONFIG_USB_GSPCA_OV519 is not set | ||
1513 | # CONFIG_USB_GSPCA_OV534 is not set | ||
1514 | # CONFIG_USB_GSPCA_OV534_9 is not set | ||
1515 | # CONFIG_USB_GSPCA_PAC207 is not set | ||
1516 | # CONFIG_USB_GSPCA_PAC7302 is not set | ||
1517 | # CONFIG_USB_GSPCA_PAC7311 is not set | ||
1518 | # CONFIG_USB_GSPCA_SN9C2028 is not set | ||
1519 | # CONFIG_USB_GSPCA_SN9C20X is not set | ||
1520 | # CONFIG_USB_GSPCA_SONIXB is not set | ||
1521 | # CONFIG_USB_GSPCA_SONIXJ is not set | ||
1522 | # CONFIG_USB_GSPCA_SPCA500 is not set | ||
1523 | # CONFIG_USB_GSPCA_SPCA501 is not set | ||
1524 | # CONFIG_USB_GSPCA_SPCA505 is not set | ||
1525 | # CONFIG_USB_GSPCA_SPCA506 is not set | ||
1526 | # CONFIG_USB_GSPCA_SPCA508 is not set | ||
1527 | # CONFIG_USB_GSPCA_SPCA561 is not set | ||
1528 | # CONFIG_USB_GSPCA_SQ905 is not set | ||
1529 | # CONFIG_USB_GSPCA_SQ905C is not set | ||
1530 | # CONFIG_USB_GSPCA_STK014 is not set | ||
1531 | # CONFIG_USB_GSPCA_STV0680 is not set | ||
1532 | # CONFIG_USB_GSPCA_SUNPLUS is not set | ||
1533 | # CONFIG_USB_GSPCA_T613 is not set | ||
1534 | # CONFIG_USB_GSPCA_TV8532 is not set | ||
1535 | # CONFIG_USB_GSPCA_VC032X is not set | ||
1536 | # CONFIG_USB_GSPCA_ZC3XX is not set | ||
1537 | # CONFIG_VIDEO_PVRUSB2 is not set | ||
1538 | # CONFIG_VIDEO_HDPVR is not set | ||
1539 | # CONFIG_VIDEO_EM28XX is not set | ||
1540 | # CONFIG_VIDEO_CX231XX is not set | ||
1541 | # CONFIG_VIDEO_USBVISION is not set | ||
1542 | # CONFIG_USB_VICAM is not set | ||
1543 | # CONFIG_USB_IBMCAM is not set | ||
1544 | # CONFIG_USB_KONICAWC is not set | ||
1545 | # CONFIG_USB_QUICKCAM_MESSENGER is not set | ||
1546 | # CONFIG_USB_ET61X251 is not set | ||
1547 | # CONFIG_VIDEO_OVCAMCHIP is not set | ||
1548 | # CONFIG_USB_OV511 is not set | ||
1549 | # CONFIG_USB_SE401 is not set | ||
1550 | # CONFIG_USB_SN9C102 is not set | ||
1551 | # CONFIG_USB_STV680 is not set | ||
1552 | # CONFIG_USB_ZC0301 is not set | ||
1553 | # CONFIG_USB_PWC is not set | ||
1554 | # CONFIG_USB_ZR364XX is not set | ||
1555 | # CONFIG_USB_STKWEBCAM is not set | ||
1556 | # CONFIG_USB_S2255 is not set | ||
1557 | # CONFIG_V4L_MEM2MEM_DRIVERS is not set | ||
1558 | CONFIG_RADIO_ADAPTERS=y | ||
1559 | # CONFIG_I2C_SI4713 is not set | ||
1560 | # CONFIG_RADIO_SI4713 is not set | ||
1561 | # CONFIG_USB_DSBR is not set | ||
1562 | # CONFIG_RADIO_SI470X is not set | ||
1563 | # CONFIG_USB_MR800 is not set | ||
1564 | # CONFIG_RADIO_TEA5764 is not set | ||
1565 | # CONFIG_RADIO_SAA7706H is not set | ||
1566 | # CONFIG_RADIO_TEF6862 is not set | ||
1567 | # CONFIG_DAB is not set | ||
1568 | |||
1569 | # | ||
1570 | # Graphics support | ||
1571 | # | ||
1572 | # CONFIG_VGASTATE is not set | ||
1573 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
1574 | CONFIG_FB=y | ||
1575 | # CONFIG_FIRMWARE_EDID is not set | ||
1576 | # CONFIG_FB_DDC is not set | ||
1577 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
1578 | CONFIG_FB_CFB_FILLRECT=y | ||
1579 | CONFIG_FB_CFB_COPYAREA=y | ||
1580 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
1581 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
1582 | # CONFIG_FB_SYS_FILLRECT is not set | ||
1583 | # CONFIG_FB_SYS_COPYAREA is not set | ||
1584 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
1585 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
1586 | # CONFIG_FB_SYS_FOPS is not set | ||
1587 | CONFIG_FB_DEFERRED_IO=y | ||
1588 | # CONFIG_FB_SVGALIB is not set | ||
1589 | # CONFIG_FB_MACMODES is not set | ||
1590 | # CONFIG_FB_BACKLIGHT is not set | ||
1591 | CONFIG_FB_MODE_HELPERS=y | ||
1592 | # CONFIG_FB_TILEBLITTING is not set | ||
1593 | |||
1594 | # | ||
1595 | # Frame buffer hardware drivers | ||
1596 | # | ||
1597 | CONFIG_FB_MXC=y | ||
1598 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
1599 | CONFIG_FB_MXC_EPSON_VGA_SYNC_PANEL=y | ||
1600 | CONFIG_FB_MXC_TVOUT_TVE=y | ||
1601 | CONFIG_FB_MXC_LDB=y | ||
1602 | # CONFIG_FB_MXC_CLAA_WVGA_SYNC_PANEL is not set | ||
1603 | # CONFIG_FB_MXC_SEIKO_WVGA_SYNC_PANEL is not set | ||
1604 | CONFIG_FB_MXC_SII902X=y | ||
1605 | CONFIG_FB_MXC_CH7026=y | ||
1606 | # CONFIG_FB_MXC_TVOUT_CH7024 is not set | ||
1607 | # CONFIG_FB_MXC_ASYNC_PANEL is not set | ||
1608 | CONFIG_FB_MXC_EINK_PANEL=y | ||
1609 | # CONFIG_FB_MXC_EINK_AUTO_UPDATE_MODE is not set | ||
1610 | # CONFIG_FB_MXC_ELCDIF_FB is not set | ||
1611 | # CONFIG_FB_UVESA is not set | ||
1612 | # CONFIG_FB_S1D13XXX is not set | ||
1613 | # CONFIG_FB_TMIO is not set | ||
1614 | # CONFIG_FB_VIRTUAL is not set | ||
1615 | # CONFIG_FB_METRONOME is not set | ||
1616 | # CONFIG_FB_MB862XX is not set | ||
1617 | # CONFIG_FB_BROADSHEET is not set | ||
1618 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
1619 | # CONFIG_LCD_CLASS_DEVICE is not set | ||
1620 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
1621 | CONFIG_BACKLIGHT_GENERIC=y | ||
1622 | # CONFIG_BACKLIGHT_DA9052 is not set | ||
1623 | CONFIG_BACKLIGHT_PWM=y | ||
1624 | # CONFIG_BACKLIGHT_ADP8860 is not set | ||
1625 | CONFIG_BACKLIGHT_MXC_MC13892=y | ||
1626 | |||
1627 | # | ||
1628 | # Display device support | ||
1629 | # | ||
1630 | # CONFIG_DISPLAY_SUPPORT is not set | ||
1631 | |||
1632 | # | ||
1633 | # Console display driver support | ||
1634 | # | ||
1635 | # CONFIG_VGA_CONSOLE is not set | ||
1636 | CONFIG_DUMMY_CONSOLE=y | ||
1637 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
1638 | # CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY is not set | ||
1639 | # CONFIG_FRAMEBUFFER_CONSOLE_ROTATION is not set | ||
1640 | CONFIG_FONTS=y | ||
1641 | # CONFIG_FONT_8x8 is not set | ||
1642 | CONFIG_FONT_8x16=y | ||
1643 | # CONFIG_FONT_6x11 is not set | ||
1644 | # CONFIG_FONT_7x14 is not set | ||
1645 | # CONFIG_FONT_PEARL_8x8 is not set | ||
1646 | # CONFIG_FONT_ACORN_8x8 is not set | ||
1647 | # CONFIG_FONT_MINI_4x6 is not set | ||
1648 | # CONFIG_FONT_SUN8x16 is not set | ||
1649 | # CONFIG_FONT_SUN12x22 is not set | ||
1650 | # CONFIG_FONT_10x18 is not set | ||
1651 | CONFIG_LOGO=y | ||
1652 | # CONFIG_LOGO_LINUX_MONO is not set | ||
1653 | # CONFIG_LOGO_LINUX_VGA16 is not set | ||
1654 | CONFIG_LOGO_LINUX_CLUT224=y | ||
1655 | CONFIG_SOUND=y | ||
1656 | CONFIG_SOUND_OSS_CORE=y | ||
1657 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
1658 | CONFIG_SND=y | ||
1659 | CONFIG_SND_TIMER=y | ||
1660 | CONFIG_SND_PCM=y | ||
1661 | CONFIG_SND_JACK=y | ||
1662 | # CONFIG_SND_SEQUENCER is not set | ||
1663 | CONFIG_SND_OSSEMUL=y | ||
1664 | CONFIG_SND_MIXER_OSS=y | ||
1665 | CONFIG_SND_PCM_OSS=y | ||
1666 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
1667 | # CONFIG_SND_HRTIMER is not set | ||
1668 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
1669 | CONFIG_SND_SUPPORT_OLD_API=y | ||
1670 | CONFIG_SND_VERBOSE_PROCFS=y | ||
1671 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
1672 | # CONFIG_SND_DEBUG is not set | ||
1673 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
1674 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
1675 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
1676 | # CONFIG_SND_SBAWE_SEQ is not set | ||
1677 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
1678 | CONFIG_SND_DRIVERS=y | ||
1679 | # CONFIG_SND_DUMMY is not set | ||
1680 | # CONFIG_SND_MTPAV is not set | ||
1681 | # CONFIG_SND_SERIAL_U16550 is not set | ||
1682 | # CONFIG_SND_MPU401 is not set | ||
1683 | # CONFIG_SND_ARM is not set | ||
1684 | CONFIG_SND_SPI=y | ||
1685 | CONFIG_SND_USB=y | ||
1686 | # CONFIG_SND_USB_AUDIO is not set | ||
1687 | # CONFIG_SND_USB_UA101 is not set | ||
1688 | # CONFIG_SND_USB_CAIAQ is not set | ||
1689 | CONFIG_SND_SOC=y | ||
1690 | CONFIG_SND_MXC_SOC=y | ||
1691 | CONFIG_SND_MXC_SOC_SSI=y | ||
1692 | CONFIG_SND_MXC_SOC_ESAI=y | ||
1693 | CONFIG_SND_MXC_SOC_SPDIF_DAI=y | ||
1694 | CONFIG_SND_MXC_SOC_IRAM=y | ||
1695 | CONFIG_SND_SOC_IMX_3STACK_SGTL5000=y | ||
1696 | # CONFIG_SND_SOC_IMX_3STACK_AK4647 is not set | ||
1697 | # CONFIG_SND_SOC_IMX_3STACK_WM8580 is not set | ||
1698 | # CONFIG_SND_SOC_IMX_3STACK_AK5702 is not set | ||
1699 | # CONFIG_SND_SOC_IMX_3STACK_BLUETOOTH is not set | ||
1700 | CONFIG_SND_SOC_IMX_3STACK_CS42888=y | ||
1701 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
1702 | # CONFIG_MXC_SSI_DUAL_FIFO is not set | ||
1703 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
1704 | # CONFIG_SND_SOC_ALL_CODECS is not set | ||
1705 | CONFIG_SND_SOC_CS42888=y | ||
1706 | CONFIG_SND_SOC_SGTL5000=y | ||
1707 | CONFIG_SND_SOC_MXC_SPDIF=y | ||
1708 | # CONFIG_SOUND_PRIME is not set | ||
1709 | CONFIG_HID_SUPPORT=y | ||
1710 | CONFIG_HID=y | ||
1711 | # CONFIG_HIDRAW is not set | ||
1712 | |||
1713 | # | ||
1714 | # USB Input Devices | ||
1715 | # | ||
1716 | CONFIG_USB_HID=y | ||
1717 | # CONFIG_HID_PID is not set | ||
1718 | # CONFIG_USB_HIDDEV is not set | ||
1719 | |||
1720 | # | ||
1721 | # Special HID drivers | ||
1722 | # | ||
1723 | # CONFIG_HID_3M_PCT is not set | ||
1724 | CONFIG_HID_A4TECH=m | ||
1725 | CONFIG_HID_APPLE=m | ||
1726 | CONFIG_HID_BELKIN=m | ||
1727 | # CONFIG_HID_CANDO is not set | ||
1728 | CONFIG_HID_CHERRY=m | ||
1729 | CONFIG_HID_CHICONY=m | ||
1730 | # CONFIG_HID_PRODIKEYS is not set | ||
1731 | CONFIG_HID_CYPRESS=m | ||
1732 | # CONFIG_HID_DRAGONRISE is not set | ||
1733 | # CONFIG_HID_EGALAX is not set | ||
1734 | CONFIG_HID_EZKEY=m | ||
1735 | # CONFIG_HID_KYE is not set | ||
1736 | CONFIG_HID_GYRATION=m | ||
1737 | # CONFIG_HID_TWINHAN is not set | ||
1738 | # CONFIG_HID_KENSINGTON is not set | ||
1739 | CONFIG_HID_LOGITECH=m | ||
1740 | # CONFIG_LOGITECH_FF is not set | ||
1741 | # CONFIG_LOGIRUMBLEPAD2_FF is not set | ||
1742 | # CONFIG_LOGIG940_FF is not set | ||
1743 | # CONFIG_HID_MAGICMOUSE is not set | ||
1744 | CONFIG_HID_MICROSOFT=m | ||
1745 | # CONFIG_HID_MOSART is not set | ||
1746 | CONFIG_HID_MONTEREY=m | ||
1747 | # CONFIG_HID_NTRIG is not set | ||
1748 | # CONFIG_HID_ORTEK is not set | ||
1749 | CONFIG_HID_PANTHERLORD=m | ||
1750 | # CONFIG_PANTHERLORD_FF is not set | ||
1751 | CONFIG_HID_PETALYNX=m | ||
1752 | # CONFIG_HID_PICOLCD is not set | ||
1753 | # CONFIG_HID_QUANTA is not set | ||
1754 | # CONFIG_HID_ROCCAT is not set | ||
1755 | # CONFIG_HID_ROCCAT_KONE is not set | ||
1756 | CONFIG_HID_SAMSUNG=m | ||
1757 | CONFIG_HID_SONY=m | ||
1758 | # CONFIG_HID_STANTUM is not set | ||
1759 | CONFIG_HID_SUNPLUS=m | ||
1760 | # CONFIG_HID_GREENASIA is not set | ||
1761 | # CONFIG_HID_SMARTJOYPLUS is not set | ||
1762 | # CONFIG_HID_TOPSEED is not set | ||
1763 | # CONFIG_HID_THRUSTMASTER is not set | ||
1764 | # CONFIG_HID_WACOM is not set | ||
1765 | # CONFIG_HID_ZEROPLUS is not set | ||
1766 | # CONFIG_HID_ZYDACRON is not set | ||
1767 | CONFIG_USB_SUPPORT=y | ||
1768 | CONFIG_USB_ARCH_HAS_HCD=y | ||
1769 | # CONFIG_USB_ARCH_HAS_OHCI is not set | ||
1770 | CONFIG_USB_ARCH_HAS_EHCI=y | ||
1771 | CONFIG_USB=y | ||
1772 | # CONFIG_USB_DEBUG is not set | ||
1773 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
1774 | |||
1775 | # | ||
1776 | # Miscellaneous USB options | ||
1777 | # | ||
1778 | # CONFIG_USB_DEVICEFS is not set | ||
1779 | CONFIG_USB_DEVICE_CLASS=y | ||
1780 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
1781 | CONFIG_USB_SUSPEND=y | ||
1782 | CONFIG_USB_OTG=y | ||
1783 | # CONFIG_USB_OTG_WHITELIST is not set | ||
1784 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
1785 | # CONFIG_USB_MON is not set | ||
1786 | # CONFIG_USB_WUSB is not set | ||
1787 | # CONFIG_USB_WUSB_CBAF is not set | ||
1788 | |||
1789 | # | ||
1790 | # USB Host Controller Drivers | ||
1791 | # | ||
1792 | # CONFIG_USB_C67X00_HCD is not set | ||
1793 | CONFIG_USB_EHCI_HCD=y | ||
1794 | CONFIG_USB_EHCI_ARC=y | ||
1795 | CONFIG_USB_EHCI_ARC_OTG=y | ||
1796 | # CONFIG_USB_STATIC_IRAM is not set | ||
1797 | # CONFIG_USB_EHCI_FSL_MC13783 is not set | ||
1798 | # CONFIG_USB_EHCI_FSL_1301 is not set | ||
1799 | # CONFIG_USB_EHCI_FSL_1504 is not set | ||
1800 | CONFIG_USB_EHCI_FSL_UTMI=y | ||
1801 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
1802 | # CONFIG_USB_EHCI_TT_NEWSCHED is not set | ||
1803 | # CONFIG_USB_EHCI_MXC is not set | ||
1804 | # CONFIG_USB_OXU210HP_HCD is not set | ||
1805 | # CONFIG_USB_ISP116X_HCD is not set | ||
1806 | # CONFIG_USB_ISP1760_HCD is not set | ||
1807 | # CONFIG_USB_ISP1362_HCD is not set | ||
1808 | # CONFIG_USB_SL811_HCD is not set | ||
1809 | # CONFIG_USB_R8A66597_HCD is not set | ||
1810 | # CONFIG_USB_HWA_HCD is not set | ||
1811 | # CONFIG_USB_MUSB_HDRC is not set | ||
1812 | # CONFIG_USB_GADGET_MUSB_HDRC is not set | ||
1813 | |||
1814 | # | ||
1815 | # USB Device Class drivers | ||
1816 | # | ||
1817 | CONFIG_USB_ACM=y | ||
1818 | # CONFIG_USB_PRINTER is not set | ||
1819 | # CONFIG_USB_WDM is not set | ||
1820 | # CONFIG_USB_TMC is not set | ||
1821 | |||
1822 | # | ||
1823 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
1824 | # | ||
1825 | |||
1826 | # | ||
1827 | # also be needed; see USB_STORAGE Help for more info | ||
1828 | # | ||
1829 | CONFIG_USB_STORAGE=y | ||
1830 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
1831 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
1832 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
1833 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
1834 | # CONFIG_USB_STORAGE_USBAT is not set | ||
1835 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
1836 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
1837 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
1838 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
1839 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
1840 | # CONFIG_USB_STORAGE_KARMA is not set | ||
1841 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
1842 | # CONFIG_USB_LIBUSUAL is not set | ||
1843 | |||
1844 | # | ||
1845 | # USB Imaging devices | ||
1846 | # | ||
1847 | # CONFIG_USB_MDC800 is not set | ||
1848 | # CONFIG_USB_MICROTEK is not set | ||
1849 | |||
1850 | # | ||
1851 | # USB port drivers | ||
1852 | # | ||
1853 | # CONFIG_USB_SERIAL is not set | ||
1854 | |||
1855 | # | ||
1856 | # USB Miscellaneous drivers | ||
1857 | # | ||
1858 | # CONFIG_USB_EMI62 is not set | ||
1859 | # CONFIG_USB_EMI26 is not set | ||
1860 | # CONFIG_USB_ADUTUX is not set | ||
1861 | # CONFIG_USB_SEVSEG is not set | ||
1862 | # CONFIG_USB_RIO500 is not set | ||
1863 | # CONFIG_USB_LEGOTOWER is not set | ||
1864 | # CONFIG_USB_LCD is not set | ||
1865 | # CONFIG_USB_LED is not set | ||
1866 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
1867 | # CONFIG_USB_CYTHERM is not set | ||
1868 | # CONFIG_USB_IDMOUSE is not set | ||
1869 | # CONFIG_USB_FTDI_ELAN is not set | ||
1870 | # CONFIG_USB_APPLEDISPLAY is not set | ||
1871 | # CONFIG_USB_SISUSBVGA is not set | ||
1872 | # CONFIG_USB_LD is not set | ||
1873 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
1874 | # CONFIG_USB_IOWARRIOR is not set | ||
1875 | # CONFIG_USB_TEST is not set | ||
1876 | # CONFIG_USB_ISIGHTFW is not set | ||
1877 | CONFIG_USB_GADGET=y | ||
1878 | # CONFIG_USB_GADGET_DEBUG_FILES is not set | ||
1879 | CONFIG_USB_GADGET_VBUS_DRAW=2 | ||
1880 | CONFIG_USB_GADGET_SELECTED=y | ||
1881 | # CONFIG_USB_GADGET_AT91 is not set | ||
1882 | # CONFIG_USB_GADGET_ATMEL_USBA is not set | ||
1883 | # CONFIG_USB_GADGET_FSL_USB2 is not set | ||
1884 | # CONFIG_USB_GADGET_LH7A40X is not set | ||
1885 | # CONFIG_USB_GADGET_OMAP is not set | ||
1886 | # CONFIG_USB_GADGET_PXA25X is not set | ||
1887 | # CONFIG_USB_GADGET_R8A66597 is not set | ||
1888 | # CONFIG_USB_GADGET_PXA27X is not set | ||
1889 | # CONFIG_USB_GADGET_S3C_HSOTG is not set | ||
1890 | # CONFIG_USB_GADGET_IMX is not set | ||
1891 | # CONFIG_USB_GADGET_S3C2410 is not set | ||
1892 | # CONFIG_USB_GADGET_M66592 is not set | ||
1893 | # CONFIG_USB_GADGET_AMD5536UDC is not set | ||
1894 | # CONFIG_USB_GADGET_FSL_QE is not set | ||
1895 | # CONFIG_USB_GADGET_CI13XXX is not set | ||
1896 | # CONFIG_USB_GADGET_NET2280 is not set | ||
1897 | # CONFIG_USB_GADGET_GOKU is not set | ||
1898 | CONFIG_USB_GADGET_ARC=y | ||
1899 | # CONFIG_USB_STATIC_IRAM_PPH is not set | ||
1900 | CONFIG_USB_ARC=y | ||
1901 | # CONFIG_USB_GADGET_LANGWELL is not set | ||
1902 | # CONFIG_USB_GADGET_DUMMY_HCD is not set | ||
1903 | CONFIG_USB_GADGET_DUALSPEED=y | ||
1904 | # CONFIG_USB_ZERO is not set | ||
1905 | # CONFIG_USB_AUDIO is not set | ||
1906 | CONFIG_USB_ETH=m | ||
1907 | CONFIG_USB_ETH_RNDIS=y | ||
1908 | # CONFIG_USB_ETH_EEM is not set | ||
1909 | # CONFIG_USB_GADGETFS is not set | ||
1910 | # CONFIG_USB_FUNCTIONFS is not set | ||
1911 | CONFIG_USB_FILE_STORAGE=m | ||
1912 | # CONFIG_FSL_UTP is not set | ||
1913 | # CONFIG_USB_FILE_STORAGE_TEST is not set | ||
1914 | # CONFIG_USB_MASS_STORAGE is not set | ||
1915 | CONFIG_USB_G_SERIAL=m | ||
1916 | # CONFIG_USB_MIDI_GADGET is not set | ||
1917 | # CONFIG_USB_G_PRINTER is not set | ||
1918 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
1919 | # CONFIG_USB_G_NOKIA is not set | ||
1920 | # CONFIG_USB_G_MULTI is not set | ||
1921 | # CONFIG_USB_G_HID is not set | ||
1922 | # CONFIG_USB_G_WEBCAM is not set | ||
1923 | |||
1924 | # | ||
1925 | # OTG and related infrastructure | ||
1926 | # | ||
1927 | CONFIG_USB_OTG_UTILS=y | ||
1928 | # CONFIG_USB_GPIO_VBUS is not set | ||
1929 | # CONFIG_USB_ULPI is not set | ||
1930 | # CONFIG_NOP_USB_XCEIV is not set | ||
1931 | CONFIG_MXC_OTG=y | ||
1932 | CONFIG_MMC=y | ||
1933 | # CONFIG_MMC_DEBUG is not set | ||
1934 | CONFIG_MMC_UNSAFE_RESUME=y | ||
1935 | |||
1936 | # | ||
1937 | # MMC/SD/SDIO Card Drivers | ||
1938 | # | ||
1939 | CONFIG_MMC_BLOCK=y | ||
1940 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
1941 | # CONFIG_SDIO_UART is not set | ||
1942 | # CONFIG_MMC_TEST is not set | ||
1943 | CONFIG_SDIO_UNIFI_FS=m | ||
1944 | |||
1945 | # | ||
1946 | # MMC/SD/SDIO Host Controller Drivers | ||
1947 | # | ||
1948 | # CONFIG_MMC_SDHCI is not set | ||
1949 | # CONFIG_MMC_MXC is not set | ||
1950 | CONFIG_MMC_IMX_ESDHCI=y | ||
1951 | # CONFIG_MMC_IMX_ESDHCI_PIO_MODE is not set | ||
1952 | # CONFIG_MEMSTICK is not set | ||
1953 | CONFIG_NEW_LEDS=y | ||
1954 | CONFIG_LEDS_CLASS=y | ||
1955 | |||
1956 | # | ||
1957 | # LED drivers | ||
1958 | # | ||
1959 | CONFIG_LEDS_MC13892=y | ||
1960 | # CONFIG_LEDS_PCA9532 is not set | ||
1961 | CONFIG_LEDS_GPIO=y | ||
1962 | CONFIG_LEDS_GPIO_PLATFORM=y | ||
1963 | # CONFIG_LEDS_LP3944 is not set | ||
1964 | # CONFIG_LEDS_PCA955X is not set | ||
1965 | # CONFIG_LEDS_DA9052 is not set | ||
1966 | # CONFIG_LEDS_DAC124S085 is not set | ||
1967 | # CONFIG_LEDS_PWM is not set | ||
1968 | # CONFIG_LEDS_REGULATOR is not set | ||
1969 | # CONFIG_LEDS_BD2802 is not set | ||
1970 | # CONFIG_LEDS_LT3593 is not set | ||
1971 | CONFIG_LEDS_TRIGGERS=y | ||
1972 | |||
1973 | # | ||
1974 | # LED Triggers | ||
1975 | # | ||
1976 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
1977 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
1978 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
1979 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
1980 | CONFIG_LEDS_TRIGGER_DEFAULT_ON=y | ||
1981 | |||
1982 | # | ||
1983 | # iptables trigger is under Netfilter config (LED target) | ||
1984 | # | ||
1985 | # CONFIG_ACCESSIBILITY is not set | ||
1986 | CONFIG_RTC_LIB=y | ||
1987 | CONFIG_RTC_CLASS=y | ||
1988 | CONFIG_RTC_HCTOSYS=y | ||
1989 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
1990 | # CONFIG_RTC_DEBUG is not set | ||
1991 | |||
1992 | # | ||
1993 | # RTC interfaces | ||
1994 | # | ||
1995 | CONFIG_RTC_INTF_SYSFS=y | ||
1996 | CONFIG_RTC_INTF_PROC=y | ||
1997 | CONFIG_RTC_INTF_DEV=y | ||
1998 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
1999 | # CONFIG_RTC_DRV_TEST is not set | ||
2000 | |||
2001 | # | ||
2002 | # I2C RTC drivers | ||
2003 | # | ||
2004 | # CONFIG_RTC_DRV_DS1307 is not set | ||
2005 | # CONFIG_RTC_DRV_DS1374 is not set | ||
2006 | # CONFIG_RTC_DRV_DS1672 is not set | ||
2007 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
2008 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
2009 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
2010 | # CONFIG_RTC_DRV_X1205 is not set | ||
2011 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
2012 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
2013 | # CONFIG_RTC_DRV_M41T80 is not set | ||
2014 | # CONFIG_RTC_DRV_BQ32K is not set | ||
2015 | # CONFIG_RTC_DRV_S35390A is not set | ||
2016 | # CONFIG_RTC_DRV_FM3130 is not set | ||
2017 | # CONFIG_RTC_DRV_RX8581 is not set | ||
2018 | # CONFIG_RTC_DRV_RX8025 is not set | ||
2019 | |||
2020 | # | ||
2021 | # SPI RTC drivers | ||
2022 | # | ||
2023 | # CONFIG_RTC_DRV_M41T94 is not set | ||
2024 | # CONFIG_RTC_DRV_DS1305 is not set | ||
2025 | # CONFIG_RTC_DRV_DS1390 is not set | ||
2026 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
2027 | # CONFIG_RTC_DRV_R9701 is not set | ||
2028 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
2029 | # CONFIG_RTC_DRV_DS3234 is not set | ||
2030 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
2031 | |||
2032 | # | ||
2033 | # Platform RTC drivers | ||
2034 | # | ||
2035 | # CONFIG_RTC_DRV_CMOS is not set | ||
2036 | # CONFIG_RTC_DRV_DA9052 is not set | ||
2037 | # CONFIG_RTC_DRV_DS1286 is not set | ||
2038 | # CONFIG_RTC_DRV_DS1511 is not set | ||
2039 | # CONFIG_RTC_DRV_DS1553 is not set | ||
2040 | # CONFIG_RTC_DRV_DS1742 is not set | ||
2041 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
2042 | # CONFIG_RTC_DRV_M48T86 is not set | ||
2043 | # CONFIG_RTC_DRV_M48T35 is not set | ||
2044 | # CONFIG_RTC_DRV_M48T59 is not set | ||
2045 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
2046 | # CONFIG_RTC_MXC is not set | ||
2047 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
2048 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
2049 | # CONFIG_RTC_DRV_V3020 is not set | ||
2050 | |||
2051 | # | ||
2052 | # on-CPU RTC drivers | ||
2053 | # | ||
2054 | CONFIG_RTC_DRV_MXC_V2=y | ||
2055 | # CONFIG_RTC_DRV_IMXDI is not set | ||
2056 | CONFIG_RTC_MC13892=y | ||
2057 | CONFIG_DMADEVICES=y | ||
2058 | # CONFIG_DMADEVICES_DEBUG is not set | ||
2059 | |||
2060 | # | ||
2061 | # DMA Devices | ||
2062 | # | ||
2063 | CONFIG_MXC_PXP=y | ||
2064 | CONFIG_MXC_PXP_CLIENT_DEVICE=y | ||
2065 | # CONFIG_TIMB_DMA is not set | ||
2066 | CONFIG_DMA_ENGINE=y | ||
2067 | |||
2068 | # | ||
2069 | # DMA Clients | ||
2070 | # | ||
2071 | # CONFIG_NET_DMA is not set | ||
2072 | # CONFIG_ASYNC_TX_DMA is not set | ||
2073 | # CONFIG_DMATEST is not set | ||
2074 | # CONFIG_AUXDISPLAY is not set | ||
2075 | # CONFIG_UIO is not set | ||
2076 | CONFIG_STAGING=y | ||
2077 | # CONFIG_STAGING_EXCLUDE_BUILD is not set | ||
2078 | # CONFIG_VIDEO_TM6000 is not set | ||
2079 | # CONFIG_USB_IP_COMMON is not set | ||
2080 | # CONFIG_PRISM2_USB is not set | ||
2081 | # CONFIG_ECHO is not set | ||
2082 | # CONFIG_RT2870 is not set | ||
2083 | # CONFIG_COMEDI is not set | ||
2084 | # CONFIG_ASUS_OLED is not set | ||
2085 | # CONFIG_TRANZPORT is not set | ||
2086 | # CONFIG_POHMELFS is not set | ||
2087 | # CONFIG_LINE6_USB is not set | ||
2088 | # CONFIG_VT6656 is not set | ||
2089 | # CONFIG_FB_UDL is not set | ||
2090 | |||
2091 | # | ||
2092 | # RAR Register Driver | ||
2093 | # | ||
2094 | # CONFIG_IIO is not set | ||
2095 | # CONFIG_RAMZSWAP is not set | ||
2096 | # CONFIG_BATMAN_ADV is not set | ||
2097 | # CONFIG_FB_SM7XX is not set | ||
2098 | |||
2099 | # | ||
2100 | # Texas Instruments shared transport line discipline | ||
2101 | # | ||
2102 | # CONFIG_TI_ST is not set | ||
2103 | # CONFIG_ST_BT is not set | ||
2104 | # CONFIG_ADIS16255 is not set | ||
2105 | CONFIG_ATH6K_LEGACY=m | ||
2106 | CONFIG_AR600x_SD31_XXX=y | ||
2107 | # CONFIG_AR600x_WB31_XXX is not set | ||
2108 | # CONFIG_AR600x_SD32_XXX is not set | ||
2109 | # CONFIG_AR600x_CUSTOM_XXX is not set | ||
2110 | # CONFIG_ATH6KL_ENABLE_COEXISTENCE is not set | ||
2111 | # CONFIG_ATH6KL_HCI_BRIDGE is not set | ||
2112 | # CONFIG_ATH6KL_CFG80211 is not set | ||
2113 | # CONFIG_ATH6KL_HTC_RAW_INTERFACE is not set | ||
2114 | # CONFIG_ATH6KL_VIRTUAL_SCATTER_GATHER is not set | ||
2115 | # CONFIG_ATH6KL_SKIP_ABI_VERSION_CHECK is not set | ||
2116 | # CONFIG_ATH6KL_DEBUG is not set | ||
2117 | |||
2118 | # | ||
2119 | # MXC support drivers | ||
2120 | # | ||
2121 | CONFIG_MXC_IPU=y | ||
2122 | CONFIG_MXC_IPU_V3=y | ||
2123 | |||
2124 | # | ||
2125 | # MXC SSI support | ||
2126 | # | ||
2127 | # CONFIG_MXC_SSI is not set | ||
2128 | |||
2129 | # | ||
2130 | # MXC Digital Audio Multiplexer support | ||
2131 | # | ||
2132 | # CONFIG_MXC_DAM is not set | ||
2133 | |||
2134 | # | ||
2135 | # MXC PMIC support | ||
2136 | # | ||
2137 | CONFIG_MXC_PMIC=y | ||
2138 | # CONFIG_MXC_PMIC_MC13783 is not set | ||
2139 | CONFIG_MXC_PMIC_MC13892=y | ||
2140 | CONFIG_MXC_PMIC_MC34708=y | ||
2141 | CONFIG_MXC_PMIC_I2C=y | ||
2142 | CONFIG_MXC_PMIC_SPI=y | ||
2143 | # CONFIG_MXC_PMIC_MC34704 is not set | ||
2144 | # CONFIG_MXC_PMIC_MC9SDZ60 is not set | ||
2145 | # CONFIG_MXC_PMIC_CHARDEV is not set | ||
2146 | |||
2147 | # | ||
2148 | # MXC PMIC Client Drivers | ||
2149 | # | ||
2150 | CONFIG_MXC_MC13892_ADC=y | ||
2151 | CONFIG_MXC_MC13892_RTC=y | ||
2152 | CONFIG_MXC_MC13892_LIGHT=y | ||
2153 | CONFIG_MXC_MC13892_BATTERY=m | ||
2154 | CONFIG_MXC_MC13892_CONNECTIVITY=y | ||
2155 | CONFIG_MXC_MC13892_POWER=y | ||
2156 | CONFIG_MXC_MC34708_ADC=y | ||
2157 | CONFIG_MXC_MC34708_RTC=y | ||
2158 | CONFIG_MXC_MC34708_BATTERY=m | ||
2159 | # CONFIG_MXC_MC34708_PWM is not set | ||
2160 | # CONFIG_MXC_PMIC_MC9S08DZ60 is not set | ||
2161 | |||
2162 | # | ||
2163 | # MXC Security Drivers | ||
2164 | # | ||
2165 | # CONFIG_MXC_SECURITY_SCC is not set | ||
2166 | # CONFIG_MXC_SECURITY_SCC2 is not set | ||
2167 | # CONFIG_MXC_SECURITY_RNG is not set | ||
2168 | |||
2169 | # | ||
2170 | # SAHARA2 Security Hardware Support | ||
2171 | # | ||
2172 | # CONFIG_MXC_SAHARA is not set | ||
2173 | |||
2174 | # | ||
2175 | # MXC MPEG4 Encoder Kernel module support | ||
2176 | # | ||
2177 | # CONFIG_MXC_HMP4E is not set | ||
2178 | |||
2179 | # | ||
2180 | # MXC HARDWARE EVENT | ||
2181 | # | ||
2182 | # CONFIG_MXC_HWEVENT is not set | ||
2183 | |||
2184 | # | ||
2185 | # MXC VPU(Video Processing Unit) support | ||
2186 | # | ||
2187 | CONFIG_MXC_VPU=y | ||
2188 | # CONFIG_MXC_VPU_DEBUG is not set | ||
2189 | |||
2190 | # | ||
2191 | # MXC Asynchronous Sample Rate Converter support | ||
2192 | # | ||
2193 | CONFIG_MXC_ASRC=y | ||
2194 | |||
2195 | # | ||
2196 | # MXC Bluetooth support | ||
2197 | # | ||
2198 | CONFIG_MXC_BLUETOOTH=m | ||
2199 | |||
2200 | # | ||
2201 | # Broadcom GPS ioctrl support | ||
2202 | # | ||
2203 | CONFIG_GPS_IOCTRL=m | ||
2204 | |||
2205 | # | ||
2206 | # MXC Media Local Bus Driver | ||
2207 | # | ||
2208 | CONFIG_MXC_MLB=m | ||
2209 | |||
2210 | # | ||
2211 | # i.MX ADC support | ||
2212 | # | ||
2213 | # CONFIG_IMX_ADC is not set | ||
2214 | |||
2215 | # | ||
2216 | # MXC GPU support | ||
2217 | # | ||
2218 | CONFIG_MXC_AMD_GPU=y | ||
2219 | |||
2220 | # | ||
2221 | # File systems | ||
2222 | # | ||
2223 | CONFIG_EXT2_FS=y | ||
2224 | # CONFIG_EXT2_FS_XATTR is not set | ||
2225 | # CONFIG_EXT2_FS_XIP is not set | ||
2226 | CONFIG_EXT3_FS=y | ||
2227 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
2228 | CONFIG_EXT3_FS_XATTR=y | ||
2229 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
2230 | # CONFIG_EXT3_FS_SECURITY is not set | ||
2231 | CONFIG_EXT4_FS=y | ||
2232 | CONFIG_EXT4_FS_XATTR=y | ||
2233 | # CONFIG_EXT4_FS_POSIX_ACL is not set | ||
2234 | # CONFIG_EXT4_FS_SECURITY is not set | ||
2235 | # CONFIG_EXT4_DEBUG is not set | ||
2236 | CONFIG_JBD=y | ||
2237 | CONFIG_JBD2=y | ||
2238 | CONFIG_FS_MBCACHE=y | ||
2239 | # CONFIG_REISERFS_FS is not set | ||
2240 | # CONFIG_JFS_FS is not set | ||
2241 | # CONFIG_FS_POSIX_ACL is not set | ||
2242 | # CONFIG_XFS_FS is not set | ||
2243 | # CONFIG_GFS2_FS is not set | ||
2244 | # CONFIG_OCFS2_FS is not set | ||
2245 | # CONFIG_BTRFS_FS is not set | ||
2246 | # CONFIG_NILFS2_FS is not set | ||
2247 | CONFIG_FILE_LOCKING=y | ||
2248 | CONFIG_FSNOTIFY=y | ||
2249 | CONFIG_DNOTIFY=y | ||
2250 | CONFIG_INOTIFY=y | ||
2251 | CONFIG_INOTIFY_USER=y | ||
2252 | # CONFIG_QUOTA is not set | ||
2253 | # CONFIG_AUTOFS_FS is not set | ||
2254 | CONFIG_AUTOFS4_FS=m | ||
2255 | # CONFIG_FUSE_FS is not set | ||
2256 | |||
2257 | # | ||
2258 | # Caches | ||
2259 | # | ||
2260 | # CONFIG_FSCACHE is not set | ||
2261 | |||
2262 | # | ||
2263 | # CD-ROM/DVD Filesystems | ||
2264 | # | ||
2265 | # CONFIG_ISO9660_FS is not set | ||
2266 | # CONFIG_UDF_FS is not set | ||
2267 | |||
2268 | # | ||
2269 | # DOS/FAT/NT Filesystems | ||
2270 | # | ||
2271 | CONFIG_FAT_FS=y | ||
2272 | CONFIG_MSDOS_FS=y | ||
2273 | CONFIG_VFAT_FS=y | ||
2274 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
2275 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
2276 | # CONFIG_NTFS_FS is not set | ||
2277 | |||
2278 | # | ||
2279 | # Pseudo filesystems | ||
2280 | # | ||
2281 | CONFIG_PROC_FS=y | ||
2282 | CONFIG_PROC_SYSCTL=y | ||
2283 | CONFIG_PROC_PAGE_MONITOR=y | ||
2284 | CONFIG_SYSFS=y | ||
2285 | CONFIG_TMPFS=y | ||
2286 | # CONFIG_TMPFS_POSIX_ACL is not set | ||
2287 | # CONFIG_HUGETLB_PAGE is not set | ||
2288 | # CONFIG_CONFIGFS_FS is not set | ||
2289 | CONFIG_MISC_FILESYSTEMS=y | ||
2290 | # CONFIG_ADFS_FS is not set | ||
2291 | # CONFIG_AFFS_FS is not set | ||
2292 | # CONFIG_HFS_FS is not set | ||
2293 | # CONFIG_HFSPLUS_FS is not set | ||
2294 | # CONFIG_BEFS_FS is not set | ||
2295 | # CONFIG_BFS_FS is not set | ||
2296 | # CONFIG_EFS_FS is not set | ||
2297 | CONFIG_JFFS2_FS=y | ||
2298 | CONFIG_JFFS2_FS_DEBUG=0 | ||
2299 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
2300 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
2301 | # CONFIG_JFFS2_SUMMARY is not set | ||
2302 | # CONFIG_JFFS2_FS_XATTR is not set | ||
2303 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
2304 | CONFIG_JFFS2_ZLIB=y | ||
2305 | # CONFIG_JFFS2_LZO is not set | ||
2306 | CONFIG_JFFS2_RTIME=y | ||
2307 | # CONFIG_JFFS2_RUBIN is not set | ||
2308 | CONFIG_UBIFS_FS=y | ||
2309 | # CONFIG_UBIFS_FS_XATTR is not set | ||
2310 | # CONFIG_UBIFS_FS_ADVANCED_COMPR is not set | ||
2311 | CONFIG_UBIFS_FS_LZO=y | ||
2312 | CONFIG_UBIFS_FS_ZLIB=y | ||
2313 | # CONFIG_UBIFS_FS_DEBUG is not set | ||
2314 | # CONFIG_LOGFS is not set | ||
2315 | CONFIG_CRAMFS=y | ||
2316 | # CONFIG_SQUASHFS is not set | ||
2317 | # CONFIG_VXFS_FS is not set | ||
2318 | # CONFIG_MINIX_FS is not set | ||
2319 | # CONFIG_OMFS_FS is not set | ||
2320 | # CONFIG_HPFS_FS is not set | ||
2321 | # CONFIG_QNX4FS_FS is not set | ||
2322 | # CONFIG_ROMFS_FS is not set | ||
2323 | # CONFIG_SYSV_FS is not set | ||
2324 | # CONFIG_UFS_FS is not set | ||
2325 | CONFIG_NETWORK_FILESYSTEMS=y | ||
2326 | CONFIG_NFS_FS=y | ||
2327 | CONFIG_NFS_V3=y | ||
2328 | # CONFIG_NFS_V3_ACL is not set | ||
2329 | CONFIG_NFS_V4=y | ||
2330 | # CONFIG_NFS_V4_1 is not set | ||
2331 | CONFIG_ROOT_NFS=y | ||
2332 | # CONFIG_NFSD is not set | ||
2333 | CONFIG_LOCKD=y | ||
2334 | CONFIG_LOCKD_V4=y | ||
2335 | CONFIG_NFS_COMMON=y | ||
2336 | CONFIG_SUNRPC=y | ||
2337 | CONFIG_SUNRPC_GSS=y | ||
2338 | CONFIG_RPCSEC_GSS_KRB5=y | ||
2339 | # CONFIG_RPCSEC_GSS_SPKM3 is not set | ||
2340 | # CONFIG_SMB_FS is not set | ||
2341 | # CONFIG_CEPH_FS is not set | ||
2342 | # CONFIG_CIFS is not set | ||
2343 | # CONFIG_NCP_FS is not set | ||
2344 | # CONFIG_CODA_FS is not set | ||
2345 | # CONFIG_AFS_FS is not set | ||
2346 | |||
2347 | # | ||
2348 | # Partition Types | ||
2349 | # | ||
2350 | CONFIG_PARTITION_ADVANCED=y | ||
2351 | # CONFIG_ACORN_PARTITION is not set | ||
2352 | # CONFIG_OSF_PARTITION is not set | ||
2353 | # CONFIG_AMIGA_PARTITION is not set | ||
2354 | # CONFIG_ATARI_PARTITION is not set | ||
2355 | # CONFIG_MAC_PARTITION is not set | ||
2356 | CONFIG_MSDOS_PARTITION=y | ||
2357 | # CONFIG_BSD_DISKLABEL is not set | ||
2358 | # CONFIG_MINIX_SUBPARTITION is not set | ||
2359 | # CONFIG_SOLARIS_X86_PARTITION is not set | ||
2360 | # CONFIG_UNIXWARE_DISKLABEL is not set | ||
2361 | # CONFIG_LDM_PARTITION is not set | ||
2362 | # CONFIG_SGI_PARTITION is not set | ||
2363 | # CONFIG_ULTRIX_PARTITION is not set | ||
2364 | # CONFIG_SUN_PARTITION is not set | ||
2365 | # CONFIG_KARMA_PARTITION is not set | ||
2366 | CONFIG_EFI_PARTITION=y | ||
2367 | # CONFIG_SYSV68_PARTITION is not set | ||
2368 | CONFIG_NLS=y | ||
2369 | CONFIG_NLS_DEFAULT="iso8859-1" | ||
2370 | CONFIG_NLS_CODEPAGE_437=y | ||
2371 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
2372 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
2373 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
2374 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
2375 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
2376 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
2377 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
2378 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
2379 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
2380 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
2381 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
2382 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
2383 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
2384 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
2385 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
2386 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
2387 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
2388 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
2389 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
2390 | # CONFIG_NLS_ISO8859_8 is not set | ||
2391 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
2392 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
2393 | CONFIG_NLS_ASCII=m | ||
2394 | CONFIG_NLS_ISO8859_1=y | ||
2395 | # CONFIG_NLS_ISO8859_2 is not set | ||
2396 | # CONFIG_NLS_ISO8859_3 is not set | ||
2397 | # CONFIG_NLS_ISO8859_4 is not set | ||
2398 | # CONFIG_NLS_ISO8859_5 is not set | ||
2399 | # CONFIG_NLS_ISO8859_6 is not set | ||
2400 | # CONFIG_NLS_ISO8859_7 is not set | ||
2401 | # CONFIG_NLS_ISO8859_9 is not set | ||
2402 | # CONFIG_NLS_ISO8859_13 is not set | ||
2403 | # CONFIG_NLS_ISO8859_14 is not set | ||
2404 | # CONFIG_NLS_ISO8859_15 is not set | ||
2405 | # CONFIG_NLS_KOI8_R is not set | ||
2406 | # CONFIG_NLS_KOI8_U is not set | ||
2407 | CONFIG_NLS_UTF8=m | ||
2408 | # CONFIG_DLM is not set | ||
2409 | |||
2410 | # | ||
2411 | # Kernel hacking | ||
2412 | # | ||
2413 | # CONFIG_PRINTK_TIME is not set | ||
2414 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
2415 | CONFIG_ENABLE_MUST_CHECK=y | ||
2416 | CONFIG_FRAME_WARN=1024 | ||
2417 | # CONFIG_MAGIC_SYSRQ is not set | ||
2418 | # CONFIG_STRIP_ASM_SYMS is not set | ||
2419 | # CONFIG_UNUSED_SYMBOLS is not set | ||
2420 | # CONFIG_DEBUG_FS is not set | ||
2421 | # CONFIG_HEADERS_CHECK is not set | ||
2422 | # CONFIG_DEBUG_KERNEL is not set | ||
2423 | # CONFIG_SLUB_DEBUG_ON is not set | ||
2424 | # CONFIG_SLUB_STATS is not set | ||
2425 | CONFIG_DEBUG_BUGVERBOSE=y | ||
2426 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
2427 | # CONFIG_RCU_CPU_STALL_DETECTOR is not set | ||
2428 | # CONFIG_LATENCYTOP is not set | ||
2429 | CONFIG_SYSCTL_SYSCALL_CHECK=y | ||
2430 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
2431 | CONFIG_TRACING_SUPPORT=y | ||
2432 | CONFIG_FTRACE=y | ||
2433 | # CONFIG_FUNCTION_TRACER is not set | ||
2434 | # CONFIG_IRQSOFF_TRACER is not set | ||
2435 | # CONFIG_PREEMPT_TRACER is not set | ||
2436 | # CONFIG_SCHED_TRACER is not set | ||
2437 | # CONFIG_ENABLE_DEFAULT_TRACERS is not set | ||
2438 | # CONFIG_BOOT_TRACER is not set | ||
2439 | CONFIG_BRANCH_PROFILE_NONE=y | ||
2440 | # CONFIG_PROFILE_ANNOTATED_BRANCHES is not set | ||
2441 | # CONFIG_PROFILE_ALL_BRANCHES is not set | ||
2442 | # CONFIG_STACK_TRACER is not set | ||
2443 | # CONFIG_KMEMTRACE is not set | ||
2444 | # CONFIG_WORKQUEUE_TRACER is not set | ||
2445 | # CONFIG_BLK_DEV_IO_TRACE is not set | ||
2446 | # CONFIG_ATOMIC64_SELFTEST is not set | ||
2447 | # CONFIG_SAMPLES is not set | ||
2448 | CONFIG_HAVE_ARCH_KGDB=y | ||
2449 | CONFIG_ARM_UNWIND=y | ||
2450 | # CONFIG_DEBUG_USER is not set | ||
2451 | # CONFIG_OC_ETM is not set | ||
2452 | |||
2453 | # | ||
2454 | # Security options | ||
2455 | # | ||
2456 | # CONFIG_KEYS is not set | ||
2457 | # CONFIG_SECURITY is not set | ||
2458 | # CONFIG_SECURITYFS is not set | ||
2459 | # CONFIG_DEFAULT_SECURITY_SELINUX is not set | ||
2460 | # CONFIG_DEFAULT_SECURITY_SMACK is not set | ||
2461 | # CONFIG_DEFAULT_SECURITY_TOMOYO is not set | ||
2462 | CONFIG_DEFAULT_SECURITY_DAC=y | ||
2463 | CONFIG_DEFAULT_SECURITY="" | ||
2464 | CONFIG_CRYPTO=y | ||
2465 | |||
2466 | # | ||
2467 | # Crypto core or helper | ||
2468 | # | ||
2469 | CONFIG_CRYPTO_ALGAPI=y | ||
2470 | CONFIG_CRYPTO_ALGAPI2=y | ||
2471 | CONFIG_CRYPTO_AEAD2=y | ||
2472 | CONFIG_CRYPTO_BLKCIPHER=y | ||
2473 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
2474 | CONFIG_CRYPTO_HASH=y | ||
2475 | CONFIG_CRYPTO_HASH2=y | ||
2476 | CONFIG_CRYPTO_RNG2=y | ||
2477 | CONFIG_CRYPTO_PCOMP=y | ||
2478 | CONFIG_CRYPTO_MANAGER=y | ||
2479 | CONFIG_CRYPTO_MANAGER2=y | ||
2480 | CONFIG_CRYPTO_MANAGER_TESTS=y | ||
2481 | # CONFIG_CRYPTO_GF128MUL is not set | ||
2482 | # CONFIG_CRYPTO_NULL is not set | ||
2483 | CONFIG_CRYPTO_WORKQUEUE=y | ||
2484 | # CONFIG_CRYPTO_CRYPTD is not set | ||
2485 | # CONFIG_CRYPTO_AUTHENC is not set | ||
2486 | CONFIG_CRYPTO_TEST=m | ||
2487 | CONFIG_CRYPTO_CRYPTODEV=y | ||
2488 | |||
2489 | # | ||
2490 | # Authenticated Encryption with Associated Data | ||
2491 | # | ||
2492 | # CONFIG_CRYPTO_CCM is not set | ||
2493 | # CONFIG_CRYPTO_GCM is not set | ||
2494 | # CONFIG_CRYPTO_SEQIV is not set | ||
2495 | |||
2496 | # | ||
2497 | # Block modes | ||
2498 | # | ||
2499 | CONFIG_CRYPTO_CBC=y | ||
2500 | # CONFIG_CRYPTO_CTR is not set | ||
2501 | # CONFIG_CRYPTO_CTS is not set | ||
2502 | CONFIG_CRYPTO_ECB=y | ||
2503 | # CONFIG_CRYPTO_LRW is not set | ||
2504 | # CONFIG_CRYPTO_PCBC is not set | ||
2505 | # CONFIG_CRYPTO_XTS is not set | ||
2506 | |||
2507 | # | ||
2508 | # Hash modes | ||
2509 | # | ||
2510 | # CONFIG_CRYPTO_HMAC is not set | ||
2511 | # CONFIG_CRYPTO_XCBC is not set | ||
2512 | # CONFIG_CRYPTO_VMAC is not set | ||
2513 | |||
2514 | # | ||
2515 | # Digest | ||
2516 | # | ||
2517 | # CONFIG_CRYPTO_CRC32C is not set | ||
2518 | # CONFIG_CRYPTO_GHASH is not set | ||
2519 | # CONFIG_CRYPTO_MD4 is not set | ||
2520 | CONFIG_CRYPTO_MD5=y | ||
2521 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
2522 | # CONFIG_CRYPTO_RMD128 is not set | ||
2523 | # CONFIG_CRYPTO_RMD160 is not set | ||
2524 | # CONFIG_CRYPTO_RMD256 is not set | ||
2525 | # CONFIG_CRYPTO_RMD320 is not set | ||
2526 | # CONFIG_CRYPTO_SHA1 is not set | ||
2527 | # CONFIG_CRYPTO_SHA256 is not set | ||
2528 | # CONFIG_CRYPTO_SHA512 is not set | ||
2529 | # CONFIG_CRYPTO_TGR192 is not set | ||
2530 | # CONFIG_CRYPTO_WP512 is not set | ||
2531 | |||
2532 | # | ||
2533 | # Ciphers | ||
2534 | # | ||
2535 | CONFIG_CRYPTO_AES=y | ||
2536 | # CONFIG_CRYPTO_ANUBIS is not set | ||
2537 | # CONFIG_CRYPTO_ARC4 is not set | ||
2538 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
2539 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
2540 | # CONFIG_CRYPTO_CAST5 is not set | ||
2541 | # CONFIG_CRYPTO_CAST6 is not set | ||
2542 | CONFIG_CRYPTO_DES=y | ||
2543 | # CONFIG_CRYPTO_FCRYPT is not set | ||
2544 | # CONFIG_CRYPTO_KHAZAD is not set | ||
2545 | # CONFIG_CRYPTO_SALSA20 is not set | ||
2546 | # CONFIG_CRYPTO_SEED is not set | ||
2547 | # CONFIG_CRYPTO_SERPENT is not set | ||
2548 | # CONFIG_CRYPTO_TEA is not set | ||
2549 | # CONFIG_CRYPTO_TWOFISH is not set | ||
2550 | |||
2551 | # | ||
2552 | # Compression | ||
2553 | # | ||
2554 | CONFIG_CRYPTO_DEFLATE=y | ||
2555 | # CONFIG_CRYPTO_ZLIB is not set | ||
2556 | CONFIG_CRYPTO_LZO=y | ||
2557 | |||
2558 | # | ||
2559 | # Random Number Generation | ||
2560 | # | ||
2561 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
2562 | CONFIG_CRYPTO_HW=y | ||
2563 | # CONFIG_CRYPTO_DEV_DCP is not set | ||
2564 | # CONFIG_BINARY_PRINTF is not set | ||
2565 | |||
2566 | # | ||
2567 | # Library routines | ||
2568 | # | ||
2569 | CONFIG_BITREVERSE=y | ||
2570 | CONFIG_GENERIC_FIND_LAST_BIT=y | ||
2571 | CONFIG_CRC_CCITT=m | ||
2572 | CONFIG_CRC16=y | ||
2573 | # CONFIG_CRC_T10DIF is not set | ||
2574 | # CONFIG_CRC_ITU_T is not set | ||
2575 | CONFIG_CRC32=y | ||
2576 | # CONFIG_CRC7 is not set | ||
2577 | # CONFIG_LIBCRC32C is not set | ||
2578 | CONFIG_ZLIB_INFLATE=y | ||
2579 | CONFIG_ZLIB_DEFLATE=y | ||
2580 | CONFIG_LZO_COMPRESS=y | ||
2581 | CONFIG_LZO_DECOMPRESS=y | ||
2582 | CONFIG_GENERIC_ALLOCATOR=y | ||
2583 | CONFIG_HAS_IOMEM=y | ||
2584 | CONFIG_HAS_IOPORT=y | ||
2585 | CONFIG_HAS_DMA=y | ||
2586 | CONFIG_NLATTR=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mxs-duart-use-ttyAMA-for-device-name.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mxs-duart-use-ttyAMA-for-device-name.patch new file mode 100644 index 00000000..6b89bb66 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/mxs-duart-use-ttyAMA-for-device-name.patch | |||
@@ -0,0 +1,42 @@ | |||
1 | From e0b2222000d04b43e7892148dc9892c9375de939 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Sat, 5 May 2012 15:04:24 -0300 | ||
4 | Subject: [PATCH] mxs-duart: use ttyAMA for device name | ||
5 | |||
6 | This allow to easy configuration of u-boot avoiding divergences | ||
7 | between Freescale's and mainline kernels. | ||
8 | |||
9 | Upstream-Status: Inapropriate [configuration] | ||
10 | |||
11 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
12 | --- | ||
13 | drivers/serial/mxs-duart.c | 6 +++--- | ||
14 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/drivers/serial/mxs-duart.c b/drivers/serial/mxs-duart.c | ||
17 | index 64e5057..2ba0c33 100644 | ||
18 | --- a/drivers/serial/mxs-duart.c | ||
19 | +++ b/drivers/serial/mxs-duart.c | ||
20 | @@ -665,7 +665,7 @@ static int __init duart_console_setup(struct console *co, char *options) | ||
21 | } | ||
22 | |||
23 | static struct console duart_console = { | ||
24 | - .name = "ttyAM", | ||
25 | + .name = "ttyAMA", | ||
26 | .write = duart_console_write, | ||
27 | .device = uart_console_device, | ||
28 | .setup = duart_console_setup, | ||
29 | @@ -688,8 +688,8 @@ console_initcall(duart_console_init); | ||
30 | |||
31 | static struct uart_driver duart_drv = { | ||
32 | .owner = THIS_MODULE, | ||
33 | - .driver_name = "ttyAM", | ||
34 | - .dev_name = "ttyAM", | ||
35 | + .driver_name = "ttyAMA", | ||
36 | + .dev_name = "ttyAMA", | ||
37 | .major = SERIAL_DUART_MAJOR, | ||
38 | .minor = SERIAL_DUART_MINOR, | ||
39 | .nr = 1, | ||
40 | -- | ||
41 | 1.7.10 | ||
42 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/perf-avoid-use-sysroot-headers.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/perf-avoid-use-sysroot-headers.patch new file mode 100644 index 00000000..9ff2d14f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-2.6.35.3/perf-avoid-use-sysroot-headers.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 9a06d08e43923f8ce35f1c649334f14d2e81941b Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Tue, 19 Mar 2013 14:04:08 -0300 | ||
4 | Subject: [PATCH] perf: Avoid use of sysroot's Linux headers | ||
5 | |||
6 | As Yocto now use a newer Linux headers package we end having a build | ||
7 | failure in perf as 'stddef.h' has changed and does not provide NULL | ||
8 | definition anymore. To workaround it we add the srcdir onto search path | ||
9 | for include files, before sysroot one. | ||
10 | |||
11 | Upstream-Status: Inappropriate [build system specific change] | ||
12 | |||
13 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
14 | --- | ||
15 | tools/perf/Makefile | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/tools/perf/Makefile b/tools/perf/Makefile | ||
19 | index 854652a..9605d46 100644 | ||
20 | --- a/tools/perf/Makefile | ||
21 | +++ b/tools/perf/Makefile | ||
22 | @@ -301,7 +301,7 @@ endif | ||
23 | # Those must not be GNU-specific; they are shared with perl/ which may | ||
24 | # be built by a different compiler. (Note that this is an artifact now | ||
25 | # but it still might be nice to keep that distinction.) | ||
26 | -BASIC_CFLAGS = -Iutil/include -Iarch/$(ARCH)/include | ||
27 | +BASIC_CFLAGS = -Iutil/include -Iarch/$(ARCH)/include -I../../include | ||
28 | BASIC_LDFLAGS = | ||
29 | |||
30 | # Guard against environment variables | ||
31 | -- | ||
32 | 1.8.1 | ||
33 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.14.28/0001-ARM-imx6q-drop-unnecessary-semicolon.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-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-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-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-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-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-3.14.28/0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-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-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-3.14.28/0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-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-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-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.14.28/0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch new file mode 100644 index 00000000..d40e55af --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-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-3.14.28/mx6/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.14.28/mx6/defconfig new file mode 100644 index 00000000..303e6791 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-3.14.28/mx6/defconfig | |||
@@ -0,0 +1,413 @@ | |||
1 | CONFIG_KERNEL_LZO=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_NO_HZ=y | ||
4 | CONFIG_HIGH_RES_TIMERS=y | ||
5 | CONFIG_LOG_BUF_SHIFT=18 | ||
6 | CONFIG_CGROUPS=y | ||
7 | CONFIG_RELAY=y | ||
8 | CONFIG_BLK_DEV_INITRD=y | ||
9 | CONFIG_EXPERT=y | ||
10 | CONFIG_KALLSYMS_ALL=y | ||
11 | CONFIG_PERF_EVENTS=y | ||
12 | # CONFIG_SLUB_DEBUG is not set | ||
13 | # CONFIG_COMPAT_BRK is not set | ||
14 | CONFIG_MODULES=y | ||
15 | CONFIG_MODULE_UNLOAD=y | ||
16 | CONFIG_MODVERSIONS=y | ||
17 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
18 | # CONFIG_BLK_DEV_BSG is not set | ||
19 | CONFIG_GPIO_PCA953X=y | ||
20 | CONFIG_ARCH_MXC=y | ||
21 | CONFIG_MACH_IMX51_DT=y | ||
22 | CONFIG_MACH_EUKREA_CPUIMX51SD=y | ||
23 | CONFIG_SOC_IMX50=y | ||
24 | CONFIG_SOC_IMX53=y | ||
25 | CONFIG_SOC_IMX6Q=y | ||
26 | CONFIG_SOC_IMX6SL=y | ||
27 | CONFIG_SOC_IMX6SX=y | ||
28 | CONFIG_SOC_VF610=y | ||
29 | # CONFIG_SWP_EMULATE is not set | ||
30 | CONFIG_SMP=y | ||
31 | CONFIG_VMSPLIT_2G=y | ||
32 | CONFIG_PREEMPT=y | ||
33 | CONFIG_AEABI=y | ||
34 | CONFIG_HIGHMEM=y | ||
35 | CONFIG_CMA=y | ||
36 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
37 | CONFIG_CPU_FREQ=y | ||
38 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y | ||
39 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
40 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
41 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
42 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
43 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
44 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
45 | CONFIG_CPU_IDLE=y | ||
46 | CONFIG_VFP=y | ||
47 | CONFIG_NEON=y | ||
48 | CONFIG_BINFMT_MISC=m | ||
49 | CONFIG_PM_RUNTIME=y | ||
50 | CONFIG_PM_DEBUG=y | ||
51 | CONFIG_PM_TEST_SUSPEND=y | ||
52 | CONFIG_NET=y | ||
53 | CONFIG_PACKET=y | ||
54 | CONFIG_UNIX=y | ||
55 | CONFIG_INET=y | ||
56 | CONFIG_IP_PNP=y | ||
57 | CONFIG_IP_PNP_DHCP=y | ||
58 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
59 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
60 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
61 | # CONFIG_INET_LRO is not set | ||
62 | CONFIG_IPV6=y | ||
63 | CONFIG_NETFILTER=y | ||
64 | CONFIG_VLAN_8021Q=y | ||
65 | CONFIG_LLC2=y | ||
66 | CONFIG_CAN=y | ||
67 | CONFIG_CAN_FLEXCAN=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 | ||
84 | CONFIG_CFG80211=y | ||
85 | CONFIG_MAC80211=y | ||
86 | CONFIG_DEVTMPFS=y | ||
87 | CONFIG_DEVTMPFS_MOUNT=y | ||
88 | # CONFIG_STANDALONE is not set | ||
89 | CONFIG_DMA_CMA=y | ||
90 | CONFIG_CMA_SIZE_MBYTES=320 | ||
91 | CONFIG_IMX_WEIM=y | ||
92 | CONFIG_CONNECTOR=y | ||
93 | CONFIG_MTD=y | ||
94 | CONFIG_MTD_CMDLINE_PARTS=y | ||
95 | CONFIG_MTD_BLOCK=y | ||
96 | CONFIG_MTD_CFI=y | ||
97 | CONFIG_MTD_JEDECPROBE=y | ||
98 | CONFIG_MTD_CFI_INTELEXT=y | ||
99 | CONFIG_MTD_CFI_AMDSTD=y | ||
100 | CONFIG_MTD_CFI_STAA=y | ||
101 | CONFIG_MTD_PHYSMAP_OF=y | ||
102 | CONFIG_MTD_DATAFLASH=y | ||
103 | CONFIG_MTD_M25P80=y | ||
104 | CONFIG_MTD_SST25L=y | ||
105 | CONFIG_MTD_NAND=y | ||
106 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
107 | CONFIG_MTD_NAND_MXC=y | ||
108 | CONFIG_MTD_SPI_NOR=y | ||
109 | CONFIG_SPI_FSL_QUADSPI=y | ||
110 | CONFIG_MTD_UBI=y | ||
111 | CONFIG_BLK_DEV_LOOP=y | ||
112 | CONFIG_BLK_DEV_RAM=y | ||
113 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
114 | CONFIG_EEPROM_AT24=y | ||
115 | CONFIG_EEPROM_AT25=y | ||
116 | # CONFIG_SCSI_PROC_FS is not set | ||
117 | CONFIG_BLK_DEV_SD=y | ||
118 | CONFIG_SCSI_MULTI_LUN=y | ||
119 | CONFIG_SCSI_CONSTANTS=y | ||
120 | CONFIG_SCSI_LOGGING=y | ||
121 | CONFIG_SCSI_SCAN_ASYNC=y | ||
122 | # CONFIG_SCSI_LOWLEVEL is not set | ||
123 | CONFIG_ATA=y | ||
124 | CONFIG_SATA_AHCI_PLATFORM=y | ||
125 | CONFIG_AHCI_IMX=y | ||
126 | CONFIG_PATA_IMX=y | ||
127 | CONFIG_NETDEVICES=y | ||
128 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
129 | CONFIG_CS89x0=y | ||
130 | CONFIG_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 | ||
138 | CONFIG_SMC91X=y | ||
139 | CONFIG_SMC911X=y | ||
140 | CONFIG_SMSC911X=y | ||
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 | ||
147 | CONFIG_ATH_CARDS=y | ||
148 | CONFIG_ATH6KL=m | ||
149 | CONFIG_ATH6KL_SDIO=m | ||
150 | CONFIG_BRCMFMAC=m | ||
151 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
152 | CONFIG_INPUT_EVDEV=y | ||
153 | CONFIG_INPUT_EVBUG=m | ||
154 | CONFIG_KEYBOARD_GPIO=y | ||
155 | CONFIG_KEYBOARD_SNVS_PWRKEY=y | ||
156 | CONFIG_KEYBOARD_IMX=y | ||
157 | CONFIG_MOUSE_PS2=m | ||
158 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
159 | CONFIG_INPUT_TOUCHSCREEN=y | ||
160 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
161 | CONFIG_TOUCHSCREEN_ELAN=y | ||
162 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
163 | CONFIG_TOUCHSCREEN_MC13783=y | ||
164 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
165 | CONFIG_TOUCHSCREEN_STMPE=y | ||
166 | CONFIG_INPUT_MISC=y | ||
167 | CONFIG_INPUT_MMA8450=y | ||
168 | CONFIG_INPUT_ISL29023=y | ||
169 | CONFIG_SERIO_SERPORT=m | ||
170 | # CONFIG_LEGACY_PTYS is not set | ||
171 | # CONFIG_DEVKMEM is not set | ||
172 | CONFIG_SERIAL_IMX=y | ||
173 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
174 | CONFIG_SERIAL_FSL_LPUART=y | ||
175 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
176 | CONFIG_FSL_OTP=y | ||
177 | # CONFIG_I2C_COMPAT is not set | ||
178 | CONFIG_I2C_CHARDEV=y | ||
179 | # CONFIG_I2C_HELPER_AUTO is not set | ||
180 | CONFIG_I2C_ALGOPCF=m | ||
181 | CONFIG_I2C_ALGOPCA=m | ||
182 | CONFIG_I2C_IMX=y | ||
183 | CONFIG_SPI=y | ||
184 | CONFIG_SPI_IMX=y | ||
185 | CONFIG_GPIO_SYSFS=y | ||
186 | CONFIG_POWER_SUPPLY=y | ||
187 | CONFIG_SABRESD_MAX8903=y | ||
188 | CONFIG_SENSORS_MAX17135=y | ||
189 | CONFIG_SENSORS_MAG3110=y | ||
190 | CONFIG_THERMAL=y | ||
191 | CONFIG_CPU_THERMAL=y | ||
192 | CONFIG_IMX_THERMAL=y | ||
193 | CONFIG_DEVICE_THERMAL=y | ||
194 | CONFIG_WATCHDOG=y | ||
195 | CONFIG_IMX2_WDT=y | ||
196 | CONFIG_MFD_DA9052_I2C=y | ||
197 | CONFIG_MFD_MC13XXX_SPI=y | ||
198 | CONFIG_MFD_MC13XXX_I2C=y | ||
199 | CONFIG_MFD_MAX17135=y | ||
200 | CONFIG_MFD_SI476X_CORE=y | ||
201 | CONFIG_MFD_STMPE=y | ||
202 | CONFIG_REGULATOR=y | ||
203 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
204 | CONFIG_REGULATOR_ANATOP=y | ||
205 | CONFIG_REGULATOR_DA9052=y | ||
206 | CONFIG_REGULATOR_MAX17135=y | ||
207 | CONFIG_REGULATOR_MC13783=y | ||
208 | CONFIG_REGULATOR_MC13892=y | ||
209 | CONFIG_REGULATOR_PFUZE100=y | ||
210 | CONFIG_MEDIA_SUPPORT=y | ||
211 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
212 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
213 | CONFIG_MEDIA_RC_SUPPORT=y | ||
214 | CONFIG_RC_DEVICES=y | ||
215 | CONFIG_IR_GPIO_CIR=y | ||
216 | CONFIG_MEDIA_USB_SUPPORT=y | ||
217 | CONFIG_USB_VIDEO_CLASS=m | ||
218 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
219 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
220 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
221 | CONFIG_MXC_CAMERA_OV5640=m | ||
222 | CONFIG_MXC_CAMERA_OV5642=m | ||
223 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
224 | CONFIG_MXC_TVIN_ADV7180=m | ||
225 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
226 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
227 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
228 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
229 | CONFIG_MXC_VADC=m | ||
230 | CONFIG_SOC_CAMERA=y | ||
231 | CONFIG_VIDEO_MX3=y | ||
232 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
233 | CONFIG_VIDEO_CODA=y | ||
234 | CONFIG_RADIO_SI476X=y | ||
235 | CONFIG_SOC_CAMERA_OV2640=y | ||
236 | CONFIG_DRM=y | ||
237 | CONFIG_DRM_VIVANTE=y | ||
238 | CONFIG_FB=y | ||
239 | CONFIG_FB_MXS=y | ||
240 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
241 | CONFIG_LCD_CLASS_DEVICE=y | ||
242 | CONFIG_LCD_L4F00242T03=y | ||
243 | CONFIG_LCD_PLATFORM=y | ||
244 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
245 | CONFIG_BACKLIGHT_PWM=y | ||
246 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
247 | CONFIG_FB_MXC_LDB=y | ||
248 | CONFIG_FB_MXC_MIPI_DSI=y | ||
249 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
250 | CONFIG_FB_MXC_HDMI=y | ||
251 | CONFIG_FB_MXC_EINK_PANEL=y | ||
252 | CONFIG_FB_MXS_SII902X=y | ||
253 | CONFIG_FB_MXC_DCIC=m | ||
254 | CONFIG_HANNSTAR_CABC=y | ||
255 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
256 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
257 | CONFIG_LOGO=y | ||
258 | CONFIG_SOUND=y | ||
259 | CONFIG_SND=y | ||
260 | CONFIG_SND_USB_AUDIO=m | ||
261 | CONFIG_SND_SOC=y | ||
262 | CONFIG_SND_IMX_SOC=y | ||
263 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
264 | CONFIG_SND_SOC_IMX_CS42888=y | ||
265 | CONFIG_SND_SOC_IMX_WM8962=y | ||
266 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
267 | CONFIG_SND_SOC_IMX_MQS=y | ||
268 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
269 | CONFIG_SND_SOC_IMX_MC13783=y | ||
270 | CONFIG_SND_SOC_IMX_HDMI=y | ||
271 | CONFIG_SND_SOC_IMX_SI476X=y | ||
272 | CONFIG_USB=y | ||
273 | CONFIG_USB_EHCI_HCD=y | ||
274 | CONFIG_USB_EHCI_MXC=y | ||
275 | CONFIG_USB_ACM=m | ||
276 | CONFIG_USB_STORAGE=y | ||
277 | CONFIG_USB_CHIPIDEA=y | ||
278 | CONFIG_USB_CHIPIDEA_UDC=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 | ||
285 | CONFIG_NOP_USB_XCEIV=y | ||
286 | CONFIG_USB_MXS_PHY=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 | ||
300 | CONFIG_USB_ZERO=m | ||
301 | CONFIG_USB_ETH=m | ||
302 | CONFIG_USB_G_NCM=m | ||
303 | CONFIG_USB_GADGETFS=m | ||
304 | CONFIG_USB_MASS_STORAGE=m | ||
305 | CONFIG_USB_G_SERIAL=m | ||
306 | CONFIG_MMC=y | ||
307 | CONFIG_MMC_UNSAFE_RESUME=y | ||
308 | CONFIG_MMC_SDHCI=y | ||
309 | CONFIG_MMC_SDHCI_PLTFM=y | ||
310 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
311 | CONFIG_MXC_IPU=y | ||
312 | CONFIG_MXC_GPU_VIV=y | ||
313 | CONFIG_MXC_MIPI_CSI2=y | ||
314 | CONFIG_MXC_MLB150=m | ||
315 | CONFIG_NEW_LEDS=y | ||
316 | CONFIG_LEDS_CLASS=y | ||
317 | CONFIG_LEDS_GPIO=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 | ||
323 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
324 | CONFIG_RTC_CLASS=y | ||
325 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
326 | CONFIG_RTC_DRV_MC13XXX=y | ||
327 | CONFIG_RTC_DRV_MXC=y | ||
328 | CONFIG_RTC_DRV_SNVS=y | ||
329 | CONFIG_DMADEVICES=y | ||
330 | CONFIG_MXC_PXP_V2=y | ||
331 | CONFIG_IMX_SDMA=y | ||
332 | CONFIG_MXS_DMA=y | ||
333 | CONFIG_STAGING=y | ||
334 | CONFIG_STAGING_MEDIA=y | ||
335 | # CONFIG_IOMMU_SUPPORT is not set | ||
336 | CONFIG_IIO=y | ||
337 | CONFIG_VF610_ADC=y | ||
338 | CONFIG_PWM=y | ||
339 | CONFIG_PWM_IMX=y | ||
340 | CONFIG_EXT2_FS=y | ||
341 | CONFIG_EXT2_FS_XATTR=y | ||
342 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
343 | CONFIG_EXT2_FS_SECURITY=y | ||
344 | CONFIG_EXT3_FS=y | ||
345 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
346 | CONFIG_EXT3_FS_SECURITY=y | ||
347 | CONFIG_EXT4_FS=y | ||
348 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
349 | CONFIG_EXT4_FS_SECURITY=y | ||
350 | CONFIG_QUOTA=y | ||
351 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
352 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
353 | CONFIG_AUTOFS4_FS=y | ||
354 | CONFIG_FUSE_FS=y | ||
355 | CONFIG_ISO9660_FS=m | ||
356 | CONFIG_JOLIET=y | ||
357 | CONFIG_ZISOFS=y | ||
358 | CONFIG_UDF_FS=m | ||
359 | CONFIG_MSDOS_FS=m | ||
360 | CONFIG_VFAT_FS=y | ||
361 | CONFIG_TMPFS=y | ||
362 | CONFIG_JFFS2_FS=y | ||
363 | CONFIG_UBIFS_FS=y | ||
364 | CONFIG_NFS_FS=y | ||
365 | CONFIG_NFS_V3_ACL=y | ||
366 | CONFIG_NFS_V4=y | ||
367 | CONFIG_ROOT_NFS=y | ||
368 | CONFIG_NLS_DEFAULT="cp437" | ||
369 | CONFIG_NLS_CODEPAGE_437=y | ||
370 | CONFIG_NLS_ASCII=y | ||
371 | CONFIG_NLS_ISO8859_1=y | ||
372 | CONFIG_NLS_ISO8859_15=m | ||
373 | CONFIG_NLS_UTF8=y | ||
374 | CONFIG_DEBUG_FS=y | ||
375 | CONFIG_MAGIC_SYSRQ=y | ||
376 | # CONFIG_SCHED_DEBUG is not set | ||
377 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
378 | # CONFIG_FTRACE is not set | ||
379 | CONFIG_SECURITYFS=y | ||
380 | CONFIG_CRYPTO_USER=y | ||
381 | CONFIG_CRYPTO_TEST=m | ||
382 | CONFIG_CRYPTO_GCM=y | ||
383 | CONFIG_CRYPTO_CBC=y | ||
384 | CONFIG_CRYPTO_CTS=y | ||
385 | CONFIG_CRYPTO_LRW=y | ||
386 | CONFIG_CRYPTO_XTS=y | ||
387 | CONFIG_CRYPTO_MD4=y | ||
388 | CONFIG_CRYPTO_MD5=y | ||
389 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
390 | CONFIG_CRYPTO_RMD128=y | ||
391 | CONFIG_CRYPTO_RMD160=y | ||
392 | CONFIG_CRYPTO_RMD256=y | ||
393 | CONFIG_CRYPTO_RMD320=y | ||
394 | CONFIG_CRYPTO_SHA1=y | ||
395 | CONFIG_CRYPTO_SHA512=y | ||
396 | CONFIG_CRYPTO_TGR192=y | ||
397 | CONFIG_CRYPTO_WP512=y | ||
398 | CONFIG_CRYPTO_BLOWFISH=y | ||
399 | CONFIG_CRYPTO_CAMELLIA=y | ||
400 | CONFIG_CRYPTO_DES=y | ||
401 | CONFIG_CRYPTO_TWOFISH=y | ||
402 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
403 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
404 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
405 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
406 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
407 | CONFIG_CRC_CCITT=m | ||
408 | CONFIG_CRC_T10DIF=y | ||
409 | CONFIG_CRC7=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-mfgtool-3.14.28/mx6/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool-3.14.28/mx6/defconfig new file mode 100644 index 00000000..17598b15 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool-3.14.28/mx6/defconfig | |||
@@ -0,0 +1,332 @@ | |||
1 | # CONFIG_LOCALVERSION_AUTO is not set | ||
2 | CONFIG_KERNEL_LZO=y | ||
3 | CONFIG_SYSVIPC=y | ||
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_LOG_BUF_SHIFT=18 | ||
7 | CONFIG_CGROUPS=y | ||
8 | CONFIG_RELAY=y | ||
9 | CONFIG_BLK_DEV_INITRD=y | ||
10 | CONFIG_EXPERT=y | ||
11 | CONFIG_KALLSYMS_ALL=y | ||
12 | CONFIG_PERF_EVENTS=y | ||
13 | # CONFIG_SLUB_DEBUG is not set | ||
14 | # CONFIG_COMPAT_BRK is not set | ||
15 | CONFIG_MODULES=y | ||
16 | CONFIG_MODULE_UNLOAD=y | ||
17 | CONFIG_MODVERSIONS=y | ||
18 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
19 | # CONFIG_BLK_DEV_BSG is not set | ||
20 | CONFIG_ARCH_MULTI_V6=y | ||
21 | CONFIG_GPIO_PCA953X=y | ||
22 | CONFIG_ARCH_MXC=y | ||
23 | # CONFIG_MACH_MX31ADS is not set | ||
24 | # CONFIG_MACH_BUG is not set | ||
25 | CONFIG_MACH_IMX51_DT=y | ||
26 | CONFIG_MACH_EUKREA_CPUIMX51SD=y | ||
27 | CONFIG_SOC_IMX50=y | ||
28 | CONFIG_SOC_IMX53=y | ||
29 | CONFIG_SOC_IMX6Q=y | ||
30 | CONFIG_SOC_IMX6SL=y | ||
31 | CONFIG_SOC_IMX6SX=y | ||
32 | CONFIG_SOC_VF610=y | ||
33 | CONFIG_SMP=y | ||
34 | CONFIG_VMSPLIT_2G=y | ||
35 | CONFIG_PREEMPT=y | ||
36 | CONFIG_AEABI=y | ||
37 | CONFIG_HIGHMEM=y | ||
38 | CONFIG_CMA=y | ||
39 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
40 | CONFIG_CPU_FREQ=y | ||
41 | CONFIG_CPU_FREQ_DEFAULT_GOV_INTERACTIVE=y | ||
42 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
43 | CONFIG_CPU_FREQ_GOV_POWERSAVE=y | ||
44 | CONFIG_CPU_FREQ_GOV_USERSPACE=y | ||
45 | CONFIG_CPU_FREQ_GOV_ONDEMAND=y | ||
46 | CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y | ||
47 | CONFIG_ARM_IMX6Q_CPUFREQ=y | ||
48 | CONFIG_CPU_IDLE=y | ||
49 | CONFIG_VFP=y | ||
50 | CONFIG_NEON=y | ||
51 | CONFIG_BINFMT_MISC=m | ||
52 | CONFIG_PM_RUNTIME=y | ||
53 | CONFIG_PM_DEBUG=y | ||
54 | CONFIG_PM_TEST_SUSPEND=y | ||
55 | CONFIG_NET=y | ||
56 | CONFIG_PACKET=y | ||
57 | CONFIG_UNIX=y | ||
58 | CONFIG_INET=y | ||
59 | CONFIG_IP_PNP=y | ||
60 | CONFIG_IP_PNP_DHCP=y | ||
61 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
62 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
63 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
64 | # CONFIG_INET_LRO is not set | ||
65 | CONFIG_IPV6=y | ||
66 | CONFIG_NETFILTER=y | ||
67 | CONFIG_CFG80211=y | ||
68 | CONFIG_MAC80211=y | ||
69 | CONFIG_RFKILL=y | ||
70 | CONFIG_RFKILL_INPUT=y | ||
71 | CONFIG_DEVTMPFS=y | ||
72 | CONFIG_DEVTMPFS_MOUNT=y | ||
73 | # CONFIG_STANDALONE is not set | ||
74 | CONFIG_DMA_CMA=y | ||
75 | CONFIG_CMA_SIZE_MBYTES=320 | ||
76 | CONFIG_IMX_WEIM=y | ||
77 | CONFIG_CONNECTOR=y | ||
78 | CONFIG_MTD=y | ||
79 | CONFIG_MTD_CMDLINE_PARTS=y | ||
80 | CONFIG_MTD_BLOCK=y | ||
81 | CONFIG_MTD_CFI=y | ||
82 | CONFIG_MTD_JEDECPROBE=y | ||
83 | CONFIG_MTD_CFI_INTELEXT=y | ||
84 | CONFIG_MTD_CFI_AMDSTD=y | ||
85 | CONFIG_MTD_CFI_STAA=y | ||
86 | CONFIG_MTD_PHYSMAP_OF=y | ||
87 | CONFIG_MTD_DATAFLASH=y | ||
88 | CONFIG_MTD_M25P80=y | ||
89 | CONFIG_MTD_SST25L=y | ||
90 | CONFIG_MTD_NAND=y | ||
91 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
92 | CONFIG_MTD_NAND_MXC=y | ||
93 | CONFIG_MTD_SPI_NOR=y | ||
94 | CONFIG_SPI_FSL_QUADSPI=y | ||
95 | CONFIG_MTD_UBI=y | ||
96 | CONFIG_BLK_DEV_LOOP=y | ||
97 | CONFIG_BLK_DEV_RAM=y | ||
98 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
99 | CONFIG_EEPROM_AT24=y | ||
100 | CONFIG_EEPROM_AT25=y | ||
101 | # CONFIG_SCSI_PROC_FS is not set | ||
102 | CONFIG_BLK_DEV_SD=y | ||
103 | CONFIG_SCSI_MULTI_LUN=y | ||
104 | CONFIG_SCSI_CONSTANTS=y | ||
105 | CONFIG_SCSI_LOGGING=y | ||
106 | CONFIG_SCSI_SCAN_ASYNC=y | ||
107 | # CONFIG_SCSI_LOWLEVEL is not set | ||
108 | CONFIG_ATA=y | ||
109 | CONFIG_SATA_AHCI_PLATFORM=y | ||
110 | CONFIG_AHCI_IMX=y | ||
111 | CONFIG_PATA_IMX=y | ||
112 | CONFIG_NETDEVICES=y | ||
113 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
114 | CONFIG_CS89x0=y | ||
115 | CONFIG_CS89x0_PLATFORM=y | ||
116 | # CONFIG_NET_VENDOR_FARADAY is not set | ||
117 | # CONFIG_NET_VENDOR_INTEL is not set | ||
118 | # CONFIG_NET_VENDOR_MARVELL is not set | ||
119 | # CONFIG_NET_VENDOR_MICREL is not set | ||
120 | # CONFIG_NET_VENDOR_MICROCHIP is not set | ||
121 | # CONFIG_NET_VENDOR_NATSEMI is not set | ||
122 | # CONFIG_NET_VENDOR_SEEQ is not set | ||
123 | CONFIG_SMC91X=y | ||
124 | CONFIG_SMC911X=y | ||
125 | CONFIG_SMSC911X=y | ||
126 | # CONFIG_NET_VENDOR_STMICRO is not set | ||
127 | CONFIG_AT803X_PHY=y | ||
128 | CONFIG_BRCMFMAC=m | ||
129 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
130 | CONFIG_INPUT_EVDEV=y | ||
131 | CONFIG_INPUT_EVBUG=m | ||
132 | CONFIG_KEYBOARD_GPIO=y | ||
133 | CONFIG_KEYBOARD_IMX=y | ||
134 | CONFIG_MOUSE_PS2=m | ||
135 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
136 | CONFIG_INPUT_TOUCHSCREEN=y | ||
137 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
138 | CONFIG_TOUCHSCREEN_MC13783=y | ||
139 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
140 | CONFIG_TOUCHSCREEN_STMPE=y | ||
141 | CONFIG_INPUT_MISC=y | ||
142 | CONFIG_INPUT_MMA8450=y | ||
143 | CONFIG_SERIO_SERPORT=m | ||
144 | # CONFIG_LEGACY_PTYS is not set | ||
145 | # CONFIG_DEVKMEM is not set | ||
146 | CONFIG_SERIAL_IMX=y | ||
147 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
148 | CONFIG_SERIAL_FSL_LPUART=y | ||
149 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
150 | CONFIG_HW_RANDOM=y | ||
151 | CONFIG_IMX_SEMA4=y | ||
152 | # CONFIG_I2C_COMPAT is not set | ||
153 | CONFIG_I2C_CHARDEV=y | ||
154 | # CONFIG_I2C_HELPER_AUTO is not set | ||
155 | CONFIG_I2C_ALGOPCF=m | ||
156 | CONFIG_I2C_ALGOPCA=m | ||
157 | CONFIG_I2C_IMX=y | ||
158 | CONFIG_SPI=y | ||
159 | CONFIG_SPI_IMX=y | ||
160 | CONFIG_GPIO_SYSFS=y | ||
161 | # CONFIG_HWMON is not set | ||
162 | CONFIG_THERMAL=y | ||
163 | CONFIG_CPU_THERMAL=y | ||
164 | CONFIG_IMX_THERMAL=y | ||
165 | CONFIG_DEVICE_THERMAL=y | ||
166 | CONFIG_WATCHDOG=y | ||
167 | CONFIG_IMX2_WDT=y | ||
168 | CONFIG_MFD_DA9052_I2C=y | ||
169 | CONFIG_MFD_MC13XXX_SPI=y | ||
170 | CONFIG_MFD_MC13XXX_I2C=y | ||
171 | CONFIG_MFD_STMPE=y | ||
172 | CONFIG_REGULATOR=y | ||
173 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
174 | CONFIG_REGULATOR_ANATOP=y | ||
175 | CONFIG_REGULATOR_DA9052=y | ||
176 | CONFIG_REGULATOR_MC13783=y | ||
177 | CONFIG_REGULATOR_MC13892=y | ||
178 | CONFIG_REGULATOR_PFUZE100=y | ||
179 | CONFIG_MEDIA_SUPPORT=y | ||
180 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
181 | CONFIG_MEDIA_RC_SUPPORT=y | ||
182 | CONFIG_RC_DEVICES=y | ||
183 | CONFIG_IR_GPIO_CIR=y | ||
184 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
185 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
186 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
187 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
188 | CONFIG_SOC_CAMERA=y | ||
189 | CONFIG_VIDEO_MX3=y | ||
190 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
191 | CONFIG_VIDEO_CODA=y | ||
192 | CONFIG_SOC_CAMERA_OV2640=y | ||
193 | CONFIG_DRM=y | ||
194 | CONFIG_DRM_VIVANTE=y | ||
195 | CONFIG_FB=y | ||
196 | CONFIG_FB_MXS=y | ||
197 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
198 | CONFIG_LCD_CLASS_DEVICE=y | ||
199 | CONFIG_LCD_L4F00242T03=y | ||
200 | CONFIG_LCD_PLATFORM=y | ||
201 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
202 | CONFIG_BACKLIGHT_PWM=y | ||
203 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
204 | CONFIG_FB_MXC_LDB=y | ||
205 | CONFIG_FB_MXC_MIPI_DSI=y | ||
206 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
207 | CONFIG_FB_MXC_HDMI=y | ||
208 | CONFIG_FB_MXC_EINK_PANEL=y | ||
209 | CONFIG_FB_MXC_EINK_AUTO_UPDATE_MODE=y | ||
210 | CONFIG_FB_MXS_SII902X=y | ||
211 | CONFIG_HANNSTAR_CABC=y | ||
212 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
213 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
214 | CONFIG_LOGO=y | ||
215 | CONFIG_SOUND=y | ||
216 | CONFIG_SND=y | ||
217 | CONFIG_SND_SOC=y | ||
218 | CONFIG_SND_IMX_SOC=y | ||
219 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
220 | CONFIG_SND_SOC_IMX_WM8962=y | ||
221 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
222 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
223 | CONFIG_SND_SOC_IMX_MC13783=y | ||
224 | CONFIG_USB=y | ||
225 | CONFIG_USB_EHCI_HCD=y | ||
226 | CONFIG_USB_EHCI_MXC=y | ||
227 | CONFIG_USB_STORAGE=y | ||
228 | CONFIG_USB_CHIPIDEA=y | ||
229 | CONFIG_USB_CHIPIDEA_UDC=y | ||
230 | CONFIG_USB_CHIPIDEA_HOST=y | ||
231 | CONFIG_NOP_USB_XCEIV=y | ||
232 | CONFIG_USB_MXS_PHY=y | ||
233 | CONFIG_USB_GADGET=y | ||
234 | CONFIG_USB_ETH=m | ||
235 | CONFIG_USB_PHY=y | ||
236 | # CONFIG_USB_ZERO is not set | ||
237 | # CONFIG_USB_AUDIO is not set | ||
238 | # CONFIG_USB_ETH is not set | ||
239 | # CONFIG_USB_G_NCM is not set | ||
240 | # CONFIG_USB_GADGETFS is not set | ||
241 | # CONFIG_USB_FUNCTIONFS is not set | ||
242 | CONFIG_USB_MASS_STORAGE=y | ||
243 | CONFIG_FSL_UTP=y | ||
244 | # CONFIG_USB_G_SERIAL is not set | ||
245 | # CONFIG_USB_MIDI_GADGET is not set | ||
246 | # CONFIG_USB_G_PRINTER is not set | ||
247 | # CONFIG_USB_CDC_COMPOSITE is not set | ||
248 | # CONFIG_USB_G_ACM_MS is not set | ||
249 | # CONFIG_USB_G_MULTI is not set | ||
250 | # CONFIG_USB_G_HID is not set | ||
251 | # CONFIG_USB_G_DBGP is not set | ||
252 | # CONFIG_USB_G_WEBCAM is not set | ||
253 | CONFIG_MMC=y | ||
254 | CONFIG_MMC_UNSAFE_RESUME=y | ||
255 | CONFIG_MMC_SDHCI=y | ||
256 | CONFIG_MMC_SDHCI_PLTFM=y | ||
257 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
258 | CONFIG_MXC_IPU=y | ||
259 | CONFIG_MXC_GPU_VIV=y | ||
260 | CONFIG_MXC_MIPI_CSI2=y | ||
261 | CONFIG_MXC_MLB150=y | ||
262 | CONFIG_NEW_LEDS=y | ||
263 | CONFIG_LEDS_CLASS=y | ||
264 | CONFIG_LEDS_GPIO=y | ||
265 | CONFIG_LEDS_TRIGGERS=y | ||
266 | CONFIG_LEDS_TRIGGER_TIMER=y | ||
267 | CONFIG_LEDS_TRIGGER_ONESHOT=y | ||
268 | CONFIG_LEDS_TRIGGER_HEARTBEAT=y | ||
269 | CONFIG_LEDS_TRIGGER_BACKLIGHT=y | ||
270 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
271 | CONFIG_RTC_CLASS=y | ||
272 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
273 | CONFIG_RTC_DRV_MC13XXX=y | ||
274 | CONFIG_RTC_DRV_MXC=y | ||
275 | CONFIG_RTC_DRV_SNVS=y | ||
276 | CONFIG_DMADEVICES=y | ||
277 | CONFIG_MXC_PXP_V2=y | ||
278 | CONFIG_IMX_SDMA=y | ||
279 | CONFIG_MXS_DMA=y | ||
280 | CONFIG_STAGING=y | ||
281 | CONFIG_STAGING_MEDIA=y | ||
282 | # CONFIG_IOMMU_SUPPORT is not set | ||
283 | CONFIG_PWM=y | ||
284 | CONFIG_PWM_IMX=y | ||
285 | CONFIG_EXT2_FS=y | ||
286 | CONFIG_EXT2_FS_XATTR=y | ||
287 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
288 | CONFIG_EXT2_FS_SECURITY=y | ||
289 | CONFIG_EXT3_FS=y | ||
290 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
291 | CONFIG_EXT3_FS_SECURITY=y | ||
292 | CONFIG_EXT4_FS=y | ||
293 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
294 | CONFIG_EXT4_FS_SECURITY=y | ||
295 | CONFIG_QUOTA=y | ||
296 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
297 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
298 | CONFIG_AUTOFS4_FS=y | ||
299 | CONFIG_FUSE_FS=y | ||
300 | CONFIG_ISO9660_FS=m | ||
301 | CONFIG_JOLIET=y | ||
302 | CONFIG_ZISOFS=y | ||
303 | CONFIG_UDF_FS=m | ||
304 | CONFIG_MSDOS_FS=m | ||
305 | CONFIG_VFAT_FS=y | ||
306 | CONFIG_TMPFS=y | ||
307 | CONFIG_JFFS2_FS=y | ||
308 | CONFIG_UBIFS_FS=y | ||
309 | CONFIG_NFS_FS=y | ||
310 | CONFIG_NFS_V3_ACL=y | ||
311 | CONFIG_NFS_V4=y | ||
312 | CONFIG_ROOT_NFS=y | ||
313 | CONFIG_NLS_DEFAULT="cp437" | ||
314 | CONFIG_NLS_CODEPAGE_437=y | ||
315 | CONFIG_NLS_ASCII=y | ||
316 | CONFIG_NLS_ISO8859_1=y | ||
317 | CONFIG_NLS_ISO8859_15=m | ||
318 | CONFIG_NLS_UTF8=y | ||
319 | CONFIG_MAGIC_SYSRQ=y | ||
320 | # CONFIG_SCHED_DEBUG is not set | ||
321 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
322 | # CONFIG_FTRACE is not set | ||
323 | CONFIG_SECURITYFS=y | ||
324 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
325 | # CONFIG_CRYPTO_HW is not set | ||
326 | CONFIG_CRC_CCITT=m | ||
327 | CONFIG_CRC_T10DIF=y | ||
328 | CONFIG_CRC7=m | ||
329 | CONFIG_LIBCRC32C=m | ||
330 | CONFIG_FONTS=y | ||
331 | CONFIG_FONT_8x8=y | ||
332 | CONFIG_FONT_8x16=y | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.14.28.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.14.28.bb new file mode 100644 index 00000000..825c94a6 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-mfgtool_3.14.28.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2014-2015 Freescale Semiconductor | ||
3 | |||
4 | SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel" | ||
5 | DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \ | ||
6 | Manufacturing Tool compatible Linux Kernel to be used in updater environment" | ||
7 | |||
8 | require linux-imx_${PV}.bb | ||
9 | require linux-mfgtool.inc | ||
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.14.28/0001-fix-build.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-fix-build.patch new file mode 100644 index 00000000..4be4066d --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0001-fix-build.patch | |||
@@ -0,0 +1,71 @@ | |||
1 | Fix build errors when RT patch is applied | ||
2 | |||
3 | Upstream-Status: Inappropriate [other] | ||
4 | Freescale does not support the RT patch | ||
5 | |||
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] | ||
8 | |||
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 | ||
10 | index 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. */ | ||
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.14.28/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 new file mode 100644 index 00000000..83652c96 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0002-fix-build-with-rt-enabled.patch | |||
@@ -0,0 +1,19 @@ | |||
1 | Fix build error when PREEMPT_RT_FULL is enabled | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | Signed-off-by: Jacob Kroon <jacob.kroon@mikrodidakt.se> | ||
6 | |||
7 | Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
8 | =================================================================== | ||
9 | --- git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
10 | +++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c | ||
11 | @@ -3266,7 +3266,7 @@ gckOS_CreateMutex( | ||
12 | gcmkONERROR(gckOS_Allocate(Os, gcmSIZEOF(struct mutex), Mutex)); | ||
13 | |||
14 | /* Initialize the mutex. */ | ||
15 | - mutex_init(*Mutex); | ||
16 | + mutex_init((struct mutex*)*Mutex); | ||
17 | |||
18 | /* Return status. */ | ||
19 | gcmkFOOTER_ARG("*Mutex=0x%X", *Mutex); | ||
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.14.28/0003-no-split-ptlocks.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-no-split-ptlocks.patch new file mode 100644 index 00000000..40c012a5 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/0003-no-split-ptlocks.patch | |||
@@ -0,0 +1,85 @@ | |||
1 | Work around the oops below by disabling split ptlocks | ||
2 | |||
3 | Upstream-Status: Inappropriate [disable feature] | ||
4 | |||
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] | ||
7 | |||
8 | Unable to handle kernel NULL pointer dereference at virtual address 00000000 | ||
9 | pgd = ac5a8000 | ||
10 | [00000000] *pgd=3c8db831, *pte=00000000, *ppte=00000000 | ||
11 | Internal error: Oops: 17 [#1] PREEMPT SMP ARM | ||
12 | Modules linked in: | ||
13 | CPU: 1 PID: 277 Comm: test-qt5 Not tainted 3.10.17-rt12-monkey+gec1af9f #2 | ||
14 | task: ac65df80 ti: ac968000 task.ti: ac968000 | ||
15 | PC is at _raw_spin_lock+0x10/0x4c | ||
16 | LR is at get_parent_ip+0x10/0x2c | ||
17 | pc : [<80623fd4>] lr : [<8004ef18>] psr: 60010013 | ||
18 | sp : ac969c38 ip : 80c44404 fp : 00000000 | ||
19 | r10: ac65df80 r9 : ac969cd8 r8 : 00000000 | ||
20 | r7 : 00000054 r6 : afffe000 r5 : 00000000 r4 : 00000000 | ||
21 | r3 : ac65df80 r2 : 00000001 r1 : 00000000 r0 : 00000000 | ||
22 | Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user | ||
23 | Control: 10c53c7d Table: 3c5a804a DAC: 00000015 | ||
24 | Process test-qt5 (pid: 277, stack limit = 0xac968238) | ||
25 | Stack: (0xac969c38 to 0xac96a000) | ||
26 | 9c20: b00549a8 806235e0 | ||
27 | 9c40: 00000000 ac968000 812f9a00 80017cec ac969c74 fffffffe 00000000 00005000 | ||
28 | 9c60: 00000000 80017e6c ac968000 ac65df80 00000000 00000000 00000001 ac968001 | ||
29 | 9c80: ac65df80 b00549a8 00000000 afffe000 00000054 00000000 ac969cd8 afffe150 | ||
30 | 9ca0: b0054bf8 8044e540 ac969cd8 b00549a8 ac0b8180 00000230 ac8fd000 00000230 | ||
31 | 9cc0: 00000000 8044f6f4 ac155700 ac969cf4 ac155700 804605b8 ac155700 ac969d8c | ||
32 | 9ce0: 00000002 ac969d24 b0054bf8 804607f4 7ef1fcd0 80450078 ac0b8180 ac155700 | ||
33 | 9d00: ac969d8c 00000002 ac8fd000 8045f1a0 ac969d24 00000000 ac8fd01c b00549a8 | ||
34 | 9d20: b0050000 00000008 ac969d98 ac0b8300 ac969d8c 00000115 ac969d98 ac969e00 | ||
35 | 9d40: ac155600 ac3985f0 7ef1fcd0 8045661c 00000115 00000000 00000001 00000000 | ||
36 | 9d60: 00007530 80454144 80c32e18 00000001 81518e18 806237dc 00000001 ac968038 | ||
37 | 9d80: 00000000 00000000 00000000 00000000 00000115 806237dc ac6f5688 ac968018 | ||
38 | 9da0: 812e1640 00000000 00000001 ac968000 ac969dc4 8004efe4 ac968008 ac39a000 | ||
39 | 9dc0: ac744400 ac968020 00007530 ac968000 ac968000 ac3985f0 7ef1fcd0 8044d374 | ||
40 | 9de0: 7ef1fd20 00000000 000000f8 00000000 7ef1fd20 00000000 000000f8 00000000 | ||
41 | 9e00: 00000028 00000002 00000000 6437d1dd 7ef1fddc 76f9c030 7ef1fd88 76fb9abc | ||
42 | 9e20: 00000320 00005007 e02c7eca c1399eff 020fb2db 00000000 00000000 00000000 | ||
43 | 9e40: 00000001 00000040 00000400 00000004 00000010 00000400 00000002 00000100 | ||
44 | 9e60: 00000100 00000008 00000008 00000000 ffffffff 00000000 7588e180 76fb1000 | ||
45 | 9e80: 08000000 00000000 00000000 76fb11b8 000000af 760b6cd8 ffffffff 7431d4c0 | ||
46 | 9ea0: 000cb1ac 75889000 00000000 00000001 000000b0 00000000 00000000 76fa0da0 | ||
47 | 9ec0: 00000000 00000001 00000001 00000000 00000000 7588cb40 00000001 75957ecc | ||
48 | 9ee0: 00000001 7ef1fe7c 75953e94 7ef1fedc 00000002 76fa789c 00007530 ac6813c0 | ||
49 | 9f00: 00000000 7ef1fcd0 ac6813c0 ac968000 ac3985f0 800d68fc 00000001 ac968000 | ||
50 | 9f20: ac969f34 8004efe4 ac4f71d4 6c31d000 00000000 80623fd4 00000000 80623578 | ||
51 | 9f40: ac4f71d4 800a3d40 00000001 00000000 ac969f5c 00000003 ac6813c8 00000000 | ||
52 | 9f60: 00000001 00007530 00000003 00000000 7ef1fcd0 ac6813c0 ac968000 00000000 | ||
53 | 9f80: 00000000 800d6afc ac4f7180 00000000 00002710 00007530 75957e40 00000036 | ||
54 | 9fa0: 8000e2c4 8000e140 00002710 00007530 00000003 00007530 7ef1fcd0 01bc3008 | ||
55 | 9fc0: 00002710 00007530 75957e40 00000036 01bd2e70 00000001 7ef1fd20 00000000 | ||
56 | 9fe0: 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) | ||
69 | Code: e92d4010 e1a04000 e3a00001 ebe8abd7 (e1943f9f) | ||
70 | ---[ end trace 0000000000000002 ]--- | ||
71 | note: test-qt5[277] exited with preempt_count 1 | ||
72 | |||
73 | diff --git a/include/linux/mm_types.h b/include/linux/mm_types.h | ||
74 | index 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/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.14.28/mx6/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/mx6/defconfig new file mode 100644 index 00000000..30aabbd3 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx-rt-3.14.28/mx6/defconfig | |||
@@ -0,0 +1,413 @@ | |||
1 | CONFIG_LOCALVERSION="-1.0.0_ga" | ||
2 | CONFIG_KERNEL_LZO=y | ||
3 | CONFIG_SYSVIPC=y | ||
4 | CONFIG_NO_HZ=y | ||
5 | CONFIG_HIGH_RES_TIMERS=y | ||
6 | CONFIG_LOG_BUF_SHIFT=18 | ||
7 | CONFIG_CGROUPS=y | ||
8 | CONFIG_RELAY=y | ||
9 | CONFIG_BLK_DEV_INITRD=y | ||
10 | CONFIG_EXPERT=y | ||
11 | CONFIG_KALLSYMS_ALL=y | ||
12 | CONFIG_PERF_EVENTS=y | ||
13 | # CONFIG_SLUB_DEBUG is not set | ||
14 | # CONFIG_COMPAT_BRK is not set | ||
15 | CONFIG_MODULES=y | ||
16 | CONFIG_MODULE_UNLOAD=y | ||
17 | CONFIG_MODVERSIONS=y | ||
18 | CONFIG_MODULE_SRCVERSION_ALL=y | ||
19 | # CONFIG_BLK_DEV_BSG is not set | ||
20 | CONFIG_GPIO_PCA953X=y | ||
21 | CONFIG_ARCH_MXC=y | ||
22 | CONFIG_MACH_IMX51_DT=y | ||
23 | CONFIG_MACH_EUKREA_CPUIMX51SD=y | ||
24 | CONFIG_SOC_IMX50=y | ||
25 | CONFIG_SOC_IMX53=y | ||
26 | CONFIG_SOC_IMX6Q=y | ||
27 | CONFIG_SOC_IMX6SL=y | ||
28 | CONFIG_SOC_IMX6SX=y | ||
29 | CONFIG_SOC_VF610=y | ||
30 | # CONFIG_SWP_EMULATE is not set | ||
31 | CONFIG_SMP=y | ||
32 | CONFIG_VMSPLIT_2G=y | ||
33 | CONFIG_PREEMPT_RT_FULL=y | ||
34 | CONFIG_AEABI=y | ||
35 | CONFIG_HIGHMEM=y | ||
36 | CONFIG_CMA=y | ||
37 | CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" | ||
38 | CONFIG_CPU_FREQ=y | ||
39 | CONFIG_CPU_FREQ_GOV_POWERSAVE=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 | ||
45 | CONFIG_CPU_IDLE=y | ||
46 | CONFIG_VFP=y | ||
47 | CONFIG_NEON=y | ||
48 | CONFIG_BINFMT_MISC=m | ||
49 | CONFIG_PM_RUNTIME=y | ||
50 | CONFIG_PM_DEBUG=y | ||
51 | CONFIG_PM_TEST_SUSPEND=y | ||
52 | CONFIG_NET=y | ||
53 | CONFIG_PACKET=y | ||
54 | CONFIG_UNIX=y | ||
55 | CONFIG_INET=y | ||
56 | CONFIG_IP_PNP=y | ||
57 | CONFIG_IP_PNP_DHCP=y | ||
58 | # CONFIG_INET_XFRM_MODE_TRANSPORT is not set | ||
59 | # CONFIG_INET_XFRM_MODE_TUNNEL is not set | ||
60 | # CONFIG_INET_XFRM_MODE_BEET is not set | ||
61 | # CONFIG_INET_LRO is not set | ||
62 | CONFIG_IPV6=y | ||
63 | CONFIG_NETFILTER=y | ||
64 | CONFIG_VLAN_8021Q=y | ||
65 | CONFIG_LLC2=y | ||
66 | CONFIG_CAN=y | ||
67 | CONFIG_CAN_FLEXCAN=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 | ||
84 | CONFIG_CFG80211=y | ||
85 | CONFIG_MAC80211=y | ||
86 | CONFIG_DEVTMPFS=y | ||
87 | CONFIG_DEVTMPFS_MOUNT=y | ||
88 | # CONFIG_STANDALONE is not set | ||
89 | CONFIG_DMA_CMA=y | ||
90 | CONFIG_CMA_SIZE_MBYTES=320 | ||
91 | CONFIG_IMX_WEIM=y | ||
92 | CONFIG_CONNECTOR=y | ||
93 | CONFIG_MTD=y | ||
94 | CONFIG_MTD_CMDLINE_PARTS=y | ||
95 | CONFIG_MTD_BLOCK=y | ||
96 | CONFIG_MTD_CFI=y | ||
97 | CONFIG_MTD_JEDECPROBE=y | ||
98 | CONFIG_MTD_CFI_INTELEXT=y | ||
99 | CONFIG_MTD_CFI_AMDSTD=y | ||
100 | CONFIG_MTD_CFI_STAA=y | ||
101 | CONFIG_MTD_PHYSMAP_OF=y | ||
102 | CONFIG_MTD_DATAFLASH=y | ||
103 | CONFIG_MTD_M25P80=y | ||
104 | CONFIG_MTD_SST25L=y | ||
105 | CONFIG_MTD_NAND=y | ||
106 | CONFIG_MTD_NAND_GPMI_NAND=y | ||
107 | CONFIG_MTD_NAND_MXC=y | ||
108 | CONFIG_MTD_SPI_NOR=y | ||
109 | CONFIG_SPI_FSL_QUADSPI=y | ||
110 | CONFIG_MTD_UBI=y | ||
111 | CONFIG_BLK_DEV_LOOP=y | ||
112 | CONFIG_BLK_DEV_RAM=y | ||
113 | CONFIG_BLK_DEV_RAM_SIZE=65536 | ||
114 | CONFIG_EEPROM_AT24=y | ||
115 | CONFIG_EEPROM_AT25=y | ||
116 | # CONFIG_SCSI_PROC_FS is not set | ||
117 | CONFIG_BLK_DEV_SD=y | ||
118 | CONFIG_SCSI_MULTI_LUN=y | ||
119 | CONFIG_SCSI_CONSTANTS=y | ||
120 | CONFIG_SCSI_LOGGING=y | ||
121 | CONFIG_SCSI_SCAN_ASYNC=y | ||
122 | # CONFIG_SCSI_LOWLEVEL is not set | ||
123 | CONFIG_ATA=y | ||
124 | CONFIG_SATA_AHCI_PLATFORM=y | ||
125 | CONFIG_AHCI_IMX=y | ||
126 | CONFIG_PATA_IMX=y | ||
127 | CONFIG_NETDEVICES=y | ||
128 | # CONFIG_NET_VENDOR_BROADCOM is not set | ||
129 | CONFIG_CS89x0=y | ||
130 | CONFIG_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 | ||
138 | CONFIG_SMC91X=y | ||
139 | CONFIG_SMC911X=y | ||
140 | CONFIG_SMSC911X=y | ||
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 | ||
147 | CONFIG_ATH_CARDS=y | ||
148 | CONFIG_ATH6KL=m | ||
149 | CONFIG_ATH6KL_SDIO=m | ||
150 | CONFIG_BRCMFMAC=m | ||
151 | # CONFIG_INPUT_MOUSEDEV_PSAUX is not set | ||
152 | CONFIG_INPUT_EVDEV=y | ||
153 | CONFIG_INPUT_EVBUG=m | ||
154 | CONFIG_KEYBOARD_GPIO=y | ||
155 | CONFIG_KEYBOARD_SNVS_PWRKEY=y | ||
156 | CONFIG_KEYBOARD_IMX=y | ||
157 | CONFIG_MOUSE_PS2=m | ||
158 | CONFIG_MOUSE_PS2_ELANTECH=y | ||
159 | CONFIG_INPUT_TOUCHSCREEN=y | ||
160 | CONFIG_TOUCHSCREEN_EGALAX=y | ||
161 | CONFIG_TOUCHSCREEN_ELAN=y | ||
162 | CONFIG_TOUCHSCREEN_MAX11801=y | ||
163 | CONFIG_TOUCHSCREEN_MC13783=y | ||
164 | CONFIG_TOUCHSCREEN_TSC2007=y | ||
165 | CONFIG_TOUCHSCREEN_STMPE=y | ||
166 | CONFIG_INPUT_MISC=y | ||
167 | CONFIG_INPUT_MMA8450=y | ||
168 | CONFIG_INPUT_ISL29023=y | ||
169 | CONFIG_SERIO_SERPORT=m | ||
170 | # CONFIG_LEGACY_PTYS is not set | ||
171 | # CONFIG_DEVKMEM is not set | ||
172 | CONFIG_SERIAL_IMX=y | ||
173 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
174 | CONFIG_SERIAL_FSL_LPUART=y | ||
175 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
176 | CONFIG_FSL_OTP=y | ||
177 | # CONFIG_I2C_COMPAT is not set | ||
178 | CONFIG_I2C_CHARDEV=y | ||
179 | # CONFIG_I2C_HELPER_AUTO is not set | ||
180 | CONFIG_I2C_ALGOPCF=m | ||
181 | CONFIG_I2C_ALGOPCA=m | ||
182 | CONFIG_I2C_IMX=y | ||
183 | CONFIG_SPI=y | ||
184 | CONFIG_SPI_IMX=y | ||
185 | CONFIG_GPIO_SYSFS=y | ||
186 | CONFIG_POWER_SUPPLY=y | ||
187 | CONFIG_SABRESD_MAX8903=y | ||
188 | CONFIG_SENSORS_MAX17135=y | ||
189 | CONFIG_SENSORS_MAG3110=y | ||
190 | CONFIG_THERMAL=y | ||
191 | CONFIG_CPU_THERMAL=y | ||
192 | CONFIG_IMX_THERMAL=y | ||
193 | CONFIG_DEVICE_THERMAL=y | ||
194 | CONFIG_WATCHDOG=y | ||
195 | CONFIG_IMX2_WDT=y | ||
196 | CONFIG_MFD_DA9052_I2C=y | ||
197 | CONFIG_MFD_MC13XXX_SPI=y | ||
198 | CONFIG_MFD_MC13XXX_I2C=y | ||
199 | CONFIG_MFD_MAX17135=y | ||
200 | CONFIG_MFD_SI476X_CORE=y | ||
201 | CONFIG_MFD_STMPE=y | ||
202 | CONFIG_REGULATOR=y | ||
203 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
204 | CONFIG_REGULATOR_ANATOP=y | ||
205 | CONFIG_REGULATOR_DA9052=y | ||
206 | CONFIG_REGULATOR_MAX17135=y | ||
207 | CONFIG_REGULATOR_MC13783=y | ||
208 | CONFIG_REGULATOR_MC13892=y | ||
209 | CONFIG_REGULATOR_PFUZE100=y | ||
210 | CONFIG_MEDIA_SUPPORT=y | ||
211 | CONFIG_MEDIA_CAMERA_SUPPORT=y | ||
212 | CONFIG_MEDIA_RADIO_SUPPORT=y | ||
213 | CONFIG_MEDIA_RC_SUPPORT=y | ||
214 | CONFIG_RC_DEVICES=y | ||
215 | CONFIG_IR_GPIO_CIR=y | ||
216 | CONFIG_MEDIA_USB_SUPPORT=y | ||
217 | CONFIG_USB_VIDEO_CLASS=m | ||
218 | CONFIG_V4L_PLATFORM_DRIVERS=y | ||
219 | CONFIG_VIDEO_MXC_OUTPUT=y | ||
220 | CONFIG_VIDEO_MXC_CAPTURE=m | ||
221 | CONFIG_MXC_CAMERA_OV5640=m | ||
222 | CONFIG_MXC_CAMERA_OV5642=m | ||
223 | CONFIG_MXC_CAMERA_OV5640_MIPI=m | ||
224 | CONFIG_MXC_TVIN_ADV7180=m | ||
225 | CONFIG_MXC_IPU_DEVICE_QUEUE_SDC=m | ||
226 | CONFIG_VIDEO_MXC_IPU_OUTPUT=y | ||
227 | CONFIG_VIDEO_MXC_PXP_V4L2=y | ||
228 | CONFIG_VIDEO_MXC_CSI_CAMERA=m | ||
229 | CONFIG_MXC_VADC=m | ||
230 | CONFIG_SOC_CAMERA=y | ||
231 | CONFIG_VIDEO_MX3=y | ||
232 | CONFIG_V4L_MEM2MEM_DRIVERS=y | ||
233 | CONFIG_VIDEO_CODA=y | ||
234 | CONFIG_RADIO_SI476X=y | ||
235 | CONFIG_SOC_CAMERA_OV2640=y | ||
236 | CONFIG_DRM=y | ||
237 | CONFIG_DRM_VIVANTE=y | ||
238 | CONFIG_FB=y | ||
239 | CONFIG_FB_MXS=y | ||
240 | CONFIG_BACKLIGHT_LCD_SUPPORT=y | ||
241 | CONFIG_LCD_CLASS_DEVICE=y | ||
242 | CONFIG_LCD_L4F00242T03=y | ||
243 | CONFIG_LCD_PLATFORM=y | ||
244 | CONFIG_BACKLIGHT_CLASS_DEVICE=y | ||
245 | CONFIG_BACKLIGHT_PWM=y | ||
246 | CONFIG_FB_MXC_SYNC_PANEL=y | ||
247 | CONFIG_FB_MXC_LDB=y | ||
248 | CONFIG_FB_MXC_MIPI_DSI=y | ||
249 | CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y | ||
250 | CONFIG_FB_MXC_HDMI=y | ||
251 | CONFIG_FB_MXC_EINK_PANEL=y | ||
252 | CONFIG_FB_MXS_SII902X=y | ||
253 | CONFIG_FB_MXC_DCIC=m | ||
254 | CONFIG_HANNSTAR_CABC=y | ||
255 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
256 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
257 | CONFIG_LOGO=y | ||
258 | CONFIG_SOUND=y | ||
259 | CONFIG_SND=y | ||
260 | CONFIG_SND_USB_AUDIO=m | ||
261 | CONFIG_SND_SOC=y | ||
262 | CONFIG_SND_IMX_SOC=y | ||
263 | CONFIG_SND_SOC_EUKREA_TLV320=y | ||
264 | CONFIG_SND_SOC_IMX_CS42888=y | ||
265 | CONFIG_SND_SOC_IMX_WM8962=y | ||
266 | CONFIG_SND_SOC_IMX_SGTL5000=y | ||
267 | CONFIG_SND_SOC_IMX_MQS=y | ||
268 | CONFIG_SND_SOC_IMX_SPDIF=y | ||
269 | CONFIG_SND_SOC_IMX_MC13783=y | ||
270 | CONFIG_SND_SOC_IMX_HDMI=y | ||
271 | CONFIG_SND_SOC_IMX_SI476X=y | ||
272 | CONFIG_USB=y | ||
273 | CONFIG_USB_EHCI_HCD=y | ||
274 | CONFIG_USB_EHCI_MXC=y | ||
275 | CONFIG_USB_ACM=m | ||
276 | CONFIG_USB_STORAGE=y | ||
277 | CONFIG_USB_CHIPIDEA=y | ||
278 | CONFIG_USB_CHIPIDEA_UDC=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 | ||
285 | CONFIG_NOP_USB_XCEIV=y | ||
286 | CONFIG_USB_MXS_PHY=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 | ||
300 | CONFIG_USB_ZERO=m | ||
301 | CONFIG_USB_ETH=m | ||
302 | CONFIG_USB_G_NCM=m | ||
303 | CONFIG_USB_GADGETFS=m | ||
304 | CONFIG_USB_MASS_STORAGE=m | ||
305 | CONFIG_USB_G_SERIAL=m | ||
306 | CONFIG_MMC=y | ||
307 | CONFIG_MMC_UNSAFE_RESUME=y | ||
308 | CONFIG_MMC_SDHCI=y | ||
309 | CONFIG_MMC_SDHCI_PLTFM=y | ||
310 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
311 | CONFIG_MXC_IPU=y | ||
312 | CONFIG_MXC_GPU_VIV=y | ||
313 | CONFIG_MXC_MIPI_CSI2=y | ||
314 | CONFIG_MXC_MLB150=m | ||
315 | CONFIG_NEW_LEDS=y | ||
316 | CONFIG_LEDS_CLASS=y | ||
317 | CONFIG_LEDS_GPIO=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 | ||
323 | CONFIG_LEDS_TRIGGER_GPIO=y | ||
324 | CONFIG_RTC_CLASS=y | ||
325 | CONFIG_RTC_INTF_DEV_UIE_EMUL=y | ||
326 | CONFIG_RTC_DRV_MC13XXX=y | ||
327 | CONFIG_RTC_DRV_MXC=y | ||
328 | CONFIG_RTC_DRV_SNVS=y | ||
329 | CONFIG_DMADEVICES=y | ||
330 | CONFIG_MXC_PXP_V2=y | ||
331 | CONFIG_IMX_SDMA=y | ||
332 | CONFIG_MXS_DMA=y | ||
333 | CONFIG_STAGING=y | ||
334 | CONFIG_STAGING_MEDIA=y | ||
335 | # CONFIG_IOMMU_SUPPORT is not set | ||
336 | CONFIG_IIO=y | ||
337 | CONFIG_VF610_ADC=y | ||
338 | CONFIG_PWM=y | ||
339 | CONFIG_PWM_IMX=y | ||
340 | CONFIG_EXT2_FS=y | ||
341 | CONFIG_EXT2_FS_XATTR=y | ||
342 | CONFIG_EXT2_FS_POSIX_ACL=y | ||
343 | CONFIG_EXT2_FS_SECURITY=y | ||
344 | CONFIG_EXT3_FS=y | ||
345 | CONFIG_EXT3_FS_POSIX_ACL=y | ||
346 | CONFIG_EXT3_FS_SECURITY=y | ||
347 | CONFIG_EXT4_FS=y | ||
348 | CONFIG_EXT4_FS_POSIX_ACL=y | ||
349 | CONFIG_EXT4_FS_SECURITY=y | ||
350 | CONFIG_QUOTA=y | ||
351 | CONFIG_QUOTA_NETLINK_INTERFACE=y | ||
352 | # CONFIG_PRINT_QUOTA_WARNING is not set | ||
353 | CONFIG_AUTOFS4_FS=y | ||
354 | CONFIG_FUSE_FS=y | ||
355 | CONFIG_ISO9660_FS=m | ||
356 | CONFIG_JOLIET=y | ||
357 | CONFIG_ZISOFS=y | ||
358 | CONFIG_UDF_FS=m | ||
359 | CONFIG_MSDOS_FS=m | ||
360 | CONFIG_VFAT_FS=y | ||
361 | CONFIG_TMPFS=y | ||
362 | CONFIG_JFFS2_FS=y | ||
363 | CONFIG_UBIFS_FS=y | ||
364 | CONFIG_NFS_FS=y | ||
365 | CONFIG_NFS_V3_ACL=y | ||
366 | CONFIG_NFS_V4=y | ||
367 | CONFIG_ROOT_NFS=y | ||
368 | CONFIG_NLS_DEFAULT="cp437" | ||
369 | CONFIG_NLS_CODEPAGE_437=y | ||
370 | CONFIG_NLS_ASCII=y | ||
371 | CONFIG_NLS_ISO8859_1=y | ||
372 | CONFIG_NLS_ISO8859_15=m | ||
373 | CONFIG_NLS_UTF8=y | ||
374 | CONFIG_DEBUG_FS=y | ||
375 | CONFIG_MAGIC_SYSRQ=y | ||
376 | # CONFIG_SCHED_DEBUG is not set | ||
377 | # CONFIG_DEBUG_BUGVERBOSE is not set | ||
378 | # CONFIG_FTRACE is not set | ||
379 | CONFIG_SECURITYFS=y | ||
380 | CONFIG_CRYPTO_USER=y | ||
381 | CONFIG_CRYPTO_TEST=m | ||
382 | CONFIG_CRYPTO_GCM=y | ||
383 | CONFIG_CRYPTO_CBC=y | ||
384 | CONFIG_CRYPTO_CTS=y | ||
385 | CONFIG_CRYPTO_LRW=y | ||
386 | CONFIG_CRYPTO_XTS=y | ||
387 | CONFIG_CRYPTO_MD4=y | ||
388 | CONFIG_CRYPTO_MD5=y | ||
389 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
390 | CONFIG_CRYPTO_RMD128=y | ||
391 | CONFIG_CRYPTO_RMD160=y | ||
392 | CONFIG_CRYPTO_RMD256=y | ||
393 | CONFIG_CRYPTO_RMD320=y | ||
394 | CONFIG_CRYPTO_SHA1=y | ||
395 | CONFIG_CRYPTO_SHA512=y | ||
396 | CONFIG_CRYPTO_TGR192=y | ||
397 | CONFIG_CRYPTO_WP512=y | ||
398 | CONFIG_CRYPTO_BLOWFISH=y | ||
399 | CONFIG_CRYPTO_CAMELLIA=y | ||
400 | CONFIG_CRYPTO_DES=y | ||
401 | CONFIG_CRYPTO_TWOFISH=y | ||
402 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
403 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
404 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y | ||
405 | CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y | ||
406 | CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y | ||
407 | CONFIG_CRC_CCITT=m | ||
408 | CONFIG_CRC_T10DIF=y | ||
409 | CONFIG_CRC7=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.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)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc b/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc new file mode 100644 index 00000000..d7902272 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx.inc | |||
@@ -0,0 +1,22 @@ | |||
1 | # Copyright (C) 2012, 2015 O.S. Systems Software LTDA. | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | LICENSE = "GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
6 | |||
7 | inherit kernel fsl-kernel-localversion | ||
8 | |||
9 | # Put a local version until we have a true SRCREV to point to | ||
10 | LOCALVERSION ?= "" | ||
11 | SCMVERSION ?= "y" | ||
12 | SRCBRANCH ?= "" | ||
13 | |||
14 | SRC_URI = "git://git.freescale.com/imx/linux-2.6-imx.git;branch=${SRCBRANCH} \ | ||
15 | file://defconfig \ | ||
16 | " | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | # We need to pass it as param since kernel might support more then one | ||
21 | # machine, with different entry points | ||
22 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-Fix-nfsroot-support.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-Fix-nfsroot-support.patch new file mode 100644 index 00000000..870f0c5f --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-Fix-nfsroot-support.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 4a6353dad68074bb7ae08817cd7beb5cd13f2359 Mon Sep 17 00:00:00 2001 | ||
2 | From: Otavio Salvador <otavio@ossystems.com.br> | ||
3 | Date: Mon, 18 Jun 2012 12:02:56 -0300 | ||
4 | Subject: [PATCH] NFS: Fix nfsroot support | ||
5 | |||
6 | The NFS support to use alternative ports breaks building of regular | ||
7 | NFS root support as the API has been change in an incompatible way. | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | |||
11 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | ||
12 | --- | ||
13 | fs/nfs/nfsroot.c | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/fs/nfs/nfsroot.c b/fs/nfs/nfsroot.c | ||
17 | index df101d9..e1578e1 100644 | ||
18 | --- a/fs/nfs/nfsroot.c | ||
19 | +++ b/fs/nfs/nfsroot.c | ||
20 | @@ -506,7 +506,7 @@ static int __init root_nfs_get_handle(void) | ||
21 | if (!request.fh) | ||
22 | goto out; | ||
23 | set_sockaddr(&sin, servaddr, htons(mount_port)); | ||
24 | - status = nfs_mount(&request); | ||
25 | + status = nfs_mount(&request, NFS_MNT_PROGRAM); | ||
26 | if (status < 0) | ||
27 | printk(KERN_ERR "Root-NFS: Server returned error %d " | ||
28 | "while mounting %s\n", status, nfs_export_path); | ||
29 | -- | ||
30 | 1.7.10 | ||
31 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch b/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch new file mode 100644 index 00000000..7597fa1c --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx/NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch | |||
@@ -0,0 +1,241 @@ | |||
1 | From e85103e27b7591337d3240cf0ab2670d0ab73d52 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jason Wessel <jason.wessel@windriver.com> | ||
3 | Date: Wed, 7 Jan 2009 00:59:33 -0500 | ||
4 | Subject: [PATCH] NFS: allow nfs root mount to use alternate rpc ports | ||
5 | |||
6 | Allow an nfs root mount to use alternate RPC ports for mountd and nfsd. | ||
7 | |||
8 | Signed-off-by: Jason Wessel <jason.wessel@windriver.com> | ||
9 | [forward port to 2.6.33+] | ||
10 | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> | ||
11 | --- | ||
12 | fs/nfs/client.c | 10 ++++++++++ | ||
13 | fs/nfs/internal.h | 4 +++- | ||
14 | fs/nfs/mount_clnt.c | 3 ++- | ||
15 | fs/nfs/super.c | 33 ++++++++++++++++++++++++++++++++- | ||
16 | include/linux/nfs_fs_sb.h | 1 + | ||
17 | include/linux/nfs_mount.h | 4 +++- | ||
18 | 6 files changed, 51 insertions(+), 4 deletions(-) | ||
19 | |||
20 | diff --git a/fs/nfs/client.c b/fs/nfs/client.c | ||
21 | index d25b525..b706c02 100644 | ||
22 | --- a/fs/nfs/client.c | ||
23 | +++ b/fs/nfs/client.c | ||
24 | @@ -105,6 +105,7 @@ struct nfs_client_initdata { | ||
25 | const struct nfs_rpc_ops *rpc_ops; | ||
26 | int proto; | ||
27 | u32 minorversion; | ||
28 | + int nfs_prog; | ||
29 | }; | ||
30 | |||
31 | /* | ||
32 | @@ -123,6 +124,7 @@ static struct nfs_client *nfs_alloc_client(const struct nfs_client_initdata *cl_ | ||
33 | goto error_0; | ||
34 | |||
35 | clp->rpc_ops = cl_init->rpc_ops; | ||
36 | + clp->nfs_prog = cl_init->nfs_prog; | ||
37 | |||
38 | atomic_set(&clp->cl_count, 1); | ||
39 | clp->cl_cons_state = NFS_CS_INITING; | ||
40 | @@ -448,6 +450,9 @@ static struct nfs_client *nfs_match_client(const struct nfs_client_initdata *dat | ||
41 | /* Match nfsv4 minorversion */ | ||
42 | if (clp->cl_minorversion != data->minorversion) | ||
43 | continue; | ||
44 | + if (clp->nfs_prog != data->nfs_prog) | ||
45 | + continue; | ||
46 | + | ||
47 | /* Match the full socket address */ | ||
48 | if (!nfs_sockaddr_cmp(sap, clap)) | ||
49 | continue; | ||
50 | @@ -618,6 +623,10 @@ static int nfs_create_rpc_client(struct nfs_client *clp, | ||
51 | if (!IS_ERR(clp->cl_rpcclient)) | ||
52 | return 0; | ||
53 | |||
54 | + if (clp->nfs_prog) | ||
55 | + nfs_program.number = clp->nfs_prog; | ||
56 | + else | ||
57 | + nfs_program.number = NFS_PROGRAM; | ||
58 | clnt = rpc_create(&args); | ||
59 | if (IS_ERR(clnt)) { | ||
60 | dprintk("%s: cannot create RPC client. Error = %ld\n", | ||
61 | @@ -786,6 +795,7 @@ static int nfs_init_server(struct nfs_server *server, | ||
62 | .addrlen = data->nfs_server.addrlen, | ||
63 | .rpc_ops = &nfs_v2_clientops, | ||
64 | .proto = data->nfs_server.protocol, | ||
65 | + .nfs_prog = data->nfs_prog, | ||
66 | }; | ||
67 | struct rpc_timeout timeparms; | ||
68 | struct nfs_client *clp; | ||
69 | diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h | ||
70 | index e70f44b..3e2649f 100644 | ||
71 | --- a/fs/nfs/internal.h | ||
72 | +++ b/fs/nfs/internal.h | ||
73 | @@ -71,6 +71,8 @@ struct nfs_parsed_mount_data { | ||
74 | int timeo, retrans; | ||
75 | int acregmin, acregmax, | ||
76 | acdirmin, acdirmax; | ||
77 | + int nfs_prog; | ||
78 | + int mount_prog; | ||
79 | int namlen; | ||
80 | unsigned int options; | ||
81 | unsigned int bsize; | ||
82 | @@ -116,7 +118,7 @@ struct nfs_mount_request { | ||
83 | rpc_authflavor_t *auth_flavs; | ||
84 | }; | ||
85 | |||
86 | -extern int nfs_mount(struct nfs_mount_request *info); | ||
87 | +extern int nfs_mount(struct nfs_mount_request *info, int prog); | ||
88 | extern void nfs_umount(const struct nfs_mount_request *info); | ||
89 | |||
90 | /* client.c */ | ||
91 | diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c | ||
92 | index 59047f8..0a2bd63 100644 | ||
93 | --- a/fs/nfs/mount_clnt.c | ||
94 | +++ b/fs/nfs/mount_clnt.c | ||
95 | @@ -141,7 +141,7 @@ struct mnt_fhstatus { | ||
96 | * | ||
97 | * Uses default timeout parameters specified by underlying transport. | ||
98 | */ | ||
99 | -int nfs_mount(struct nfs_mount_request *info) | ||
100 | +int nfs_mount(struct nfs_mount_request *info, int m_prog) | ||
101 | { | ||
102 | struct mountres result = { | ||
103 | .fh = info->fh, | ||
104 | @@ -171,6 +171,7 @@ int nfs_mount(struct nfs_mount_request *info) | ||
105 | if (info->noresvport) | ||
106 | args.flags |= RPC_CLNT_CREATE_NONPRIVPORT; | ||
107 | |||
108 | + mnt_program.number = m_prog; | ||
109 | mnt_clnt = rpc_create(&args); | ||
110 | if (IS_ERR(mnt_clnt)) | ||
111 | goto out_clnt_err; | ||
112 | diff --git a/fs/nfs/super.c b/fs/nfs/super.c | ||
113 | index f9df16d..0b3bbf8 100644 | ||
114 | --- a/fs/nfs/super.c | ||
115 | +++ b/fs/nfs/super.c | ||
116 | @@ -94,6 +94,8 @@ enum { | ||
117 | Opt_mountvers, | ||
118 | Opt_nfsvers, | ||
119 | Opt_minorversion, | ||
120 | + Opt_mountprog, | ||
121 | + Opt_nfsprog, | ||
122 | |||
123 | /* Mount options that take string arguments */ | ||
124 | Opt_sec, Opt_proto, Opt_mountproto, Opt_mounthost, | ||
125 | @@ -160,6 +162,8 @@ static const match_table_t nfs_mount_option_tokens = { | ||
126 | { Opt_nfsvers, "nfsvers=%s" }, | ||
127 | { Opt_nfsvers, "vers=%s" }, | ||
128 | { Opt_minorversion, "minorversion=%s" }, | ||
129 | + { Opt_mountprog, "mountprog=%s" }, | ||
130 | + { Opt_nfsprog, "nfsprog=%s" }, | ||
131 | |||
132 | { Opt_sec, "sec=%s" }, | ||
133 | { Opt_proto, "proto=%s" }, | ||
134 | @@ -787,6 +791,8 @@ static struct nfs_parsed_mount_data *nfs_alloc_parsed_mount_data(unsigned int ve | ||
135 | data->acregmax = NFS_DEF_ACREGMAX; | ||
136 | data->acdirmin = NFS_DEF_ACDIRMIN; | ||
137 | data->acdirmax = NFS_DEF_ACDIRMAX; | ||
138 | + data->nfs_prog = NFS_PROGRAM; | ||
139 | + data->mount_prog = NFS_MNT_PROGRAM; | ||
140 | data->mount_server.port = NFS_UNSPEC_PORT; | ||
141 | data->nfs_server.port = NFS_UNSPEC_PORT; | ||
142 | data->nfs_server.protocol = XPRT_TRANSPORT_TCP; | ||
143 | @@ -1168,6 +1174,26 @@ static int nfs_parse_mount_options(char *raw, | ||
144 | goto out_invalid_value; | ||
145 | mnt->acdirmax = option; | ||
146 | break; | ||
147 | + case Opt_mountprog: | ||
148 | + string = match_strdup(args); | ||
149 | + if (string == NULL) | ||
150 | + goto out_nomem; | ||
151 | + rc = strict_strtoul(string, 10, &option); | ||
152 | + kfree(string); | ||
153 | + if (rc != 0) | ||
154 | + goto out_invalid_value; | ||
155 | + mnt->mount_prog = option; | ||
156 | + break; | ||
157 | + case Opt_nfsprog: | ||
158 | + string = match_strdup(args); | ||
159 | + if (string == NULL) | ||
160 | + goto out_nomem; | ||
161 | + rc = strict_strtoul(string, 10, &option); | ||
162 | + kfree(string); | ||
163 | + if (rc != 0) | ||
164 | + goto out_invalid_value; | ||
165 | + mnt->nfs_prog = option; | ||
166 | + break; | ||
167 | case Opt_actimeo: | ||
168 | string = match_strdup(args); | ||
169 | if (string == NULL) | ||
170 | @@ -1566,7 +1592,7 @@ static int nfs_try_mount(struct nfs_parsed_mount_data *args, | ||
171 | * Now ask the mount server to map our export path | ||
172 | * to a file handle. | ||
173 | */ | ||
174 | - status = nfs_mount(&request); | ||
175 | + status = nfs_mount(&request,args->mount_prog); | ||
176 | if (status != 0) { | ||
177 | dfprintk(MOUNT, "NFS: unable to mount server %s, error %d\n", | ||
178 | request.hostname, status); | ||
179 | @@ -1739,6 +1765,7 @@ static int nfs_validate_mount_data(void *options, | ||
180 | { | ||
181 | struct nfs_mount_data *data = (struct nfs_mount_data *)options; | ||
182 | struct sockaddr *sap = (struct sockaddr *)&args->nfs_server.address; | ||
183 | + args->nfs_prog = NFS_PROGRAM; | ||
184 | |||
185 | if (data == NULL) | ||
186 | goto out_no_data; | ||
187 | @@ -1758,6 +1785,8 @@ static int nfs_validate_mount_data(void *options, | ||
188 | goto out_no_sec; | ||
189 | case 5: | ||
190 | memset(data->context, 0, sizeof(data->context)); | ||
191 | + case 7: | ||
192 | + args->nfs_prog = (data->version >= 7) ? data->nfs_prog : NFS_PROGRAM; | ||
193 | case 6: | ||
194 | if (data->flags & NFS_MOUNT_VER3) { | ||
195 | if (data->root.size > NFS3_FHSIZE || data->root.size == 0) | ||
196 | @@ -2476,6 +2505,8 @@ static int nfs4_validate_mount_data(void *options, | ||
197 | if (data == NULL) | ||
198 | goto out_no_data; | ||
199 | |||
200 | + args->nfs_prog = NFS_PROGRAM; | ||
201 | + | ||
202 | switch (data->version) { | ||
203 | case 1: | ||
204 | if (data->host_addrlen > sizeof(args->nfs_server.address)) | ||
205 | diff --git a/include/linux/nfs_fs_sb.h b/include/linux/nfs_fs_sb.h | ||
206 | index d6e10a4..585cba4 100644 | ||
207 | --- a/include/linux/nfs_fs_sb.h | ||
208 | +++ b/include/linux/nfs_fs_sb.h | ||
209 | @@ -41,6 +41,7 @@ struct nfs_client { | ||
210 | |||
211 | u32 cl_minorversion;/* NFSv4 minorversion */ | ||
212 | struct rpc_cred *cl_machine_cred; | ||
213 | + int nfs_prog; | ||
214 | |||
215 | #ifdef CONFIG_NFS_V4 | ||
216 | u64 cl_clientid; /* constant */ | ||
217 | diff --git a/include/linux/nfs_mount.h b/include/linux/nfs_mount.h | ||
218 | index 4499016..86beb0c 100644 | ||
219 | --- a/include/linux/nfs_mount.h | ||
220 | +++ b/include/linux/nfs_mount.h | ||
221 | @@ -20,7 +20,7 @@ | ||
222 | * mount-to-kernel version compatibility. Some of these aren't used yet | ||
223 | * but here they are anyway. | ||
224 | */ | ||
225 | -#define NFS_MOUNT_VERSION 6 | ||
226 | +#define NFS_MOUNT_VERSION 7 | ||
227 | #define NFS_MAX_CONTEXT_LEN 256 | ||
228 | |||
229 | struct nfs_mount_data { | ||
230 | @@ -43,6 +43,8 @@ struct nfs_mount_data { | ||
231 | struct nfs3_fh root; /* 4 */ | ||
232 | int pseudoflavor; /* 5 */ | ||
233 | char context[NFS_MAX_CONTEXT_LEN + 1]; /* 6 */ | ||
234 | + int nfs_prog; /* 7 */ | ||
235 | + int mount_prog; /* 7 */ | ||
236 | }; | ||
237 | |||
238 | /* bits in the flags field visible to user space */ | ||
239 | -- | ||
240 | 1.7.9.1 | ||
241 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb new file mode 100644 index 00000000..1585e3b9 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx_2.6.35.3.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | # Copyright (C) 2011-2013 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "Linux Kernel provided and supported by Freescale" | ||
5 | DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ | ||
6 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | ||
7 | |||
8 | PR = "r45" | ||
9 | |||
10 | include linux-imx.inc | ||
11 | |||
12 | COMPATIBLE_MACHINE = "(mx28|mx5)" | ||
13 | |||
14 | # Revision of imx_2.6.35_maintain branch | ||
15 | SRCREV = "b3912bb8a4caf3ec50909135e88af959982c43ca" | ||
16 | LOCALVERSION = "-maintain" | ||
17 | SRCBRANCH = "imx_2.6.35_maintain" | ||
18 | |||
19 | SRC_URI += "file://NFS-Fix-nfsroot-support.patch \ | ||
20 | file://NFS-allow-nfs-root-mount-to-use-alternate-rpc-ports.patch \ | ||
21 | file://perf-avoid-use-sysroot-headers.patch \ | ||
22 | file://fixes-for-using-make-3.82.patch \ | ||
23 | " | ||
24 | |||
25 | SRC_URI_append_mx28 = " \ | ||
26 | file://mxs-duart-use-ttyAMA-for-device-name.patch \ | ||
27 | " | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb new file mode 100644 index 00000000..ba6f99af --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-imx_3.14.28.bb | |||
@@ -0,0 +1,25 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | SUMMARY = "Linux Kernel provided and supported by Freescale" | ||
5 | DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ | ||
6 | i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." | ||
7 | |||
8 | require recipes-kernel/linux/linux-imx.inc | ||
9 | require recipes-kernel/linux/linux-dtb.inc | ||
10 | |||
11 | DEPENDS += "lzop-native bc-native" | ||
12 | |||
13 | SRCBRANCH = "imx_3.14.28_1.0.0_ga" | ||
14 | LOCALVERSION = "-1.0.0_ga" | ||
15 | SRCREV = "91cf351a2afc17ac4a260e4d2ad1e32d00925a1b" | ||
16 | |||
17 | SRC_URI += " \ | ||
18 | file://0001-ARM-imx6q-drop-unnecessary-semicolon.patch \ | ||
19 | file://0002-ARM-clk-imx6q-fix-video-divider-for-rev-T0-1.0.patch \ | ||
20 | file://0003-ARM-imx6sl-Disable-imx6sl-specific-code-when-imx6sl-.patch \ | ||
21 | file://0004-mmc-sdhci-esdhc-imx-Fixup-runtime-PM-conditions-duri.patch \ | ||
22 | file://0005-Revert-net-fec-fix-the-warning-found-by-dma-debug.patch \ | ||
23 | " | ||
24 | |||
25 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-ls1.inc b/meta-fsl-arm/recipes-kernel/linux/linux-ls1.inc new file mode 100644 index 00000000..08d88f40 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-ls1.inc | |||
@@ -0,0 +1,26 @@ | |||
1 | LICENSE = "GPLv2" | ||
2 | LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" | ||
3 | |||
4 | inherit kernel fsl-kernel-localversion | ||
5 | LOCALVERSION ?= "+ls1" | ||
6 | |||
7 | SRC_URI = "git://git.freescale.com/ppc/sdk/linux.git;branch=${SRCBRANCH} \ | ||
8 | file://defconfig \ | ||
9 | " | ||
10 | |||
11 | KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" | ||
12 | ZIMAGE_BASE_NAME = "zImage-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | do_install_append() { | ||
17 | install -m 0644 arch/${ARCH}/boot/zImage ${D}/boot/zImage-${KERNEL_VERSION} | ||
18 | } | ||
19 | |||
20 | do_deploy_append() { | ||
21 | install -m 0644 arch/${ARCH}/boot/zImage ${DEPLOYDIR}/${ZIMAGE_BASE_NAME}.bin | ||
22 | ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage-${MACHINE}.bin | ||
23 | ln -sf ${ZIMAGE_BASE_NAME}.bin ${DEPLOYDIR}/zImage | ||
24 | } | ||
25 | |||
26 | FILES_kernel-image += "/boot/zImage*" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-ls1/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-ls1/defconfig new file mode 100644 index 00000000..fff637a0 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-ls1/defconfig | |||
@@ -0,0 +1,3159 @@ | |||
1 | # | ||
2 | # Automatically generated file; DO NOT EDIT. | ||
3 | # Linux/arm 3.12.37 Kernel Configuration | ||
4 | # | ||
5 | CONFIG_ARM=y | ||
6 | CONFIG_MIGHT_HAVE_PCI=y | ||
7 | CONFIG_SYS_SUPPORTS_APM_EMULATION=y | ||
8 | CONFIG_HAVE_PROC_CPU=y | ||
9 | CONFIG_STACKTRACE_SUPPORT=y | ||
10 | CONFIG_LOCKDEP_SUPPORT=y | ||
11 | CONFIG_TRACE_IRQFLAGS_SUPPORT=y | ||
12 | CONFIG_RWSEM_GENERIC_SPINLOCK=y | ||
13 | CONFIG_ARCH_HAS_CPUFREQ=y | ||
14 | CONFIG_GENERIC_HWEIGHT=y | ||
15 | CONFIG_GENERIC_CALIBRATE_DELAY=y | ||
16 | CONFIG_ZONE_DMA=y | ||
17 | CONFIG_NEED_DMA_MAP_STATE=y | ||
18 | CONFIG_VECTORS_BASE=0xffff0000 | ||
19 | CONFIG_ARM_PATCH_PHYS_VIRT=y | ||
20 | CONFIG_GENERIC_BUG=y | ||
21 | CONFIG_DEFCONFIG_LIST="/lib/modules/$UNAME_RELEASE/.config" | ||
22 | CONFIG_IRQ_WORK=y | ||
23 | CONFIG_BUILDTIME_EXTABLE_SORT=y | ||
24 | |||
25 | # | ||
26 | # General setup | ||
27 | # | ||
28 | CONFIG_INIT_ENV_ARG_LIMIT=32 | ||
29 | CONFIG_CROSS_COMPILE="" | ||
30 | # CONFIG_COMPILE_TEST is not set | ||
31 | CONFIG_LOCALVERSION="" | ||
32 | # CONFIG_LOCALVERSION_AUTO is not set | ||
33 | CONFIG_HAVE_KERNEL_GZIP=y | ||
34 | CONFIG_HAVE_KERNEL_LZMA=y | ||
35 | CONFIG_HAVE_KERNEL_XZ=y | ||
36 | CONFIG_HAVE_KERNEL_LZO=y | ||
37 | CONFIG_HAVE_KERNEL_LZ4=y | ||
38 | CONFIG_KERNEL_GZIP=y | ||
39 | # CONFIG_KERNEL_LZMA is not set | ||
40 | # CONFIG_KERNEL_XZ is not set | ||
41 | # CONFIG_KERNEL_LZO is not set | ||
42 | # CONFIG_KERNEL_LZ4 is not set | ||
43 | CONFIG_DEFAULT_HOSTNAME="(none)" | ||
44 | CONFIG_SWAP=y | ||
45 | CONFIG_SYSVIPC=y | ||
46 | CONFIG_SYSVIPC_SYSCTL=y | ||
47 | CONFIG_POSIX_MQUEUE=y | ||
48 | CONFIG_POSIX_MQUEUE_SYSCTL=y | ||
49 | # CONFIG_FHANDLE is not set | ||
50 | # CONFIG_AUDIT is not set | ||
51 | |||
52 | # | ||
53 | # IRQ subsystem | ||
54 | # | ||
55 | CONFIG_GENERIC_IRQ_PROBE=y | ||
56 | CONFIG_GENERIC_IRQ_SHOW=y | ||
57 | CONFIG_HARDIRQS_SW_RESEND=y | ||
58 | CONFIG_GENERIC_IRQ_CHIP=y | ||
59 | CONFIG_IRQ_DOMAIN=y | ||
60 | CONFIG_IRQ_DOMAIN_DEBUG=y | ||
61 | CONFIG_IRQ_FORCED_THREADING=y | ||
62 | CONFIG_SPARSE_IRQ=y | ||
63 | CONFIG_KTIME_SCALAR=y | ||
64 | CONFIG_GENERIC_CLOCKEVENTS=y | ||
65 | CONFIG_GENERIC_CLOCKEVENTS_BUILD=y | ||
66 | CONFIG_ARCH_HAS_TICK_BROADCAST=y | ||
67 | CONFIG_GENERIC_CLOCKEVENTS_BROADCAST=y | ||
68 | |||
69 | # | ||
70 | # Timers subsystem | ||
71 | # | ||
72 | CONFIG_TICK_ONESHOT=y | ||
73 | CONFIG_NO_HZ_COMMON=y | ||
74 | # CONFIG_HZ_PERIODIC is not set | ||
75 | CONFIG_NO_HZ_IDLE=y | ||
76 | # CONFIG_NO_HZ is not set | ||
77 | CONFIG_HIGH_RES_TIMERS=y | ||
78 | |||
79 | # | ||
80 | # CPU/Task time and stats accounting | ||
81 | # | ||
82 | CONFIG_TICK_CPU_ACCOUNTING=y | ||
83 | # CONFIG_IRQ_TIME_ACCOUNTING is not set | ||
84 | # CONFIG_BSD_PROCESS_ACCT is not set | ||
85 | # CONFIG_TASKSTATS is not set | ||
86 | |||
87 | # | ||
88 | # RCU Subsystem | ||
89 | # | ||
90 | CONFIG_TREE_RCU=y | ||
91 | # CONFIG_PREEMPT_RCU is not set | ||
92 | CONFIG_RCU_STALL_COMMON=y | ||
93 | # CONFIG_RCU_USER_QS is not set | ||
94 | CONFIG_RCU_FANOUT=32 | ||
95 | CONFIG_RCU_FANOUT_LEAF=16 | ||
96 | # CONFIG_RCU_FANOUT_EXACT is not set | ||
97 | # CONFIG_RCU_FAST_NO_HZ is not set | ||
98 | # CONFIG_TREE_RCU_TRACE is not set | ||
99 | # CONFIG_RCU_NOCB_CPU is not set | ||
100 | # CONFIG_IKCONFIG is not set | ||
101 | CONFIG_LOG_BUF_SHIFT=16 | ||
102 | CONFIG_GENERIC_SCHED_CLOCK=y | ||
103 | # CONFIG_CGROUPS is not set | ||
104 | # CONFIG_CHECKPOINT_RESTORE is not set | ||
105 | # CONFIG_NAMESPACES is not set | ||
106 | # CONFIG_UIDGID_STRICT_TYPE_CHECKS is not set | ||
107 | # CONFIG_SCHED_AUTOGROUP is not set | ||
108 | # CONFIG_SYSFS_DEPRECATED is not set | ||
109 | # CONFIG_RELAY is not set | ||
110 | CONFIG_BLK_DEV_INITRD=y | ||
111 | CONFIG_INITRAMFS_SOURCE="" | ||
112 | CONFIG_RD_GZIP=y | ||
113 | # CONFIG_RD_BZIP2 is not set | ||
114 | # CONFIG_RD_LZMA is not set | ||
115 | # CONFIG_RD_XZ is not set | ||
116 | # CONFIG_RD_LZO is not set | ||
117 | # CONFIG_RD_LZ4 is not set | ||
118 | CONFIG_CC_OPTIMIZE_FOR_SIZE=y | ||
119 | CONFIG_SYSCTL=y | ||
120 | CONFIG_ANON_INODES=y | ||
121 | CONFIG_HAVE_UID16=y | ||
122 | CONFIG_EXPERT=y | ||
123 | CONFIG_UID16=y | ||
124 | CONFIG_SYSCTL_SYSCALL=y | ||
125 | CONFIG_KALLSYMS=y | ||
126 | CONFIG_KALLSYMS_ALL=y | ||
127 | CONFIG_PRINTK=y | ||
128 | CONFIG_BUG=y | ||
129 | CONFIG_ELF_CORE=y | ||
130 | CONFIG_BASE_FULL=y | ||
131 | CONFIG_FUTEX=y | ||
132 | CONFIG_EPOLL=y | ||
133 | CONFIG_SIGNALFD=y | ||
134 | CONFIG_TIMERFD=y | ||
135 | CONFIG_EVENTFD=y | ||
136 | CONFIG_SHMEM=y | ||
137 | CONFIG_AIO=y | ||
138 | CONFIG_PCI_QUIRKS=y | ||
139 | CONFIG_EMBEDDED=y | ||
140 | CONFIG_HAVE_PERF_EVENTS=y | ||
141 | CONFIG_PERF_USE_VMALLOC=y | ||
142 | |||
143 | # | ||
144 | # Kernel Performance Events And Counters | ||
145 | # | ||
146 | CONFIG_PERF_EVENTS=y | ||
147 | # CONFIG_DEBUG_PERF_USE_VMALLOC is not set | ||
148 | # CONFIG_VM_EVENT_COUNTERS is not set | ||
149 | # CONFIG_SLUB_DEBUG is not set | ||
150 | CONFIG_COMPAT_BRK=y | ||
151 | # CONFIG_SLAB is not set | ||
152 | CONFIG_SLUB=y | ||
153 | # CONFIG_SLOB is not set | ||
154 | CONFIG_SLUB_CPU_PARTIAL=y | ||
155 | CONFIG_PROFILING=y | ||
156 | CONFIG_OPROFILE=y | ||
157 | CONFIG_HAVE_OPROFILE=y | ||
158 | CONFIG_KPROBES=y | ||
159 | CONFIG_JUMP_LABEL=y | ||
160 | # CONFIG_HAVE_64BIT_ALIGNED_ACCESS is not set | ||
161 | CONFIG_KRETPROBES=y | ||
162 | CONFIG_HAVE_KPROBES=y | ||
163 | CONFIG_HAVE_KRETPROBES=y | ||
164 | CONFIG_HAVE_ARCH_TRACEHOOK=y | ||
165 | CONFIG_HAVE_DMA_ATTRS=y | ||
166 | CONFIG_HAVE_DMA_CONTIGUOUS=y | ||
167 | CONFIG_USE_GENERIC_SMP_HELPERS=y | ||
168 | CONFIG_GENERIC_SMP_IDLE_THREAD=y | ||
169 | CONFIG_GENERIC_IDLE_POLL_SETUP=y | ||
170 | CONFIG_HAVE_REGS_AND_STACK_ACCESS_API=y | ||
171 | CONFIG_HAVE_CLK=y | ||
172 | CONFIG_HAVE_DMA_API_DEBUG=y | ||
173 | CONFIG_HAVE_HW_BREAKPOINT=y | ||
174 | CONFIG_HAVE_ARCH_JUMP_LABEL=y | ||
175 | CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y | ||
176 | CONFIG_HAVE_ARCH_SECCOMP_FILTER=y | ||
177 | CONFIG_HAVE_CONTEXT_TRACKING=y | ||
178 | CONFIG_HAVE_IRQ_TIME_ACCOUNTING=y | ||
179 | CONFIG_HAVE_ARCH_TRANSPARENT_HUGEPAGE=y | ||
180 | CONFIG_HAVE_MOD_ARCH_SPECIFIC=y | ||
181 | CONFIG_MODULES_USE_ELF_REL=y | ||
182 | CONFIG_CLONE_BACKWARDS=y | ||
183 | CONFIG_OLD_SIGSUSPEND3=y | ||
184 | CONFIG_OLD_SIGACTION=y | ||
185 | |||
186 | # | ||
187 | # GCOV-based kernel profiling | ||
188 | # | ||
189 | # CONFIG_GCOV_KERNEL is not set | ||
190 | CONFIG_HAVE_GENERIC_DMA_COHERENT=y | ||
191 | CONFIG_RT_MUTEXES=y | ||
192 | CONFIG_BASE_SMALL=0 | ||
193 | CONFIG_MODULES=y | ||
194 | CONFIG_MODULE_FORCE_LOAD=y | ||
195 | CONFIG_MODULE_UNLOAD=y | ||
196 | # CONFIG_MODULE_FORCE_UNLOAD is not set | ||
197 | # CONFIG_MODVERSIONS is not set | ||
198 | # CONFIG_MODULE_SRCVERSION_ALL is not set | ||
199 | # CONFIG_MODULE_SIG is not set | ||
200 | CONFIG_STOP_MACHINE=y | ||
201 | CONFIG_BLOCK=y | ||
202 | CONFIG_LBDAF=y | ||
203 | # CONFIG_BLK_DEV_BSG is not set | ||
204 | # CONFIG_BLK_DEV_BSGLIB is not set | ||
205 | # CONFIG_BLK_DEV_INTEGRITY is not set | ||
206 | CONFIG_BLK_CMDLINE_PARSER=y | ||
207 | |||
208 | # | ||
209 | # Partition Types | ||
210 | # | ||
211 | # CONFIG_PARTITION_ADVANCED is not set | ||
212 | CONFIG_MSDOS_PARTITION=y | ||
213 | CONFIG_EFI_PARTITION=y | ||
214 | |||
215 | # | ||
216 | # IO Schedulers | ||
217 | # | ||
218 | CONFIG_IOSCHED_NOOP=y | ||
219 | CONFIG_IOSCHED_DEADLINE=y | ||
220 | CONFIG_IOSCHED_CFQ=y | ||
221 | # CONFIG_DEFAULT_DEADLINE is not set | ||
222 | CONFIG_DEFAULT_CFQ=y | ||
223 | # CONFIG_DEFAULT_NOOP is not set | ||
224 | CONFIG_DEFAULT_IOSCHED="cfq" | ||
225 | CONFIG_INLINE_SPIN_UNLOCK_IRQ=y | ||
226 | CONFIG_INLINE_READ_UNLOCK=y | ||
227 | CONFIG_INLINE_READ_UNLOCK_IRQ=y | ||
228 | CONFIG_INLINE_WRITE_UNLOCK=y | ||
229 | CONFIG_INLINE_WRITE_UNLOCK_IRQ=y | ||
230 | CONFIG_ARCH_SUPPORTS_ATOMIC_RMW=y | ||
231 | CONFIG_MUTEX_SPIN_ON_OWNER=y | ||
232 | CONFIG_FREEZER=y | ||
233 | |||
234 | # | ||
235 | # System Type | ||
236 | # | ||
237 | CONFIG_MMU=y | ||
238 | CONFIG_ARCH_MULTIPLATFORM=y | ||
239 | # CONFIG_ARCH_INTEGRATOR is not set | ||
240 | # CONFIG_ARCH_REALVIEW is not set | ||
241 | # CONFIG_ARCH_VERSATILE is not set | ||
242 | # CONFIG_ARCH_AT91 is not set | ||
243 | # CONFIG_ARCH_CLPS711X is not set | ||
244 | # CONFIG_ARCH_GEMINI is not set | ||
245 | # CONFIG_ARCH_EBSA110 is not set | ||
246 | # CONFIG_ARCH_EP93XX is not set | ||
247 | # CONFIG_ARCH_FOOTBRIDGE is not set | ||
248 | # CONFIG_ARCH_NETX is not set | ||
249 | # CONFIG_ARCH_IOP13XX is not set | ||
250 | # CONFIG_ARCH_IOP32X is not set | ||
251 | # CONFIG_ARCH_IOP33X is not set | ||
252 | # CONFIG_ARCH_IXP4XX is not set | ||
253 | # CONFIG_ARCH_DOVE is not set | ||
254 | # CONFIG_ARCH_KIRKWOOD is not set | ||
255 | # CONFIG_ARCH_MV78XX0 is not set | ||
256 | # CONFIG_ARCH_ORION5X is not set | ||
257 | # CONFIG_ARCH_MMP is not set | ||
258 | # CONFIG_ARCH_KS8695 is not set | ||
259 | # CONFIG_ARCH_W90X900 is not set | ||
260 | # CONFIG_ARCH_LPC32XX is not set | ||
261 | # CONFIG_ARCH_PXA is not set | ||
262 | # CONFIG_ARCH_MSM is not set | ||
263 | # CONFIG_ARCH_SHMOBILE is not set | ||
264 | # CONFIG_ARCH_RPC is not set | ||
265 | # CONFIG_ARCH_SA1100 is not set | ||
266 | # CONFIG_ARCH_S3C24XX is not set | ||
267 | # CONFIG_ARCH_S3C64XX is not set | ||
268 | # CONFIG_ARCH_S5P64X0 is not set | ||
269 | # CONFIG_ARCH_S5PC100 is not set | ||
270 | # CONFIG_ARCH_S5PV210 is not set | ||
271 | # CONFIG_ARCH_EXYNOS is not set | ||
272 | # CONFIG_ARCH_SHARK is not set | ||
273 | # CONFIG_ARCH_DAVINCI is not set | ||
274 | # CONFIG_ARCH_OMAP1 is not set | ||
275 | |||
276 | # | ||
277 | # Multiple platform selection | ||
278 | # | ||
279 | |||
280 | # | ||
281 | # CPU Core family selection | ||
282 | # | ||
283 | # CONFIG_ARCH_MULTI_V6 is not set | ||
284 | CONFIG_ARCH_MULTI_V7=y | ||
285 | CONFIG_ARCH_MULTI_V6_V7=y | ||
286 | # CONFIG_ARCH_MULTI_CPU_AUTO is not set | ||
287 | # CONFIG_ARCH_MVEBU is not set | ||
288 | # CONFIG_ARCH_BCM is not set | ||
289 | # CONFIG_GPIO_PCA953X is not set | ||
290 | # CONFIG_KEYBOARD_GPIO_POLLED is not set | ||
291 | # CONFIG_ARCH_HIGHBANK is not set | ||
292 | # CONFIG_ARCH_KEYSTONE is not set | ||
293 | CONFIG_ARCH_MXC=y | ||
294 | |||
295 | # | ||
296 | # Freescale i.MX support | ||
297 | # | ||
298 | # CONFIG_MXC_IRQ_PRIOR is not set | ||
299 | # CONFIG_MXC_DEBUG_BOARD is not set | ||
300 | CONFIG_HAVE_IMX_SRC=y | ||
301 | |||
302 | # | ||
303 | # i.MX51 machines: | ||
304 | # | ||
305 | # CONFIG_MACH_IMX51_DT is not set | ||
306 | # CONFIG_MACH_MX51_BABBAGE is not set | ||
307 | # CONFIG_MACH_EUKREA_CPUIMX51SD is not set | ||
308 | |||
309 | # | ||
310 | # Device tree only | ||
311 | # | ||
312 | # CONFIG_SOC_IMX53 is not set | ||
313 | # CONFIG_SOC_IMX6Q is not set | ||
314 | # CONFIG_SOC_IMX6SL is not set | ||
315 | # CONFIG_SOC_VF610 is not set | ||
316 | CONFIG_FSL_SOC=y | ||
317 | CONFIG_SOC_LS1021A=y | ||
318 | # CONFIG_ARCH_OMAP3 is not set | ||
319 | # CONFIG_ARCH_OMAP4 is not set | ||
320 | # CONFIG_SOC_OMAP5 is not set | ||
321 | # CONFIG_SOC_AM33XX is not set | ||
322 | # CONFIG_SOC_AM43XX is not set | ||
323 | # CONFIG_ARCH_ROCKCHIP is not set | ||
324 | # CONFIG_ARCH_SOCFPGA is not set | ||
325 | # CONFIG_PLAT_SPEAR is not set | ||
326 | # CONFIG_ARCH_STI is not set | ||
327 | # CONFIG_ARCH_SHMOBILE_MULTI is not set | ||
328 | # CONFIG_ARCH_SUNXI is not set | ||
329 | # CONFIG_ARCH_SIRF is not set | ||
330 | # CONFIG_ARCH_TEGRA is not set | ||
331 | # CONFIG_ARCH_U8500 is not set | ||
332 | # CONFIG_ARCH_VEXPRESS is not set | ||
333 | # CONFIG_ARCH_VIRT is not set | ||
334 | # CONFIG_ARCH_WM8850 is not set | ||
335 | # CONFIG_ARCH_ZYNQ is not set | ||
336 | |||
337 | # | ||
338 | # Processor Type | ||
339 | # | ||
340 | CONFIG_CPU_V7=y | ||
341 | CONFIG_CPU_32v6K=y | ||
342 | CONFIG_CPU_32v7=y | ||
343 | CONFIG_CPU_ABRT_EV7=y | ||
344 | CONFIG_CPU_PABRT_V7=y | ||
345 | CONFIG_CPU_CACHE_V7=y | ||
346 | CONFIG_CPU_CACHE_VIPT=y | ||
347 | CONFIG_CPU_COPY_V6=y | ||
348 | CONFIG_CPU_TLB_V7=y | ||
349 | CONFIG_CPU_HAS_ASID=y | ||
350 | CONFIG_CPU_CP15=y | ||
351 | CONFIG_CPU_CP15_MMU=y | ||
352 | |||
353 | # | ||
354 | # Processor Features | ||
355 | # | ||
356 | CONFIG_ARM_LPAE=y | ||
357 | CONFIG_ARCH_PHYS_ADDR_T_64BIT=y | ||
358 | CONFIG_ARM_THUMB=y | ||
359 | # CONFIG_ARM_THUMBEE is not set | ||
360 | CONFIG_ARM_VIRT_EXT=y | ||
361 | # CONFIG_SWP_EMULATE is not set | ||
362 | # CONFIG_CPU_ICACHE_DISABLE is not set | ||
363 | # CONFIG_CPU_DCACHE_DISABLE is not set | ||
364 | # CONFIG_CPU_BPREDICT_DISABLE is not set | ||
365 | CONFIG_KUSER_HELPERS=y | ||
366 | CONFIG_MIGHT_HAVE_CACHE_L2X0=y | ||
367 | # CONFIG_CACHE_L2X0 is not set | ||
368 | CONFIG_ARM_L1_CACHE_SHIFT_6=y | ||
369 | CONFIG_ARM_L1_CACHE_SHIFT=6 | ||
370 | CONFIG_ARM_DMA_MEM_BUFFERABLE=y | ||
371 | CONFIG_ARM_NR_BANKS=8 | ||
372 | CONFIG_MULTI_IRQ_HANDLER=y | ||
373 | # CONFIG_ARM_ERRATA_430973 is not set | ||
374 | # CONFIG_ARM_ERRATA_643719 is not set | ||
375 | # CONFIG_ARM_ERRATA_720789 is not set | ||
376 | # CONFIG_ARM_ERRATA_754322 is not set | ||
377 | # CONFIG_ARM_ERRATA_754327 is not set | ||
378 | # CONFIG_ARM_ERRATA_764369 is not set | ||
379 | # CONFIG_ARM_ERRATA_775420 is not set | ||
380 | # CONFIG_ARM_ERRATA_798181 is not set | ||
381 | # CONFIG_ARM_ERRATA_773022 is not set | ||
382 | |||
383 | # | ||
384 | # Bus support | ||
385 | # | ||
386 | CONFIG_PCI=y | ||
387 | CONFIG_PCI_DOMAINS=y | ||
388 | CONFIG_PCI_SYSCALL=y | ||
389 | CONFIG_PCI_MSI=y | ||
390 | # CONFIG_PCI_DEBUG is not set | ||
391 | # CONFIG_PCI_REALLOC_ENABLE_AUTO is not set | ||
392 | # CONFIG_PCI_STUB is not set | ||
393 | # CONFIG_PCI_IOV is not set | ||
394 | # CONFIG_PCI_PRI is not set | ||
395 | # CONFIG_PCI_PASID is not set | ||
396 | |||
397 | # | ||
398 | # PCI host controller drivers | ||
399 | # | ||
400 | CONFIG_PCIE_DW=y | ||
401 | CONFIG_PCI_LAYERSCAPE=y | ||
402 | # CONFIG_PCIEPORTBUS is not set | ||
403 | # CONFIG_PCCARD is not set | ||
404 | |||
405 | # | ||
406 | # Kernel Features | ||
407 | # | ||
408 | CONFIG_HAVE_SMP=y | ||
409 | CONFIG_SMP=y | ||
410 | CONFIG_SMP_ON_UP=y | ||
411 | CONFIG_ARM_CPU_TOPOLOGY=y | ||
412 | # CONFIG_SCHED_MC is not set | ||
413 | # CONFIG_SCHED_SMT is not set | ||
414 | CONFIG_HAVE_ARM_ARCH_TIMER=y | ||
415 | # CONFIG_MCPM is not set | ||
416 | # CONFIG_VMSPLIT_3G is not set | ||
417 | CONFIG_VMSPLIT_2G=y | ||
418 | # CONFIG_VMSPLIT_1G is not set | ||
419 | CONFIG_PAGE_OFFSET=0x80000000 | ||
420 | CONFIG_NR_CPUS=4 | ||
421 | CONFIG_HOTPLUG_CPU=y | ||
422 | # CONFIG_ARM_PSCI is not set | ||
423 | CONFIG_ARCH_NR_GPIO=0 | ||
424 | CONFIG_HAVE_PREEMPT_LAZY=y | ||
425 | # CONFIG_PREEMPT_NONE is not set | ||
426 | CONFIG_PREEMPT_VOLUNTARY=y | ||
427 | # CONFIG_PREEMPT__LL is not set | ||
428 | # CONFIG_PREEMPT_RTB is not set | ||
429 | # CONFIG_PREEMPT_RT_FULL is not set | ||
430 | CONFIG_HZ_FIXED=0 | ||
431 | CONFIG_HZ_100=y | ||
432 | # CONFIG_HZ_200 is not set | ||
433 | # CONFIG_HZ_250 is not set | ||
434 | # CONFIG_HZ_300 is not set | ||
435 | # CONFIG_HZ_500 is not set | ||
436 | # CONFIG_HZ_1000 is not set | ||
437 | CONFIG_HZ=100 | ||
438 | CONFIG_SCHED_HRTICK=y | ||
439 | CONFIG_THUMB2_KERNEL=y | ||
440 | CONFIG_THUMB2_AVOID_R_ARM_THM_JUMP11=y | ||
441 | CONFIG_ARM_ASM_UNIFIED=y | ||
442 | CONFIG_AEABI=y | ||
443 | # CONFIG_ARCH_SPARSEMEM_DEFAULT is not set | ||
444 | # CONFIG_ARCH_SELECT_MEMORY_MODEL is not set | ||
445 | CONFIG_HAVE_ARCH_PFN_VALID=y | ||
446 | CONFIG_HIGHMEM=y | ||
447 | # CONFIG_HIGHPTE is not set | ||
448 | CONFIG_HW_PERF_EVENTS=y | ||
449 | CONFIG_SYS_SUPPORTS_HUGETLBFS=y | ||
450 | CONFIG_ARCH_WANT_GENERAL_HUGETLB=y | ||
451 | CONFIG_FLATMEM=y | ||
452 | CONFIG_FLAT_NODE_MEM_MAP=y | ||
453 | CONFIG_HAVE_MEMBLOCK=y | ||
454 | # CONFIG_HAVE_BOOTMEM_INFO_NODE is not set | ||
455 | CONFIG_PAGEFLAGS_EXTENDED=y | ||
456 | CONFIG_SPLIT_PTLOCK_CPUS=4 | ||
457 | CONFIG_COMPACTION=y | ||
458 | CONFIG_MIGRATION=y | ||
459 | CONFIG_PHYS_ADDR_T_64BIT=y | ||
460 | CONFIG_ZONE_DMA_FLAG=1 | ||
461 | CONFIG_BOUNCE=y | ||
462 | # CONFIG_KSM is not set | ||
463 | CONFIG_DEFAULT_MMAP_MIN_ADDR=4096 | ||
464 | # CONFIG_TRANSPARENT_HUGEPAGE is not set | ||
465 | # CONFIG_CROSS_MEMORY_ATTACH is not set | ||
466 | CONFIG_CLEANCACHE=y | ||
467 | CONFIG_FRONTSWAP=y | ||
468 | # CONFIG_CMA is not set | ||
469 | # CONFIG_ZBUD is not set | ||
470 | # CONFIG_ZSWAP is not set | ||
471 | CONFIG_FORCE_MAX_ZONEORDER=11 | ||
472 | CONFIG_ALIGNMENT_TRAP=y | ||
473 | # CONFIG_UACCESS_WITH_MEMCPY is not set | ||
474 | # CONFIG_SECCOMP is not set | ||
475 | # CONFIG_CC_STACKPROTECTOR is not set | ||
476 | # CONFIG_XEN is not set | ||
477 | |||
478 | # | ||
479 | # Boot options | ||
480 | # | ||
481 | CONFIG_USE_OF=y | ||
482 | CONFIG_ATAGS=y | ||
483 | # CONFIG_DEPRECATED_PARAM_STRUCT is not set | ||
484 | CONFIG_ZBOOT_ROM_TEXT=0 | ||
485 | CONFIG_ZBOOT_ROM_BSS=0 | ||
486 | # CONFIG_ARM_APPENDED_DTB is not set | ||
487 | CONFIG_CMDLINE="console=ttyS0,115200" | ||
488 | CONFIG_CMDLINE_FROM_BOOTLOADER=y | ||
489 | # CONFIG_CMDLINE_EXTEND is not set | ||
490 | # CONFIG_CMDLINE_FORCE is not set | ||
491 | # CONFIG_KEXEC is not set | ||
492 | # CONFIG_CRASH_DUMP is not set | ||
493 | CONFIG_AUTO_ZRELADDR=y | ||
494 | |||
495 | # | ||
496 | # CPU Power Management | ||
497 | # | ||
498 | |||
499 | # | ||
500 | # CPU Frequency scaling | ||
501 | # | ||
502 | CONFIG_CPU_FREQ=y | ||
503 | CONFIG_CPU_FREQ_TABLE=y | ||
504 | CONFIG_CPU_FREQ_STAT=y | ||
505 | # CONFIG_CPU_FREQ_STAT_DETAILS is not set | ||
506 | CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE=y | ||
507 | # CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set | ||
508 | # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set | ||
509 | # CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set | ||
510 | # CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set | ||
511 | CONFIG_CPU_FREQ_GOV_PERFORMANCE=y | ||
512 | # CONFIG_CPU_FREQ_GOV_POWERSAVE is not set | ||
513 | # CONFIG_CPU_FREQ_GOV_USERSPACE is not set | ||
514 | # CONFIG_CPU_FREQ_GOV_ONDEMAND is not set | ||
515 | # CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set | ||
516 | |||
517 | # | ||
518 | # ARM CPU frequency scaling drivers | ||
519 | # | ||
520 | # CONFIG_ARM_KIRKWOOD_CPUFREQ is not set | ||
521 | CONFIG_QORIQ_CPUFREQ=y | ||
522 | |||
523 | # | ||
524 | # CPU Idle | ||
525 | # | ||
526 | CONFIG_CPU_IDLE=y | ||
527 | # CONFIG_CPU_IDLE_MULTIPLE_DRIVERS is not set | ||
528 | CONFIG_CPU_IDLE_GOV_LADDER=y | ||
529 | CONFIG_CPU_IDLE_GOV_MENU=y | ||
530 | |||
531 | # | ||
532 | # ARM CPU Idle Drivers | ||
533 | # | ||
534 | # CONFIG_ARCH_NEEDS_CPU_IDLE_COUPLED is not set | ||
535 | |||
536 | # | ||
537 | # Floating point emulation | ||
538 | # | ||
539 | |||
540 | # | ||
541 | # At least one emulation must be selected | ||
542 | # | ||
543 | CONFIG_VFP=y | ||
544 | CONFIG_VFPv3=y | ||
545 | CONFIG_NEON=y | ||
546 | CONFIG_KERNEL_MODE_NEON=y | ||
547 | |||
548 | # | ||
549 | # Userspace binary formats | ||
550 | # | ||
551 | CONFIG_BINFMT_ELF=y | ||
552 | CONFIG_ARCH_BINFMT_ELF_RANDOMIZE_PIE=y | ||
553 | CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS=y | ||
554 | CONFIG_BINFMT_SCRIPT=y | ||
555 | # CONFIG_HAVE_AOUT is not set | ||
556 | CONFIG_BINFMT_MISC=y | ||
557 | CONFIG_COREDUMP=y | ||
558 | |||
559 | # | ||
560 | # Power management options | ||
561 | # | ||
562 | CONFIG_SUSPEND=y | ||
563 | CONFIG_SUSPEND_FREEZER=y | ||
564 | CONFIG_PM_SLEEP=y | ||
565 | CONFIG_PM_SLEEP_SMP=y | ||
566 | # CONFIG_PM_AUTOSLEEP is not set | ||
567 | # CONFIG_PM_WAKELOCKS is not set | ||
568 | # CONFIG_PM_RUNTIME is not set | ||
569 | CONFIG_PM=y | ||
570 | # CONFIG_PM_DEBUG is not set | ||
571 | # CONFIG_APM_EMULATION is not set | ||
572 | CONFIG_PM_CLK=y | ||
573 | # CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set | ||
574 | CONFIG_CPU_PM=y | ||
575 | CONFIG_ARCH_SUSPEND_POSSIBLE=y | ||
576 | CONFIG_ARM_CPU_SUSPEND=y | ||
577 | CONFIG_NET=y | ||
578 | |||
579 | # | ||
580 | # Networking options | ||
581 | # | ||
582 | CONFIG_PACKET=y | ||
583 | # CONFIG_PACKET_DIAG is not set | ||
584 | CONFIG_UNIX=y | ||
585 | CONFIG_UNIX_DIAG=y | ||
586 | CONFIG_XFRM=y | ||
587 | CONFIG_XFRM_ALGO=y | ||
588 | CONFIG_XFRM_USER=y | ||
589 | # CONFIG_XFRM_SUB_POLICY is not set | ||
590 | # CONFIG_XFRM_MIGRATE is not set | ||
591 | # CONFIG_XFRM_STATISTICS is not set | ||
592 | CONFIG_XFRM_IPCOMP=y | ||
593 | CONFIG_NET_KEY=y | ||
594 | # CONFIG_NET_KEY_MIGRATE is not set | ||
595 | CONFIG_INET=y | ||
596 | CONFIG_IP_MULTICAST=y | ||
597 | CONFIG_IP_ADVANCED_ROUTER=y | ||
598 | # CONFIG_IP_FIB_TRIE_STATS is not set | ||
599 | # CONFIG_IP_MULTIPLE_TABLES is not set | ||
600 | # CONFIG_IP_ROUTE_MULTIPATH is not set | ||
601 | # CONFIG_IP_ROUTE_VERBOSE is not set | ||
602 | CONFIG_IP_PNP=y | ||
603 | CONFIG_IP_PNP_DHCP=y | ||
604 | # CONFIG_IP_PNP_BOOTP is not set | ||
605 | # CONFIG_IP_PNP_RARP is not set | ||
606 | # CONFIG_NET_IPIP is not set | ||
607 | # CONFIG_NET_IPGRE_DEMUX is not set | ||
608 | # CONFIG_NET_IP_TUNNEL is not set | ||
609 | CONFIG_IP_MROUTE=y | ||
610 | # CONFIG_IP_MROUTE_MULTIPLE_TABLES is not set | ||
611 | # CONFIG_IP_PIMSM_V1 is not set | ||
612 | # CONFIG_IP_PIMSM_V2 is not set | ||
613 | # CONFIG_SYN_COOKIES is not set | ||
614 | # CONFIG_NET_IPVTI is not set | ||
615 | CONFIG_INET_AH=y | ||
616 | CONFIG_INET_ESP=y | ||
617 | CONFIG_INET_IPCOMP=y | ||
618 | CONFIG_INET_XFRM_TUNNEL=y | ||
619 | CONFIG_INET_TUNNEL=y | ||
620 | CONFIG_INET_XFRM_MODE_TRANSPORT=y | ||
621 | CONFIG_INET_XFRM_MODE_TUNNEL=y | ||
622 | CONFIG_INET_XFRM_MODE_BEET=y | ||
623 | CONFIG_INET_LRO=y | ||
624 | CONFIG_INET_DIAG=y | ||
625 | CONFIG_INET_TCP_DIAG=y | ||
626 | CONFIG_INET_UDP_DIAG=y | ||
627 | # CONFIG_TCP_CONG_ADVANCED is not set | ||
628 | CONFIG_TCP_CONG_CUBIC=y | ||
629 | CONFIG_DEFAULT_TCP_CONG="cubic" | ||
630 | # CONFIG_TCP_MD5SIG is not set | ||
631 | # CONFIG_IPV6 is not set | ||
632 | # CONFIG_NETWORK_SECMARK is not set | ||
633 | # CONFIG_NETWORK_PHY_TIMESTAMPING is not set | ||
634 | CONFIG_NETFILTER=y | ||
635 | # CONFIG_NETFILTER_DEBUG is not set | ||
636 | CONFIG_NETFILTER_ADVANCED=y | ||
637 | |||
638 | # | ||
639 | # Core Netfilter Configuration | ||
640 | # | ||
641 | # CONFIG_NETFILTER_NETLINK_ACCT is not set | ||
642 | # CONFIG_NETFILTER_NETLINK_QUEUE is not set | ||
643 | # CONFIG_NETFILTER_NETLINK_LOG is not set | ||
644 | # CONFIG_NF_CONNTRACK is not set | ||
645 | # CONFIG_NETFILTER_XTABLES is not set | ||
646 | # CONFIG_IP_VS is not set | ||
647 | |||
648 | # | ||
649 | # IP: Netfilter Configuration | ||
650 | # | ||
651 | # CONFIG_NF_DEFRAG_IPV4 is not set | ||
652 | # CONFIG_IP_NF_IPTABLES is not set | ||
653 | # CONFIG_IP_NF_ARPTABLES is not set | ||
654 | # CONFIG_IP_DCCP is not set | ||
655 | # CONFIG_IP_SCTP is not set | ||
656 | # CONFIG_RDS is not set | ||
657 | # CONFIG_TIPC is not set | ||
658 | # CONFIG_ATM is not set | ||
659 | # CONFIG_L2TP is not set | ||
660 | # CONFIG_BRIDGE is not set | ||
661 | CONFIG_HAVE_NET_DSA=y | ||
662 | # CONFIG_VLAN_8021Q is not set | ||
663 | # CONFIG_DECNET is not set | ||
664 | # CONFIG_LLC2 is not set | ||
665 | # CONFIG_IPX is not set | ||
666 | # CONFIG_ATALK is not set | ||
667 | # CONFIG_X25 is not set | ||
668 | # CONFIG_LAPB is not set | ||
669 | # CONFIG_PHONET is not set | ||
670 | # CONFIG_IEEE802154 is not set | ||
671 | # CONFIG_NET_SCHED is not set | ||
672 | # CONFIG_DCB is not set | ||
673 | CONFIG_DNS_RESOLVER=y | ||
674 | # CONFIG_BATMAN_ADV is not set | ||
675 | # CONFIG_OPENVSWITCH is not set | ||
676 | # CONFIG_VSOCKETS is not set | ||
677 | # CONFIG_NETLINK_MMAP is not set | ||
678 | # CONFIG_NETLINK_DIAG is not set | ||
679 | # CONFIG_NET_MPLS_GSO is not set | ||
680 | CONFIG_RPS=y | ||
681 | CONFIG_RFS_ACCEL=y | ||
682 | CONFIG_XPS=y | ||
683 | CONFIG_NET_RX_BUSY_POLL=y | ||
684 | CONFIG_BQL=y | ||
685 | # CONFIG_BPF_JIT is not set | ||
686 | CONFIG_NET_FLOW_LIMIT=y | ||
687 | |||
688 | # | ||
689 | # Network testing | ||
690 | # | ||
691 | # CONFIG_NET_PKTGEN is not set | ||
692 | # CONFIG_NET_TCPPROBE is not set | ||
693 | # CONFIG_HAMRADIO is not set | ||
694 | CONFIG_CAN=y | ||
695 | CONFIG_CAN_RAW=y | ||
696 | # CONFIG_CAN_BCM is not set | ||
697 | # CONFIG_CAN_GW is not set | ||
698 | |||
699 | # | ||
700 | # CAN Device Drivers | ||
701 | # | ||
702 | # CONFIG_CAN_VCAN is not set | ||
703 | # CONFIG_CAN_SLCAN is not set | ||
704 | CONFIG_CAN_DEV=y | ||
705 | CONFIG_CAN_CALC_BITTIMING=y | ||
706 | # CONFIG_CAN_AT91 is not set | ||
707 | # CONFIG_CAN_MCP251X is not set | ||
708 | CONFIG_CAN_FLEXCAN=y | ||
709 | # CONFIG_CAN_FLEXCAN_RX_FIFO_EN is not set | ||
710 | # CONFIG_CAN_FLEXCAN_ERRATA_ERR005829 is not set | ||
711 | # CONFIG_PCH_CAN is not set | ||
712 | # CONFIG_CAN_GRCAN is not set | ||
713 | # CONFIG_CAN_SJA1000 is not set | ||
714 | # CONFIG_CAN_C_CAN is not set | ||
715 | # CONFIG_CAN_CC770 is not set | ||
716 | |||
717 | # | ||
718 | # CAN USB interfaces | ||
719 | # | ||
720 | # CONFIG_CAN_EMS_USB is not set | ||
721 | # CONFIG_CAN_ESD_USB2 is not set | ||
722 | # CONFIG_CAN_KVASER_USB is not set | ||
723 | # CONFIG_CAN_PEAK_USB is not set | ||
724 | # CONFIG_CAN_8DEV_USB is not set | ||
725 | # CONFIG_CAN_SOFTING is not set | ||
726 | # CONFIG_CAN_DEBUG_DEVICES is not set | ||
727 | # CONFIG_IRDA is not set | ||
728 | # CONFIG_BT is not set | ||
729 | # CONFIG_AF_RXRPC is not set | ||
730 | CONFIG_WIRELESS=y | ||
731 | # CONFIG_CFG80211 is not set | ||
732 | # CONFIG_LIB80211 is not set | ||
733 | |||
734 | # | ||
735 | # CFG80211 needs to be enabled for MAC80211 | ||
736 | # | ||
737 | # CONFIG_WIMAX is not set | ||
738 | # CONFIG_RFKILL is not set | ||
739 | # CONFIG_RFKILL_REGULATOR is not set | ||
740 | # CONFIG_NET_9P is not set | ||
741 | # CONFIG_CAIF is not set | ||
742 | # CONFIG_CEPH_LIB is not set | ||
743 | # CONFIG_NFC is not set | ||
744 | CONFIG_HAVE_BPF_JIT=y | ||
745 | |||
746 | # | ||
747 | # Device Drivers | ||
748 | # | ||
749 | |||
750 | # | ||
751 | # Generic Driver Options | ||
752 | # | ||
753 | CONFIG_UEVENT_HELPER_PATH="" | ||
754 | CONFIG_DEVTMPFS=y | ||
755 | CONFIG_DEVTMPFS_MOUNT=y | ||
756 | CONFIG_STANDALONE=y | ||
757 | CONFIG_PREVENT_FIRMWARE_BUILD=y | ||
758 | # CONFIG_FW_LOADER is not set | ||
759 | # CONFIG_DEBUG_DRIVER is not set | ||
760 | # CONFIG_DEBUG_DEVRES is not set | ||
761 | # CONFIG_SYS_HYPERVISOR is not set | ||
762 | # CONFIG_GENERIC_CPU_DEVICES is not set | ||
763 | CONFIG_REGMAP=y | ||
764 | CONFIG_REGMAP_I2C=y | ||
765 | CONFIG_REGMAP_SPI=y | ||
766 | CONFIG_REGMAP_MMIO=y | ||
767 | # CONFIG_DMA_SHARED_BUFFER is not set | ||
768 | |||
769 | # | ||
770 | # Bus devices | ||
771 | # | ||
772 | # CONFIG_IMX_WEIM is not set | ||
773 | # CONFIG_ARM_CCI is not set | ||
774 | # CONFIG_CONNECTOR is not set | ||
775 | CONFIG_MTD=y | ||
776 | # CONFIG_MTD_TESTS is not set | ||
777 | # CONFIG_MTD_REDBOOT_PARTS is not set | ||
778 | CONFIG_MTD_CMDLINE_PARTS=y | ||
779 | # CONFIG_MTD_AFS_PARTS is not set | ||
780 | CONFIG_MTD_OF_PARTS=y | ||
781 | # CONFIG_MTD_AR7_PARTS is not set | ||
782 | |||
783 | # | ||
784 | # User Modules And Translation Layers | ||
785 | # | ||
786 | CONFIG_MTD_BLKDEVS=y | ||
787 | CONFIG_MTD_BLOCK=y | ||
788 | # CONFIG_FTL is not set | ||
789 | # CONFIG_NFTL is not set | ||
790 | # CONFIG_INFTL is not set | ||
791 | # CONFIG_RFD_FTL is not set | ||
792 | # CONFIG_SSFDC is not set | ||
793 | # CONFIG_SM_FTL is not set | ||
794 | # CONFIG_MTD_OOPS is not set | ||
795 | # CONFIG_MTD_SWAP is not set | ||
796 | |||
797 | # | ||
798 | # RAM/ROM/Flash chip drivers | ||
799 | # | ||
800 | CONFIG_MTD_CFI=y | ||
801 | # CONFIG_MTD_JEDECPROBE is not set | ||
802 | CONFIG_MTD_GEN_PROBE=y | ||
803 | CONFIG_MTD_CFI_ADV_OPTIONS=y | ||
804 | # CONFIG_MTD_CFI_NOSWAP is not set | ||
805 | CONFIG_MTD_CFI_BE_BYTE_SWAP=y | ||
806 | # CONFIG_MTD_CFI_LE_BYTE_SWAP is not set | ||
807 | CONFIG_MTD_CFI_GEOMETRY=y | ||
808 | CONFIG_MTD_MAP_BANK_WIDTH_1=y | ||
809 | CONFIG_MTD_MAP_BANK_WIDTH_2=y | ||
810 | CONFIG_MTD_MAP_BANK_WIDTH_4=y | ||
811 | # CONFIG_MTD_MAP_BANK_WIDTH_8 is not set | ||
812 | # CONFIG_MTD_MAP_BANK_WIDTH_16 is not set | ||
813 | # CONFIG_MTD_MAP_BANK_WIDTH_32 is not set | ||
814 | CONFIG_MTD_CFI_I1=y | ||
815 | CONFIG_MTD_CFI_I2=y | ||
816 | # CONFIG_MTD_CFI_I4 is not set | ||
817 | # CONFIG_MTD_CFI_I8 is not set | ||
818 | # CONFIG_MTD_OTP is not set | ||
819 | CONFIG_MTD_CFI_INTELEXT=y | ||
820 | CONFIG_MTD_CFI_AMDSTD=y | ||
821 | CONFIG_MTD_CFI_STAA=y | ||
822 | CONFIG_MTD_CFI_UTIL=y | ||
823 | # CONFIG_MTD_RAM is not set | ||
824 | # CONFIG_MTD_ROM is not set | ||
825 | # CONFIG_MTD_ABSENT is not set | ||
826 | |||
827 | # | ||
828 | # Mapping drivers for chip access | ||
829 | # | ||
830 | # CONFIG_MTD_COMPLEX_MAPPINGS is not set | ||
831 | # CONFIG_MTD_PHYSMAP is not set | ||
832 | CONFIG_MTD_PHYSMAP_OF=y | ||
833 | # CONFIG_MTD_INTEL_VR_NOR is not set | ||
834 | # CONFIG_MTD_PLATRAM is not set | ||
835 | |||
836 | # | ||
837 | # Self-contained MTD device drivers | ||
838 | # | ||
839 | # CONFIG_MTD_PMC551 is not set | ||
840 | CONFIG_MTD_DATAFLASH=y | ||
841 | # CONFIG_MTD_DATAFLASH_WRITE_VERIFY is not set | ||
842 | # CONFIG_MTD_DATAFLASH_OTP is not set | ||
843 | CONFIG_MTD_M25P80=y | ||
844 | CONFIG_MTD_SST25L=y | ||
845 | # CONFIG_MTD_SLRAM is not set | ||
846 | # CONFIG_MTD_PHRAM is not set | ||
847 | # CONFIG_MTD_MTDRAM is not set | ||
848 | # CONFIG_MTD_BLOCK2MTD is not set | ||
849 | |||
850 | # | ||
851 | # Disk-On-Chip Device Drivers | ||
852 | # | ||
853 | # CONFIG_MTD_DOCG3 is not set | ||
854 | CONFIG_MTD_NAND_ECC=y | ||
855 | # CONFIG_MTD_NAND_ECC_SMC is not set | ||
856 | CONFIG_MTD_NAND=y | ||
857 | # CONFIG_MTD_NAND_ECC_BCH is not set | ||
858 | # CONFIG_MTD_SM_COMMON is not set | ||
859 | # CONFIG_MTD_NAND_DENALI is not set | ||
860 | # CONFIG_MTD_NAND_GPIO is not set | ||
861 | CONFIG_MTD_NAND_IDS=y | ||
862 | # CONFIG_MTD_NAND_RICOH is not set | ||
863 | # CONFIG_MTD_NAND_DISKONCHIP is not set | ||
864 | # CONFIG_MTD_NAND_DOCG4 is not set | ||
865 | # CONFIG_MTD_NAND_CAFE is not set | ||
866 | # CONFIG_MTD_NAND_NANDSIM is not set | ||
867 | # CONFIG_MTD_NAND_PLATFORM is not set | ||
868 | CONFIG_MTD_NAND_FSL_IFC=y | ||
869 | # CONFIG_MTD_NAND_MXC is not set | ||
870 | # CONFIG_MTD_ONENAND is not set | ||
871 | |||
872 | # | ||
873 | # LPDDR flash memory drivers | ||
874 | # | ||
875 | # CONFIG_MTD_LPDDR is not set | ||
876 | CONFIG_MTD_SPI_NOR_BASE=y | ||
877 | CONFIG_SPI_FSL_QUADSPI=y | ||
878 | # CONFIG_MTD_UBI is not set | ||
879 | CONFIG_DTC=y | ||
880 | CONFIG_OF=y | ||
881 | |||
882 | # | ||
883 | # Device Tree and Open Firmware support | ||
884 | # | ||
885 | CONFIG_PROC_DEVICETREE=y | ||
886 | # CONFIG_OF_SELFTEST is not set | ||
887 | CONFIG_OF_FLATTREE=y | ||
888 | CONFIG_OF_EARLY_FLATTREE=y | ||
889 | CONFIG_OF_ADDRESS=y | ||
890 | CONFIG_OF_IRQ=y | ||
891 | CONFIG_OF_NET=y | ||
892 | CONFIG_OF_MDIO=y | ||
893 | CONFIG_OF_PCI=y | ||
894 | CONFIG_OF_PCI_IRQ=y | ||
895 | CONFIG_OF_MTD=y | ||
896 | # CONFIG_PARPORT is not set | ||
897 | CONFIG_BLK_DEV=y | ||
898 | # CONFIG_BLK_DEV_PCIESSD_MTIP32XX is not set | ||
899 | # CONFIG_BLK_CPQ_CISS_DA is not set | ||
900 | # CONFIG_BLK_DEV_DAC960 is not set | ||
901 | # CONFIG_BLK_DEV_UMEM is not set | ||
902 | # CONFIG_BLK_DEV_COW_COMMON is not set | ||
903 | CONFIG_BLK_DEV_LOOP=y | ||
904 | CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 | ||
905 | # CONFIG_BLK_DEV_CRYPTOLOOP is not set | ||
906 | # CONFIG_BLK_DEV_DRBD is not set | ||
907 | # CONFIG_BLK_DEV_NBD is not set | ||
908 | # CONFIG_BLK_DEV_NVME is not set | ||
909 | # CONFIG_BLK_DEV_SX8 is not set | ||
910 | CONFIG_BLK_DEV_RAM=y | ||
911 | CONFIG_BLK_DEV_RAM_COUNT=8 | ||
912 | CONFIG_BLK_DEV_RAM_SIZE=262144 | ||
913 | # CONFIG_BLK_DEV_XIP is not set | ||
914 | # CONFIG_CDROM_PKTCDVD is not set | ||
915 | # CONFIG_ATA_OVER_ETH is not set | ||
916 | # CONFIG_MG_DISK is not set | ||
917 | # CONFIG_BLK_DEV_RBD is not set | ||
918 | # CONFIG_BLK_DEV_RSXX is not set | ||
919 | |||
920 | # | ||
921 | # Misc devices | ||
922 | # | ||
923 | # CONFIG_SENSORS_LIS3LV02D is not set | ||
924 | # CONFIG_AD525X_DPOT is not set | ||
925 | # CONFIG_ATMEL_PWM is not set | ||
926 | # CONFIG_DUMMY_IRQ is not set | ||
927 | CONFIG_HWLAT_DETECTOR=m | ||
928 | # CONFIG_PHANTOM is not set | ||
929 | # CONFIG_SGI_IOC4 is not set | ||
930 | # CONFIG_TIFM_CORE is not set | ||
931 | # CONFIG_ICS932S401 is not set | ||
932 | # CONFIG_ATMEL_SSC is not set | ||
933 | # CONFIG_ENCLOSURE_SERVICES is not set | ||
934 | # CONFIG_FSL_DCM is not set | ||
935 | # CONFIG_HP_ILO is not set | ||
936 | # CONFIG_APDS9802ALS is not set | ||
937 | # CONFIG_ISL29003 is not set | ||
938 | # CONFIG_ISL29020 is not set | ||
939 | # CONFIG_SENSORS_TSL2550 is not set | ||
940 | # CONFIG_SENSORS_BH1780 is not set | ||
941 | # CONFIG_SENSORS_BH1770 is not set | ||
942 | # CONFIG_SENSORS_APDS990X is not set | ||
943 | # CONFIG_HMC6352 is not set | ||
944 | # CONFIG_DS1682 is not set | ||
945 | # CONFIG_TI_DAC7512 is not set | ||
946 | # CONFIG_BMP085_I2C is not set | ||
947 | # CONFIG_BMP085_SPI is not set | ||
948 | # CONFIG_PCH_PHUB is not set | ||
949 | # CONFIG_USB_SWITCH_FSA9480 is not set | ||
950 | # CONFIG_LATTICE_ECP3_CONFIG is not set | ||
951 | CONFIG_SRAM=y | ||
952 | # CONFIG_C2PORT is not set | ||
953 | |||
954 | # | ||
955 | # EEPROM support | ||
956 | # | ||
957 | # CONFIG_EEPROM_AT24 is not set | ||
958 | # CONFIG_EEPROM_AT25 is not set | ||
959 | # CONFIG_EEPROM_LEGACY is not set | ||
960 | # CONFIG_EEPROM_MAX6875 is not set | ||
961 | # CONFIG_EEPROM_93CX6 is not set | ||
962 | # CONFIG_EEPROM_93XX46 is not set | ||
963 | # CONFIG_CB710_CORE is not set | ||
964 | |||
965 | # | ||
966 | # Texas Instruments shared transport line discipline | ||
967 | # | ||
968 | # CONFIG_TI_ST is not set | ||
969 | # CONFIG_SENSORS_LIS3_SPI is not set | ||
970 | # CONFIG_SENSORS_LIS3_I2C is not set | ||
971 | |||
972 | # | ||
973 | # Altera FPGA firmware download module | ||
974 | # | ||
975 | # CONFIG_ALTERA_STAPL is not set | ||
976 | CONFIG_HAVE_IDE=y | ||
977 | # CONFIG_IDE is not set | ||
978 | |||
979 | # | ||
980 | # SCSI device support | ||
981 | # | ||
982 | CONFIG_SCSI_MOD=y | ||
983 | # CONFIG_RAID_ATTRS is not set | ||
984 | CONFIG_SCSI=y | ||
985 | CONFIG_SCSI_DMA=y | ||
986 | # CONFIG_SCSI_TGT is not set | ||
987 | # CONFIG_SCSI_NETLINK is not set | ||
988 | CONFIG_SCSI_PROC_FS=y | ||
989 | |||
990 | # | ||
991 | # SCSI support type (disk, tape, CD-ROM) | ||
992 | # | ||
993 | CONFIG_BLK_DEV_SD=y | ||
994 | # CONFIG_CHR_DEV_ST is not set | ||
995 | # CONFIG_CHR_DEV_OSST is not set | ||
996 | # CONFIG_BLK_DEV_SR is not set | ||
997 | CONFIG_CHR_DEV_SG=y | ||
998 | # CONFIG_CHR_DEV_SCH is not set | ||
999 | CONFIG_SCSI_MULTI_LUN=y | ||
1000 | # CONFIG_SCSI_CONSTANTS is not set | ||
1001 | # CONFIG_SCSI_LOGGING is not set | ||
1002 | # CONFIG_SCSI_SCAN_ASYNC is not set | ||
1003 | |||
1004 | # | ||
1005 | # SCSI Transports | ||
1006 | # | ||
1007 | # CONFIG_SCSI_SPI_ATTRS is not set | ||
1008 | # CONFIG_SCSI_FC_ATTRS is not set | ||
1009 | # CONFIG_SCSI_ISCSI_ATTRS is not set | ||
1010 | # CONFIG_SCSI_SAS_ATTRS is not set | ||
1011 | # CONFIG_SCSI_SAS_LIBSAS is not set | ||
1012 | # CONFIG_SCSI_SRP_ATTRS is not set | ||
1013 | CONFIG_SCSI_LOWLEVEL=y | ||
1014 | # CONFIG_ISCSI_TCP is not set | ||
1015 | # CONFIG_ISCSI_BOOT_SYSFS is not set | ||
1016 | # CONFIG_SCSI_CXGB3_ISCSI is not set | ||
1017 | # CONFIG_SCSI_CXGB4_ISCSI is not set | ||
1018 | # CONFIG_SCSI_BNX2_ISCSI is not set | ||
1019 | # CONFIG_SCSI_BNX2X_FCOE is not set | ||
1020 | # CONFIG_BE2ISCSI is not set | ||
1021 | # CONFIG_BLK_DEV_3W_XXXX_RAID is not set | ||
1022 | # CONFIG_SCSI_HPSA is not set | ||
1023 | # CONFIG_SCSI_3W_9XXX is not set | ||
1024 | # CONFIG_SCSI_3W_SAS is not set | ||
1025 | # CONFIG_SCSI_ACARD is not set | ||
1026 | # CONFIG_SCSI_AACRAID is not set | ||
1027 | # CONFIG_SCSI_AIC7XXX is not set | ||
1028 | # CONFIG_SCSI_AIC7XXX_OLD is not set | ||
1029 | # CONFIG_SCSI_AIC79XX is not set | ||
1030 | # CONFIG_SCSI_AIC94XX is not set | ||
1031 | # CONFIG_SCSI_MVSAS is not set | ||
1032 | # CONFIG_SCSI_MVUMI is not set | ||
1033 | # CONFIG_SCSI_ARCMSR is not set | ||
1034 | # CONFIG_SCSI_ESAS2R is not set | ||
1035 | # CONFIG_MEGARAID_NEWGEN is not set | ||
1036 | # CONFIG_MEGARAID_LEGACY is not set | ||
1037 | # CONFIG_MEGARAID_SAS is not set | ||
1038 | # CONFIG_SCSI_MPT2SAS is not set | ||
1039 | # CONFIG_SCSI_MPT3SAS is not set | ||
1040 | # CONFIG_SCSI_UFSHCD is not set | ||
1041 | # CONFIG_SCSI_HPTIOP is not set | ||
1042 | # CONFIG_LIBFC is not set | ||
1043 | # CONFIG_LIBFCOE is not set | ||
1044 | # CONFIG_FCOE is not set | ||
1045 | # CONFIG_SCSI_DMX3191D is not set | ||
1046 | # CONFIG_SCSI_FUTURE_DOMAIN is not set | ||
1047 | # CONFIG_SCSI_IPS is not set | ||
1048 | # CONFIG_SCSI_INITIO is not set | ||
1049 | # CONFIG_SCSI_INIA100 is not set | ||
1050 | # CONFIG_SCSI_STEX is not set | ||
1051 | # CONFIG_SCSI_SYM53C8XX_2 is not set | ||
1052 | # CONFIG_SCSI_IPR is not set | ||
1053 | # CONFIG_SCSI_QLOGIC_1280 is not set | ||
1054 | # CONFIG_SCSI_QLA_FC is not set | ||
1055 | # CONFIG_SCSI_QLA_ISCSI is not set | ||
1056 | # CONFIG_SCSI_LPFC is not set | ||
1057 | # CONFIG_SCSI_DC395x is not set | ||
1058 | # CONFIG_SCSI_DC390T is not set | ||
1059 | # CONFIG_SCSI_NSP32 is not set | ||
1060 | # CONFIG_SCSI_DEBUG is not set | ||
1061 | # CONFIG_SCSI_PMCRAID is not set | ||
1062 | # CONFIG_SCSI_PM8001 is not set | ||
1063 | # CONFIG_SCSI_SRP is not set | ||
1064 | # CONFIG_SCSI_BFA_FC is not set | ||
1065 | # CONFIG_SCSI_CHELSIO_FCOE is not set | ||
1066 | # CONFIG_SCSI_DH is not set | ||
1067 | # CONFIG_SCSI_OSD_INITIATOR is not set | ||
1068 | CONFIG_ATA=y | ||
1069 | # CONFIG_ATA_NONSTANDARD is not set | ||
1070 | CONFIG_ATA_VERBOSE_ERROR=y | ||
1071 | CONFIG_SATA_PMP=y | ||
1072 | |||
1073 | # | ||
1074 | # Controllers with non-SFF native interface | ||
1075 | # | ||
1076 | CONFIG_SATA_AHCI=y | ||
1077 | CONFIG_SATA_AHCI_PLATFORM=y | ||
1078 | # CONFIG_AHCI_IMX is not set | ||
1079 | # CONFIG_SATA_FSL is not set | ||
1080 | # CONFIG_SATA_INIC162X is not set | ||
1081 | # CONFIG_SATA_ACARD_AHCI is not set | ||
1082 | CONFIG_SATA_SIL24=y | ||
1083 | CONFIG_ATA_SFF=y | ||
1084 | |||
1085 | # | ||
1086 | # SFF controllers with custom DMA interface | ||
1087 | # | ||
1088 | # CONFIG_PDC_ADMA is not set | ||
1089 | # CONFIG_SATA_QSTOR is not set | ||
1090 | # CONFIG_SATA_SX4 is not set | ||
1091 | CONFIG_ATA_BMDMA=y | ||
1092 | |||
1093 | # | ||
1094 | # SATA SFF controllers with BMDMA | ||
1095 | # | ||
1096 | # CONFIG_ATA_PIIX is not set | ||
1097 | # CONFIG_SATA_HIGHBANK is not set | ||
1098 | # CONFIG_SATA_MV is not set | ||
1099 | # CONFIG_SATA_NV is not set | ||
1100 | # CONFIG_SATA_PROMISE is not set | ||
1101 | # CONFIG_SATA_RCAR is not set | ||
1102 | # CONFIG_SATA_SIL is not set | ||
1103 | # CONFIG_SATA_SIS is not set | ||
1104 | # CONFIG_SATA_SVW is not set | ||
1105 | # CONFIG_SATA_ULI is not set | ||
1106 | # CONFIG_SATA_VIA is not set | ||
1107 | # CONFIG_SATA_VITESSE is not set | ||
1108 | |||
1109 | # | ||
1110 | # PATA SFF controllers with BMDMA | ||
1111 | # | ||
1112 | # CONFIG_PATA_ALI is not set | ||
1113 | # CONFIG_PATA_AMD is not set | ||
1114 | # CONFIG_PATA_ARASAN_CF is not set | ||
1115 | # CONFIG_PATA_ARTOP is not set | ||
1116 | # CONFIG_PATA_ATIIXP is not set | ||
1117 | # CONFIG_PATA_ATP867X is not set | ||
1118 | # CONFIG_PATA_CMD64X is not set | ||
1119 | # CONFIG_PATA_CS5520 is not set | ||
1120 | # CONFIG_PATA_CS5530 is not set | ||
1121 | # CONFIG_PATA_CS5536 is not set | ||
1122 | # CONFIG_PATA_CYPRESS is not set | ||
1123 | # CONFIG_PATA_EFAR is not set | ||
1124 | # CONFIG_PATA_HPT366 is not set | ||
1125 | # CONFIG_PATA_HPT37X is not set | ||
1126 | # CONFIG_PATA_HPT3X2N is not set | ||
1127 | # CONFIG_PATA_HPT3X3 is not set | ||
1128 | # CONFIG_PATA_IMX is not set | ||
1129 | # CONFIG_PATA_IT8213 is not set | ||
1130 | # CONFIG_PATA_IT821X is not set | ||
1131 | # CONFIG_PATA_JMICRON is not set | ||
1132 | # CONFIG_PATA_MARVELL is not set | ||
1133 | # CONFIG_PATA_NETCELL is not set | ||
1134 | # CONFIG_PATA_NINJA32 is not set | ||
1135 | # CONFIG_PATA_NS87415 is not set | ||
1136 | # CONFIG_PATA_OLDPIIX is not set | ||
1137 | # CONFIG_PATA_OPTIDMA is not set | ||
1138 | # CONFIG_PATA_PDC2027X is not set | ||
1139 | # CONFIG_PATA_PDC_OLD is not set | ||
1140 | # CONFIG_PATA_RADISYS is not set | ||
1141 | # CONFIG_PATA_RDC is not set | ||
1142 | # CONFIG_PATA_SC1200 is not set | ||
1143 | # CONFIG_PATA_SCH is not set | ||
1144 | # CONFIG_PATA_SERVERWORKS is not set | ||
1145 | # CONFIG_PATA_SIL680 is not set | ||
1146 | # CONFIG_PATA_SIS is not set | ||
1147 | # CONFIG_PATA_TOSHIBA is not set | ||
1148 | # CONFIG_PATA_TRIFLEX is not set | ||
1149 | # CONFIG_PATA_VIA is not set | ||
1150 | # CONFIG_PATA_WINBOND is not set | ||
1151 | |||
1152 | # | ||
1153 | # PIO-only SFF controllers | ||
1154 | # | ||
1155 | # CONFIG_PATA_CMD640_PCI is not set | ||
1156 | # CONFIG_PATA_MPIIX is not set | ||
1157 | # CONFIG_PATA_NS87410 is not set | ||
1158 | # CONFIG_PATA_OPTI is not set | ||
1159 | # CONFIG_PATA_PLATFORM is not set | ||
1160 | # CONFIG_PATA_RZ1000 is not set | ||
1161 | |||
1162 | # | ||
1163 | # Generic fallback / legacy drivers | ||
1164 | # | ||
1165 | # CONFIG_ATA_GENERIC is not set | ||
1166 | # CONFIG_PATA_LEGACY is not set | ||
1167 | # CONFIG_MD is not set | ||
1168 | # CONFIG_TARGET_CORE is not set | ||
1169 | # CONFIG_FUSION is not set | ||
1170 | |||
1171 | # | ||
1172 | # IEEE 1394 (FireWire) support | ||
1173 | # | ||
1174 | # CONFIG_FIREWIRE is not set | ||
1175 | # CONFIG_FIREWIRE_NOSY is not set | ||
1176 | # CONFIG_I2O is not set | ||
1177 | CONFIG_NETDEVICES=y | ||
1178 | # CONFIG_AS_FASTPATH is not set | ||
1179 | CONFIG_NET_CORE=y | ||
1180 | # CONFIG_BONDING is not set | ||
1181 | # CONFIG_DUMMY is not set | ||
1182 | # CONFIG_EQUALIZER is not set | ||
1183 | # CONFIG_NET_FC is not set | ||
1184 | # CONFIG_NET_TEAM is not set | ||
1185 | # CONFIG_MACVLAN is not set | ||
1186 | # CONFIG_VXLAN is not set | ||
1187 | # CONFIG_NETCONSOLE is not set | ||
1188 | # CONFIG_NETPOLL is not set | ||
1189 | # CONFIG_NET_POLL_CONTROLLER is not set | ||
1190 | # CONFIG_TUN is not set | ||
1191 | # CONFIG_VETH is not set | ||
1192 | # CONFIG_NLMON is not set | ||
1193 | # CONFIG_ARCNET is not set | ||
1194 | |||
1195 | # | ||
1196 | # CAIF transport drivers | ||
1197 | # | ||
1198 | |||
1199 | # | ||
1200 | # Distributed Switch Architecture drivers | ||
1201 | # | ||
1202 | # CONFIG_NET_DSA_MV88E6XXX is not set | ||
1203 | # CONFIG_NET_DSA_MV88E6060 is not set | ||
1204 | # CONFIG_NET_DSA_MV88E6XXX_NEED_PPU is not set | ||
1205 | # CONFIG_NET_DSA_MV88E6131 is not set | ||
1206 | # CONFIG_NET_DSA_MV88E6123_61_65 is not set | ||
1207 | CONFIG_ETHERNET=y | ||
1208 | CONFIG_NET_VENDOR_3COM=y | ||
1209 | # CONFIG_VORTEX is not set | ||
1210 | # CONFIG_TYPHOON is not set | ||
1211 | CONFIG_NET_VENDOR_ADAPTEC=y | ||
1212 | # CONFIG_ADAPTEC_STARFIRE is not set | ||
1213 | CONFIG_NET_VENDOR_ALTEON=y | ||
1214 | # CONFIG_ACENIC is not set | ||
1215 | CONFIG_NET_VENDOR_AMD=y | ||
1216 | # CONFIG_AMD8111_ETH is not set | ||
1217 | # CONFIG_PCNET32 is not set | ||
1218 | CONFIG_NET_VENDOR_ARC=y | ||
1219 | # CONFIG_ARC_EMAC is not set | ||
1220 | CONFIG_NET_VENDOR_ATHEROS=y | ||
1221 | # CONFIG_ATL2 is not set | ||
1222 | # CONFIG_ATL1 is not set | ||
1223 | # CONFIG_ATL1E is not set | ||
1224 | # CONFIG_ATL1C is not set | ||
1225 | # CONFIG_ALX is not set | ||
1226 | CONFIG_NET_CADENCE=y | ||
1227 | # CONFIG_ARM_AT91_ETHER is not set | ||
1228 | # CONFIG_MACB is not set | ||
1229 | CONFIG_NET_VENDOR_BROADCOM=y | ||
1230 | # CONFIG_B44 is not set | ||
1231 | # CONFIG_BNX2 is not set | ||
1232 | # CONFIG_CNIC is not set | ||
1233 | # CONFIG_TIGON3 is not set | ||
1234 | # CONFIG_BNX2X is not set | ||
1235 | CONFIG_NET_VENDOR_BROCADE=y | ||
1236 | # CONFIG_BNA is not set | ||
1237 | # CONFIG_NET_CALXEDA_XGMAC is not set | ||
1238 | CONFIG_NET_VENDOR_CHELSIO=y | ||
1239 | # CONFIG_CHELSIO_T1 is not set | ||
1240 | # CONFIG_CHELSIO_T3 is not set | ||
1241 | # CONFIG_CHELSIO_T4 is not set | ||
1242 | # CONFIG_CHELSIO_T4VF is not set | ||
1243 | CONFIG_NET_VENDOR_CIRRUS=y | ||
1244 | # CONFIG_CS89x0 is not set | ||
1245 | CONFIG_NET_VENDOR_CISCO=y | ||
1246 | # CONFIG_ENIC is not set | ||
1247 | # CONFIG_DM9000 is not set | ||
1248 | # CONFIG_DNET is not set | ||
1249 | CONFIG_NET_VENDOR_DEC=y | ||
1250 | # CONFIG_NET_TULIP is not set | ||
1251 | CONFIG_NET_VENDOR_DLINK=y | ||
1252 | # CONFIG_DL2K is not set | ||
1253 | # CONFIG_SUNDANCE is not set | ||
1254 | CONFIG_NET_VENDOR_EMULEX=y | ||
1255 | # CONFIG_BE2NET is not set | ||
1256 | CONFIG_NET_VENDOR_EXAR=y | ||
1257 | # CONFIG_S2IO is not set | ||
1258 | # CONFIG_VXGE is not set | ||
1259 | CONFIG_NET_VENDOR_FARADAY=y | ||
1260 | # CONFIG_FTMAC100 is not set | ||
1261 | # CONFIG_FTGMAC100 is not set | ||
1262 | CONFIG_NET_VENDOR_FREESCALE=y | ||
1263 | CONFIG_FEC=y | ||
1264 | CONFIG_FSL_PQ_MDIO=y | ||
1265 | # CONFIG_FSL_XGMAC_MDIO is not set | ||
1266 | CONFIG_GIANFAR=y | ||
1267 | # CONFIG_FSL_GIANFAR_1588 is not set | ||
1268 | # CONFIG_GFAR_DBG_LOOP is not set | ||
1269 | |||
1270 | # | ||
1271 | # Frame Manager support | ||
1272 | # | ||
1273 | CONFIG_NET_VENDOR_HP=y | ||
1274 | # CONFIG_HP100 is not set | ||
1275 | CONFIG_NET_VENDOR_INTEL=y | ||
1276 | # CONFIG_E100 is not set | ||
1277 | # CONFIG_E1000 is not set | ||
1278 | CONFIG_E1000E=y | ||
1279 | # CONFIG_IGB is not set | ||
1280 | # CONFIG_IGBVF is not set | ||
1281 | # CONFIG_IXGB is not set | ||
1282 | # CONFIG_IXGBE is not set | ||
1283 | # CONFIG_IXGBEVF is not set | ||
1284 | # CONFIG_I40E is not set | ||
1285 | CONFIG_NET_VENDOR_I825XX=y | ||
1286 | # CONFIG_IP1000 is not set | ||
1287 | # CONFIG_JME is not set | ||
1288 | CONFIG_NET_VENDOR_MARVELL=y | ||
1289 | # CONFIG_MVMDIO is not set | ||
1290 | # CONFIG_SKGE is not set | ||
1291 | # CONFIG_SKY2 is not set | ||
1292 | CONFIG_NET_VENDOR_MELLANOX=y | ||
1293 | # CONFIG_MLX4_EN is not set | ||
1294 | # CONFIG_MLX4_CORE is not set | ||
1295 | CONFIG_NET_VENDOR_MICREL=y | ||
1296 | # CONFIG_KS8842 is not set | ||
1297 | # CONFIG_KS8851 is not set | ||
1298 | # CONFIG_KS8851_MLL is not set | ||
1299 | # CONFIG_KSZ884X_PCI is not set | ||
1300 | CONFIG_NET_VENDOR_MICROCHIP=y | ||
1301 | # CONFIG_ENC28J60 is not set | ||
1302 | CONFIG_NET_VENDOR_MYRI=y | ||
1303 | # CONFIG_MYRI10GE is not set | ||
1304 | # CONFIG_FEALNX is not set | ||
1305 | CONFIG_NET_VENDOR_NATSEMI=y | ||
1306 | # CONFIG_NATSEMI is not set | ||
1307 | # CONFIG_NS83820 is not set | ||
1308 | CONFIG_NET_VENDOR_8390=y | ||
1309 | # CONFIG_AX88796 is not set | ||
1310 | # CONFIG_NE2K_PCI is not set | ||
1311 | CONFIG_NET_VENDOR_NVIDIA=y | ||
1312 | # CONFIG_FORCEDETH is not set | ||
1313 | CONFIG_NET_VENDOR_OKI=y | ||
1314 | # CONFIG_ETHOC is not set | ||
1315 | CONFIG_NET_PACKET_ENGINE=y | ||
1316 | # CONFIG_HAMACHI is not set | ||
1317 | # CONFIG_YELLOWFIN is not set | ||
1318 | CONFIG_NET_VENDOR_QLOGIC=y | ||
1319 | # CONFIG_QLA3XXX is not set | ||
1320 | # CONFIG_QLCNIC is not set | ||
1321 | # CONFIG_QLGE is not set | ||
1322 | # CONFIG_NETXEN_NIC is not set | ||
1323 | CONFIG_NET_VENDOR_REALTEK=y | ||
1324 | # CONFIG_8139CP is not set | ||
1325 | # CONFIG_8139TOO is not set | ||
1326 | # CONFIG_R8169 is not set | ||
1327 | # CONFIG_SH_ETH is not set | ||
1328 | CONFIG_NET_VENDOR_RDC=y | ||
1329 | # CONFIG_R6040 is not set | ||
1330 | CONFIG_NET_VENDOR_SEEQ=y | ||
1331 | CONFIG_NET_VENDOR_SILAN=y | ||
1332 | # CONFIG_SC92031 is not set | ||
1333 | CONFIG_NET_VENDOR_SIS=y | ||
1334 | # CONFIG_SIS900 is not set | ||
1335 | # CONFIG_SIS190 is not set | ||
1336 | # CONFIG_SFC is not set | ||
1337 | CONFIG_NET_VENDOR_SMSC=y | ||
1338 | # CONFIG_SMC91X is not set | ||
1339 | # CONFIG_EPIC100 is not set | ||
1340 | # CONFIG_SMC911X is not set | ||
1341 | # CONFIG_SMSC911X is not set | ||
1342 | # CONFIG_SMSC9420 is not set | ||
1343 | CONFIG_NET_VENDOR_STMICRO=y | ||
1344 | # CONFIG_STMMAC_ETH is not set | ||
1345 | CONFIG_NET_VENDOR_SUN=y | ||
1346 | # CONFIG_HAPPYMEAL is not set | ||
1347 | # CONFIG_SUNGEM is not set | ||
1348 | # CONFIG_CASSINI is not set | ||
1349 | # CONFIG_NIU is not set | ||
1350 | CONFIG_NET_VENDOR_TEHUTI=y | ||
1351 | # CONFIG_TEHUTI is not set | ||
1352 | CONFIG_NET_VENDOR_TI=y | ||
1353 | # CONFIG_TLAN is not set | ||
1354 | CONFIG_NET_VENDOR_VIA=y | ||
1355 | # CONFIG_VIA_RHINE is not set | ||
1356 | # CONFIG_VIA_VELOCITY is not set | ||
1357 | CONFIG_NET_VENDOR_WIZNET=y | ||
1358 | # CONFIG_WIZNET_W5100 is not set | ||
1359 | # CONFIG_WIZNET_W5300 is not set | ||
1360 | # CONFIG_FDDI is not set | ||
1361 | # CONFIG_HIPPI is not set | ||
1362 | CONFIG_PHYLIB=y | ||
1363 | |||
1364 | # | ||
1365 | # MII PHY device drivers | ||
1366 | # | ||
1367 | # CONFIG_AT803X_PHY is not set | ||
1368 | # CONFIG_AMD_PHY is not set | ||
1369 | # CONFIG_ATHEROS_PHY is not set | ||
1370 | # CONFIG_MARVELL_PHY is not set | ||
1371 | # CONFIG_DAVICOM_PHY is not set | ||
1372 | # CONFIG_QSEMI_PHY is not set | ||
1373 | # CONFIG_LXT_PHY is not set | ||
1374 | # CONFIG_CICADA_PHY is not set | ||
1375 | CONFIG_VITESSE_PHY=y | ||
1376 | # CONFIG_SMSC_PHY is not set | ||
1377 | CONFIG_BROADCOM_PHY=y | ||
1378 | # CONFIG_BCM87XX_PHY is not set | ||
1379 | # CONFIG_ICPLUS_PHY is not set | ||
1380 | CONFIG_REALTEK_PHY=y | ||
1381 | CONFIG_NATIONAL_PHY=y | ||
1382 | # CONFIG_DP8384x_PHY is not set | ||
1383 | # CONFIG_STE10XP is not set | ||
1384 | # CONFIG_LSI_ET1011C_PHY is not set | ||
1385 | CONFIG_MICREL_PHY=y | ||
1386 | # CONFIG_FIXED_PHY is not set | ||
1387 | # CONFIG_MDIO_BITBANG is not set | ||
1388 | CONFIG_MDIO_BUS_MUX=y | ||
1389 | # CONFIG_MDIO_BUS_MUX_GPIO is not set | ||
1390 | CONFIG_MDIO_BUS_MUX_MMIOREG=y | ||
1391 | # CONFIG_FSL_10GBASE_KR is not set | ||
1392 | # CONFIG_MICREL_KS8995MA is not set | ||
1393 | # CONFIG_PPP is not set | ||
1394 | # CONFIG_SLIP is not set | ||
1395 | |||
1396 | # | ||
1397 | # USB Network Adapters | ||
1398 | # | ||
1399 | # CONFIG_USB_CATC is not set | ||
1400 | # CONFIG_USB_KAWETH is not set | ||
1401 | # CONFIG_USB_PEGASUS is not set | ||
1402 | # CONFIG_USB_RTL8150 is not set | ||
1403 | # CONFIG_USB_RTL8152 is not set | ||
1404 | # CONFIG_USB_USBNET is not set | ||
1405 | # CONFIG_USB_IPHETH is not set | ||
1406 | CONFIG_WLAN=y | ||
1407 | # CONFIG_ATMEL is not set | ||
1408 | # CONFIG_PRISM54 is not set | ||
1409 | # CONFIG_USB_ZD1201 is not set | ||
1410 | # CONFIG_HOSTAP is not set | ||
1411 | # CONFIG_WL_TI is not set | ||
1412 | |||
1413 | # | ||
1414 | # Enable WiMAX (Networking options) to see the WiMAX drivers | ||
1415 | # | ||
1416 | # CONFIG_WAN is not set | ||
1417 | # CONFIG_VMXNET3 is not set | ||
1418 | # CONFIG_ISDN is not set | ||
1419 | |||
1420 | # | ||
1421 | # Input device support | ||
1422 | # | ||
1423 | CONFIG_INPUT=y | ||
1424 | # CONFIG_INPUT_FF_MEMLESS is not set | ||
1425 | # CONFIG_INPUT_POLLDEV is not set | ||
1426 | # CONFIG_INPUT_SPARSEKMAP is not set | ||
1427 | # CONFIG_INPUT_MATRIXKMAP is not set | ||
1428 | |||
1429 | # | ||
1430 | # Userland interfaces | ||
1431 | # | ||
1432 | CONFIG_INPUT_MOUSEDEV=y | ||
1433 | CONFIG_INPUT_MOUSEDEV_PSAUX=y | ||
1434 | CONFIG_INPUT_MOUSEDEV_SCREEN_X=1024 | ||
1435 | CONFIG_INPUT_MOUSEDEV_SCREEN_Y=768 | ||
1436 | # CONFIG_INPUT_JOYDEV is not set | ||
1437 | CONFIG_INPUT_EVDEV=y | ||
1438 | # CONFIG_INPUT_EVBUG is not set | ||
1439 | |||
1440 | # | ||
1441 | # Input Device Drivers | ||
1442 | # | ||
1443 | CONFIG_INPUT_KEYBOARD=y | ||
1444 | # CONFIG_KEYBOARD_ADP5588 is not set | ||
1445 | # CONFIG_KEYBOARD_ADP5589 is not set | ||
1446 | CONFIG_KEYBOARD_ATKBD=y | ||
1447 | # CONFIG_KEYBOARD_QT1070 is not set | ||
1448 | # CONFIG_KEYBOARD_QT2160 is not set | ||
1449 | # CONFIG_KEYBOARD_LKKBD is not set | ||
1450 | # CONFIG_KEYBOARD_GPIO is not set | ||
1451 | # CONFIG_KEYBOARD_TCA6416 is not set | ||
1452 | # CONFIG_KEYBOARD_TCA8418 is not set | ||
1453 | # CONFIG_KEYBOARD_MATRIX is not set | ||
1454 | # CONFIG_KEYBOARD_LM8333 is not set | ||
1455 | # CONFIG_KEYBOARD_MAX7359 is not set | ||
1456 | # CONFIG_KEYBOARD_MCS is not set | ||
1457 | # CONFIG_KEYBOARD_MPR121 is not set | ||
1458 | # CONFIG_KEYBOARD_IMX is not set | ||
1459 | # CONFIG_KEYBOARD_NEWTON is not set | ||
1460 | # CONFIG_KEYBOARD_OPENCORES is not set | ||
1461 | # CONFIG_KEYBOARD_SAMSUNG is not set | ||
1462 | # CONFIG_KEYBOARD_STOWAWAY is not set | ||
1463 | # CONFIG_KEYBOARD_SUNKBD is not set | ||
1464 | # CONFIG_KEYBOARD_XTKBD is not set | ||
1465 | CONFIG_INPUT_MOUSE=y | ||
1466 | CONFIG_MOUSE_PS2=y | ||
1467 | CONFIG_MOUSE_PS2_ALPS=y | ||
1468 | CONFIG_MOUSE_PS2_LOGIPS2PP=y | ||
1469 | CONFIG_MOUSE_PS2_SYNAPTICS=y | ||
1470 | CONFIG_MOUSE_PS2_CYPRESS=y | ||
1471 | # CONFIG_MOUSE_PS2_TRACKPOINT is not set | ||
1472 | # CONFIG_MOUSE_PS2_ELANTECH is not set | ||
1473 | # CONFIG_MOUSE_PS2_SENTELIC is not set | ||
1474 | # CONFIG_MOUSE_PS2_TOUCHKIT is not set | ||
1475 | # CONFIG_MOUSE_SERIAL is not set | ||
1476 | # CONFIG_MOUSE_APPLETOUCH is not set | ||
1477 | # CONFIG_MOUSE_BCM5974 is not set | ||
1478 | # CONFIG_MOUSE_CYAPA is not set | ||
1479 | # CONFIG_MOUSE_VSXXXAA is not set | ||
1480 | # CONFIG_MOUSE_GPIO is not set | ||
1481 | # CONFIG_MOUSE_SYNAPTICS_I2C is not set | ||
1482 | # CONFIG_MOUSE_SYNAPTICS_USB is not set | ||
1483 | # CONFIG_INPUT_JOYSTICK is not set | ||
1484 | # CONFIG_INPUT_TABLET is not set | ||
1485 | # CONFIG_INPUT_TOUCHSCREEN is not set | ||
1486 | # CONFIG_INPUT_MISC is not set | ||
1487 | |||
1488 | # | ||
1489 | # Hardware I/O ports | ||
1490 | # | ||
1491 | CONFIG_SERIO=y | ||
1492 | CONFIG_SERIO_SERPORT=m | ||
1493 | # CONFIG_SERIO_PCIPS2 is not set | ||
1494 | CONFIG_SERIO_LIBPS2=y | ||
1495 | # CONFIG_SERIO_RAW is not set | ||
1496 | # CONFIG_SERIO_ALTERA_PS2 is not set | ||
1497 | # CONFIG_SERIO_PS2MULT is not set | ||
1498 | # CONFIG_SERIO_ARC_PS2 is not set | ||
1499 | # CONFIG_SERIO_APBPS2 is not set | ||
1500 | # CONFIG_SERIO_OLPC_APSP is not set | ||
1501 | # CONFIG_GAMEPORT is not set | ||
1502 | |||
1503 | # | ||
1504 | # Character devices | ||
1505 | # | ||
1506 | CONFIG_TTY=y | ||
1507 | CONFIG_VT=y | ||
1508 | # CONFIG_CONSOLE_TRANSLATIONS is not set | ||
1509 | CONFIG_VT_CONSOLE=y | ||
1510 | CONFIG_VT_CONSOLE_SLEEP=y | ||
1511 | CONFIG_HW_CONSOLE=y | ||
1512 | CONFIG_VT_HW_CONSOLE_BINDING=y | ||
1513 | CONFIG_UNIX98_PTYS=y | ||
1514 | # CONFIG_DEVPTS_MULTIPLE_INSTANCES is not set | ||
1515 | CONFIG_LEGACY_PTYS=y | ||
1516 | CONFIG_LEGACY_PTY_COUNT=256 | ||
1517 | # CONFIG_SERIAL_NONSTANDARD is not set | ||
1518 | # CONFIG_NOZOMI is not set | ||
1519 | # CONFIG_N_GSM is not set | ||
1520 | # CONFIG_TRACE_SINK is not set | ||
1521 | CONFIG_DEVKMEM=y | ||
1522 | |||
1523 | # | ||
1524 | # Serial drivers | ||
1525 | # | ||
1526 | CONFIG_SERIAL_8250=y | ||
1527 | # CONFIG_SERIAL_8250_DEPRECATED_OPTIONS is not set | ||
1528 | CONFIG_SERIAL_8250_CONSOLE=y | ||
1529 | CONFIG_SERIAL_8250_DMA=y | ||
1530 | CONFIG_SERIAL_8250_PCI=y | ||
1531 | CONFIG_SERIAL_8250_NR_UARTS=4 | ||
1532 | CONFIG_SERIAL_8250_RUNTIME_UARTS=4 | ||
1533 | CONFIG_SERIAL_8250_EXTENDED=y | ||
1534 | # CONFIG_SERIAL_8250_MANY_PORTS is not set | ||
1535 | CONFIG_SERIAL_8250_SHARE_IRQ=y | ||
1536 | # CONFIG_SERIAL_8250_DETECT_IRQ is not set | ||
1537 | # CONFIG_SERIAL_8250_RSA is not set | ||
1538 | # CONFIG_SERIAL_8250_DW is not set | ||
1539 | # CONFIG_SERIAL_8250_EM is not set | ||
1540 | |||
1541 | # | ||
1542 | # Non-8250 serial port support | ||
1543 | # | ||
1544 | # CONFIG_SERIAL_MAX3100 is not set | ||
1545 | # CONFIG_SERIAL_MAX310X is not set | ||
1546 | # CONFIG_SERIAL_MFD_HSU is not set | ||
1547 | # CONFIG_SERIAL_IMX is not set | ||
1548 | CONFIG_SERIAL_CORE=y | ||
1549 | CONFIG_SERIAL_CORE_CONSOLE=y | ||
1550 | # CONFIG_SERIAL_JSM is not set | ||
1551 | CONFIG_SERIAL_OF_PLATFORM=y | ||
1552 | # CONFIG_SERIAL_SCCNXP is not set | ||
1553 | # CONFIG_SERIAL_TIMBERDALE is not set | ||
1554 | # CONFIG_SERIAL_ALTERA_JTAGUART is not set | ||
1555 | # CONFIG_SERIAL_ALTERA_UART is not set | ||
1556 | # CONFIG_SERIAL_IFX6X60 is not set | ||
1557 | # CONFIG_SERIAL_PCH_UART is not set | ||
1558 | # CONFIG_SERIAL_XILINX_PS_UART is not set | ||
1559 | # CONFIG_SERIAL_ARC is not set | ||
1560 | # CONFIG_SERIAL_RP2 is not set | ||
1561 | CONFIG_SERIAL_FSL_LPUART=y | ||
1562 | CONFIG_SERIAL_FSL_LPUART_CONSOLE=y | ||
1563 | # CONFIG_SERIAL_ST_ASC is not set | ||
1564 | # CONFIG_TTY_PRINTK is not set | ||
1565 | # CONFIG_HVC_DCC is not set | ||
1566 | # CONFIG_IPMI_HANDLER is not set | ||
1567 | CONFIG_HW_RANDOM=y | ||
1568 | # CONFIG_HW_RANDOM_TIMERIOMEM is not set | ||
1569 | # CONFIG_HW_RANDOM_ATMEL is not set | ||
1570 | # CONFIG_HW_RANDOM_EXYNOS is not set | ||
1571 | # CONFIG_R3964 is not set | ||
1572 | # CONFIG_APPLICOM is not set | ||
1573 | # CONFIG_RAW_DRIVER is not set | ||
1574 | # CONFIG_TCG_TPM is not set | ||
1575 | CONFIG_DEVPORT=y | ||
1576 | CONFIG_I2C=y | ||
1577 | CONFIG_I2C_BOARDINFO=y | ||
1578 | CONFIG_I2C_COMPAT=y | ||
1579 | CONFIG_I2C_CHARDEV=y | ||
1580 | CONFIG_I2C_MUX=y | ||
1581 | |||
1582 | # | ||
1583 | # Multiplexer I2C Chip support | ||
1584 | # | ||
1585 | # CONFIG_I2C_ARB_GPIO_CHALLENGE is not set | ||
1586 | # CONFIG_I2C_MUX_GPIO is not set | ||
1587 | # CONFIG_I2C_MUX_PCA9541 is not set | ||
1588 | CONFIG_I2C_MUX_PCA954x=y | ||
1589 | CONFIG_I2C_HELPER_AUTO=y | ||
1590 | |||
1591 | # | ||
1592 | # I2C Hardware Bus support | ||
1593 | # | ||
1594 | |||
1595 | # | ||
1596 | # PC SMBus host controller drivers | ||
1597 | # | ||
1598 | # CONFIG_I2C_ALI1535 is not set | ||
1599 | # CONFIG_I2C_ALI1563 is not set | ||
1600 | # CONFIG_I2C_ALI15X3 is not set | ||
1601 | # CONFIG_I2C_AMD756 is not set | ||
1602 | # CONFIG_I2C_AMD8111 is not set | ||
1603 | # CONFIG_I2C_I801 is not set | ||
1604 | # CONFIG_I2C_ISCH is not set | ||
1605 | # CONFIG_I2C_PIIX4 is not set | ||
1606 | # CONFIG_I2C_NFORCE2 is not set | ||
1607 | # CONFIG_I2C_SIS5595 is not set | ||
1608 | # CONFIG_I2C_SIS630 is not set | ||
1609 | # CONFIG_I2C_SIS96X is not set | ||
1610 | # CONFIG_I2C_VIA is not set | ||
1611 | # CONFIG_I2C_VIAPRO is not set | ||
1612 | |||
1613 | # | ||
1614 | # I2C system bus drivers (mostly embedded / system-on-chip) | ||
1615 | # | ||
1616 | # CONFIG_I2C_CBUS_GPIO is not set | ||
1617 | # CONFIG_I2C_DESIGNWARE_PLATFORM is not set | ||
1618 | # CONFIG_I2C_DESIGNWARE_PCI is not set | ||
1619 | # CONFIG_I2C_EG20T is not set | ||
1620 | # CONFIG_I2C_GPIO is not set | ||
1621 | CONFIG_I2C_IMX=y | ||
1622 | # CONFIG_I2C_OCORES is not set | ||
1623 | # CONFIG_I2C_PCA_PLATFORM is not set | ||
1624 | # CONFIG_I2C_PXA_PCI is not set | ||
1625 | # CONFIG_I2C_SIMTEC is not set | ||
1626 | # CONFIG_I2C_XILINX is not set | ||
1627 | |||
1628 | # | ||
1629 | # External I2C/SMBus adapter drivers | ||
1630 | # | ||
1631 | # CONFIG_I2C_DIOLAN_U2C is not set | ||
1632 | # CONFIG_I2C_PARPORT_LIGHT is not set | ||
1633 | # CONFIG_I2C_TAOS_EVM is not set | ||
1634 | # CONFIG_I2C_TINY_USB is not set | ||
1635 | |||
1636 | # | ||
1637 | # Other I2C/SMBus bus drivers | ||
1638 | # | ||
1639 | # CONFIG_I2C_STUB is not set | ||
1640 | # CONFIG_I2C_DEBUG_CORE is not set | ||
1641 | # CONFIG_I2C_DEBUG_ALGO is not set | ||
1642 | # CONFIG_I2C_DEBUG_BUS is not set | ||
1643 | CONFIG_SPI=y | ||
1644 | # CONFIG_SPI_DEBUG is not set | ||
1645 | CONFIG_SPI_MASTER=y | ||
1646 | |||
1647 | # | ||
1648 | # SPI Master Controller Drivers | ||
1649 | # | ||
1650 | # CONFIG_SPI_ALTERA is not set | ||
1651 | CONFIG_SPI_BITBANG=y | ||
1652 | # CONFIG_SPI_GPIO is not set | ||
1653 | # CONFIG_SPI_IMX is not set | ||
1654 | # CONFIG_SPI_FSL_SPI is not set | ||
1655 | CONFIG_SPI_FSL_DSPI=y | ||
1656 | # CONFIG_SPI_FSL_ESPI is not set | ||
1657 | # CONFIG_SPI_OC_TINY is not set | ||
1658 | # CONFIG_SPI_PXA2XX is not set | ||
1659 | # CONFIG_SPI_PXA2XX_PCI is not set | ||
1660 | # CONFIG_SPI_SC18IS602 is not set | ||
1661 | # CONFIG_SPI_TOPCLIFF_PCH is not set | ||
1662 | # CONFIG_SPI_XCOMM is not set | ||
1663 | # CONFIG_SPI_XILINX is not set | ||
1664 | # CONFIG_SPI_DESIGNWARE is not set | ||
1665 | |||
1666 | # | ||
1667 | # SPI Protocol Masters | ||
1668 | # | ||
1669 | # CONFIG_SPI_SPIDEV is not set | ||
1670 | # CONFIG_SPI_TLE62X0 is not set | ||
1671 | # CONFIG_HSI is not set | ||
1672 | |||
1673 | # | ||
1674 | # PPS support | ||
1675 | # | ||
1676 | CONFIG_PPS=y | ||
1677 | # CONFIG_PPS_DEBUG is not set | ||
1678 | # CONFIG_NTP_PPS is not set | ||
1679 | |||
1680 | # | ||
1681 | # PPS clients support | ||
1682 | # | ||
1683 | # CONFIG_PPS_CLIENT_KTIMER is not set | ||
1684 | # CONFIG_PPS_CLIENT_LDISC is not set | ||
1685 | # CONFIG_PPS_CLIENT_GPIO is not set | ||
1686 | |||
1687 | # | ||
1688 | # PPS generators support | ||
1689 | # | ||
1690 | |||
1691 | # | ||
1692 | # PTP clock support | ||
1693 | # | ||
1694 | CONFIG_PTP_1588_CLOCK=y | ||
1695 | CONFIG_PTP_1588_CLOCK_GIANFAR=y | ||
1696 | |||
1697 | # | ||
1698 | # Enable PHYLIB and NETWORK_PHY_TIMESTAMPING to see the additional clocks. | ||
1699 | # | ||
1700 | CONFIG_ARCH_HAVE_CUSTOM_GPIO_H=y | ||
1701 | CONFIG_ARCH_REQUIRE_GPIOLIB=y | ||
1702 | CONFIG_GPIO_DEVRES=y | ||
1703 | CONFIG_GPIOLIB=y | ||
1704 | CONFIG_OF_GPIO=y | ||
1705 | # CONFIG_DEBUG_GPIO is not set | ||
1706 | CONFIG_GPIO_SYSFS=y | ||
1707 | |||
1708 | # | ||
1709 | # Memory mapped GPIO drivers: | ||
1710 | # | ||
1711 | # CONFIG_GPIO_GENERIC_PLATFORM is not set | ||
1712 | # CONFIG_GPIO_EM is not set | ||
1713 | CONFIG_GPIO_MPC8XXX=y | ||
1714 | # CONFIG_GPIO_RCAR is not set | ||
1715 | # CONFIG_GPIO_TS5500 is not set | ||
1716 | # CONFIG_GPIO_VX855 is not set | ||
1717 | # CONFIG_GPIO_GRGPIO is not set | ||
1718 | |||
1719 | # | ||
1720 | # I2C GPIO expanders: | ||
1721 | # | ||
1722 | # CONFIG_GPIO_MAX7300 is not set | ||
1723 | # CONFIG_GPIO_MAX732X is not set | ||
1724 | # CONFIG_GPIO_PCF857X is not set | ||
1725 | # CONFIG_GPIO_SX150X is not set | ||
1726 | # CONFIG_GPIO_ADP5588 is not set | ||
1727 | # CONFIG_GPIO_ADNP is not set | ||
1728 | |||
1729 | # | ||
1730 | # PCI GPIO expanders: | ||
1731 | # | ||
1732 | # CONFIG_GPIO_BT8XX is not set | ||
1733 | # CONFIG_GPIO_AMD8111 is not set | ||
1734 | # CONFIG_GPIO_ML_IOH is not set | ||
1735 | # CONFIG_GPIO_RDC321X is not set | ||
1736 | |||
1737 | # | ||
1738 | # SPI GPIO expanders: | ||
1739 | # | ||
1740 | # CONFIG_GPIO_MAX7301 is not set | ||
1741 | # CONFIG_GPIO_MCP23S08 is not set | ||
1742 | # CONFIG_GPIO_MC33880 is not set | ||
1743 | # CONFIG_GPIO_74X164 is not set | ||
1744 | |||
1745 | # | ||
1746 | # AC97 GPIO expanders: | ||
1747 | # | ||
1748 | |||
1749 | # | ||
1750 | # LPC GPIO expanders: | ||
1751 | # | ||
1752 | |||
1753 | # | ||
1754 | # MODULbus GPIO expanders: | ||
1755 | # | ||
1756 | |||
1757 | # | ||
1758 | # USB GPIO expanders: | ||
1759 | # | ||
1760 | # CONFIG_W1 is not set | ||
1761 | # CONFIG_POWER_SUPPLY is not set | ||
1762 | # CONFIG_POWER_AVS is not set | ||
1763 | CONFIG_HWMON=y | ||
1764 | # CONFIG_HWMON_VID is not set | ||
1765 | # CONFIG_HWMON_DEBUG_CHIP is not set | ||
1766 | |||
1767 | # | ||
1768 | # Native drivers | ||
1769 | # | ||
1770 | # CONFIG_SENSORS_AD7314 is not set | ||
1771 | # CONFIG_SENSORS_AD7414 is not set | ||
1772 | # CONFIG_SENSORS_AD7418 is not set | ||
1773 | # CONFIG_SENSORS_ADCXX is not set | ||
1774 | # CONFIG_SENSORS_ADM1021 is not set | ||
1775 | # CONFIG_SENSORS_ADM1025 is not set | ||
1776 | # CONFIG_SENSORS_ADM1026 is not set | ||
1777 | # CONFIG_SENSORS_ADM1029 is not set | ||
1778 | # CONFIG_SENSORS_ADM1031 is not set | ||
1779 | # CONFIG_SENSORS_ADM9240 is not set | ||
1780 | # CONFIG_SENSORS_ADT7310 is not set | ||
1781 | # CONFIG_SENSORS_ADT7410 is not set | ||
1782 | # CONFIG_SENSORS_ADT7411 is not set | ||
1783 | # CONFIG_SENSORS_ADT7462 is not set | ||
1784 | # CONFIG_SENSORS_ADT7470 is not set | ||
1785 | # CONFIG_SENSORS_ADT7475 is not set | ||
1786 | # CONFIG_SENSORS_ASC7621 is not set | ||
1787 | # CONFIG_SENSORS_ATXP1 is not set | ||
1788 | # CONFIG_SENSORS_DS620 is not set | ||
1789 | # CONFIG_SENSORS_DS1621 is not set | ||
1790 | # CONFIG_SENSORS_I5K_AMB is not set | ||
1791 | # CONFIG_SENSORS_F71805F is not set | ||
1792 | # CONFIG_SENSORS_F71882FG is not set | ||
1793 | # CONFIG_SENSORS_F75375S is not set | ||
1794 | # CONFIG_SENSORS_G760A is not set | ||
1795 | # CONFIG_SENSORS_G762 is not set | ||
1796 | # CONFIG_SENSORS_GL518SM is not set | ||
1797 | # CONFIG_SENSORS_GL520SM is not set | ||
1798 | # CONFIG_SENSORS_GPIO_FAN is not set | ||
1799 | # CONFIG_SENSORS_HIH6130 is not set | ||
1800 | # CONFIG_SENSORS_HTU21 is not set | ||
1801 | # CONFIG_SENSORS_IT87 is not set | ||
1802 | # CONFIG_SENSORS_JC42 is not set | ||
1803 | # CONFIG_SENSORS_LINEAGE is not set | ||
1804 | # CONFIG_SENSORS_LM63 is not set | ||
1805 | # CONFIG_SENSORS_LM70 is not set | ||
1806 | # CONFIG_SENSORS_LM73 is not set | ||
1807 | # CONFIG_SENSORS_LM75 is not set | ||
1808 | # CONFIG_SENSORS_LM77 is not set | ||
1809 | # CONFIG_SENSORS_LM78 is not set | ||
1810 | # CONFIG_SENSORS_LM80 is not set | ||
1811 | # CONFIG_SENSORS_LM83 is not set | ||
1812 | # CONFIG_SENSORS_LM85 is not set | ||
1813 | # CONFIG_SENSORS_LM87 is not set | ||
1814 | CONFIG_SENSORS_LM90=y | ||
1815 | # CONFIG_SENSORS_LM92 is not set | ||
1816 | # CONFIG_SENSORS_LM93 is not set | ||
1817 | CONFIG_SENSORS_LTC2945=y | ||
1818 | # CONFIG_SENSORS_LTC4151 is not set | ||
1819 | # CONFIG_SENSORS_LTC4215 is not set | ||
1820 | # CONFIG_SENSORS_LTC4245 is not set | ||
1821 | # CONFIG_SENSORS_LTC4261 is not set | ||
1822 | # CONFIG_SENSORS_LM95234 is not set | ||
1823 | # CONFIG_SENSORS_LM95241 is not set | ||
1824 | # CONFIG_SENSORS_LM95245 is not set | ||
1825 | # CONFIG_SENSORS_MAX1111 is not set | ||
1826 | # CONFIG_SENSORS_MAX16065 is not set | ||
1827 | # CONFIG_SENSORS_MAX1619 is not set | ||
1828 | # CONFIG_SENSORS_MAX1668 is not set | ||
1829 | # CONFIG_SENSORS_MAX197 is not set | ||
1830 | # CONFIG_SENSORS_MAX6639 is not set | ||
1831 | # CONFIG_SENSORS_MAX6642 is not set | ||
1832 | # CONFIG_SENSORS_MAX6650 is not set | ||
1833 | # CONFIG_SENSORS_MAX6697 is not set | ||
1834 | # CONFIG_SENSORS_MCP3021 is not set | ||
1835 | # CONFIG_SENSORS_NCT6775 is not set | ||
1836 | # CONFIG_SENSORS_NTC_THERMISTOR is not set | ||
1837 | # CONFIG_SENSORS_PC87360 is not set | ||
1838 | # CONFIG_SENSORS_PC87427 is not set | ||
1839 | # CONFIG_SENSORS_PCF8591 is not set | ||
1840 | # CONFIG_PMBUS is not set | ||
1841 | # CONFIG_SENSORS_SHT15 is not set | ||
1842 | # CONFIG_SENSORS_SHT21 is not set | ||
1843 | # CONFIG_SENSORS_SIS5595 is not set | ||
1844 | # CONFIG_SENSORS_SMM665 is not set | ||
1845 | # CONFIG_SENSORS_DME1737 is not set | ||
1846 | # CONFIG_SENSORS_EMC1403 is not set | ||
1847 | # CONFIG_SENSORS_EMC2103 is not set | ||
1848 | # CONFIG_SENSORS_EMC6W201 is not set | ||
1849 | # CONFIG_SENSORS_SMSC47M1 is not set | ||
1850 | # CONFIG_SENSORS_SMSC47M192 is not set | ||
1851 | # CONFIG_SENSORS_SMSC47B397 is not set | ||
1852 | # CONFIG_SENSORS_SCH56XX_COMMON is not set | ||
1853 | # CONFIG_SENSORS_SCH5627 is not set | ||
1854 | # CONFIG_SENSORS_SCH5636 is not set | ||
1855 | # CONFIG_SENSORS_ADS1015 is not set | ||
1856 | # CONFIG_SENSORS_ADS7828 is not set | ||
1857 | # CONFIG_SENSORS_ADS7871 is not set | ||
1858 | # CONFIG_SENSORS_AMC6821 is not set | ||
1859 | # CONFIG_SENSORS_INA209 is not set | ||
1860 | CONFIG_SENSORS_INA2XX=y | ||
1861 | # CONFIG_SENSORS_THMC50 is not set | ||
1862 | # CONFIG_SENSORS_TMP102 is not set | ||
1863 | # CONFIG_SENSORS_TMP401 is not set | ||
1864 | # CONFIG_SENSORS_TMP421 is not set | ||
1865 | # CONFIG_SENSORS_VIA686A is not set | ||
1866 | # CONFIG_SENSORS_VT1211 is not set | ||
1867 | # CONFIG_SENSORS_VT8231 is not set | ||
1868 | # CONFIG_SENSORS_W83781D is not set | ||
1869 | # CONFIG_SENSORS_W83791D is not set | ||
1870 | # CONFIG_SENSORS_W83792D is not set | ||
1871 | # CONFIG_SENSORS_W83793 is not set | ||
1872 | # CONFIG_SENSORS_W83795 is not set | ||
1873 | # CONFIG_SENSORS_W83L785TS is not set | ||
1874 | # CONFIG_SENSORS_W83L786NG is not set | ||
1875 | # CONFIG_SENSORS_W83627HF is not set | ||
1876 | # CONFIG_SENSORS_W83627EHF is not set | ||
1877 | # CONFIG_THERMAL is not set | ||
1878 | CONFIG_WATCHDOG=y | ||
1879 | CONFIG_WATCHDOG_CORE=y | ||
1880 | # CONFIG_WATCHDOG_NOWAYOUT is not set | ||
1881 | |||
1882 | # | ||
1883 | # Watchdog Device Drivers | ||
1884 | # | ||
1885 | # CONFIG_SOFT_WATCHDOG is not set | ||
1886 | # CONFIG_DW_WATCHDOG is not set | ||
1887 | # CONFIG_MAX63XX_WATCHDOG is not set | ||
1888 | CONFIG_IMX2_WDT=y | ||
1889 | # CONFIG_ALIM7101_WDT is not set | ||
1890 | # CONFIG_I6300ESB_WDT is not set | ||
1891 | # CONFIG_MEN_A21_WDT is not set | ||
1892 | |||
1893 | # | ||
1894 | # PCI-based Watchdog Cards | ||
1895 | # | ||
1896 | # CONFIG_PCIPCWATCHDOG is not set | ||
1897 | # CONFIG_WDTPCI is not set | ||
1898 | |||
1899 | # | ||
1900 | # USB-based Watchdog Cards | ||
1901 | # | ||
1902 | # CONFIG_USBPCWATCHDOG is not set | ||
1903 | CONFIG_SSB_POSSIBLE=y | ||
1904 | |||
1905 | # | ||
1906 | # Sonics Silicon Backplane | ||
1907 | # | ||
1908 | # CONFIG_SSB is not set | ||
1909 | CONFIG_BCMA_POSSIBLE=y | ||
1910 | |||
1911 | # | ||
1912 | # Broadcom specific AMBA | ||
1913 | # | ||
1914 | # CONFIG_BCMA is not set | ||
1915 | |||
1916 | # | ||
1917 | # Multifunction device drivers | ||
1918 | # | ||
1919 | # CONFIG_MFD_CORE is not set | ||
1920 | # CONFIG_MFD_AS3711 is not set | ||
1921 | # CONFIG_PMIC_ADP5520 is not set | ||
1922 | # CONFIG_MFD_AAT2870_CORE is not set | ||
1923 | # CONFIG_MFD_CROS_EC is not set | ||
1924 | # CONFIG_MFD_ASIC3 is not set | ||
1925 | # CONFIG_PMIC_DA903X is not set | ||
1926 | # CONFIG_MFD_DA9052_SPI is not set | ||
1927 | # CONFIG_MFD_DA9052_I2C is not set | ||
1928 | # CONFIG_MFD_DA9055 is not set | ||
1929 | # CONFIG_MFD_DA9063 is not set | ||
1930 | # CONFIG_MFD_MC13XXX_SPI is not set | ||
1931 | # CONFIG_MFD_MC13XXX_I2C is not set | ||
1932 | # CONFIG_HTC_EGPIO is not set | ||
1933 | # CONFIG_HTC_PASIC3 is not set | ||
1934 | # CONFIG_HTC_I2CPLD is not set | ||
1935 | # CONFIG_LPC_ICH is not set | ||
1936 | # CONFIG_LPC_SCH is not set | ||
1937 | # CONFIG_MFD_JANZ_CMODIO is not set | ||
1938 | # CONFIG_MFD_KEMPLD is not set | ||
1939 | # CONFIG_MFD_88PM800 is not set | ||
1940 | # CONFIG_MFD_88PM805 is not set | ||
1941 | # CONFIG_MFD_88PM860X is not set | ||
1942 | # CONFIG_MFD_MAX77686 is not set | ||
1943 | # CONFIG_MFD_MAX77693 is not set | ||
1944 | # CONFIG_MFD_MAX8907 is not set | ||
1945 | # CONFIG_MFD_MAX8925 is not set | ||
1946 | # CONFIG_MFD_MAX8997 is not set | ||
1947 | # CONFIG_MFD_MAX8998 is not set | ||
1948 | # CONFIG_EZX_PCAP is not set | ||
1949 | # CONFIG_MFD_VIPERBOARD is not set | ||
1950 | # CONFIG_MFD_RETU is not set | ||
1951 | # CONFIG_MFD_PCF50633 is not set | ||
1952 | # CONFIG_MFD_RDC321X is not set | ||
1953 | # CONFIG_MFD_RTSX_PCI is not set | ||
1954 | # CONFIG_MFD_RC5T583 is not set | ||
1955 | # CONFIG_MFD_SEC_CORE is not set | ||
1956 | # CONFIG_MFD_SI476X_CORE is not set | ||
1957 | # CONFIG_MFD_SM501 is not set | ||
1958 | # CONFIG_MFD_SMSC is not set | ||
1959 | # CONFIG_ABX500_CORE is not set | ||
1960 | # CONFIG_MFD_STMPE is not set | ||
1961 | CONFIG_MFD_SYSCON=y | ||
1962 | # CONFIG_MFD_TI_AM335X_TSCADC is not set | ||
1963 | # CONFIG_MFD_LP8788 is not set | ||
1964 | # CONFIG_MFD_PALMAS is not set | ||
1965 | # CONFIG_TPS6105X is not set | ||
1966 | # CONFIG_TPS65010 is not set | ||
1967 | # CONFIG_TPS6507X is not set | ||
1968 | # CONFIG_MFD_TPS65090 is not set | ||
1969 | # CONFIG_MFD_TPS65217 is not set | ||
1970 | # CONFIG_MFD_TPS6586X is not set | ||
1971 | # CONFIG_MFD_TPS65910 is not set | ||
1972 | # CONFIG_MFD_TPS65912 is not set | ||
1973 | # CONFIG_MFD_TPS65912_I2C is not set | ||
1974 | # CONFIG_MFD_TPS65912_SPI is not set | ||
1975 | # CONFIG_MFD_TPS80031 is not set | ||
1976 | # CONFIG_TWL4030_CORE is not set | ||
1977 | # CONFIG_TWL6040_CORE is not set | ||
1978 | # CONFIG_MFD_WL1273_CORE is not set | ||
1979 | # CONFIG_MFD_LM3533 is not set | ||
1980 | # CONFIG_MFD_TIMBERDALE is not set | ||
1981 | # CONFIG_MFD_TC3589X is not set | ||
1982 | # CONFIG_MFD_TMIO is not set | ||
1983 | # CONFIG_MFD_T7L66XB is not set | ||
1984 | # CONFIG_MFD_TC6387XB is not set | ||
1985 | # CONFIG_MFD_TC6393XB is not set | ||
1986 | # CONFIG_MFD_VX855 is not set | ||
1987 | # CONFIG_MFD_ARIZONA_I2C is not set | ||
1988 | # CONFIG_MFD_ARIZONA_SPI is not set | ||
1989 | # CONFIG_MFD_WM8400 is not set | ||
1990 | # CONFIG_MFD_WM831X_I2C is not set | ||
1991 | # CONFIG_MFD_WM831X_SPI is not set | ||
1992 | # CONFIG_MFD_WM8350_I2C is not set | ||
1993 | # CONFIG_MFD_WM8994 is not set | ||
1994 | # CONFIG_VEXPRESS_CONFIG is not set | ||
1995 | CONFIG_REGULATOR=y | ||
1996 | CONFIG_REGULATOR_DEBUG=y | ||
1997 | CONFIG_REGULATOR_DUMMY=y | ||
1998 | CONFIG_REGULATOR_FIXED_VOLTAGE=y | ||
1999 | # CONFIG_REGULATOR_VIRTUAL_CONSUMER is not set | ||
2000 | # CONFIG_REGULATOR_USERSPACE_CONSUMER is not set | ||
2001 | # CONFIG_REGULATOR_AD5398 is not set | ||
2002 | # CONFIG_REGULATOR_ANATOP is not set | ||
2003 | # CONFIG_REGULATOR_DA9210 is not set | ||
2004 | # CONFIG_REGULATOR_FAN53555 is not set | ||
2005 | # CONFIG_REGULATOR_GPIO is not set | ||
2006 | # CONFIG_REGULATOR_ISL6271A is not set | ||
2007 | # CONFIG_REGULATOR_LP3971 is not set | ||
2008 | # CONFIG_REGULATOR_LP3972 is not set | ||
2009 | # CONFIG_REGULATOR_LP872X is not set | ||
2010 | # CONFIG_REGULATOR_LP8755 is not set | ||
2011 | # CONFIG_REGULATOR_MAX1586 is not set | ||
2012 | # CONFIG_REGULATOR_MAX8649 is not set | ||
2013 | # CONFIG_REGULATOR_MAX8660 is not set | ||
2014 | # CONFIG_REGULATOR_MAX8952 is not set | ||
2015 | # CONFIG_REGULATOR_MAX8973 is not set | ||
2016 | # CONFIG_REGULATOR_PFUZE100 is not set | ||
2017 | # CONFIG_REGULATOR_TPS51632 is not set | ||
2018 | # CONFIG_REGULATOR_TPS62360 is not set | ||
2019 | # CONFIG_REGULATOR_TPS65023 is not set | ||
2020 | # CONFIG_REGULATOR_TPS6507X is not set | ||
2021 | # CONFIG_REGULATOR_TPS6524X is not set | ||
2022 | # CONFIG_MEDIA_SUPPORT is not set | ||
2023 | |||
2024 | # | ||
2025 | # Graphics support | ||
2026 | # | ||
2027 | CONFIG_VGA_ARB=y | ||
2028 | CONFIG_VGA_ARB_MAX_GPUS=16 | ||
2029 | # CONFIG_DRM is not set | ||
2030 | # CONFIG_TEGRA_HOST1X is not set | ||
2031 | # CONFIG_VGASTATE is not set | ||
2032 | # CONFIG_VIDEO_OUTPUT_CONTROL is not set | ||
2033 | CONFIG_VIDEOMODE_HELPERS=y | ||
2034 | CONFIG_FB=y | ||
2035 | # CONFIG_FIRMWARE_EDID is not set | ||
2036 | # CONFIG_FB_DDC is not set | ||
2037 | # CONFIG_FB_BOOT_VESA_SUPPORT is not set | ||
2038 | CONFIG_FB_CFB_FILLRECT=y | ||
2039 | CONFIG_FB_CFB_COPYAREA=y | ||
2040 | CONFIG_FB_CFB_IMAGEBLIT=y | ||
2041 | # CONFIG_FB_CFB_REV_PIXELS_IN_BYTE is not set | ||
2042 | # CONFIG_FB_SYS_FILLRECT is not set | ||
2043 | # CONFIG_FB_SYS_COPYAREA is not set | ||
2044 | # CONFIG_FB_SYS_IMAGEBLIT is not set | ||
2045 | # CONFIG_FB_FOREIGN_ENDIAN is not set | ||
2046 | # CONFIG_FB_SYS_FOPS is not set | ||
2047 | # CONFIG_FB_SVGALIB is not set | ||
2048 | # CONFIG_FB_MACMODES is not set | ||
2049 | # CONFIG_FB_BACKLIGHT is not set | ||
2050 | CONFIG_FB_MODE_HELPERS=y | ||
2051 | # CONFIG_FB_TILEBLITTING is not set | ||
2052 | |||
2053 | # | ||
2054 | # Frame buffer hardware drivers | ||
2055 | # | ||
2056 | # CONFIG_FB_CIRRUS is not set | ||
2057 | # CONFIG_FB_PM2 is not set | ||
2058 | # CONFIG_FB_CYBER2000 is not set | ||
2059 | # CONFIG_FB_ASILIANT is not set | ||
2060 | # CONFIG_FB_IMSTT is not set | ||
2061 | # CONFIG_FB_S1D13XXX is not set | ||
2062 | # CONFIG_FB_NVIDIA is not set | ||
2063 | # CONFIG_FB_RIVA is not set | ||
2064 | # CONFIG_FB_I740 is not set | ||
2065 | # CONFIG_FB_MATROX is not set | ||
2066 | # CONFIG_FB_RADEON is not set | ||
2067 | # CONFIG_FB_ATY128 is not set | ||
2068 | # CONFIG_FB_ATY is not set | ||
2069 | # CONFIG_FB_S3 is not set | ||
2070 | # CONFIG_FB_SAVAGE is not set | ||
2071 | # CONFIG_FB_SIS is not set | ||
2072 | # CONFIG_FB_NEOMAGIC is not set | ||
2073 | # CONFIG_FB_KYRO is not set | ||
2074 | # CONFIG_FB_3DFX is not set | ||
2075 | # CONFIG_FB_VOODOO1 is not set | ||
2076 | # CONFIG_FB_VT8623 is not set | ||
2077 | # CONFIG_FB_TRIDENT is not set | ||
2078 | # CONFIG_FB_ARK is not set | ||
2079 | # CONFIG_FB_PM3 is not set | ||
2080 | # CONFIG_FB_CARMINE is not set | ||
2081 | CONFIG_FB_FSL_SII902X=y | ||
2082 | CONFIG_FB_FSL_DCU=y | ||
2083 | # CONFIG_FB_FSL_DIU is not set | ||
2084 | # CONFIG_FB_SSD1289 is not set | ||
2085 | # CONFIG_FB_SMSCUFX is not set | ||
2086 | # CONFIG_FB_UDL is not set | ||
2087 | # CONFIG_FB_GOLDFISH is not set | ||
2088 | # CONFIG_FB_VIRTUAL is not set | ||
2089 | # CONFIG_FB_METRONOME is not set | ||
2090 | # CONFIG_FB_MB862XX is not set | ||
2091 | CONFIG_FB_MX3=y | ||
2092 | # CONFIG_FB_BROADSHEET is not set | ||
2093 | # CONFIG_FB_AUO_K190X is not set | ||
2094 | # CONFIG_FB_SIMPLE is not set | ||
2095 | # CONFIG_EXYNOS_VIDEO is not set | ||
2096 | # CONFIG_BACKLIGHT_LCD_SUPPORT is not set | ||
2097 | |||
2098 | # | ||
2099 | # Console display driver support | ||
2100 | # | ||
2101 | CONFIG_DUMMY_CONSOLE=y | ||
2102 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
2103 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
2104 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | ||
2105 | CONFIG_LOGO=y | ||
2106 | CONFIG_LOGO_LINUX_MONO=y | ||
2107 | CONFIG_LOGO_LINUX_VGA16=y | ||
2108 | CONFIG_LOGO_LINUX_CLUT224=y | ||
2109 | # CONFIG_FB_SSD1307 is not set | ||
2110 | CONFIG_SOUND=y | ||
2111 | CONFIG_SOUND_OSS_CORE=y | ||
2112 | CONFIG_SOUND_OSS_CORE_PRECLAIM=y | ||
2113 | CONFIG_SND=y | ||
2114 | CONFIG_SND_TIMER=y | ||
2115 | CONFIG_SND_PCM=y | ||
2116 | CONFIG_SND_DMAENGINE_PCM=y | ||
2117 | CONFIG_SND_COMPRESS_OFFLOAD=y | ||
2118 | CONFIG_SND_JACK=y | ||
2119 | # CONFIG_SND_SEQUENCER is not set | ||
2120 | CONFIG_SND_OSSEMUL=y | ||
2121 | CONFIG_SND_MIXER_OSS=y | ||
2122 | CONFIG_SND_PCM_OSS=y | ||
2123 | CONFIG_SND_PCM_OSS_PLUGINS=y | ||
2124 | # CONFIG_SND_HRTIMER is not set | ||
2125 | # CONFIG_SND_DYNAMIC_MINORS is not set | ||
2126 | CONFIG_SND_SUPPORT_OLD_API=y | ||
2127 | CONFIG_SND_VERBOSE_PROCFS=y | ||
2128 | # CONFIG_SND_VERBOSE_PRINTK is not set | ||
2129 | # CONFIG_SND_DEBUG is not set | ||
2130 | # CONFIG_SND_RAWMIDI_SEQ is not set | ||
2131 | # CONFIG_SND_OPL3_LIB_SEQ is not set | ||
2132 | # CONFIG_SND_OPL4_LIB_SEQ is not set | ||
2133 | # CONFIG_SND_SBAWE_SEQ is not set | ||
2134 | # CONFIG_SND_EMU10K1_SEQ is not set | ||
2135 | CONFIG_SND_DRIVERS=y | ||
2136 | # CONFIG_SND_DUMMY is not set | ||
2137 | # CONFIG_SND_ALOOP is not set | ||
2138 | # CONFIG_SND_MTPAV is not set | ||
2139 | # CONFIG_SND_SERIAL_U16550 is not set | ||
2140 | # CONFIG_SND_MPU401 is not set | ||
2141 | CONFIG_SND_PCI=y | ||
2142 | # CONFIG_SND_AD1889 is not set | ||
2143 | # CONFIG_SND_ALS300 is not set | ||
2144 | # CONFIG_SND_ALI5451 is not set | ||
2145 | # CONFIG_SND_ATIIXP is not set | ||
2146 | # CONFIG_SND_ATIIXP_MODEM is not set | ||
2147 | # CONFIG_SND_AU8810 is not set | ||
2148 | # CONFIG_SND_AU8820 is not set | ||
2149 | # CONFIG_SND_AU8830 is not set | ||
2150 | # CONFIG_SND_AW2 is not set | ||
2151 | # CONFIG_SND_AZT3328 is not set | ||
2152 | # CONFIG_SND_BT87X is not set | ||
2153 | # CONFIG_SND_CA0106 is not set | ||
2154 | # CONFIG_SND_CMIPCI is not set | ||
2155 | # CONFIG_SND_OXYGEN is not set | ||
2156 | # CONFIG_SND_CS4281 is not set | ||
2157 | # CONFIG_SND_CS46XX is not set | ||
2158 | # CONFIG_SND_CS5535AUDIO is not set | ||
2159 | # CONFIG_SND_CTXFI is not set | ||
2160 | # CONFIG_SND_DARLA20 is not set | ||
2161 | # CONFIG_SND_GINA20 is not set | ||
2162 | # CONFIG_SND_LAYLA20 is not set | ||
2163 | # CONFIG_SND_DARLA24 is not set | ||
2164 | # CONFIG_SND_GINA24 is not set | ||
2165 | # CONFIG_SND_LAYLA24 is not set | ||
2166 | # CONFIG_SND_MONA is not set | ||
2167 | # CONFIG_SND_MIA is not set | ||
2168 | # CONFIG_SND_ECHO3G is not set | ||
2169 | # CONFIG_SND_INDIGO is not set | ||
2170 | # CONFIG_SND_INDIGOIO is not set | ||
2171 | # CONFIG_SND_INDIGODJ is not set | ||
2172 | # CONFIG_SND_INDIGOIOX is not set | ||
2173 | # CONFIG_SND_INDIGODJX is not set | ||
2174 | # CONFIG_SND_EMU10K1 is not set | ||
2175 | # CONFIG_SND_EMU10K1X is not set | ||
2176 | # CONFIG_SND_ENS1370 is not set | ||
2177 | # CONFIG_SND_ENS1371 is not set | ||
2178 | # CONFIG_SND_ES1938 is not set | ||
2179 | # CONFIG_SND_ES1968 is not set | ||
2180 | # CONFIG_SND_FM801 is not set | ||
2181 | # CONFIG_SND_HDA_INTEL is not set | ||
2182 | # CONFIG_SND_HDSP is not set | ||
2183 | # CONFIG_SND_HDSPM is not set | ||
2184 | # CONFIG_SND_ICE1712 is not set | ||
2185 | # CONFIG_SND_ICE1724 is not set | ||
2186 | # CONFIG_SND_INTEL8X0 is not set | ||
2187 | # CONFIG_SND_INTEL8X0M is not set | ||
2188 | # CONFIG_SND_KORG1212 is not set | ||
2189 | # CONFIG_SND_LOLA is not set | ||
2190 | # CONFIG_SND_LX6464ES is not set | ||
2191 | # CONFIG_SND_MAESTRO3 is not set | ||
2192 | # CONFIG_SND_MIXART is not set | ||
2193 | # CONFIG_SND_NM256 is not set | ||
2194 | # CONFIG_SND_PCXHR is not set | ||
2195 | # CONFIG_SND_RIPTIDE is not set | ||
2196 | # CONFIG_SND_RME32 is not set | ||
2197 | # CONFIG_SND_RME96 is not set | ||
2198 | # CONFIG_SND_RME9652 is not set | ||
2199 | # CONFIG_SND_SONICVIBES is not set | ||
2200 | # CONFIG_SND_TRIDENT is not set | ||
2201 | # CONFIG_SND_VIA82XX is not set | ||
2202 | # CONFIG_SND_VIA82XX_MODEM is not set | ||
2203 | # CONFIG_SND_VIRTUOSO is not set | ||
2204 | # CONFIG_SND_VX222 is not set | ||
2205 | # CONFIG_SND_YMFPCI is not set | ||
2206 | CONFIG_SND_ARM=y | ||
2207 | CONFIG_SND_SPI=y | ||
2208 | CONFIG_SND_USB=y | ||
2209 | # CONFIG_SND_USB_AUDIO is not set | ||
2210 | # CONFIG_SND_USB_UA101 is not set | ||
2211 | # CONFIG_SND_USB_CAIAQ is not set | ||
2212 | # CONFIG_SND_USB_6FIRE is not set | ||
2213 | # CONFIG_SND_USB_HIFACE is not set | ||
2214 | CONFIG_SND_SOC=y | ||
2215 | CONFIG_SND_SOC_GENERIC_DMAENGINE_PCM=y | ||
2216 | # CONFIG_SND_ATMEL_SOC is not set | ||
2217 | # CONFIG_SND_DESIGNWARE_I2S is not set | ||
2218 | CONFIG_SND_SOC_FSL_SAI=y | ||
2219 | # CONFIG_SND_POWERPC_SOC is not set | ||
2220 | # CONFIG_SND_IMX_SOC is not set | ||
2221 | CONFIG_SND_VF610_SOC=y | ||
2222 | CONFIG_SND_SOC_VF610_SGTL5000=y | ||
2223 | CONFIG_SND_SOC_I2C_AND_SPI=y | ||
2224 | CONFIG_SND_SOC_SGTL5000=y | ||
2225 | # CONFIG_SND_SIMPLE_CARD is not set | ||
2226 | # CONFIG_SOUND_PRIME is not set | ||
2227 | |||
2228 | # | ||
2229 | # HID support | ||
2230 | # | ||
2231 | CONFIG_HID=y | ||
2232 | # CONFIG_HIDRAW is not set | ||
2233 | # CONFIG_UHID is not set | ||
2234 | CONFIG_HID_GENERIC=y | ||
2235 | |||
2236 | # | ||
2237 | # Special HID drivers | ||
2238 | # | ||
2239 | # CONFIG_HID_A4TECH is not set | ||
2240 | # CONFIG_HID_ACRUX is not set | ||
2241 | # CONFIG_HID_APPLE is not set | ||
2242 | # CONFIG_HID_APPLEIR is not set | ||
2243 | # CONFIG_HID_AUREAL is not set | ||
2244 | # CONFIG_HID_BELKIN is not set | ||
2245 | # CONFIG_HID_CHERRY is not set | ||
2246 | # CONFIG_HID_CHICONY is not set | ||
2247 | # CONFIG_HID_PRODIKEYS is not set | ||
2248 | # CONFIG_HID_CYPRESS is not set | ||
2249 | # CONFIG_HID_DRAGONRISE is not set | ||
2250 | # CONFIG_HID_EMS_FF is not set | ||
2251 | # CONFIG_HID_ELECOM is not set | ||
2252 | # CONFIG_HID_ELO is not set | ||
2253 | # CONFIG_HID_EZKEY is not set | ||
2254 | # CONFIG_HID_HOLTEK is not set | ||
2255 | # CONFIG_HID_HUION is not set | ||
2256 | # CONFIG_HID_KEYTOUCH is not set | ||
2257 | # CONFIG_HID_KYE is not set | ||
2258 | # CONFIG_HID_UCLOGIC is not set | ||
2259 | # CONFIG_HID_WALTOP is not set | ||
2260 | # CONFIG_HID_GYRATION is not set | ||
2261 | # CONFIG_HID_ICADE is not set | ||
2262 | # CONFIG_HID_TWINHAN is not set | ||
2263 | # CONFIG_HID_KENSINGTON is not set | ||
2264 | # CONFIG_HID_LCPOWER is not set | ||
2265 | # CONFIG_HID_LENOVO_TPKBD is not set | ||
2266 | # CONFIG_HID_LOGITECH is not set | ||
2267 | # CONFIG_HID_MAGICMOUSE is not set | ||
2268 | # CONFIG_HID_MICROSOFT is not set | ||
2269 | # CONFIG_HID_MONTEREY is not set | ||
2270 | # CONFIG_HID_MULTITOUCH is not set | ||
2271 | # CONFIG_HID_NTRIG is not set | ||
2272 | # CONFIG_HID_ORTEK is not set | ||
2273 | # CONFIG_HID_PANTHERLORD is not set | ||
2274 | # CONFIG_HID_PETALYNX is not set | ||
2275 | # CONFIG_HID_PICOLCD is not set | ||
2276 | # CONFIG_HID_PRIMAX is not set | ||
2277 | # CONFIG_HID_ROCCAT is not set | ||
2278 | # CONFIG_HID_SAITEK is not set | ||
2279 | # CONFIG_HID_SAMSUNG is not set | ||
2280 | # CONFIG_HID_SPEEDLINK is not set | ||
2281 | # CONFIG_HID_STEELSERIES is not set | ||
2282 | # CONFIG_HID_SUNPLUS is not set | ||
2283 | # CONFIG_HID_GREENASIA is not set | ||
2284 | # CONFIG_HID_SMARTJOYPLUS is not set | ||
2285 | # CONFIG_HID_TIVO is not set | ||
2286 | # CONFIG_HID_TOPSEED is not set | ||
2287 | # CONFIG_HID_THRUSTMASTER is not set | ||
2288 | # CONFIG_HID_XINMO is not set | ||
2289 | # CONFIG_HID_ZEROPLUS is not set | ||
2290 | # CONFIG_HID_ZYDACRON is not set | ||
2291 | # CONFIG_HID_SENSOR_HUB is not set | ||
2292 | |||
2293 | # | ||
2294 | # USB HID support | ||
2295 | # | ||
2296 | CONFIG_USB_HID=y | ||
2297 | # CONFIG_HID_PID is not set | ||
2298 | # CONFIG_USB_HIDDEV is not set | ||
2299 | |||
2300 | # | ||
2301 | # I2C HID support | ||
2302 | # | ||
2303 | # CONFIG_I2C_HID is not set | ||
2304 | CONFIG_USB_OHCI_LITTLE_ENDIAN=y | ||
2305 | CONFIG_USB_SUPPORT=y | ||
2306 | CONFIG_USB_COMMON=y | ||
2307 | CONFIG_USB_ARCH_HAS_HCD=y | ||
2308 | CONFIG_USB=y | ||
2309 | # CONFIG_USB_DEBUG is not set | ||
2310 | # CONFIG_USB_ANNOUNCE_NEW_DEVICES is not set | ||
2311 | |||
2312 | # | ||
2313 | # Miscellaneous USB options | ||
2314 | # | ||
2315 | CONFIG_USB_DEFAULT_PERSIST=y | ||
2316 | # CONFIG_USB_DYNAMIC_MINORS is not set | ||
2317 | # CONFIG_USB_OTG_WHITELIST is not set | ||
2318 | # CONFIG_USB_OTG_BLACKLIST_HUB is not set | ||
2319 | # CONFIG_USB_MON is not set | ||
2320 | # CONFIG_USB_WUSB_CBAF is not set | ||
2321 | |||
2322 | # | ||
2323 | # USB Host Controller Drivers | ||
2324 | # | ||
2325 | # CONFIG_USB_C67X00_HCD is not set | ||
2326 | CONFIG_USB_XHCI_HCD=y | ||
2327 | CONFIG_USB_XHCI_PLATFORM=y | ||
2328 | # CONFIG_USB_EHCI_HCD is not set | ||
2329 | # CONFIG_USB_OXU210HP_HCD is not set | ||
2330 | # CONFIG_USB_ISP116X_HCD is not set | ||
2331 | # CONFIG_USB_ISP1760_HCD is not set | ||
2332 | # CONFIG_USB_ISP1362_HCD is not set | ||
2333 | # CONFIG_USB_FUSBH200_HCD is not set | ||
2334 | # CONFIG_USB_FOTG210_HCD is not set | ||
2335 | # CONFIG_USB_OHCI_HCD is not set | ||
2336 | # CONFIG_USB_UHCI_HCD is not set | ||
2337 | # CONFIG_USB_SL811_HCD is not set | ||
2338 | # CONFIG_USB_R8A66597_HCD is not set | ||
2339 | # CONFIG_USB_IMX21_HCD is not set | ||
2340 | # CONFIG_USB_HCD_TEST_MODE is not set | ||
2341 | |||
2342 | # | ||
2343 | # USB Device Class drivers | ||
2344 | # | ||
2345 | # CONFIG_USB_ACM is not set | ||
2346 | # CONFIG_USB_PRINTER is not set | ||
2347 | # CONFIG_USB_WDM is not set | ||
2348 | # CONFIG_USB_TMC is not set | ||
2349 | |||
2350 | # | ||
2351 | # NOTE: USB_STORAGE depends on SCSI but BLK_DEV_SD may | ||
2352 | # | ||
2353 | |||
2354 | # | ||
2355 | # also be needed; see USB_STORAGE Help for more info | ||
2356 | # | ||
2357 | CONFIG_USB_STORAGE=y | ||
2358 | # CONFIG_USB_STORAGE_DEBUG is not set | ||
2359 | # CONFIG_USB_STORAGE_REALTEK is not set | ||
2360 | # CONFIG_USB_STORAGE_DATAFAB is not set | ||
2361 | # CONFIG_USB_STORAGE_FREECOM is not set | ||
2362 | # CONFIG_USB_STORAGE_ISD200 is not set | ||
2363 | # CONFIG_USB_STORAGE_USBAT is not set | ||
2364 | # CONFIG_USB_STORAGE_SDDR09 is not set | ||
2365 | # CONFIG_USB_STORAGE_SDDR55 is not set | ||
2366 | # CONFIG_USB_STORAGE_JUMPSHOT is not set | ||
2367 | # CONFIG_USB_STORAGE_ALAUDA is not set | ||
2368 | # CONFIG_USB_STORAGE_ONETOUCH is not set | ||
2369 | # CONFIG_USB_STORAGE_KARMA is not set | ||
2370 | # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set | ||
2371 | # CONFIG_USB_STORAGE_ENE_UB6250 is not set | ||
2372 | |||
2373 | # | ||
2374 | # USB Imaging devices | ||
2375 | # | ||
2376 | # CONFIG_USB_MDC800 is not set | ||
2377 | # CONFIG_USB_MICROTEK is not set | ||
2378 | CONFIG_USB_DWC3=y | ||
2379 | CONFIG_USB_DWC3_HOST=y | ||
2380 | |||
2381 | # | ||
2382 | # Platform Glue Driver Support | ||
2383 | # | ||
2384 | # CONFIG_USB_DWC3_EXYNOS is not set | ||
2385 | # CONFIG_USB_DWC3_PCI is not set | ||
2386 | |||
2387 | # | ||
2388 | # Debugging features | ||
2389 | # | ||
2390 | # CONFIG_USB_DWC3_DEBUG is not set | ||
2391 | |||
2392 | # | ||
2393 | # USB port drivers | ||
2394 | # | ||
2395 | # CONFIG_USB_SERIAL is not set | ||
2396 | |||
2397 | # | ||
2398 | # USB Miscellaneous drivers | ||
2399 | # | ||
2400 | # CONFIG_USB_EMI62 is not set | ||
2401 | # CONFIG_USB_EMI26 is not set | ||
2402 | # CONFIG_USB_ADUTUX is not set | ||
2403 | # CONFIG_USB_SEVSEG is not set | ||
2404 | # CONFIG_USB_RIO500 is not set | ||
2405 | # CONFIG_USB_LEGOTOWER is not set | ||
2406 | # CONFIG_USB_LCD is not set | ||
2407 | # CONFIG_USB_LED is not set | ||
2408 | # CONFIG_USB_CYPRESS_CY7C63 is not set | ||
2409 | # CONFIG_USB_CYTHERM is not set | ||
2410 | # CONFIG_USB_IDMOUSE is not set | ||
2411 | # CONFIG_USB_FTDI_ELAN is not set | ||
2412 | # CONFIG_USB_APPLEDISPLAY is not set | ||
2413 | # CONFIG_USB_LD is not set | ||
2414 | # CONFIG_USB_TRANCEVIBRATOR is not set | ||
2415 | # CONFIG_USB_IOWARRIOR is not set | ||
2416 | # CONFIG_USB_TEST is not set | ||
2417 | # CONFIG_USB_EHSET_TEST_FIXTURE is not set | ||
2418 | # CONFIG_USB_ISIGHTFW is not set | ||
2419 | # CONFIG_USB_YUREX is not set | ||
2420 | # CONFIG_USB_EZUSB_FX2 is not set | ||
2421 | # CONFIG_USB_HSIC_USB3503 is not set | ||
2422 | |||
2423 | # | ||
2424 | # USB Physical Layer drivers | ||
2425 | # | ||
2426 | # CONFIG_USB_PHY is not set | ||
2427 | # CONFIG_NOP_USB_XCEIV is not set | ||
2428 | # CONFIG_AM335X_PHY_USB is not set | ||
2429 | # CONFIG_SAMSUNG_USB2PHY is not set | ||
2430 | # CONFIG_SAMSUNG_USB3PHY is not set | ||
2431 | # CONFIG_USB_GPIO_VBUS is not set | ||
2432 | # CONFIG_USB_ISP1301 is not set | ||
2433 | # CONFIG_USB_MXS_PHY is not set | ||
2434 | # CONFIG_USB_RCAR_PHY is not set | ||
2435 | # CONFIG_USB_ULPI is not set | ||
2436 | # CONFIG_USB_GADGET is not set | ||
2437 | # CONFIG_UWB is not set | ||
2438 | CONFIG_MMC=y | ||
2439 | # CONFIG_MMC_DEBUG is not set | ||
2440 | # CONFIG_MMC_UNSAFE_RESUME is not set | ||
2441 | # CONFIG_MMC_CLKGATE is not set | ||
2442 | |||
2443 | # | ||
2444 | # MMC/SD/SDIO Card Drivers | ||
2445 | # | ||
2446 | CONFIG_MMC_BLOCK=y | ||
2447 | CONFIG_MMC_BLOCK_MINORS=8 | ||
2448 | CONFIG_MMC_BLOCK_BOUNCE=y | ||
2449 | # CONFIG_SDIO_UART is not set | ||
2450 | # CONFIG_MMC_TEST is not set | ||
2451 | |||
2452 | # | ||
2453 | # MMC/SD/SDIO Host Controller Drivers | ||
2454 | # | ||
2455 | CONFIG_MMC_SDHCI=y | ||
2456 | CONFIG_MMC_SDHCI_IO_ACCESSORS=y | ||
2457 | CONFIG_MMC_SDHCI_BIG_ENDIAN_32BIT_BYTE_SWAPPER=y | ||
2458 | # CONFIG_MMC_SDHCI_PCI is not set | ||
2459 | CONFIG_MMC_SDHCI_PLTFM=y | ||
2460 | CONFIG_MMC_SDHCI_OF_ESDHC=y | ||
2461 | # CONFIG_MMC_SDHCI_ESDHC_IMX is not set | ||
2462 | # CONFIG_MMC_SDHCI_PXAV3 is not set | ||
2463 | # CONFIG_MMC_SDHCI_PXAV2 is not set | ||
2464 | # CONFIG_MMC_MXC is not set | ||
2465 | # CONFIG_MMC_TIFM_SD is not set | ||
2466 | # CONFIG_MMC_CB710 is not set | ||
2467 | # CONFIG_MMC_VIA_SDMMC is not set | ||
2468 | # CONFIG_MMC_DW is not set | ||
2469 | # CONFIG_MMC_VUB300 is not set | ||
2470 | # CONFIG_MMC_USHC is not set | ||
2471 | # CONFIG_MEMSTICK is not set | ||
2472 | # CONFIG_NEW_LEDS is not set | ||
2473 | # CONFIG_ACCESSIBILITY is not set | ||
2474 | # CONFIG_INFINIBAND is not set | ||
2475 | # CONFIG_EDAC is not set | ||
2476 | CONFIG_RTC_LIB=y | ||
2477 | CONFIG_RTC_CLASS=y | ||
2478 | CONFIG_RTC_HCTOSYS=y | ||
2479 | CONFIG_RTC_SYSTOHC=y | ||
2480 | CONFIG_RTC_HCTOSYS_DEVICE="rtc0" | ||
2481 | # CONFIG_RTC_DEBUG is not set | ||
2482 | |||
2483 | # | ||
2484 | # RTC interfaces | ||
2485 | # | ||
2486 | CONFIG_RTC_INTF_SYSFS=y | ||
2487 | CONFIG_RTC_INTF_PROC=y | ||
2488 | CONFIG_RTC_INTF_DEV=y | ||
2489 | # CONFIG_RTC_INTF_DEV_UIE_EMUL is not set | ||
2490 | # CONFIG_RTC_DRV_TEST is not set | ||
2491 | |||
2492 | # | ||
2493 | # I2C RTC drivers | ||
2494 | # | ||
2495 | # CONFIG_RTC_DRV_DS1307 is not set | ||
2496 | # CONFIG_RTC_DRV_DS1374 is not set | ||
2497 | # CONFIG_RTC_DRV_DS1672 is not set | ||
2498 | CONFIG_RTC_DRV_DS3232=y | ||
2499 | # CONFIG_RTC_DRV_MAX6900 is not set | ||
2500 | # CONFIG_RTC_DRV_RS5C372 is not set | ||
2501 | # CONFIG_RTC_DRV_ISL1208 is not set | ||
2502 | # CONFIG_RTC_DRV_ISL12022 is not set | ||
2503 | # CONFIG_RTC_DRV_X1205 is not set | ||
2504 | # CONFIG_RTC_DRV_PCF2127 is not set | ||
2505 | # CONFIG_RTC_DRV_PCF8523 is not set | ||
2506 | # CONFIG_RTC_DRV_PCF8563 is not set | ||
2507 | # CONFIG_RTC_DRV_PCF8583 is not set | ||
2508 | # CONFIG_RTC_DRV_M41T80 is not set | ||
2509 | # CONFIG_RTC_DRV_BQ32K is not set | ||
2510 | # CONFIG_RTC_DRV_S35390A is not set | ||
2511 | # CONFIG_RTC_DRV_FM3130 is not set | ||
2512 | # CONFIG_RTC_DRV_RX8581 is not set | ||
2513 | # CONFIG_RTC_DRV_RX8025 is not set | ||
2514 | # CONFIG_RTC_DRV_EM3027 is not set | ||
2515 | # CONFIG_RTC_DRV_RV3029C2 is not set | ||
2516 | |||
2517 | # | ||
2518 | # SPI RTC drivers | ||
2519 | # | ||
2520 | # CONFIG_RTC_DRV_M41T93 is not set | ||
2521 | # CONFIG_RTC_DRV_M41T94 is not set | ||
2522 | # CONFIG_RTC_DRV_DS1305 is not set | ||
2523 | # CONFIG_RTC_DRV_DS1390 is not set | ||
2524 | # CONFIG_RTC_DRV_MAX6902 is not set | ||
2525 | # CONFIG_RTC_DRV_R9701 is not set | ||
2526 | # CONFIG_RTC_DRV_RS5C348 is not set | ||
2527 | # CONFIG_RTC_DRV_DS3234 is not set | ||
2528 | # CONFIG_RTC_DRV_PCF2123 is not set | ||
2529 | # CONFIG_RTC_DRV_RX4581 is not set | ||
2530 | |||
2531 | # | ||
2532 | # Platform RTC drivers | ||
2533 | # | ||
2534 | # CONFIG_RTC_DRV_CMOS is not set | ||
2535 | # CONFIG_RTC_DRV_DS1286 is not set | ||
2536 | # CONFIG_RTC_DRV_DS1511 is not set | ||
2537 | # CONFIG_RTC_DRV_DS1553 is not set | ||
2538 | # CONFIG_RTC_DRV_DS1742 is not set | ||
2539 | # CONFIG_RTC_DRV_STK17TA8 is not set | ||
2540 | # CONFIG_RTC_DRV_M48T86 is not set | ||
2541 | # CONFIG_RTC_DRV_M48T35 is not set | ||
2542 | # CONFIG_RTC_DRV_M48T59 is not set | ||
2543 | # CONFIG_RTC_DRV_MSM6242 is not set | ||
2544 | # CONFIG_RTC_DRV_BQ4802 is not set | ||
2545 | # CONFIG_RTC_DRV_RP5C01 is not set | ||
2546 | # CONFIG_RTC_DRV_V3020 is not set | ||
2547 | # CONFIG_RTC_DRV_DS2404 is not set | ||
2548 | |||
2549 | # | ||
2550 | # on-CPU RTC drivers | ||
2551 | # | ||
2552 | # CONFIG_RTC_DRV_IMXDI is not set | ||
2553 | # CONFIG_RTC_DRV_MXC is not set | ||
2554 | # CONFIG_RTC_DRV_SNVS is not set | ||
2555 | # CONFIG_RTC_DRV_MOXART is not set | ||
2556 | |||
2557 | # | ||
2558 | # HID Sensor RTC drivers | ||
2559 | # | ||
2560 | # CONFIG_RTC_DRV_HID_SENSOR_TIME is not set | ||
2561 | CONFIG_DMADEVICES=y | ||
2562 | # CONFIG_DMADEVICES_DEBUG is not set | ||
2563 | |||
2564 | # | ||
2565 | # DMA Devices | ||
2566 | # | ||
2567 | # CONFIG_DW_DMAC_CORE is not set | ||
2568 | # CONFIG_DW_DMAC is not set | ||
2569 | # CONFIG_DW_DMAC_PCI is not set | ||
2570 | # CONFIG_FSL_DMA is not set | ||
2571 | CONFIG_MX3_IPU=y | ||
2572 | CONFIG_MX3_IPU_IRQS=4 | ||
2573 | # CONFIG_TIMB_DMA is not set | ||
2574 | # CONFIG_IMX_SDMA is not set | ||
2575 | # CONFIG_IMX_DMA is not set | ||
2576 | # CONFIG_FSL_RAID is not set | ||
2577 | CONFIG_FSL_EDMA=y | ||
2578 | CONFIG_DMA_ENGINE=y | ||
2579 | CONFIG_DMA_VIRTUAL_CHANNELS=y | ||
2580 | CONFIG_DMA_OF=y | ||
2581 | |||
2582 | # | ||
2583 | # DMA Clients | ||
2584 | # | ||
2585 | # CONFIG_ASYNC_TX_DMA is not set | ||
2586 | # CONFIG_DMATEST is not set | ||
2587 | # CONFIG_AUXDISPLAY is not set | ||
2588 | # CONFIG_UIO is not set | ||
2589 | # CONFIG_VIRT_DRIVERS is not set | ||
2590 | |||
2591 | # | ||
2592 | # Virtio drivers | ||
2593 | # | ||
2594 | # CONFIG_VIRTIO_PCI is not set | ||
2595 | # CONFIG_VIRTIO_MMIO is not set | ||
2596 | |||
2597 | # | ||
2598 | # Microsoft Hyper-V guest support | ||
2599 | # | ||
2600 | # CONFIG_STAGING is not set | ||
2601 | CONFIG_FSL_SLEEP_FSM=y | ||
2602 | |||
2603 | # | ||
2604 | # SOC (System On Chip) specific Drivers | ||
2605 | # | ||
2606 | CONFIG_FSL_SOC_DRIVERS=y | ||
2607 | CONFIG_LS1_SOC_DRIVERS=y | ||
2608 | CONFIG_FTM_ALARM=y | ||
2609 | # CONFIG_FSL_QIXIS is not set | ||
2610 | # CONFIG_QUICC_ENGINE is not set | ||
2611 | CONFIG_CLKDEV_LOOKUP=y | ||
2612 | CONFIG_HAVE_CLK_PREPARE=y | ||
2613 | CONFIG_COMMON_CLK=y | ||
2614 | |||
2615 | # | ||
2616 | # Common Clock Framework | ||
2617 | # | ||
2618 | # CONFIG_COMMON_CLK_DEBUG is not set | ||
2619 | # CONFIG_COMMON_CLK_SI5351 is not set | ||
2620 | CONFIG_CLK_QORIQ=y | ||
2621 | |||
2622 | # | ||
2623 | # Hardware Spinlock drivers | ||
2624 | # | ||
2625 | CONFIG_CLKSRC_OF=y | ||
2626 | CONFIG_CLKSRC_MMIO=y | ||
2627 | CONFIG_ARM_ARCH_TIMER=y | ||
2628 | # CONFIG_MAILBOX is not set | ||
2629 | # CONFIG_IOMMU_SUPPORT is not set | ||
2630 | |||
2631 | # | ||
2632 | # Remoteproc drivers | ||
2633 | # | ||
2634 | # CONFIG_STE_MODEM_RPROC is not set | ||
2635 | |||
2636 | # | ||
2637 | # Rpmsg drivers | ||
2638 | # | ||
2639 | # CONFIG_PM_DEVFREQ is not set | ||
2640 | # CONFIG_EXTCON is not set | ||
2641 | CONFIG_MEMORY=y | ||
2642 | CONFIG_FSL_IFC=y | ||
2643 | # CONFIG_IIO is not set | ||
2644 | # CONFIG_VME_BUS is not set | ||
2645 | CONFIG_PWM=y | ||
2646 | CONFIG_PWM_SYSFS=y | ||
2647 | CONFIG_PWM_FSL_FTM=y | ||
2648 | # CONFIG_PWM_IMX is not set | ||
2649 | # CONFIG_PWM_PCA9685 is not set | ||
2650 | CONFIG_IRQCHIP=y | ||
2651 | CONFIG_ARM_GIC=y | ||
2652 | # CONFIG_IPACK_BUS is not set | ||
2653 | CONFIG_ARCH_HAS_RESET_CONTROLLER=y | ||
2654 | # CONFIG_RESET_CONTROLLER is not set | ||
2655 | # CONFIG_FMC is not set | ||
2656 | # CONFIG_TDM is not set | ||
2657 | |||
2658 | # | ||
2659 | # File systems | ||
2660 | # | ||
2661 | CONFIG_DCACHE_WORD_ACCESS=y | ||
2662 | CONFIG_EXT2_FS=y | ||
2663 | CONFIG_EXT2_FS_XATTR=y | ||
2664 | # CONFIG_EXT2_FS_POSIX_ACL is not set | ||
2665 | # CONFIG_EXT2_FS_SECURITY is not set | ||
2666 | # CONFIG_EXT2_FS_XIP is not set | ||
2667 | CONFIG_EXT3_FS=y | ||
2668 | CONFIG_EXT3_DEFAULTS_TO_ORDERED=y | ||
2669 | CONFIG_EXT3_FS_XATTR=y | ||
2670 | # CONFIG_EXT3_FS_POSIX_ACL is not set | ||
2671 | # CONFIG_EXT3_FS_SECURITY is not set | ||
2672 | CONFIG_EXT4_FS=y | ||
2673 | # CONFIG_EXT4_FS_POSIX_ACL is not set | ||
2674 | # CONFIG_EXT4_FS_SECURITY is not set | ||
2675 | # CONFIG_EXT4_DEBUG is not set | ||
2676 | CONFIG_JBD=y | ||
2677 | # CONFIG_JBD_DEBUG is not set | ||
2678 | CONFIG_JBD2=y | ||
2679 | # CONFIG_JBD2_DEBUG is not set | ||
2680 | CONFIG_FS_MBCACHE=y | ||
2681 | # CONFIG_REISERFS_FS is not set | ||
2682 | # CONFIG_JFS_FS is not set | ||
2683 | # CONFIG_XFS_FS is not set | ||
2684 | # CONFIG_GFS2_FS is not set | ||
2685 | # CONFIG_OCFS2_FS is not set | ||
2686 | # CONFIG_BTRFS_FS is not set | ||
2687 | # CONFIG_NILFS2_FS is not set | ||
2688 | CONFIG_FS_POSIX_ACL=y | ||
2689 | CONFIG_FILE_LOCKING=y | ||
2690 | CONFIG_FSNOTIFY=y | ||
2691 | CONFIG_DNOTIFY=y | ||
2692 | CONFIG_INOTIFY_USER=y | ||
2693 | CONFIG_FANOTIFY=y | ||
2694 | # CONFIG_QUOTA is not set | ||
2695 | # CONFIG_QUOTACTL is not set | ||
2696 | # CONFIG_AUTOFS4_FS is not set | ||
2697 | # CONFIG_FUSE_FS is not set | ||
2698 | CONFIG_GENERIC_ACL=y | ||
2699 | |||
2700 | # | ||
2701 | # Caches | ||
2702 | # | ||
2703 | # CONFIG_FSCACHE is not set | ||
2704 | |||
2705 | # | ||
2706 | # CD-ROM/DVD Filesystems | ||
2707 | # | ||
2708 | CONFIG_ISO9660_FS=m | ||
2709 | CONFIG_JOLIET=y | ||
2710 | CONFIG_ZISOFS=y | ||
2711 | CONFIG_UDF_FS=m | ||
2712 | CONFIG_UDF_NLS=y | ||
2713 | |||
2714 | # | ||
2715 | # DOS/FAT/NT Filesystems | ||
2716 | # | ||
2717 | CONFIG_FAT_FS=y | ||
2718 | CONFIG_MSDOS_FS=y | ||
2719 | CONFIG_VFAT_FS=y | ||
2720 | CONFIG_FAT_DEFAULT_CODEPAGE=437 | ||
2721 | CONFIG_FAT_DEFAULT_IOCHARSET="iso8859-1" | ||
2722 | CONFIG_NTFS_FS=m | ||
2723 | # CONFIG_NTFS_DEBUG is not set | ||
2724 | # CONFIG_NTFS_RW is not set | ||
2725 | |||
2726 | # | ||
2727 | # Pseudo filesystems | ||
2728 | # | ||
2729 | CONFIG_PROC_FS=y | ||
2730 | CONFIG_PROC_SYSCTL=y | ||
2731 | CONFIG_PROC_PAGE_MONITOR=y | ||
2732 | CONFIG_SYSFS=y | ||
2733 | CONFIG_TMPFS=y | ||
2734 | CONFIG_TMPFS_POSIX_ACL=y | ||
2735 | CONFIG_TMPFS_XATTR=y | ||
2736 | # CONFIG_HUGETLBFS is not set | ||
2737 | # CONFIG_HUGETLB_PAGE is not set | ||
2738 | CONFIG_CONFIGFS_FS=y | ||
2739 | CONFIG_MISC_FILESYSTEMS=y | ||
2740 | # CONFIG_ADFS_FS is not set | ||
2741 | # CONFIG_AFFS_FS is not set | ||
2742 | # CONFIG_ECRYPT_FS is not set | ||
2743 | # CONFIG_HFS_FS is not set | ||
2744 | # CONFIG_HFSPLUS_FS is not set | ||
2745 | # CONFIG_BEFS_FS is not set | ||
2746 | # CONFIG_BFS_FS is not set | ||
2747 | # CONFIG_EFS_FS is not set | ||
2748 | CONFIG_JFFS2_FS=y | ||
2749 | CONFIG_JFFS2_FS_DEBUG=0 | ||
2750 | CONFIG_JFFS2_FS_WRITEBUFFER=y | ||
2751 | # CONFIG_JFFS2_FS_WBUF_VERIFY is not set | ||
2752 | # CONFIG_JFFS2_SUMMARY is not set | ||
2753 | # CONFIG_JFFS2_FS_XATTR is not set | ||
2754 | # CONFIG_JFFS2_COMPRESSION_OPTIONS is not set | ||
2755 | CONFIG_JFFS2_ZLIB=y | ||
2756 | # CONFIG_JFFS2_LZO is not set | ||
2757 | CONFIG_JFFS2_RTIME=y | ||
2758 | # CONFIG_JFFS2_RUBIN is not set | ||
2759 | # CONFIG_LOGFS is not set | ||
2760 | # CONFIG_CRAMFS is not set | ||
2761 | # CONFIG_SQUASHFS is not set | ||
2762 | # CONFIG_VXFS_FS is not set | ||
2763 | # CONFIG_MINIX_FS is not set | ||
2764 | # CONFIG_OMFS_FS is not set | ||
2765 | # CONFIG_HPFS_FS is not set | ||
2766 | # CONFIG_QNX4FS_FS is not set | ||
2767 | # CONFIG_QNX6FS_FS is not set | ||
2768 | # CONFIG_ROMFS_FS is not set | ||
2769 | # CONFIG_PSTORE is not set | ||
2770 | # CONFIG_SYSV_FS is not set | ||
2771 | # CONFIG_UFS_FS is not set | ||
2772 | # CONFIG_F2FS_FS is not set | ||
2773 | CONFIG_NETWORK_FILESYSTEMS=y | ||
2774 | CONFIG_NFS_FS=y | ||
2775 | CONFIG_NFS_V2=y | ||
2776 | CONFIG_NFS_V3=y | ||
2777 | # CONFIG_NFS_V3_ACL is not set | ||
2778 | CONFIG_NFS_V4=y | ||
2779 | # CONFIG_NFS_SWAP is not set | ||
2780 | # CONFIG_NFS_V4_1 is not set | ||
2781 | CONFIG_ROOT_NFS=y | ||
2782 | # CONFIG_NFS_USE_LEGACY_DNS is not set | ||
2783 | CONFIG_NFS_USE_KERNEL_DNS=y | ||
2784 | # CONFIG_NFSD is not set | ||
2785 | CONFIG_LOCKD=y | ||
2786 | CONFIG_LOCKD_V4=y | ||
2787 | CONFIG_NFS_COMMON=y | ||
2788 | CONFIG_SUNRPC=y | ||
2789 | CONFIG_SUNRPC_GSS=y | ||
2790 | # CONFIG_SUNRPC_DEBUG is not set | ||
2791 | # CONFIG_CEPH_FS is not set | ||
2792 | # CONFIG_CIFS is not set | ||
2793 | # CONFIG_NCP_FS is not set | ||
2794 | # CONFIG_CODA_FS is not set | ||
2795 | # CONFIG_AFS_FS is not set | ||
2796 | CONFIG_NLS=y | ||
2797 | CONFIG_NLS_DEFAULT="cp437" | ||
2798 | CONFIG_NLS_CODEPAGE_437=y | ||
2799 | # CONFIG_NLS_CODEPAGE_737 is not set | ||
2800 | # CONFIG_NLS_CODEPAGE_775 is not set | ||
2801 | # CONFIG_NLS_CODEPAGE_850 is not set | ||
2802 | # CONFIG_NLS_CODEPAGE_852 is not set | ||
2803 | # CONFIG_NLS_CODEPAGE_855 is not set | ||
2804 | # CONFIG_NLS_CODEPAGE_857 is not set | ||
2805 | # CONFIG_NLS_CODEPAGE_860 is not set | ||
2806 | # CONFIG_NLS_CODEPAGE_861 is not set | ||
2807 | # CONFIG_NLS_CODEPAGE_862 is not set | ||
2808 | # CONFIG_NLS_CODEPAGE_863 is not set | ||
2809 | # CONFIG_NLS_CODEPAGE_864 is not set | ||
2810 | # CONFIG_NLS_CODEPAGE_865 is not set | ||
2811 | # CONFIG_NLS_CODEPAGE_866 is not set | ||
2812 | # CONFIG_NLS_CODEPAGE_869 is not set | ||
2813 | # CONFIG_NLS_CODEPAGE_936 is not set | ||
2814 | # CONFIG_NLS_CODEPAGE_950 is not set | ||
2815 | # CONFIG_NLS_CODEPAGE_932 is not set | ||
2816 | # CONFIG_NLS_CODEPAGE_949 is not set | ||
2817 | # CONFIG_NLS_CODEPAGE_874 is not set | ||
2818 | # CONFIG_NLS_ISO8859_8 is not set | ||
2819 | # CONFIG_NLS_CODEPAGE_1250 is not set | ||
2820 | # CONFIG_NLS_CODEPAGE_1251 is not set | ||
2821 | CONFIG_NLS_ASCII=y | ||
2822 | CONFIG_NLS_ISO8859_1=y | ||
2823 | CONFIG_NLS_ISO8859_2=y | ||
2824 | # CONFIG_NLS_ISO8859_3 is not set | ||
2825 | # CONFIG_NLS_ISO8859_4 is not set | ||
2826 | # CONFIG_NLS_ISO8859_5 is not set | ||
2827 | # CONFIG_NLS_ISO8859_6 is not set | ||
2828 | # CONFIG_NLS_ISO8859_7 is not set | ||
2829 | # CONFIG_NLS_ISO8859_9 is not set | ||
2830 | # CONFIG_NLS_ISO8859_13 is not set | ||
2831 | # CONFIG_NLS_ISO8859_14 is not set | ||
2832 | CONFIG_NLS_ISO8859_15=y | ||
2833 | # CONFIG_NLS_KOI8_R is not set | ||
2834 | # CONFIG_NLS_KOI8_U is not set | ||
2835 | # CONFIG_NLS_MAC_ROMAN is not set | ||
2836 | # CONFIG_NLS_MAC_CELTIC is not set | ||
2837 | # CONFIG_NLS_MAC_CENTEURO is not set | ||
2838 | # CONFIG_NLS_MAC_CROATIAN is not set | ||
2839 | # CONFIG_NLS_MAC_CYRILLIC is not set | ||
2840 | # CONFIG_NLS_MAC_GAELIC is not set | ||
2841 | # CONFIG_NLS_MAC_GREEK is not set | ||
2842 | # CONFIG_NLS_MAC_ICELAND is not set | ||
2843 | # CONFIG_NLS_MAC_INUIT is not set | ||
2844 | # CONFIG_NLS_MAC_ROMANIAN is not set | ||
2845 | # CONFIG_NLS_MAC_TURKISH is not set | ||
2846 | CONFIG_NLS_UTF8=y | ||
2847 | # CONFIG_DLM is not set | ||
2848 | |||
2849 | # | ||
2850 | # Kernel hacking | ||
2851 | # | ||
2852 | |||
2853 | # | ||
2854 | # printk and dmesg options | ||
2855 | # | ||
2856 | # CONFIG_PRINTK_TIME is not set | ||
2857 | CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4 | ||
2858 | # CONFIG_BOOT_PRINTK_DELAY is not set | ||
2859 | # CONFIG_DYNAMIC_DEBUG is not set | ||
2860 | |||
2861 | # | ||
2862 | # Compile-time checks and compiler options | ||
2863 | # | ||
2864 | # CONFIG_DEBUG_INFO is not set | ||
2865 | CONFIG_ENABLE_WARN_DEPRECATED=y | ||
2866 | CONFIG_ENABLE_MUST_CHECK=y | ||
2867 | CONFIG_FRAME_WARN=1024 | ||
2868 | # CONFIG_STRIP_ASM_SYMS is not set | ||
2869 | # CONFIG_READABLE_ASM is not set | ||
2870 | # CONFIG_UNUSED_SYMBOLS is not set | ||
2871 | CONFIG_DEBUG_FS=y | ||
2872 | # CONFIG_HEADERS_CHECK is not set | ||
2873 | CONFIG_DEBUG_SECTION_MISMATCH=y | ||
2874 | # CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set | ||
2875 | CONFIG_MAGIC_SYSRQ=y | ||
2876 | CONFIG_DEBUG_KERNEL=y | ||
2877 | |||
2878 | # | ||
2879 | # Memory Debugging | ||
2880 | # | ||
2881 | # CONFIG_DEBUG_PAGEALLOC is not set | ||
2882 | # CONFIG_DEBUG_OBJECTS is not set | ||
2883 | # CONFIG_SLUB_STATS is not set | ||
2884 | CONFIG_HAVE_DEBUG_KMEMLEAK=y | ||
2885 | # CONFIG_DEBUG_KMEMLEAK is not set | ||
2886 | # CONFIG_DEBUG_STACK_USAGE is not set | ||
2887 | # CONFIG_DEBUG_VM is not set | ||
2888 | # CONFIG_DEBUG_MEMORY_INIT is not set | ||
2889 | # CONFIG_DEBUG_PER_CPU_MAPS is not set | ||
2890 | # CONFIG_DEBUG_HIGHMEM is not set | ||
2891 | # CONFIG_DEBUG_SHIRQ is not set | ||
2892 | |||
2893 | # | ||
2894 | # Debug Lockups and Hangs | ||
2895 | # | ||
2896 | # CONFIG_LOCKUP_DETECTOR is not set | ||
2897 | # CONFIG_DETECT_HUNG_TASK is not set | ||
2898 | # CONFIG_PANIC_ON_OOPS is not set | ||
2899 | CONFIG_PANIC_ON_OOPS_VALUE=0 | ||
2900 | # CONFIG_SCHED_DEBUG is not set | ||
2901 | # CONFIG_SCHEDSTATS is not set | ||
2902 | # CONFIG_TIMER_STATS is not set | ||
2903 | |||
2904 | # | ||
2905 | # Lock Debugging (spinlocks, mutexes, etc...) | ||
2906 | # | ||
2907 | # CONFIG_DEBUG_RT_MUTEXES is not set | ||
2908 | # CONFIG_RT_MUTEX_TESTER is not set | ||
2909 | # CONFIG_DEBUG_SPINLOCK is not set | ||
2910 | # CONFIG_DEBUG_MUTEXES is not set | ||
2911 | # CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set | ||
2912 | # CONFIG_DEBUG_LOCK_ALLOC is not set | ||
2913 | # CONFIG_PROVE_LOCKING is not set | ||
2914 | # CONFIG_LOCK_STAT is not set | ||
2915 | # CONFIG_DEBUG_ATOMIC_SLEEP is not set | ||
2916 | # CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set | ||
2917 | # CONFIG_DEBUG_KOBJECT is not set | ||
2918 | CONFIG_DEBUG_BUGVERBOSE=y | ||
2919 | # CONFIG_DEBUG_WRITECOUNT is not set | ||
2920 | # CONFIG_DEBUG_LIST is not set | ||
2921 | # CONFIG_DEBUG_SG is not set | ||
2922 | # CONFIG_DEBUG_NOTIFIERS is not set | ||
2923 | # CONFIG_DEBUG_CREDENTIALS is not set | ||
2924 | |||
2925 | # | ||
2926 | # RCU Debugging | ||
2927 | # | ||
2928 | # CONFIG_SPARSE_RCU_POINTER is not set | ||
2929 | # CONFIG_RCU_TORTURE_TEST is not set | ||
2930 | CONFIG_RCU_CPU_STALL_TIMEOUT=21 | ||
2931 | # CONFIG_RCU_CPU_STALL_INFO is not set | ||
2932 | # CONFIG_RCU_TRACE is not set | ||
2933 | # CONFIG_DEBUG_BLOCK_EXT_DEVT is not set | ||
2934 | # CONFIG_NOTIFIER_ERROR_INJECTION is not set | ||
2935 | # CONFIG_FAULT_INJECTION is not set | ||
2936 | CONFIG_HAVE_FUNCTION_TRACER=y | ||
2937 | CONFIG_HAVE_DYNAMIC_FTRACE=y | ||
2938 | CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y | ||
2939 | CONFIG_HAVE_SYSCALL_TRACEPOINTS=y | ||
2940 | CONFIG_HAVE_C_RECORDMCOUNT=y | ||
2941 | CONFIG_TRACE_CLOCK=y | ||
2942 | CONFIG_RING_BUFFER=y | ||
2943 | CONFIG_RING_BUFFER_ALLOW_SWAP=y | ||
2944 | CONFIG_TRACING_SUPPORT=y | ||
2945 | # CONFIG_FTRACE is not set | ||
2946 | |||
2947 | # | ||
2948 | # Runtime Testing | ||
2949 | # | ||
2950 | # CONFIG_LKDTM is not set | ||
2951 | # CONFIG_TEST_LIST_SORT is not set | ||
2952 | # CONFIG_KPROBES_SANITY_TEST is not set | ||
2953 | # CONFIG_BACKTRACE_SELF_TEST is not set | ||
2954 | # CONFIG_RBTREE_TEST is not set | ||
2955 | # CONFIG_INTERVAL_TREE_TEST is not set | ||
2956 | # CONFIG_ATOMIC64_SELFTEST is not set | ||
2957 | # CONFIG_TEST_STRING_HELPERS is not set | ||
2958 | # CONFIG_TEST_KSTRTOX is not set | ||
2959 | # CONFIG_DMA_API_DEBUG is not set | ||
2960 | # CONFIG_SAMPLES is not set | ||
2961 | CONFIG_HAVE_ARCH_KGDB=y | ||
2962 | # CONFIG_KGDB is not set | ||
2963 | # CONFIG_STRICT_DEVMEM is not set | ||
2964 | CONFIG_ARM_UNWIND=y | ||
2965 | # CONFIG_DEBUG_USER is not set | ||
2966 | # CONFIG_DEBUG_LL is not set | ||
2967 | CONFIG_DEBUG_IMX_UART_PORT=1 | ||
2968 | CONFIG_DEBUG_LL_INCLUDE="mach/debug-macro.S" | ||
2969 | # CONFIG_DEBUG_UART_PL01X is not set | ||
2970 | # CONFIG_DEBUG_UART_8250 is not set | ||
2971 | CONFIG_UNCOMPRESS_INCLUDE="debug/uncompress.h" | ||
2972 | # CONFIG_ARM_KPROBES_TEST is not set | ||
2973 | CONFIG_PID_IN_CONTEXTIDR=y | ||
2974 | |||
2975 | # | ||
2976 | # Security options | ||
2977 | # | ||
2978 | CONFIG_KEYS=y | ||
2979 | # CONFIG_ENCRYPTED_KEYS is not set | ||
2980 | # CONFIG_KEYS_DEBUG_PROC_KEYS is not set | ||
2981 | # CONFIG_SECURITY_DMESG_RESTRICT is not set | ||
2982 | # CONFIG_SECURITY is not set | ||
2983 | # CONFIG_SECURITYFS is not set | ||
2984 | CONFIG_DEFAULT_SECURITY_DAC=y | ||
2985 | CONFIG_DEFAULT_SECURITY="" | ||
2986 | CONFIG_CRYPTO=y | ||
2987 | |||
2988 | # | ||
2989 | # Crypto core or helper | ||
2990 | # | ||
2991 | CONFIG_CRYPTO_ALGAPI=y | ||
2992 | CONFIG_CRYPTO_ALGAPI2=y | ||
2993 | CONFIG_CRYPTO_AEAD=y | ||
2994 | CONFIG_CRYPTO_AEAD2=y | ||
2995 | CONFIG_CRYPTO_BLKCIPHER=y | ||
2996 | CONFIG_CRYPTO_BLKCIPHER2=y | ||
2997 | CONFIG_CRYPTO_HASH=y | ||
2998 | CONFIG_CRYPTO_HASH2=y | ||
2999 | CONFIG_CRYPTO_RNG=y | ||
3000 | CONFIG_CRYPTO_RNG2=y | ||
3001 | CONFIG_CRYPTO_PCOMP2=y | ||
3002 | CONFIG_CRYPTO_MANAGER=y | ||
3003 | CONFIG_CRYPTO_MANAGER2=y | ||
3004 | # CONFIG_CRYPTO_USER is not set | ||
3005 | CONFIG_CRYPTO_MANAGER_DISABLE_TESTS=y | ||
3006 | # CONFIG_CRYPTO_GF128MUL is not set | ||
3007 | # CONFIG_CRYPTO_NULL is not set | ||
3008 | # CONFIG_CRYPTO_PCRYPT is not set | ||
3009 | CONFIG_CRYPTO_WORKQUEUE=y | ||
3010 | # CONFIG_CRYPTO_CRYPTD is not set | ||
3011 | CONFIG_CRYPTO_AUTHENC=y | ||
3012 | # CONFIG_CRYPTO_TEST is not set | ||
3013 | |||
3014 | # | ||
3015 | # Authenticated Encryption with Associated Data | ||
3016 | # | ||
3017 | # CONFIG_CRYPTO_CCM is not set | ||
3018 | # CONFIG_CRYPTO_GCM is not set | ||
3019 | # CONFIG_CRYPTO_SEQIV is not set | ||
3020 | # CONFIG_CRYPTO_TLS is not set | ||
3021 | |||
3022 | # | ||
3023 | # Block modes | ||
3024 | # | ||
3025 | CONFIG_CRYPTO_CBC=y | ||
3026 | # CONFIG_CRYPTO_CTR is not set | ||
3027 | # CONFIG_CRYPTO_CTS is not set | ||
3028 | # CONFIG_CRYPTO_ECB is not set | ||
3029 | # CONFIG_CRYPTO_LRW is not set | ||
3030 | # CONFIG_CRYPTO_PCBC is not set | ||
3031 | # CONFIG_CRYPTO_XTS is not set | ||
3032 | |||
3033 | # | ||
3034 | # Hash modes | ||
3035 | # | ||
3036 | # CONFIG_CRYPTO_CMAC is not set | ||
3037 | CONFIG_CRYPTO_HMAC=y | ||
3038 | # CONFIG_CRYPTO_XCBC is not set | ||
3039 | # CONFIG_CRYPTO_VMAC is not set | ||
3040 | |||
3041 | # | ||
3042 | # Digest | ||
3043 | # | ||
3044 | CONFIG_CRYPTO_CRC32C=y | ||
3045 | # CONFIG_CRYPTO_CRC32 is not set | ||
3046 | CONFIG_CRYPTO_CRCT10DIF=y | ||
3047 | # CONFIG_CRYPTO_GHASH is not set | ||
3048 | # CONFIG_CRYPTO_MD4 is not set | ||
3049 | CONFIG_CRYPTO_MD5=y | ||
3050 | # CONFIG_CRYPTO_MICHAEL_MIC is not set | ||
3051 | # CONFIG_CRYPTO_RMD128 is not set | ||
3052 | # CONFIG_CRYPTO_RMD160 is not set | ||
3053 | # CONFIG_CRYPTO_RMD256 is not set | ||
3054 | # CONFIG_CRYPTO_RMD320 is not set | ||
3055 | CONFIG_CRYPTO_SHA1=y | ||
3056 | # CONFIG_CRYPTO_SHA1_ARM is not set | ||
3057 | # CONFIG_CRYPTO_SHA256 is not set | ||
3058 | # CONFIG_CRYPTO_SHA512 is not set | ||
3059 | # CONFIG_CRYPTO_TGR192 is not set | ||
3060 | # CONFIG_CRYPTO_WP512 is not set | ||
3061 | |||
3062 | # | ||
3063 | # Ciphers | ||
3064 | # | ||
3065 | CONFIG_CRYPTO_AES=y | ||
3066 | # CONFIG_CRYPTO_AES_ARM is not set | ||
3067 | # CONFIG_CRYPTO_ANUBIS is not set | ||
3068 | # CONFIG_CRYPTO_ARC4 is not set | ||
3069 | # CONFIG_CRYPTO_BLOWFISH is not set | ||
3070 | # CONFIG_CRYPTO_CAMELLIA is not set | ||
3071 | # CONFIG_CRYPTO_CAST5 is not set | ||
3072 | # CONFIG_CRYPTO_CAST6 is not set | ||
3073 | CONFIG_CRYPTO_DES=y | ||
3074 | # CONFIG_CRYPTO_FCRYPT is not set | ||
3075 | # CONFIG_CRYPTO_KHAZAD is not set | ||
3076 | # CONFIG_CRYPTO_SALSA20 is not set | ||
3077 | # CONFIG_CRYPTO_SEED is not set | ||
3078 | # CONFIG_CRYPTO_SERPENT is not set | ||
3079 | # CONFIG_CRYPTO_TEA is not set | ||
3080 | # CONFIG_CRYPTO_TWOFISH is not set | ||
3081 | |||
3082 | # | ||
3083 | # Compression | ||
3084 | # | ||
3085 | CONFIG_CRYPTO_DEFLATE=y | ||
3086 | # CONFIG_CRYPTO_ZLIB is not set | ||
3087 | CONFIG_CRYPTO_LZO=y | ||
3088 | # CONFIG_CRYPTO_LZ4 is not set | ||
3089 | # CONFIG_CRYPTO_LZ4HC is not set | ||
3090 | |||
3091 | # | ||
3092 | # Random Number Generation | ||
3093 | # | ||
3094 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
3095 | # CONFIG_CRYPTO_USER_API_HASH is not set | ||
3096 | # CONFIG_CRYPTO_USER_API_SKCIPHER is not set | ||
3097 | CONFIG_CRYPTO_HW=y | ||
3098 | # CONFIG_CRYPTO_DEV_HIFN_795X is not set | ||
3099 | CONFIG_CRYPTO_DEV_FSL_CAAM=y | ||
3100 | CONFIG_CRYPTO_DEV_FSL_CAAM_JR=y | ||
3101 | CONFIG_CRYPTO_DEV_FSL_CAAM_RINGSIZE=9 | ||
3102 | # CONFIG_CRYPTO_DEV_FSL_CAAM_INTC is not set | ||
3103 | CONFIG_CRYPTO_DEV_FSL_CAAM_CRYPTO_API=y | ||
3104 | CONFIG_FSL_CAAM_PKC_SUPPORT=y | ||
3105 | CONFIG_CRYPTO_DEV_FSL_CAAM_AHASH_API=y | ||
3106 | CONFIG_CRYPTO_DEV_FSL_CAAM_RNG_API=y | ||
3107 | # CONFIG_CRYPTO_DEV_FSL_CAAM_DEBUG is not set | ||
3108 | # CONFIG_CRYPTO_DEV_TALITOS is not set | ||
3109 | # CONFIG_CRYPTO_DEV_SAHARA is not set | ||
3110 | # CONFIG_ASYMMETRIC_KEY_TYPE is not set | ||
3111 | # CONFIG_BINARY_PRINTF is not set | ||
3112 | |||
3113 | # | ||
3114 | # Library routines | ||
3115 | # | ||
3116 | CONFIG_BITREVERSE=y | ||
3117 | CONFIG_GENERIC_STRNCPY_FROM_USER=y | ||
3118 | CONFIG_GENERIC_STRNLEN_USER=y | ||
3119 | CONFIG_GENERIC_NET_UTILS=y | ||
3120 | CONFIG_GENERIC_PCI_IOMAP=y | ||
3121 | CONFIG_GENERIC_IO=y | ||
3122 | CONFIG_CRC_CCITT=m | ||
3123 | CONFIG_CRC16=y | ||
3124 | CONFIG_CRC_T10DIF=y | ||
3125 | CONFIG_CRC_ITU_T=m | ||
3126 | CONFIG_CRC32=y | ||
3127 | # CONFIG_CRC32_SELFTEST is not set | ||
3128 | CONFIG_CRC32_SLICEBY8=y | ||
3129 | # CONFIG_CRC32_SLICEBY4 is not set | ||
3130 | # CONFIG_CRC32_SARWATE is not set | ||
3131 | # CONFIG_CRC32_BIT is not set | ||
3132 | CONFIG_CRC7=m | ||
3133 | CONFIG_LIBCRC32C=m | ||
3134 | # CONFIG_CRC8 is not set | ||
3135 | # CONFIG_CRC64_ECMA is not set | ||
3136 | CONFIG_ZLIB_INFLATE=y | ||
3137 | CONFIG_ZLIB_DEFLATE=y | ||
3138 | CONFIG_LZO_COMPRESS=y | ||
3139 | CONFIG_LZO_DECOMPRESS=y | ||
3140 | # CONFIG_XZ_DEC is not set | ||
3141 | # CONFIG_XZ_DEC_BCJ is not set | ||
3142 | CONFIG_DECOMPRESS_GZIP=y | ||
3143 | CONFIG_GENERIC_ALLOCATOR=y | ||
3144 | CONFIG_HAS_IOMEM=y | ||
3145 | CONFIG_HAS_IOPORT=y | ||
3146 | CONFIG_HAS_DMA=y | ||
3147 | CONFIG_CPU_RMAP=y | ||
3148 | CONFIG_DQL=y | ||
3149 | CONFIG_NLATTR=y | ||
3150 | CONFIG_ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE=y | ||
3151 | # CONFIG_AVERAGE is not set | ||
3152 | # CONFIG_CORDIC is not set | ||
3153 | # CONFIG_DDR is not set | ||
3154 | CONFIG_OID_REGISTRY=y | ||
3155 | CONFIG_FONT_SUPPORT=y | ||
3156 | # CONFIG_FONTS is not set | ||
3157 | CONFIG_FONT_8x8=y | ||
3158 | CONFIG_FONT_8x16=y | ||
3159 | # CONFIG_VIRTUALIZATION is not set | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-ls1_3.12.bb b/meta-fsl-arm/recipes-kernel/linux/linux-ls1_3.12.bb new file mode 100644 index 00000000..eaa0f2a0 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-ls1_3.12.bb | |||
@@ -0,0 +1,11 @@ | |||
1 | SUMMARY = "Linux Kernel for Freescale layerscape platforms" | ||
2 | DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ | ||
3 | Layerscape1 Family Boards. " | ||
4 | |||
5 | require recipes-kernel/linux/linux-ls1.inc | ||
6 | require recipes-kernel/linux/linux-dtb.inc | ||
7 | |||
8 | SRCBRANCH = "master" | ||
9 | SRCREV = "f488de6741d5ba805b9fe813d2ddf32368d3a888" | ||
10 | |||
11 | COMPATIBLE_MACHINE = "(ls102xa)" | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-mfgtool.inc b/meta-fsl-arm/recipes-kernel/linux/linux-mfgtool.inc new file mode 100644 index 00000000..948d698c --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-mfgtool.inc | |||
@@ -0,0 +1,82 @@ | |||
1 | # Produces a Manufacturing Tool compatible Linux Kernel | ||
2 | # | ||
3 | # This makes a separated binary set for Manufacturing Tool use | ||
4 | # without clobbering the Linux Kernel used for normal use. | ||
5 | # | ||
6 | # This file must be included after the original linux-imx.inc file | ||
7 | # as it overrides the needed values. | ||
8 | # | ||
9 | # Copyright (C) 2014, 2015 O.S. Systems Software LTDA. | ||
10 | |||
11 | # Adjust provides | ||
12 | PROVIDES = "linux-mfgtool" | ||
13 | |||
14 | # Avoid coliding files | ||
15 | LOCALVERSION_append = "-mfgtool" | ||
16 | KERNEL_SRC_PATH = "/usr/src/kernel-mfgtool" | ||
17 | KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | ||
18 | KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-mfgtool-${MACHINE}" | ||
19 | MODULE_IMAGE_BASE_NAME = "modules-mfgtool-${PKGE}-${PKGV}-${PKGR}-${MACHINE}-${DATETIME}" | ||
20 | MODULE_TARBALL_SYMLINK_NAME = "modules-mfgtool-${MACHINE}.tgz" | ||
21 | STAGING_KERNEL_DIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-mfgtool-source" | ||
22 | STAGING_KERNEL_BUILDDIR = "${TMPDIR}/work-shared/${MACHINE}/kernel-mfgtool-build-artifacts" | ||
23 | |||
24 | # Ensures we prefer our mfgtool specific files | ||
25 | FILESEXTRAPATHS_prepend := "${THISDIR}/${ORIG_PN}-${PV}:${THISDIR}/${ORIG_PN}:" | ||
26 | |||
27 | python mfgtool_recipe_handler () { | ||
28 | pn = e.data.getVar("PN", True) | ||
29 | if not (pn.endswith("-mfgtool") or pn.startswith("mfgtool-")): | ||
30 | return | ||
31 | |||
32 | e.data.setVar("MLPREFIX", "mfgtool-") | ||
33 | e.data.setVar("ORIG_PN", e.data.getVar("PN", True)) | ||
34 | e.data.setVar("PN", "mfgtool-" + e.data.getVar("PN", True).replace("-mfgtool", "").replace("mfgtool-", "")) | ||
35 | } | ||
36 | |||
37 | python () { | ||
38 | pn = d.getVar("PN", True) | ||
39 | if not pn.startswith("mfgtool-"): | ||
40 | return | ||
41 | |||
42 | from oe.classextend import ClassExtender | ||
43 | |||
44 | class LinuxMfgToolExtender(ClassExtender): | ||
45 | def extend_name(self, name): | ||
46 | if name.startswith("rtld"): | ||
47 | return name | ||
48 | if name.endswith("-" + self.extname): | ||
49 | name = name.replace("-" + self.extname, "") | ||
50 | if name.startswith("virtual/"): | ||
51 | subs = name.split("/", 1)[1] | ||
52 | if not subs.startswith(self.extname): | ||
53 | return "virtual/" + self.extname + "-" + subs | ||
54 | return name | ||
55 | if not name.startswith(self.extname): | ||
56 | return self.extname + "-" + name | ||
57 | return name | ||
58 | |||
59 | clsextend = LinuxMfgToolExtender("mfgtool", d) | ||
60 | clsextend.rename_packages() | ||
61 | clsextend.rename_package_variables((d.getVar("PACKAGEVARS", True) or "").split()) | ||
62 | |||
63 | clsextend.map_packagevars() | ||
64 | clsextend.map_regexp_variable("PACKAGES_DYNAMIC") | ||
65 | } | ||
66 | |||
67 | addhandler mfgtool_recipe_handler | ||
68 | mfgtool_recipe_handler[eventmask] = "bb.event.RecipePreFinalise" | ||
69 | |||
70 | # FIXME: Avoid depmod data emiting as kernel-abiversion path is | ||
71 | # hardcoded. | ||
72 | emit_depmod_pkgdata() { | ||
73 | : | ||
74 | } | ||
75 | |||
76 | # FIXME: We need to remove the STAGING_KERNEL_BUILDDIR contents as | ||
77 | # kernel.bbclass has no way to skip its installation. | ||
78 | # FIXME: It is not possible to have external modules against | ||
79 | # this kernel variant. | ||
80 | do_install_append() { | ||
81 | rm -r ${STAGING_KERNEL_BUILDDIR} | ||
82 | } | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0001-mvf_fec.c-Fix-mac-address-read-to-match-fuse-layout-.patch b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0001-mvf_fec.c-Fix-mac-address-read-to-match-fuse-layout-.patch new file mode 100644 index 00000000..7cf3597e --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0001-mvf_fec.c-Fix-mac-address-read-to-match-fuse-layout-.patch | |||
@@ -0,0 +1,37 @@ | |||
1 | From 05143ab75368653deee90dd24f26fa17e21711e9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andy Voltz <andy.voltz@timesys.com> | ||
3 | Date: Thu, 6 Jun 2013 11:48:44 -0400 | ||
4 | Subject: [PATCH 1/2] mvf_fec.c: Fix mac address read to match fuse layout for | ||
5 | latest u-boot | ||
6 | |||
7 | --- | ||
8 | arch/arm/mach-mvf/mvf_fec.c | 12 ++++++------ | ||
9 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
10 | |||
11 | diff --git a/arch/arm/mach-mvf/mvf_fec.c b/arch/arm/mach-mvf/mvf_fec.c | ||
12 | index d51f205..1ab339b 100644 | ||
13 | --- a/arch/arm/mach-mvf/mvf_fec.c | ||
14 | +++ b/arch/arm/mach-mvf/mvf_fec.c | ||
15 | @@ -35,13 +35,13 @@ static int fec_get_mac_addr(unsigned char *mac) | ||
16 | unsigned int value; | ||
17 | |||
18 | value = readl(MVF_IO_ADDRESS(MVF_FEC_BASE_ADDR) + ENET_PALR); | ||
19 | - mac[2] = value & 0xff; | ||
20 | - mac[3] = (value >> 8) & 0xff; | ||
21 | - mac[4] = (value >> 16) & 0xff; | ||
22 | - mac[5] = (value >> 24) & 0xff; | ||
23 | + mac[3] = value & 0xff; | ||
24 | + mac[2] = (value >> 8) & 0xff; | ||
25 | + mac[1] = (value >> 16) & 0xff; | ||
26 | + mac[0] = (value >> 24) & 0xff; | ||
27 | value = readl(MVF_IO_ADDRESS(MVF_FEC_BASE_ADDR) + ENET_PAUR); | ||
28 | - mac[0] = (value >> 16) & 0xff; | ||
29 | - mac[1] = (value >> 24) & 0xff; | ||
30 | + mac[5] = (value >> 16) & 0xff; | ||
31 | + mac[4] = (value >> 24) & 0xff; | ||
32 | |||
33 | return 0; | ||
34 | } | ||
35 | -- | ||
36 | 1.7.9.5 | ||
37 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0002-mvf.c-Change-console-device-name-to-match-mainline-u.patch b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0002-mvf.c-Change-console-device-name-to-match-mainline-u.patch new file mode 100644 index 00000000..3c75b713 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/0002-mvf.c-Change-console-device-name-to-match-mainline-u.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From bf6634e8ad489e47150c0acb8efbe5ddd89066f5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Andy Voltz <andy.voltz@timesys.com> | ||
3 | Date: Thu, 27 Jun 2013 15:20:27 -0400 | ||
4 | Subject: [PATCH 2/2] mvf.c: Change console device name to match mainline | ||
5 | u-boot | ||
6 | |||
7 | --- | ||
8 | drivers/tty/serial/mvf.c | 4 ++-- | ||
9 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
10 | |||
11 | diff --git a/drivers/tty/serial/mvf.c b/drivers/tty/serial/mvf.c | ||
12 | index 814a7da..4f7a82f 100644 | ||
13 | --- a/drivers/tty/serial/mvf.c | ||
14 | +++ b/drivers/tty/serial/mvf.c | ||
15 | @@ -55,7 +55,7 @@ | ||
16 | /* We've been assigned a range on the "Low-density serial ports" major */ | ||
17 | #define SERIAL_IMX_MAJOR 207 | ||
18 | #define MINOR_START 16 | ||
19 | -#define DEV_NAME "ttymxc" | ||
20 | +#define DEV_NAME "ttyLP" | ||
21 | #define MAX_INTERNAL_IRQ MXC_INTERNAL_IRQS | ||
22 | |||
23 | /* | ||
24 | @@ -605,7 +605,7 @@ static int imx_startup(struct uart_port *port) | ||
25 | if (sport->enable_dma) { | ||
26 | /* request eDMA channel and buffer */ | ||
27 | sport->dma_tx_ch = mcf_edma_request_channel(pdata->dma_req_tx, | ||
28 | - dma_tx_callback, NULL, 1, sport, NULL, "ttymxc"); | ||
29 | + dma_tx_callback, NULL, 1, sport, NULL, DEV_NAME); | ||
30 | |||
31 | sport->dma_is_txing = 0; | ||
32 | |||
33 | -- | ||
34 | 1.7.9.5 | ||
35 | |||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/defconfig b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/defconfig new file mode 100644 index 00000000..b750bed7 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-timesys-3.0.15/defconfig | |||
@@ -0,0 +1,144 @@ | |||
1 | CONFIG_EXPERIMENTAL=y | ||
2 | CONFIG_SYSVIPC=y | ||
3 | CONFIG_IKCONFIG=m | ||
4 | CONFIG_IKCONFIG_PROC=y | ||
5 | CONFIG_LOG_BUF_SHIFT=14 | ||
6 | CONFIG_EMBEDDED=y | ||
7 | CONFIG_MODULES=y | ||
8 | CONFIG_MODULE_UNLOAD=y | ||
9 | CONFIG_MODULE_FORCE_UNLOAD=y | ||
10 | CONFIG_MODVERSIONS=y | ||
11 | CONFIG_ARCH_MXC=y | ||
12 | CONFIG_ARCH_MVF=y | ||
13 | CONFIG_MACH_MVFA5_TWR_VF700=y | ||
14 | CONFIG_DMA_ZONE_SIZE=16 | ||
15 | CONFIG_ARM_ERRATA_743622=y | ||
16 | CONFIG_ARM_ERRATA_754322=y | ||
17 | CONFIG_NO_HZ=y | ||
18 | CONFIG_HIGH_RES_TIMERS=y | ||
19 | CONFIG_VMSPLIT_2G=y | ||
20 | CONFIG_AEABI=y | ||
21 | # CONFIG_OABI_COMPAT is not set | ||
22 | CONFIG_COMPACTION=y | ||
23 | CONFIG_KSM=y | ||
24 | CONFIG_ZBOOT_ROM_TEXT=0x0 | ||
25 | CONFIG_ZBOOT_ROM_BSS=0x0 | ||
26 | CONFIG_CMDLINE="root=/dev/nfs rw nfsroot=10.193.20.106:/tftpboot/10.193.20.115 ip=10.193.20.115:10.193.20.106:10.193.20.254:255.255.255.0::eth0:off console=ttymxc1,115200 mem=128M" | ||
27 | CONFIG_VFP=y | ||
28 | CONFIG_NEON=y | ||
29 | # CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set | ||
30 | CONFIG_PM_RUNTIME=y | ||
31 | CONFIG_NET=y | ||
32 | CONFIG_PACKET=y | ||
33 | CONFIG_UNIX=y | ||
34 | CONFIG_INET=y | ||
35 | CONFIG_IP_MULTICAST=y | ||
36 | CONFIG_IP_PNP=y | ||
37 | CONFIG_IP_PNP_DHCP=y | ||
38 | CONFIG_IP_PNP_BOOTP=y | ||
39 | # CONFIG_INET_LRO is not set | ||
40 | # CONFIG_IPV6 is not set | ||
41 | CONFIG_DEVTMPFS=y | ||
42 | CONFIG_MTD=y | ||
43 | CONFIG_MTD_CMDLINE_PARTS=y | ||
44 | CONFIG_MTD_CHAR=y | ||
45 | CONFIG_MTD_BLOCK=y | ||
46 | CONFIG_MTD_NAND=y | ||
47 | CONFIG_MTD_NAND_FSL_NFC=y | ||
48 | CONFIG_MTD_NAND_FSL_NFC_SWECC=y | ||
49 | CONFIG_BLK_DEV_RAM=y | ||
50 | CONFIG_MISC_DEVICES=y | ||
51 | CONFIG_SCSI=y | ||
52 | CONFIG_BLK_DEV_SD=y | ||
53 | CONFIG_SCSI_MULTI_LUN=y | ||
54 | # CONFIG_SCSI_LOWLEVEL is not set | ||
55 | CONFIG_NETDEVICES=y | ||
56 | CONFIG_MICREL_PHY=y | ||
57 | CONFIG_NET_ETHERNET=y | ||
58 | # CONFIG_NETDEV_1000 is not set | ||
59 | # CONFIG_NETDEV_10000 is not set | ||
60 | CONFIG_INPUT_POLLDEV=y | ||
61 | CONFIG_INPUT_EVDEV=y | ||
62 | CONFIG_KEYBOARD_GPIO=y | ||
63 | # CONFIG_INPUT_MOUSE is not set | ||
64 | CONFIG_INPUT_TOUCHSCREEN=y | ||
65 | CONFIG_TOUCHSCREEN_CRTOUCH=y | ||
66 | CONFIG_INPUT_MISC=y | ||
67 | CONFIG_INPUT_UINPUT=y | ||
68 | # CONFIG_CONSOLE_TRANSLATIONS is not set | ||
69 | CONFIG_LEGACY_PTY_COUNT=4 | ||
70 | CONFIG_SERIAL_IMX=y | ||
71 | CONFIG_SERIAL_IMX_CONSOLE=y | ||
72 | CONFIG_HW_RANDOM=y | ||
73 | CONFIG_I2C=y | ||
74 | CONFIG_I2C_CHARDEV=y | ||
75 | CONFIG_I2C_IMX=y | ||
76 | CONFIG_SPI=y | ||
77 | CONFIG_SPI_MVF_DSPI_EDMA=y | ||
78 | CONFIG_GPIO_SYSFS=y | ||
79 | # CONFIG_HWMON is not set | ||
80 | # CONFIG_MFD_SUPPORT is not set | ||
81 | CONFIG_MEDIA_SUPPORT=y | ||
82 | CONFIG_VIDEO_DEV=y | ||
83 | CONFIG_USB_VIDEO_CLASS=y | ||
84 | CONFIG_FB=y | ||
85 | CONFIG_FB_MVF_DCU=y | ||
86 | CONFIG_FRAMEBUFFER_CONSOLE=y | ||
87 | CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y | ||
88 | CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y | ||
89 | CONFIG_FONTS=y | ||
90 | CONFIG_FONT_8x8=y | ||
91 | CONFIG_FONT_8x16=y | ||
92 | CONFIG_LOGO=y | ||
93 | CONFIG_SOUND=y | ||
94 | # CONFIG_SOUND_OSS_CORE_PRECLAIM is not set | ||
95 | CONFIG_SND=y | ||
96 | CONFIG_SND_PCM_OSS=y | ||
97 | CONFIG_SND_SOC=y | ||
98 | CONFIG_USB=y | ||
99 | CONFIG_USB_EHCI_HCD=y | ||
100 | CONFIG_USB_EHCI_ARC=y | ||
101 | CONFIG_USB_EHCI_ROOT_HUB_TT=y | ||
102 | CONFIG_USB_STORAGE=y | ||
103 | CONFIG_USB_GADGET=y | ||
104 | CONFIG_USB_ETH=m | ||
105 | CONFIG_MMC=y | ||
106 | CONFIG_MMC_SDHCI=y | ||
107 | CONFIG_MMC_SDHCI_PLTFM=y | ||
108 | CONFIG_MMC_SDHCI_ESDHC_IMX=y | ||
109 | CONFIG_RTC_CLASS=y | ||
110 | CONFIG_RTC_DRV_SNVS=y | ||
111 | CONFIG_DMADEVICES=y | ||
112 | # CONFIG_MXC_HMP4E is not set | ||
113 | # CONFIG_MXC_HWEVENT is not set | ||
114 | CONFIG_EXT2_FS=y | ||
115 | CONFIG_EXT3_FS=y | ||
116 | # CONFIG_EXT3_DEFAULTS_TO_ORDERED is not set | ||
117 | CONFIG_EXT4_FS=y | ||
118 | CONFIG_AUTOFS4_FS=m | ||
119 | CONFIG_MSDOS_FS=y | ||
120 | CONFIG_VFAT_FS=y | ||
121 | CONFIG_TMPFS=y | ||
122 | CONFIG_TMPFS_POSIX_ACL=y | ||
123 | CONFIG_JFFS2_FS=y | ||
124 | CONFIG_CRAMFS=y | ||
125 | CONFIG_NFS_FS=y | ||
126 | CONFIG_NFS_V3=y | ||
127 | CONFIG_ROOT_NFS=y | ||
128 | CONFIG_PARTITION_ADVANCED=y | ||
129 | CONFIG_EFI_PARTITION=y | ||
130 | CONFIG_NLS_CODEPAGE_437=y | ||
131 | CONFIG_NLS_ASCII=m | ||
132 | CONFIG_NLS_ISO8859_1=y | ||
133 | CONFIG_NLS_UTF8=m | ||
134 | # CONFIG_ARM_UNWIND is not set | ||
135 | CONFIG_CRYPTO_TEST=m | ||
136 | CONFIG_CRYPTO_CBC=y | ||
137 | CONFIG_CRYPTO_ECB=y | ||
138 | CONFIG_CRYPTO_MICHAEL_MIC=y | ||
139 | CONFIG_CRYPTO_AES=y | ||
140 | CONFIG_CRYPTO_ARC4=y | ||
141 | CONFIG_CRYPTO_DEFLATE=y | ||
142 | CONFIG_CRYPTO_LZO=y | ||
143 | # CONFIG_CRYPTO_ANSI_CPRNG is not set | ||
144 | CONFIG_CRC_CCITT=m | ||
diff --git a/meta-fsl-arm/recipes-kernel/linux/linux-timesys_3.0.15.bb b/meta-fsl-arm/recipes-kernel/linux/linux-timesys_3.0.15.bb new file mode 100644 index 00000000..25fd9e55 --- /dev/null +++ b/meta-fsl-arm/recipes-kernel/linux/linux-timesys_3.0.15.bb | |||
@@ -0,0 +1,20 @@ | |||
1 | # Copyright (C) 2013-2014 Timesys Corporation | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | include linux-imx.inc | ||
4 | |||
5 | SUMMARY = "Linux Kernel with added drivers and board support for Vybrid-based platforms" | ||
6 | |||
7 | # Revision of 3.0.15_vybrid branch | ||
8 | SRC_URI = "git://github.com/Timesys/linux-timesys.git;protocol=git;branch=${SRCBRANCH} \ | ||
9 | file://defconfig \ | ||
10 | " | ||
11 | |||
12 | SRC_URI_append_twr-vf65gs10 = "file://0001-mvf_fec.c-Fix-mac-address-read-to-match-fuse-layout-.patch \ | ||
13 | file://0002-mvf.c-Change-console-device-name-to-match-mainline-u.patch \ | ||
14 | " | ||
15 | |||
16 | SRCBRANCH = "3.0.15_vybrid-twr" | ||
17 | SRCREV = "50c4c848d6b8743894cfcec166db475ef6140504" | ||
18 | LOCALVERSION ?= "-${SRCBRANCH}" | ||
19 | |||
20 | COMPATIBLE_MACHINE = "(vf60)" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch b/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch new file mode 100644 index 00000000..32b31953 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib/0001-add-conf-for-multichannel-support-in-imx.patch | |||
@@ -0,0 +1,221 @@ | |||
1 | From e99c36dfdce3e0f393eeaca6c2790b566f72d6a8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Shengjiu Wang <b02247@freescale.com> | ||
3 | Date: Thu, 5 Jun 2014 17:37:47 +0800 | ||
4 | Subject: [PATCH] add conf for multichannel support in imx | ||
5 | |||
6 | Upstream Status: Inappropriate [platform specific] | ||
7 | |||
8 | Signed-off-by: Shengjiu Wang <b02247@freescale.com> | ||
9 | --- | ||
10 | src/conf/cards/CS42888.conf | 94 ++++++++++++++++++++++++++++++++++++++++++++ | ||
11 | src/conf/cards/IMX-HDMI.conf | 67 +++++++++++++++++++++++++++++++ | ||
12 | src/conf/cards/Makefile.am | 4 +- | ||
13 | src/conf/cards/aliases.conf | 2 + | ||
14 | 4 files changed, 166 insertions(+), 1 deletion(-) | ||
15 | create mode 100644 src/conf/cards/CS42888.conf | ||
16 | create mode 100644 src/conf/cards/IMX-HDMI.conf | ||
17 | |||
18 | diff --git a/src/conf/cards/CS42888.conf b/src/conf/cards/CS42888.conf | ||
19 | new file mode 100644 | ||
20 | index 0000000..671a284 | ||
21 | --- /dev/null | ||
22 | +++ b/src/conf/cards/CS42888.conf | ||
23 | @@ -0,0 +1,94 @@ | ||
24 | +# | ||
25 | +# Configuration for the CS42888 chip | ||
26 | +# | ||
27 | + | ||
28 | +# default with dmix & dsnoop | ||
29 | +CS42888.pcm.default { | ||
30 | + @args [ CARD ] | ||
31 | + @args.CARD { | ||
32 | + type string | ||
33 | + } | ||
34 | + type asym | ||
35 | + playback.pcm { | ||
36 | + type plug | ||
37 | + slave.pcm { | ||
38 | + @func concat | ||
39 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] | ||
40 | + } | ||
41 | + } | ||
42 | + capture.pcm { | ||
43 | + type plug | ||
44 | + slave.pcm { | ||
45 | + @func concat | ||
46 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] | ||
47 | + } | ||
48 | + } | ||
49 | +} | ||
50 | + | ||
51 | +<confdir:pcm/surround40.conf> | ||
52 | + | ||
53 | +CS42888.pcm.surround40.0 { | ||
54 | + @args [ CARD ] | ||
55 | + @args.CARD { | ||
56 | + type string | ||
57 | + } | ||
58 | + type plug | ||
59 | + slave.pcm { | ||
60 | + type hw | ||
61 | + card $CARD | ||
62 | + } | ||
63 | + slave.channels 4 | ||
64 | + ttable.0.0 1 | ||
65 | + ttable.1.2 1 | ||
66 | + ttable.2.1 1 | ||
67 | + ttable.3.3 1 | ||
68 | +} | ||
69 | + | ||
70 | + | ||
71 | +<confdir:pcm/surround41.conf> | ||
72 | +<confdir:pcm/surround50.conf> | ||
73 | +<confdir:pcm/surround51.conf> | ||
74 | + | ||
75 | +CS42888.pcm.surround51.0 { | ||
76 | + @args [ CARD ] | ||
77 | + @args.CARD { | ||
78 | + type string | ||
79 | + } | ||
80 | + type plug | ||
81 | + slave.pcm { | ||
82 | + type hw | ||
83 | + card $CARD | ||
84 | + } | ||
85 | + slave.channels 6 | ||
86 | + ttable.0.0 1 | ||
87 | + ttable.1.3 1 | ||
88 | + ttable.2.1 1 | ||
89 | + ttable.3.4 1 | ||
90 | + ttable.4.2 1 | ||
91 | + ttable.5.5 1 | ||
92 | +} | ||
93 | + | ||
94 | +<confdir:pcm/surround71.conf> | ||
95 | + | ||
96 | +CS42888.pcm.surround71.0 { | ||
97 | + @args [ CARD ] | ||
98 | + @args.CARD { | ||
99 | + type string | ||
100 | + } | ||
101 | + type plug | ||
102 | + slave.pcm { | ||
103 | + type hw | ||
104 | + card $CARD | ||
105 | + } | ||
106 | + slave.channels 8 | ||
107 | + ttable.0.0 1 | ||
108 | + ttable.1.4 1 | ||
109 | + ttable.2.1 1 | ||
110 | + ttable.3.5 1 | ||
111 | + ttable.4.2 1 | ||
112 | + ttable.5.6 1 | ||
113 | + ttable.6.3 1 | ||
114 | + ttable.7.7 1 | ||
115 | +} | ||
116 | + | ||
117 | +# vim: ft=alsaconf | ||
118 | diff --git a/src/conf/cards/IMX-HDMI.conf b/src/conf/cards/IMX-HDMI.conf | ||
119 | new file mode 100644 | ||
120 | index 0000000..a51509e | ||
121 | --- /dev/null | ||
122 | +++ b/src/conf/cards/IMX-HDMI.conf | ||
123 | @@ -0,0 +1,67 @@ | ||
124 | +# | ||
125 | +# Configuration for the CS42888 chip | ||
126 | +# | ||
127 | + | ||
128 | +# default with dmix & dsnoop | ||
129 | +IMX-HDMI.pcm.default { | ||
130 | + @args [ CARD ] | ||
131 | + @args.CARD { | ||
132 | + type string | ||
133 | + } | ||
134 | + type asym | ||
135 | + playback.pcm { | ||
136 | + type plug | ||
137 | + slave.pcm { | ||
138 | + @func concat | ||
139 | + strings [ "dmix:" $CARD ",FORMAT=S32_LE" ] | ||
140 | + } | ||
141 | + } | ||
142 | + capture.pcm { | ||
143 | + type plug | ||
144 | + slave.pcm { | ||
145 | + @func concat | ||
146 | + strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ] | ||
147 | + } | ||
148 | + } | ||
149 | +} | ||
150 | + | ||
151 | +<confdir:pcm/surround40.conf> | ||
152 | + | ||
153 | +IMX-HDMI.pcm.surround40.0 { | ||
154 | + @args [ CARD ] | ||
155 | + @args.CARD { | ||
156 | + type string | ||
157 | + } | ||
158 | + type hw | ||
159 | + card $CARD | ||
160 | + channels 4 | ||
161 | +} | ||
162 | + | ||
163 | + | ||
164 | +<confdir:pcm/surround41.conf> | ||
165 | +<confdir:pcm/surround50.conf> | ||
166 | +<confdir:pcm/surround51.conf> | ||
167 | + | ||
168 | +IMX-HDMI.pcm.surround51.0 { | ||
169 | + @args [ CARD ] | ||
170 | + @args.CARD { | ||
171 | + type string | ||
172 | + } | ||
173 | + type hw | ||
174 | + card $CARD | ||
175 | + channels 6 | ||
176 | +} | ||
177 | + | ||
178 | +<confdir:pcm/surround71.conf> | ||
179 | + | ||
180 | +IMX-HDMI.pcm.surround71.0 { | ||
181 | + @args [ CARD ] | ||
182 | + @args.CARD { | ||
183 | + type string | ||
184 | + } | ||
185 | + type hw | ||
186 | + card $CARD | ||
187 | + channels 8 | ||
188 | +} | ||
189 | + | ||
190 | +# vim: ft=alsaconf | ||
191 | diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am | ||
192 | index ee7991b..b08acae 100644 | ||
193 | --- a/src/conf/cards/Makefile.am | ||
194 | +++ b/src/conf/cards/Makefile.am | ||
195 | @@ -54,7 +54,9 @@ cfg_files = aliases.conf \ | ||
196 | VIA8237.conf \ | ||
197 | VX222.conf \ | ||
198 | VXPocket.conf \ | ||
199 | - VXPocket440.conf | ||
200 | + VXPocket440.conf \ | ||
201 | + CS42888.conf \ | ||
202 | + IMX-HDMI.conf | ||
203 | |||
204 | if BUILD_ALISP | ||
205 | cfg_files += aliases.alisp | ||
206 | diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf | ||
207 | index 4a92fb2..46430c2 100644 | ||
208 | --- a/src/conf/cards/aliases.conf | ||
209 | +++ b/src/conf/cards/aliases.conf | ||
210 | @@ -55,6 +55,8 @@ AV100 cards.CMI8788 | ||
211 | AV200 cards.CMI8788 | ||
212 | CMI8786 cards.CMI8788 | ||
213 | CMI8787 cards.CMI8788 | ||
214 | +cs42888-audio cards.CS42888 | ||
215 | +imx-hdmi-soc cards.IMX-HDMI | ||
216 | |||
217 | <confdir:pcm/default.conf> | ||
218 | <confdir:pcm/dmix.conf> | ||
219 | -- | ||
220 | 1.8.0 | ||
221 | |||
diff --git a/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend b/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend new file mode 100644 index 00000000..9d95e680 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/alsa/alsa-lib_%.bbappend | |||
@@ -0,0 +1,7 @@ | |||
1 | |||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | SRC_URI_append_mx6 = " file://0001-add-conf-for-multichannel-support-in-imx.patch \ | ||
5 | " | ||
6 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | ||
7 | |||
diff --git a/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch b/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch new file mode 100644 index 00000000..d76c74d4 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins/0001-asrc_pair-update-output-buffer-size.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 9acab46fe307ec71d4a4dbe447e356f90b6a4a09 Mon Sep 17 00:00:00 2001 | ||
2 | From: Shengjiu Wang <shengjiu.wang@freescale.com> | ||
3 | Date: Fri, 12 Dec 2014 14:58:06 +0800 | ||
4 | Subject: [PATCH] [asrc_pair] update output buffer size | ||
5 | |||
6 | When input size larger than DMA_MAX_BYTES the output size should be updated. | ||
7 | Otherwise the asrc have will not have enough data, then it will be timeout. | ||
8 | |||
9 | Upstream Status: Inappropriate [platform specific] | ||
10 | |||
11 | Signed-off-by: Shengjiu Wang <shengjiu.wang@freescale.com> | ||
12 | --- | ||
13 | asrc/asrc_pair.c | 11 ++++++++--- | ||
14 | 1 file changed, 8 insertions(+), 3 deletions(-) | ||
15 | |||
16 | diff --git a/asrc/asrc_pair.c b/asrc/asrc_pair.c | ||
17 | index e3df027..e74e8b1 100644 | ||
18 | --- a/asrc/asrc_pair.c | ||
19 | +++ b/asrc/asrc_pair.c | ||
20 | @@ -139,7 +139,7 @@ asrc_pair *asrc_pair_create(unsigned int channels, ssize_t in_period_frames, | ||
21 | config.dma_buffer_size = dma_buffer_size; | ||
22 | config.input_sample_rate = in_rate; | ||
23 | config.output_sample_rate = out_rate; | ||
24 | - config.buffer_num = 1; | ||
25 | + config.buffer_num = buf_num; | ||
26 | config.input_word_width = ASRC_WIDTH_16_BIT; | ||
27 | config.output_word_width = ASRC_WIDTH_16_BIT; | ||
28 | config.inclk = INCLK_NONE; | ||
29 | @@ -303,8 +303,13 @@ void asrc_pair_convert_s16(asrc_pair *pair, const int16_t *src, unsigned int src | ||
30 | |||
31 | while (src_left > 0) | ||
32 | { | ||
33 | - in_len = src_left > pair->buf_size ? pair->buf_size : src_left; | ||
34 | - out_len = dst_left; | ||
35 | + if (src_left > pair->buf_size) { | ||
36 | + in_len = pair->buf_size; | ||
37 | + out_len = dst_left * in_len/src_left; | ||
38 | + } else { | ||
39 | + in_len = src_left; | ||
40 | + out_len = dst_left; | ||
41 | + } | ||
42 | |||
43 | buf_info.input_buffer_vaddr = s; | ||
44 | buf_info.input_buffer_length = in_len; | ||
45 | -- | ||
46 | 1.9.1 | ||
47 | |||
diff --git a/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb b/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb new file mode 100644 index 00000000..af552701 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/alsa/fsl-alsa-plugins_1.0.25.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | # Copyright (C) 2013 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | DESCRIPTION = "Freescale alsa-lib plugins" | ||
5 | LICENSE = "GPLv2" | ||
6 | SECTION = "multimedia" | ||
7 | DEPENDS = "alsa-lib virtual/kernel" | ||
8 | |||
9 | # Make sure kernel sources are available | ||
10 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
11 | |||
12 | LIC_FILES_CHKSUM = "file://COPYING.GPL;md5=94d55d512a9ba36caa9b7df079bae19f" | ||
13 | |||
14 | inherit autotools pkgconfig | ||
15 | |||
16 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.tar.gz" | ||
17 | SRC_URI[md5sum] = "b1ca7a250a8cd5da07062081b30b4118" | ||
18 | SRC_URI[sha256sum] = "902df92255d755e8eb08b3c3db0c7b9d70d26d9659b219373bee425ffdc34245" | ||
19 | |||
20 | SRC_URI_append_mx6 = " file://0001-asrc_pair-update-output-buffer-size.patch" | ||
21 | |||
22 | INCLUDE_DIR = "-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" | ||
23 | |||
24 | EXTRA_OECONF = "CFLAGS="${INCLUDE_DIR}"" | ||
25 | |||
26 | INSANE_SKIP_${PN} = "dev-so" | ||
27 | |||
28 | FILES_${PN} += "${libdir}/alsa-lib/libasound_*.so" | ||
29 | FILES_${PN}-dbg += "${libdir}/alsa-lib/.debug" | ||
30 | FILES_${PN}-dev += "${libdir}/alsa-lib/*.la" | ||
31 | |||
32 | COMPATIBLE_MACHINE = "(mx6)" | ||
33 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb b/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb new file mode 100644 index 00000000..ab28bc12 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gst1.0-fsl-plugin_4.0.3.bb | |||
@@ -0,0 +1,69 @@ | |||
1 | # Copyright (C) 2014,2015 Freescale Semiconductor | ||
2 | # Copyright (C) 2012-2015 O.S. Systems Software LTDA. | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | |||
5 | DESCRIPTION = "Gstreamer freescale plugins" | ||
6 | LICENSE = "GPLv2 & LGPLv2 & LGPLv2.1" | ||
7 | SECTION = "multimedia" | ||
8 | |||
9 | DEPENDS = "libfslcodec libfslparser virtual/kernel gstreamer1.0 gstreamer1.0-plugins-base" | ||
10 | DEPENDS_append_mx6q = " imx-lib imx-vpu libfslvpuwrap" | ||
11 | DEPENDS_append_mx6dl = " imx-lib imx-vpu libfslvpuwrap" | ||
12 | DEPENDS_append_mx6sl = " imx-lib" | ||
13 | DEPENDS_append_mx6sx = " imx-lib" | ||
14 | |||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \ | ||
16 | file://COPYING-LGPL-2;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
17 | file://COPYING-LGPL-2.1;md5=fbc093901857fcd118f065f900982c24" | ||
18 | |||
19 | SRC_URI = "${FSL_MIRROR}/gst1.0-fsl-plugins-${PV}.tar.gz" | ||
20 | SRC_URI[md5sum] = "b5c1072536479c174bda1349ade5d10c" | ||
21 | SRC_URI[sha256sum] = "9d5c051cbde023014e67fde07bc314b6b9a5e7030e24eb0d8afdf33e7e458125" | ||
22 | |||
23 | S = "${WORKDIR}/gst1.0-fsl-plugins-${PV}" | ||
24 | |||
25 | inherit autotools pkgconfig | ||
26 | |||
27 | # Make sure kernel sources are available | ||
28 | do_configure[depends] += "virtual/kernel:do_shared_workdir" | ||
29 | |||
30 | PLATFORM_mx6 = "MX6" | ||
31 | PLATFORM_mx6sl = "MX6SL" | ||
32 | PLATFORM_mx6sx = "MX6SX" | ||
33 | |||
34 | # Todo add a mechanism to map possible build targets | ||
35 | EXTRA_OECONF = "PLATFORM=${PLATFORM} \ | ||
36 | CPPFLAGS="-I${STAGING_KERNEL_DIR}/include/uapi -I${STAGING_KERNEL_DIR}/include" \ | ||
37 | CROSS_ROOT=${PKG_CONFIG_SYSROOT_DIR}" | ||
38 | |||
39 | PACKAGES =+ "${PN}-gplay ${PN}-libgplaycore ${PN}-libgstfsl" | ||
40 | |||
41 | # Add codec list that the beep plugin run-time depended | ||
42 | BEEP_RDEPENDS = "libfslcodec-aac libfslcodec-mp3 libfslcodec-oggvorbis" | ||
43 | RDEPENDS_${PN} += "libfslparser ${BEEP_RDEPENDS}" | ||
44 | |||
45 | PACKAGECONFIG ?= "" | ||
46 | PACKAGECONFIG_mx6 = "overlaysink" | ||
47 | |||
48 | # FIXME: Add all features | ||
49 | # feature from excluded mm packages | ||
50 | PACKAGECONFIG[ac3] += ",,libfslac3codec,libfslac3codec" | ||
51 | # feature from special mm packages | ||
52 | PACKAGECONFIG[aacp] += ",,libfslaacpcodec,libfslaacpcodec" | ||
53 | MSDEPENDS = "libfslmsparser libfslmscodec" | ||
54 | PACKAGECONFIG[wma10dec] += ",,${MSDEPENDS},${MSDEPENDS}" | ||
55 | PACKAGECONFIG[wma8enc] += "--enable-wma8enc,--disable-wma8enc,${MSDEPENDS},${MSDEPENDS}" | ||
56 | OVDEPENDS = "virtual/libg2d" | ||
57 | PACKAGECONFIG[overlaysink] += "--enable-overlaysink,--disable-overlaysink, ${OVDEPENDS}" | ||
58 | |||
59 | FILES_${PN} = "${libdir}/gstreamer-1.0/*.so ${datadir}" | ||
60 | RDEPENDS_${PN} += "gstreamer1.0-plugins-good-id3demux" | ||
61 | |||
62 | FILES_${PN}-dbg += "${libdir}/gstreamer-1.0/.debug" | ||
63 | FILES_${PN}-dev += "${libdir}/gstreamer-1.0/*.la ${libdir}/pkgconfig/*.pc" | ||
64 | FILES_${PN}-staticdev += "${libdir}/gstreamer-1.0/*.a" | ||
65 | FILES_${PN}-gplay = "${bindir}/gplay-1.0" | ||
66 | FILES_${PN}-libgplaycore = "${libdir}/libgplaycore-1.0${SOLIBS}" | ||
67 | FILES_${PN}-libgstfsl = "${libdir}/libgstfsl-1.0${SOLIBS}" | ||
68 | |||
69 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend new file mode 100644 index 00000000..bcce7c78 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend | |||
@@ -0,0 +1,11 @@ | |||
1 | # Vivante EGL headers require the correct preprocessor | ||
2 | # defines to be set for each platform | ||
3 | CFLAGS_append_mx6 = " -DLINUX \ | ||
4 | ${@base_contains('DISTRO_FEATURES', 'x11', '', \ | ||
5 | base_contains('DISTRO_FEATURES', 'wayland', '-DEGL_API_FB -DWL_EGL_PLATFORM', \ | ||
6 | base_contains('DISTRO_FEATURES', 'directfb', '-DEGL_API_DFB -I${STAGING_INCDIR}/directfb', \ | ||
7 | '-DEGL_API_FB', d),d),d)}" | ||
8 | |||
9 | PACKAGECONFIG_GL_mx6sl = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', \ | ||
10 | base_contains('DISTRO_FEATURES', 'x11', \ | ||
11 | 'opengl', '', d), '', d)}" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch new file mode 100644 index 00000000..15322bd6 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/gstplaybin-enable-native-video.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | From 9cfb86cd100904f0ef2626f348695bd2d3416c6a Mon Sep 17 00:00:00 2001 | ||
2 | From: Jian Li <jian.li@freescale.com> | ||
3 | Date: Mon, 23 Jun 2014 14:14:07 +0800 | ||
4 | Subject: [PATCH] gstplaybin enable native video | ||
5 | |||
6 | - use native video patch in playbin for i.MX SoCs | ||
7 | |||
8 | Upstream Status: Inappropriate [platform specific] | ||
9 | |||
10 | Signed-off-by: Jian Li <jian.li@freescale.com> | ||
11 | --- | ||
12 | gst/playback/gstplaybin2.c | 3 +-- | ||
13 | 1 file changed, 1 insertion(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/gst/playback/gstplaybin2.c b/gst/playback/gstplaybin2.c | ||
16 | index fc02ca3..c342438 100644 | ||
17 | --- a/gst/playback/gstplaybin2.c | ||
18 | +++ b/gst/playback/gstplaybin2.c | ||
19 | @@ -511,8 +511,7 @@ struct _GstPlayBinClass | ||
20 | #define DEFAULT_SUBURI NULL | ||
21 | #define DEFAULT_SOURCE NULL | ||
22 | #define DEFAULT_FLAGS GST_PLAY_FLAG_AUDIO | GST_PLAY_FLAG_VIDEO | GST_PLAY_FLAG_TEXT | \ | ||
23 | - GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_DEINTERLACE | \ | ||
24 | - GST_PLAY_FLAG_SOFT_COLORBALANCE | ||
25 | + GST_PLAY_FLAG_SOFT_VOLUME | GST_PLAY_FLAG_NATIVE_VIDEO | ||
26 | #define DEFAULT_N_VIDEO 0 | ||
27 | #define DEFAULT_CURRENT_VIDEO -1 | ||
28 | #define DEFAULT_N_AUDIO 0 | ||
29 | -- | ||
30 | 1.7.9.5 | ||
31 | |||
diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend new file mode 100644 index 00000000..5b939d4f --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base_%.bbappend | |||
@@ -0,0 +1,10 @@ | |||
1 | |||
2 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
3 | |||
4 | SRC_URI_append_mxs = " file://gstplaybin-enable-native-video.patch" | ||
5 | SRC_URI_append_mx5 = " file://gstplaybin-enable-native-video.patch" | ||
6 | SRC_URI_append_mx6 = " file://gstplaybin-enable-native-video.patch" | ||
7 | |||
8 | PACKAGE_ARCH_mxs = "${MACHINE_SOCARCH}" | ||
9 | PACKAGE_ARCH_mx5 = "${MACHINE_SOCARCH}" | ||
10 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb new file mode 100644 index 00000000..bfb70809 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/gstreamer/gstreamer1.0-plugins-imx_0.10.2.bb | |||
@@ -0,0 +1,45 @@ | |||
1 | DESCRIPTION = "GStreamer 1.0 plugins for i.MX platforms" | ||
2 | LICENSE = "LGPLv2+" | ||
3 | LIC_FILES_CHKSUM = "file://LICENSE;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
4 | SECTION = "multimedia" | ||
5 | DEPENDS = "gstreamer1.0 gstreamer1.0-plugins-base imx-gpu-viv libfslcodec libfslvpuwrap virtual/kernel virtual/egl \ | ||
6 | virtual/libgles2 ${@base_contains('DISTRO_FEATURES', 'x11', 'virtual/libx11', '', d)}" | ||
7 | # add the audioparsers and the videoparsersbad plugins as RDEPENDS ; audioparsers | ||
8 | # for the uniaudio decoder, videoparsersbad for the VPU video decoder | ||
9 | # the gstreamer1.0-plugins-imx RDEPENDS is necessary to ensure the -good and -bad recipes are built | ||
10 | RDEPENDS_gstreamer1.0-plugins-imx = "gstreamer1.0-plugins-good gstreamer1.0-plugins-bad" | ||
11 | RDEPENDS_gstreamer1.0-plugins-imx-imxaudio = "gstreamer1.0-plugins-good-audioparsers" | ||
12 | RDEPENDS_gstreamer1.0-plugins-imx-imxvpu = "gstreamer1.0-plugins-bad-videoparsersbad" | ||
13 | |||
14 | SRCBRANCH ?= "master" | ||
15 | SRCREV = "cd04f047e17cbdff5d8e075be7dccaf4522ad713" | ||
16 | SRC_URI = "git://github.com/Freescale/gstreamer-imx.git;branch=${SRCBRANCH}" | ||
17 | |||
18 | S = "${WORKDIR}/git" | ||
19 | |||
20 | inherit waf | ||
21 | |||
22 | do_compile[depends] += "virtual/kernel:do_shared_workdir" | ||
23 | |||
24 | # configure the eglvivsink element to use the appropriate EGL platform code | ||
25 | # X11 if x11 is present in DISTRO_FEATURES | ||
26 | # Wayland if x11 is not present in DISTRO_FEATURES, but wayland is | ||
27 | # Framebuffer otherwise | ||
28 | EGLVIVSINK_PLATFORM = "${@base_contains('DISTRO_FEATURES', 'x11', 'x11', \ | ||
29 | base_contains('DISTRO_FEATURES', 'wayland', 'wayland', \ | ||
30 | 'fb', d),d)}" | ||
31 | |||
32 | EXTRA_OECONF = "--egl-platform=${EGLVIVSINK_PLATFORM} --kernel-headers=${STAGING_KERNEL_DIR}/include" | ||
33 | |||
34 | # LIBV is used by gst-plugins-package.inc to specify the GStreamer version (0.10 vs 1.0) | ||
35 | LIBV = "1.0" | ||
36 | require recipes-multimedia/gstreamer/gst-plugins-package.inc | ||
37 | |||
38 | # the following line is required to produce one package for each plugin | ||
39 | PACKAGES_DYNAMIC = "^${PN}-.*" | ||
40 | |||
41 | COMPATIBLE_MACHINE = "(mx6)" | ||
42 | |||
43 | # disable the false alarm (the "it isn't a build dependency" QA warning) | ||
44 | INSANE_SKIP_gstreamer1.0-plugins-imx-imxaudio = "build-deps" | ||
45 | INSANE_SKIP_gstreamer1.0-plugins-imx-imxvpu = "build-deps" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec.inc b/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec.inc new file mode 100644 index 00000000..ed07774b --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec.inc | |||
@@ -0,0 +1,104 @@ | |||
1 | # Copyright (C) 2012-2014 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | DESCRIPTION = "Freescale Multimedia codec libs" | ||
4 | LICENSE = "Proprietary" | ||
5 | SECTION = "multimedia" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
7 | |||
8 | inherit fsl-eula-unpack autotools pkgconfig | ||
9 | |||
10 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
11 | |||
12 | # Choose between Soft Float-Point and Hard Float-Point | ||
13 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '', d)}" | ||
14 | |||
15 | PACKAGECONFIG ?= "" | ||
16 | PACKAGECONFIG_mx6q = "vpu" | ||
17 | PACKAGECONFIG_mx6dl = "vpu" | ||
18 | PACKAGECONFIG_mx5 = "vpu" | ||
19 | |||
20 | PACKAGECONFIG[vpu] = "--enable-vpu,--disable-vpu,imx-vpu" | ||
21 | |||
22 | do_install_append() { | ||
23 | # FIXME: This link points to nowhere | ||
24 | rm ${D}${libdir}/imx-mm/audio-codec/lib_src_ppp_arm11_elinux.so | ||
25 | |||
26 | # LTIB move the files around or gst-fsl-plugin won't find them | ||
27 | for p in $(find ${D}${libdir}/imx-mm -mindepth 2 -maxdepth 2 -not -type d); do | ||
28 | mv $p ${D}${libdir} | ||
29 | done | ||
30 | rmdir ${D}${libdir}/imx-mm/video-codec | ||
31 | |||
32 | } | ||
33 | |||
34 | do_install_append_mx5() { | ||
35 | # FIXME: The binary files depends on libvpu.so.4 which is i.MX6 only | ||
36 | rm -r ${D}${datadir}/imx-mm/*/examples/*/bin | ||
37 | } | ||
38 | |||
39 | python __set_insane_skip() { | ||
40 | # Ensure we have PACKAGES expanded | ||
41 | bb.build.exec_func("read_subpackage_metadata", d) | ||
42 | |||
43 | for p in d.getVar('PACKAGES', True).split(): | ||
44 | # Even though we are packaging libraries those are plugins so we | ||
45 | # shouldn't rename the packages to follow its sonames. | ||
46 | d.setVar("DEBIAN_NOAUTONAME_%s" % p, "1") | ||
47 | |||
48 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
49 | # the source we cannot fix it. Disable the insane check for now. | ||
50 | if p == 'libfslcodec-test-bin': | ||
51 | # FIXME: includes the DUT .so files so we need to deploy those | ||
52 | d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel libdir") | ||
53 | else: | ||
54 | d.setVar("INSANE_SKIP_%s" % p, "ldflags textrel") | ||
55 | } | ||
56 | |||
57 | do_package_qa[prefuncs] += "__set_insane_skip" | ||
58 | |||
59 | python __split_libfslcodec_plugins() { | ||
60 | codecdir = bb.data.expand('${libdir}', d) | ||
61 | do_split_packages(d, codecdir, '^lib_([^_]*).*_arm.*_elinux\.so\..*', | ||
62 | aux_files_pattern='${libdir}/imx-mm/audio-codec/wrap/lib_%sd_wrap_arm*_elinux.so.*', | ||
63 | output_pattern='libfslcodec-%s', | ||
64 | description='Freescale i.MX Codec (%s)', | ||
65 | extra_depends='') | ||
66 | } | ||
67 | |||
68 | python __set_metapkg_rdepends() { | ||
69 | # Allow addition of all codecs in a image; useful specially for | ||
70 | # debugging. | ||
71 | codec_pkgs = oe.utils.packages_filter_out_system(d) | ||
72 | codec_pkgs = filter(lambda x: x not in ['libfslcodec-test-bin', 'libfslcodec-test-source'], | ||
73 | codec_pkgs) | ||
74 | d.appendVar('RDEPENDS_libfslcodec-meta', ' ' + ' '.join(codec_pkgs)) | ||
75 | } | ||
76 | |||
77 | PACKAGESPLITFUNCS =+ "__split_libfslcodec_plugins __set_metapkg_rdepends" | ||
78 | |||
79 | PACKAGES_DYNAMIC = "${PN}-*" | ||
80 | INHIBIT_PACKAGE_STRIP = "1" | ||
81 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
82 | |||
83 | PACKAGES += "${PN}-meta ${PN}-test-bin ${PN}-test-source" | ||
84 | |||
85 | ALLOW_EMPTY_${PN} = "1" | ||
86 | ALLOW_EMPTY_${PN}-meta = "1" | ||
87 | |||
88 | # Ensure we get warnings if we miss something | ||
89 | FILES_${PN} = "" | ||
90 | |||
91 | FILES_${PN}-dev += "${libdir}/imx-mm/*/*${SOLIBSDEV} \ | ||
92 | ${libdir}/imx-mm/*/*/*${SOLIBSDEV} \ | ||
93 | ${libdir}/pkgconfig/*.pc ${includedir}/imx-mm/*" | ||
94 | |||
95 | FILES_${PN}-test-bin += "${datadir}/imx-mm/*/examples/*/bin" | ||
96 | |||
97 | FILES_${PN}-test-source += "${datadir}/imx-mm/*" | ||
98 | |||
99 | # FIXME: The wrap and lib names does not match | ||
100 | FILES_${PN}-oggvorbis += "${libdir}/imx-mm/audio-codec/wrap/lib_vorbisd_wrap_arm*_elinux.so.*" | ||
101 | FILES_${PN}-nb += "${libdir}/imx-mm/audio-codec/wrap/lib_nbamrd_wrap_arm*_elinux.so.*" | ||
102 | FILES_${PN}-wb += "${libdir}/imx-mm/audio-codec/wrap/lib_wbamrd_wrap_arm*_elinux.so.*" | ||
103 | |||
104 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_4.0.3.bb b/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_4.0.3.bb new file mode 100644 index 00000000..4f105d40 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/libfslcodec/libfslcodec_4.0.3.bb | |||
@@ -0,0 +1,9 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require recipes-multimedia/libfslcodec/libfslcodec.inc | ||
5 | |||
6 | SRC_URI[md5sum] = "829f88758622eab85b7427e5b488c8a0" | ||
7 | SRC_URI[sha256sum] = "0d0ff933eed0a021763115b9c8ae812c6376a19bbd95e555d89ea7404f6c8f2f" | ||
8 | |||
9 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc new file mode 100644 index 00000000..d46330e4 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | # Copyright (C) 2012-2014 O.S. Systems Software LTDA. | ||
2 | # Copyright (C) 2012-2013 Freescale Semiconductor | ||
3 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
4 | DESCRIPTION = "Freescale Multimedia parser libs" | ||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
8 | |||
9 | inherit fsl-eula-unpack autotools pkgconfig | ||
10 | |||
11 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
12 | |||
13 | # Choose between Soft Float-Point and Hard Float-Point | ||
14 | EXTRA_OECONF = "${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', '--enable-fhw', '--enable-fsw', d)}" | ||
15 | |||
16 | INHIBIT_PACKAGE_STRIP = "1" | ||
17 | INHIBIT_PACKAGE_DEBUG_SPLIT = "1" | ||
18 | |||
19 | python __set_insane_skip() { | ||
20 | # FIXME: All binaries lack GNU_HASH in elf binary but as we don't have | ||
21 | # the source we cannot fix it. Disable the insane check for now. | ||
22 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
23 | for p in d.getVar('PACKAGES', True).split(): | ||
24 | d.setVar("INSANE_SKIP_%s" % p, "ldflags dev-so textrel") | ||
25 | } | ||
26 | |||
27 | do_package_qa[prefuncs] += "__set_insane_skip" | ||
28 | |||
29 | # FIXME: gst-fsl-plugin looks for the .so files so we need to deploy those | ||
30 | FILES_${PN} += "${libdir}/imx-mm/*/*${SOLIBS} ${libdir}/imx-mm/*/*${SOLIBSDEV}" | ||
31 | |||
32 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
33 | |||
diff --git a/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_4.0.3.bb b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_4.0.3.bb new file mode 100644 index 00000000..790cb952 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/libfslparser/libfslparser_4.0.3.bb | |||
@@ -0,0 +1,10 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | |||
4 | require recipes-multimedia/libfslparser/libfslparser.inc | ||
5 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
6 | |||
7 | SRC_URI[md5sum] = "a0b0779edc543536de71898657072275" | ||
8 | SRC_URI[sha256sum] = "9db10ca6a61c8fdbe91b55b65d084dcbb5f9cfb58b088996c7dd2d6dc8385730" | ||
9 | |||
10 | COMPATIBLE_MACHINE = "(mx6)" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.58.bb b/meta-fsl-arm/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.58.bb new file mode 100644 index 00000000..c61eb6dd --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/libfslvpuwrap/libfslvpuwrap_1.0.58.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | # Copyright (C) 2013-2015 Freescale Semiconductor | ||
2 | # Released under the MIT license (see COPYING.MIT for the terms) | ||
3 | DESCRIPTION = "Freescale Multimedia VPU wrapper" | ||
4 | DEPENDS = "imx-vpu" | ||
5 | LICENSE = "Proprietary" | ||
6 | SECTION = "multimedia" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=acdb807ac7275fe32f9f64992e111241" | ||
8 | |||
9 | SRC_URI = "${FSL_MIRROR}/${PN}-${PV}.bin;fsl-eula=true" | ||
10 | S = "${WORKDIR}/${PN}-${PV}" | ||
11 | |||
12 | SRC_URI[md5sum] = "bf4960ab18e6bb59e98aae797b80cd7f" | ||
13 | SRC_URI[sha256sum] = "a278eb18ec24230166ac39e2eadf7b934798f0432654c2e24c4cb69c3ac1cf0f" | ||
14 | |||
15 | inherit fsl-eula-unpack autotools pkgconfig | ||
16 | |||
17 | do_install_append() { | ||
18 | # FIXME: Drop examples for now | ||
19 | rm -r ${D}${datadir} | ||
20 | } | ||
21 | |||
22 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
23 | COMPATIBLE_MACHINE = "(mx6q|mx6dl)" | ||
diff --git a/meta-fsl-arm/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend b/meta-fsl-arm/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend new file mode 100644 index 00000000..b9acb361 --- /dev/null +++ b/meta-fsl-arm/recipes-multimedia/pulseaudio/pulseaudio_%.bbappend | |||
@@ -0,0 +1,4 @@ | |||
1 | |||
2 | CACHED_CONFIGUREVARS_append_mx6 = " ax_cv_PTHREAD_PRIO_INHERIT=no" | ||
3 | |||
4 | PACKAGE_ARCH_mx6 = "${MACHINE_SOCARCH}" | ||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4-embedded_%.bbappend b/meta-fsl-arm/recipes-qt/qt4/qt4-embedded_%.bbappend new file mode 100644 index 00000000..14324ca1 --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4-embedded_%.bbappend | |||
@@ -0,0 +1 @@ | |||
include qt4-imx-support.inc | |||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4-imx-support.inc b/meta-fsl-arm/recipes-qt/qt4/qt4-imx-support.inc new file mode 100644 index 00000000..69ad67ba --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4-imx-support.inc | |||
@@ -0,0 +1,28 @@ | |||
1 | FILESEXTRAPATHS_prepend := "${THISDIR}/qt4:" | ||
2 | |||
3 | python __anonymous () { | ||
4 | families = ['mx5', 'mx6'] | ||
5 | cur_families = (d.getVar('SOC_FAMILY', True) or '').split(':') | ||
6 | if any(map(lambda x: x in cur_families, | ||
7 | families)): | ||
8 | d.appendVarFlag('do_configure', 'depends', ' virtual/kernel:do_shared_workdir') | ||
9 | } | ||
10 | |||
11 | SRC_URI_append_mx5 += "file://0001-Add-support-for-i.MX-codecs-to-phonon.patch" | ||
12 | SRC_URI_append_mx6 += " \ | ||
13 | file://0001-Add-support-for-i.MX-codecs-to-phonon.patch \ | ||
14 | file://0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch \ | ||
15 | file://0003-i.MX6-force-egl-visual-ID-33.patch \ | ||
16 | " | ||
17 | |||
18 | DEPENDS_append_mx5 = " virtual/kernel virtual/libgles2" | ||
19 | QT_GLFLAGS_mx5 = "-opengl es2 -openvg" | ||
20 | QT_CONFIG_FLAGS_append_mx5 = " -I${STAGING_KERNEL_DIR}/include/" | ||
21 | |||
22 | DEPENDS_append_mx6 = " virtual/kernel virtual/libgles2" | ||
23 | QT_GLFLAGS_mx6 = "-opengl es2 -openvg" | ||
24 | QT_CONFIG_FLAGS_append_mx6 = " -I${STAGING_KERNEL_DIR}/include/uapi \ | ||
25 | -I${STAGING_KERNEL_DIR}/include/ \ | ||
26 | -DLINUX=1 -DEGL_API_FB=1 \ | ||
27 | -DQT_QPA_EXPERIMENTAL_TOUCHEVENT=1" | ||
28 | |||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4-x11-free_%.bbappend b/meta-fsl-arm/recipes-qt/qt4/qt4-x11-free_%.bbappend new file mode 100644 index 00000000..14324ca1 --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4-x11-free_%.bbappend | |||
@@ -0,0 +1 @@ | |||
include qt4-imx-support.inc | |||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch b/meta-fsl-arm/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch new file mode 100644 index 00000000..1213650c --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4/0001-Add-support-for-i.MX-codecs-to-phonon.patch | |||
@@ -0,0 +1,468 @@ | |||
1 | From 2ff5682e42771519757756dedbf27b7a9e8e25d9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Rogerio Pimentel <rogerio.pimentel@freescale.com> | ||
3 | Date: Tue, 24 Jul 2012 13:47:01 -0300 | ||
4 | Subject: [PATCH] Add support for i.MX codecs to phonon | ||
5 | |||
6 | Add support for i.MX codecs to phonon | ||
7 | |||
8 | Signed-off-by: Daniele Dall'Acqua <daniele.d@freescale.com> | ||
9 | Signed-off-by: Rogerio Pimentel <rogerio.pimentel@freescale.com> | ||
10 | --- | ||
11 | src/3rdparty/phonon/gstreamer/abstractrenderer.h | 1 + | ||
12 | src/3rdparty/phonon/gstreamer/mediaobject.cpp | 4 + | ||
13 | src/3rdparty/phonon/gstreamer/videowidget.cpp | 60 ++------ | ||
14 | src/3rdparty/phonon/gstreamer/videowidget.h | 1 + | ||
15 | src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | 169 ++++++++++++++-------- | ||
16 | src/3rdparty/phonon/gstreamer/widgetrenderer.h | 17 ++- | ||
17 | src/3rdparty/phonon/gstreamer/x11renderer.cpp | 22 +--- | ||
18 | 7 files changed, 141 insertions(+), 133 deletions(-) | ||
19 | |||
20 | diff --git a/src/3rdparty/phonon/gstreamer/abstractrenderer.h b/src/3rdparty/phonon/gstreamer/abstractrenderer.h | ||
21 | index 10a2822..fa0d87d 100644 | ||
22 | --- a/src/3rdparty/phonon/gstreamer/abstractrenderer.h | ||
23 | +++ b/src/3rdparty/phonon/gstreamer/abstractrenderer.h | ||
24 | @@ -49,6 +49,7 @@ public: | ||
25 | virtual bool eventFilter(QEvent *) = 0; | ||
26 | virtual void handlePaint(QPaintEvent *) {} | ||
27 | virtual bool paintsOnWidget() { return true; } // Controls overlays | ||
28 | + virtual void handleMove(QMoveEvent * event ) {}; | ||
29 | |||
30 | protected: | ||
31 | VideoWidget *m_videoWidget; | ||
32 | diff --git a/src/3rdparty/phonon/gstreamer/mediaobject.cpp b/src/3rdparty/phonon/gstreamer/mediaobject.cpp | ||
33 | index 23a60c0..f806d64 100644 | ||
34 | --- a/src/3rdparty/phonon/gstreamer/mediaobject.cpp | ||
35 | +++ b/src/3rdparty/phonon/gstreamer/mediaobject.cpp | ||
36 | @@ -515,6 +515,9 @@ void MediaObject::createPipeline() | ||
37 | // reduce buffer overruns as these are not gracefully handled at the moment. | ||
38 | m_audioPipe = gst_element_factory_make("queue", NULL); | ||
39 | g_object_set(G_OBJECT(m_audioPipe), "max-size-time", MAX_QUEUE_TIME, (const char*)NULL); | ||
40 | + g_object_set(G_OBJECT(m_audioPipe), "max-size-time", 0, (const char*)NULL); | ||
41 | + g_object_set(G_OBJECT(m_audioPipe), "max-size-buffers", 0, (const char*)NULL); | ||
42 | + g_object_set(G_OBJECT(m_audioPipe), "max-size-bytes", 0, (const char*)NULL); | ||
43 | gst_bin_add(GST_BIN(m_audioGraph), m_audioPipe); | ||
44 | GstPad *audiopad = gst_element_get_pad (m_audioPipe, "sink"); | ||
45 | gst_element_add_pad (m_audioGraph, gst_ghost_pad_new ("sink", audiopad)); | ||
46 | @@ -527,6 +530,7 @@ void MediaObject::createPipeline() | ||
47 | |||
48 | m_videoPipe = gst_element_factory_make("queue", NULL); | ||
49 | g_object_set(G_OBJECT(m_videoPipe), "max-size-time", MAX_QUEUE_TIME, (const char*)NULL); | ||
50 | + g_object_set(G_OBJECT(m_videoPipe), "max-size-time", 33000, (const char*)NULL); | ||
51 | gst_bin_add(GST_BIN(m_videoGraph), m_videoPipe); | ||
52 | GstPad *videopad = gst_element_get_pad (m_videoPipe, "sink"); | ||
53 | gst_element_add_pad (m_videoGraph, gst_ghost_pad_new ("sink", videopad)); | ||
54 | diff --git a/src/3rdparty/phonon/gstreamer/videowidget.cpp b/src/3rdparty/phonon/gstreamer/videowidget.cpp | ||
55 | index a4c6f79..3682d3f 100644 | ||
56 | --- a/src/3rdparty/phonon/gstreamer/videowidget.cpp | ||
57 | +++ b/src/3rdparty/phonon/gstreamer/videowidget.cpp | ||
58 | @@ -83,50 +83,16 @@ void VideoWidget::setupVideoBin() | ||
59 | Q_ASSERT(m_videoBin); | ||
60 | gst_object_ref (GST_OBJECT (m_videoBin)); //Take ownership | ||
61 | gst_object_sink (GST_OBJECT (m_videoBin)); | ||
62 | - | ||
63 | - //The videoplug element is the final element before the pluggable videosink | ||
64 | - m_videoplug = gst_element_factory_make ("identity", NULL); | ||
65 | - | ||
66 | - //Colorspace ensures that the output of the stream matches the input format accepted by our video sink | ||
67 | - m_colorspace = gst_element_factory_make ("ffmpegcolorspace", NULL); | ||
68 | - | ||
69 | - //Video scale is used to prepare the correct aspect ratio and scale. | ||
70 | - GstElement *videoScale = gst_element_factory_make ("videoscale", NULL); | ||
71 | - | ||
72 | - //We need a queue to support the tee from parent node | ||
73 | - GstElement *queue = gst_element_factory_make ("queue", NULL); | ||
74 | - | ||
75 | - if (queue && m_videoBin && videoScale && m_colorspace && videoSink && m_videoplug) { | ||
76 | - //Ensure that the bare essentials are prepared | ||
77 | - gst_bin_add_many (GST_BIN (m_videoBin), queue, m_colorspace, m_videoplug, videoScale, videoSink, (const char*)NULL); | ||
78 | - bool success = false; | ||
79 | - //Video balance controls color/sat/hue in the YUV colorspace | ||
80 | - m_videoBalance = gst_element_factory_make ("videobalance", NULL); | ||
81 | - if (m_videoBalance) { | ||
82 | - // For video balance to work we have to first ensure that the video is in YUV colorspace, | ||
83 | - // then hand it off to the videobalance filter before finally converting it back to RGB. | ||
84 | - // Hence we nede a videoFilter to convert the colorspace before and after videobalance | ||
85 | - GstElement *m_colorspace2 = gst_element_factory_make ("ffmpegcolorspace", NULL); | ||
86 | - gst_bin_add_many(GST_BIN(m_videoBin), m_videoBalance, m_colorspace2, (const char*)NULL); | ||
87 | - success = gst_element_link_many(queue, m_colorspace, m_videoBalance, m_colorspace2, videoScale, m_videoplug, videoSink, (const char*)NULL); | ||
88 | - } else { | ||
89 | - //If video balance is not available, just connect to sink directly | ||
90 | - success = gst_element_link_many(queue, m_colorspace, videoScale, m_videoplug, videoSink, (const char*)NULL); | ||
91 | - } | ||
92 | - | ||
93 | - if (success) { | ||
94 | - GstPad *videopad = gst_element_get_pad (queue, "sink"); | ||
95 | - gst_element_add_pad (m_videoBin, gst_ghost_pad_new ("sink", videopad)); | ||
96 | - gst_object_unref (videopad); | ||
97 | -#ifndef Q_WS_QPA | ||
98 | - QWidget *parentWidget = qobject_cast<QWidget*>(parent()); | ||
99 | - if (parentWidget) | ||
100 | - parentWidget->winId(); // Due to some existing issues with alien in 4.4, | ||
101 | - // we must currently force the creation of a parent widget. | ||
102 | -#endif | ||
103 | - m_isValid = true; //initialization ok, accept input | ||
104 | - } | ||
105 | - } | ||
106 | + gst_bin_add_many (GST_BIN (m_videoBin), videoSink, NULL); | ||
107 | + GstPad *videopad = gst_element_get_pad (videoSink,"sink"); | ||
108 | + gst_element_add_pad (m_videoBin, gst_ghost_pad_new ("sink", videopad)); | ||
109 | + gst_object_unref (videopad); | ||
110 | + QWidget *parentWidget = qobject_cast<QWidget*>(parent()); | ||
111 | + | ||
112 | + if (parentWidget) | ||
113 | + parentWidget->winId(); // Due to some existing issues with alien in 4.4, | ||
114 | + // we must currently force the creation of a parent widget. | ||
115 | + m_isValid = true; //initialization ok, accept input | ||
116 | } | ||
117 | |||
118 | void VideoWidget::paintEvent(QPaintEvent *event) | ||
119 | @@ -135,6 +101,12 @@ void VideoWidget::paintEvent(QPaintEvent *event) | ||
120 | m_renderer->handlePaint(event); | ||
121 | } | ||
122 | |||
123 | +void VideoWidget::moveEvent(QMoveEvent * event ) | ||
124 | +{ | ||
125 | + Q_ASSERT(m_renderer); | ||
126 | + m_renderer->handleMove(event); | ||
127 | +} | ||
128 | + | ||
129 | void VideoWidget::setVisible(bool val) { | ||
130 | Q_ASSERT(m_renderer); | ||
131 | |||
132 | diff --git a/src/3rdparty/phonon/gstreamer/videowidget.h b/src/3rdparty/phonon/gstreamer/videowidget.h | ||
133 | index 8603f6a..38c7b17 100644 | ||
134 | --- a/src/3rdparty/phonon/gstreamer/videowidget.h | ||
135 | +++ b/src/3rdparty/phonon/gstreamer/videowidget.h | ||
136 | @@ -65,6 +65,7 @@ public: | ||
137 | qreal saturation() const; | ||
138 | void setSaturation(qreal); | ||
139 | void setMovieSize(const QSize &size); | ||
140 | + void moveEvent(QMoveEvent * event ); | ||
141 | QSize sizeHint() const; | ||
142 | QRect scaleToAspect(QRect srcRect, int w, int h) const; | ||
143 | QRect calculateDrawFrameRect() const; | ||
144 | diff --git a/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp b/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
145 | index 423af9d..aa4925a 100644 | ||
146 | --- a/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
147 | +++ b/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
148 | @@ -15,7 +15,9 @@ | ||
149 | along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
150 | */ | ||
151 | |||
152 | +#include <QMouseEvent> | ||
153 | #include <QtGui/QPainter> | ||
154 | +#include <QPaintEvent> | ||
155 | #include <gst/gst.h> | ||
156 | #include "common.h" | ||
157 | #include "message.h" | ||
158 | @@ -24,6 +26,18 @@ | ||
159 | #include "widgetrenderer.h" | ||
160 | #include "qrgb.h" | ||
161 | |||
162 | +#include <stdio.h> | ||
163 | +#include <stdlib.h> | ||
164 | +#include <errno.h> | ||
165 | +#include <stdint.h> | ||
166 | +#include <fcntl.h> | ||
167 | +#include <sys/ioctl.h> | ||
168 | +#include <unistd.h> | ||
169 | +#include <linux/mxcfb.h> | ||
170 | + | ||
171 | +#define MXCFB_GBL_ALPHA 255 | ||
172 | +#define MXCFB_CLR_KEY 0x00000000 // ARGB8888 | ||
173 | + | ||
174 | // support old OpenGL installations (1.2) | ||
175 | // assume that if TEXTURE0 isn't defined, none are | ||
176 | #ifndef GL_TEXTURE0 | ||
177 | @@ -35,26 +49,6 @@ | ||
178 | #ifndef QT_NO_PHONON_VIDEO | ||
179 | QT_BEGIN_NAMESPACE | ||
180 | |||
181 | -static void frameRendered() | ||
182 | -{ | ||
183 | - static QString displayFps = qgetenv("PHONON_GST_FPS"); | ||
184 | - if (displayFps.isEmpty()) | ||
185 | - return; | ||
186 | - | ||
187 | - static int frames = 0; | ||
188 | - static QTime lastTime = QTime::currentTime(); | ||
189 | - QTime time = QTime::currentTime(); | ||
190 | - | ||
191 | - int delta = lastTime.msecsTo(time); | ||
192 | - if (delta > 2000) { | ||
193 | - printf("FPS: %f\n", 1000.0 * frames / qreal(delta)); | ||
194 | - lastTime = time; | ||
195 | - frames = 0; | ||
196 | - } | ||
197 | - | ||
198 | - ++frames; | ||
199 | -} | ||
200 | - | ||
201 | namespace Phonon | ||
202 | { | ||
203 | namespace Gstreamer | ||
204 | @@ -62,17 +56,11 @@ namespace Gstreamer | ||
205 | |||
206 | WidgetRenderer::WidgetRenderer(VideoWidget *videoWidget) | ||
207 | : AbstractRenderer(videoWidget) | ||
208 | - , m_width(0) | ||
209 | - , m_height(0) | ||
210 | { | ||
211 | - videoWidget->backend()->logMessage("Creating QWidget renderer"); | ||
212 | - if ((m_videoSink = GST_ELEMENT(g_object_new(get_type_RGB(), NULL)))) { | ||
213 | - gst_object_ref (GST_OBJECT (m_videoSink)); //Take ownership | ||
214 | + if ((m_videoSink = gst_element_factory_make("mfw_v4lsink", NULL)) && m_videoSink != NULL) { | ||
215 | + | ||
216 | + gst_object_ref (GST_OBJECT (m_videoSink)); //Take ownership | ||
217 | gst_object_sink (GST_OBJECT (m_videoSink)); | ||
218 | - | ||
219 | - QWidgetVideoSinkBase* sink = reinterpret_cast<QWidgetVideoSinkBase*>(m_videoSink); | ||
220 | - // Let the videosink know which widget to direct frame updates to | ||
221 | - sink->renderWidget = videoWidget; | ||
222 | } | ||
223 | |||
224 | // Clear the background with black by default | ||
225 | @@ -84,67 +72,124 @@ WidgetRenderer::WidgetRenderer(VideoWidget *videoWidget) | ||
226 | m_videoWidget->setAttribute(Qt::WA_PaintOnScreen, false); | ||
227 | } | ||
228 | |||
229 | -void WidgetRenderer::setNextFrame(const QByteArray &array, int w, int h) | ||
230 | +WidgetRenderer::~WidgetRenderer() | ||
231 | { | ||
232 | - if (m_videoWidget->root()->state() == Phonon::LoadingState) | ||
233 | - return; | ||
234 | - | ||
235 | - m_frame = QImage(); | ||
236 | - { | ||
237 | - m_frame = QImage((uchar *)array.constData(), w, h, QImage::Format_RGB32); | ||
238 | - } | ||
239 | + if (m_videoSink) { | ||
240 | + gst_object_unref (GST_OBJECT (m_videoSink)); | ||
241 | + m_videoSink = 0; | ||
242 | + } | ||
243 | +} | ||
244 | |||
245 | - m_array = array; | ||
246 | - m_width = w; | ||
247 | - m_height = h; | ||
248 | +void WidgetRenderer::setVideoSize(void) | ||
249 | +{ | ||
250 | |||
251 | - m_videoWidget->update(); | ||
252 | + int adj_x; | ||
253 | + int adj_y; | ||
254 | + | ||
255 | + QSize wSize = m_videoWidget->size(); | ||
256 | + m_drawFrameRect = m_videoWidget->calculateDrawFrameRect(); | ||
257 | + framePos = m_videoWidget->mapToGlobal(QPoint(0,0)); | ||
258 | + | ||
259 | + //Center the video in the widget | ||
260 | + | ||
261 | + adj_x = (wSize.width()/2) - (m_drawFrameRect.width()/2); | ||
262 | + adj_y = (wSize.height()/2) - (m_drawFrameRect.height()/2); | ||
263 | + g_object_set(G_OBJECT(m_videoSink), "axis-left",adj_x + framePos.x(),(const char*)NULL); | ||
264 | + g_object_set(G_OBJECT(m_videoSink), "axis-top", adj_y + framePos.y(), (const char*)NULL); | ||
265 | + g_object_set(G_OBJECT(m_videoSink), "disp-width", m_drawFrameRect.width(), (const char*)NULL); | ||
266 | + g_object_set(G_OBJECT(m_videoSink), "disp-height", m_drawFrameRect.height(), (const char*)NULL); | ||
267 | + g_object_set(G_OBJECT(m_videoSink), "setpara", 1, (const char*)NULL); | ||
268 | } | ||
269 | |||
270 | void WidgetRenderer::handleMediaNodeEvent(const MediaNodeEvent *event) | ||
271 | { | ||
272 | switch (event->type()) { | ||
273 | - case MediaNodeEvent::SourceChanged: | ||
274 | - { | ||
275 | - clearFrame(); | ||
276 | - break; | ||
277 | - } | ||
278 | default: | ||
279 | break; | ||
280 | } | ||
281 | } | ||
282 | |||
283 | -void WidgetRenderer::clearFrame() | ||
284 | +void WidgetRenderer::handlePaint(QPaintEvent *event) | ||
285 | { | ||
286 | - m_frame = QImage(); | ||
287 | - m_array = QByteArray(); | ||
288 | - m_videoWidget->update(); | ||
289 | + Q_UNUSED(event); | ||
290 | + QPainter painter(m_videoWidget); | ||
291 | + painter.fillRect(m_videoWidget->rect(), m_videoWidget->palette().background()); | ||
292 | } | ||
293 | |||
294 | -const QImage &WidgetRenderer::currentFrame() const | ||
295 | +int WidgetRenderer::setOverlay(void) | ||
296 | { | ||
297 | - return m_frame; | ||
298 | + struct mxcfb_color_key color_key; | ||
299 | + struct mxcfb_gbl_alpha alpha; | ||
300 | + int fd_fb; | ||
301 | + | ||
302 | + if ((fd_fb = open("/dev/fb0", O_RDWR, 0)) < 0) | ||
303 | + { | ||
304 | + printf("Unable to open %s\n", "/dev/fb0"); | ||
305 | + return -1; | ||
306 | + | ||
307 | + } | ||
308 | + | ||
309 | + alpha.alpha = MXCFB_GBL_ALPHA; | ||
310 | + alpha.enable = 1; | ||
311 | + | ||
312 | + if (ioctl(fd_fb, MXCFB_SET_GBL_ALPHA, &alpha) < 0) { | ||
313 | + printf("Error in applying Alpha\n"); | ||
314 | + } | ||
315 | + | ||
316 | + color_key.color_key = MXCFB_CLR_KEY & 0x00FFFFFF; | ||
317 | + color_key.enable = 1; | ||
318 | + if ( ioctl(fd_fb, MXCFB_SET_CLR_KEY, &color_key) < 0) { | ||
319 | + | ||
320 | + printf("Error in applying Color Key\n"); | ||
321 | + return -1; | ||
322 | + } | ||
323 | + | ||
324 | + close (fd_fb); | ||
325 | + | ||
326 | + return 0; | ||
327 | } | ||
328 | |||
329 | -void WidgetRenderer::handlePaint(QPaintEvent *event) | ||
330 | +void WidgetRenderer::handleMove( QMoveEvent * event) | ||
331 | { | ||
332 | - Q_UNUSED(event); | ||
333 | - QPainter painter(m_videoWidget); | ||
334 | - m_drawFrameRect = m_videoWidget->calculateDrawFrameRect(); | ||
335 | - painter.drawImage(drawFrameRect(), currentFrame()); | ||
336 | - frameRendered(); | ||
337 | + Q_UNUSED(event); | ||
338 | + | ||
339 | + if (framePos != m_videoWidget->mapToGlobal(QPoint(0,0))) | ||
340 | + setVideoSize(); | ||
341 | } | ||
342 | |||
343 | bool WidgetRenderer::eventFilter(QEvent * event) | ||
344 | { | ||
345 | - if (event->type() == QEvent::User) { | ||
346 | - NewFrameEvent *frameEvent= static_cast <NewFrameEvent *>(event); | ||
347 | - setNextFrame(frameEvent->frame, frameEvent->width, frameEvent->height); | ||
348 | - return true; | ||
349 | + if (event->type() == QEvent::Show) { | ||
350 | + | ||
351 | + setOverlay(); | ||
352 | + return true; | ||
353 | + | ||
354 | + } else if (event->type() == QEvent::Resize) { | ||
355 | + | ||
356 | + setVideoSize(); | ||
357 | + return true; | ||
358 | } | ||
359 | + if (framePos != m_videoWidget->mapToGlobal(QPoint(0,0))) | ||
360 | + setVideoSize(); | ||
361 | return false; | ||
362 | } | ||
363 | |||
364 | +void WidgetRenderer::aspectRatioChanged(Phonon::VideoWidget::AspectRatio) | ||
365 | +{ | ||
366 | + setVideoSize(); | ||
367 | +} | ||
368 | + | ||
369 | +void WidgetRenderer::scaleModeChanged(Phonon::VideoWidget::ScaleMode) | ||
370 | +{ | ||
371 | + setVideoSize(); | ||
372 | +} | ||
373 | + | ||
374 | +void WidgetRenderer::movieSizeChanged(const QSize &movieSize) | ||
375 | +{ | ||
376 | + Q_UNUSED(movieSize); | ||
377 | + setVideoSize(); | ||
378 | +} | ||
379 | + | ||
380 | } | ||
381 | } //namespace Phonon::Gstreamer | ||
382 | |||
383 | diff --git a/src/3rdparty/phonon/gstreamer/widgetrenderer.h b/src/3rdparty/phonon/gstreamer/widgetrenderer.h | ||
384 | index 03ee9c0..6de1a03 100644 | ||
385 | --- a/src/3rdparty/phonon/gstreamer/widgetrenderer.h | ||
386 | +++ b/src/3rdparty/phonon/gstreamer/widgetrenderer.h | ||
387 | @@ -40,20 +40,21 @@ class WidgetRenderer : public AbstractRenderer | ||
388 | { | ||
389 | public: | ||
390 | WidgetRenderer(VideoWidget *videoWidget); | ||
391 | + ~WidgetRenderer(void); | ||
392 | bool eventFilter(QEvent * event); | ||
393 | void handlePaint(QPaintEvent *paintEvent); | ||
394 | void handleMediaNodeEvent(const MediaNodeEvent *event); | ||
395 | - const QImage& currentFrame() const; | ||
396 | QRect drawFrameRect() const { return m_drawFrameRect; } | ||
397 | - void setNextFrame(const QByteArray &array, int width, int height); | ||
398 | - bool frameIsSet() { return !m_array.isNull(); } | ||
399 | - void clearFrame(); | ||
400 | + void aspectRatioChanged(Phonon::VideoWidget::AspectRatio aspectRatio); | ||
401 | + void scaleModeChanged(Phonon::VideoWidget::ScaleMode scaleMode); | ||
402 | + void movieSizeChanged(const QSize &movieSize); | ||
403 | + void setVideoSize(void); | ||
404 | + int setOverlay(void); | ||
405 | + void handleMove(QMoveEvent* event); | ||
406 | private: | ||
407 | - mutable QImage m_frame; | ||
408 | - QByteArray m_array; | ||
409 | - int m_width; | ||
410 | - int m_height; | ||
411 | + void paintEvent ( QPaintEvent * event ); | ||
412 | QRect m_drawFrameRect; | ||
413 | + QPoint framePos; | ||
414 | }; | ||
415 | |||
416 | } | ||
417 | diff --git a/src/3rdparty/phonon/gstreamer/x11renderer.cpp b/src/3rdparty/phonon/gstreamer/x11renderer.cpp | ||
418 | index 968f3a8..c4662e7 100644 | ||
419 | --- a/src/3rdparty/phonon/gstreamer/x11renderer.cpp | ||
420 | +++ b/src/3rdparty/phonon/gstreamer/x11renderer.cpp | ||
421 | @@ -31,6 +31,8 @@ | ||
422 | #include "mediaobject.h" | ||
423 | #include "message.h" | ||
424 | |||
425 | +#define FSL_GSTREAMER 1 | ||
426 | + | ||
427 | QT_BEGIN_NAMESPACE | ||
428 | |||
429 | namespace Phonon | ||
430 | @@ -78,31 +80,16 @@ X11Renderer::~X11Renderer() | ||
431 | { | ||
432 | m_renderWidget->setAttribute(Qt::WA_PaintOnScreen, false); | ||
433 | m_renderWidget->setAttribute(Qt::WA_NoSystemBackground, false); | ||
434 | + if (m_videoSink) { | ||
435 | + gst_object_unref (GST_OBJECT (m_videoSink)); | ||
436 | + } | ||
437 | delete m_renderWidget; | ||
438 | } | ||
439 | |||
440 | GstElement* X11Renderer::createVideoSink() | ||
441 | { | ||
442 | - GstElement *videoSink = gst_element_factory_make ("xvimagesink", NULL); | ||
443 | - if (videoSink) { | ||
444 | - // Check if the xv sink is usable | ||
445 | - if (gst_element_set_state(videoSink, GST_STATE_READY) != GST_STATE_CHANGE_SUCCESS) { | ||
446 | - gst_object_unref(GST_OBJECT(videoSink)); | ||
447 | - videoSink = 0; | ||
448 | - } else { | ||
449 | - // Note that this should not really be necessary as these are | ||
450 | - // default values, though under certain conditions values are retained | ||
451 | - // even between application instances. (reproducible on 0.10.16/Gutsy) | ||
452 | - g_object_set(G_OBJECT(videoSink), "brightness", 0, (const char*)NULL); | ||
453 | - g_object_set(G_OBJECT(videoSink), "contrast", 0, (const char*)NULL); | ||
454 | - g_object_set(G_OBJECT(videoSink), "hue", 0, (const char*)NULL); | ||
455 | - g_object_set(G_OBJECT(videoSink), "saturation", 0, (const char*)NULL); | ||
456 | - } | ||
457 | - } | ||
458 | - | ||
459 | - if (!videoSink) | ||
460 | - videoSink = gst_element_factory_make ("ximagesink", NULL); | ||
461 | |||
462 | + GstElement *videoSink = gst_element_factory_make ("mfw_v4lsink", NULL); | ||
463 | gst_object_ref (GST_OBJECT (videoSink)); //Take ownership | ||
464 | gst_object_sink (GST_OBJECT (videoSink)); | ||
465 | |||
466 | -- | ||
467 | 1.7.1 | ||
468 | |||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch b/meta-fsl-arm/recipes-qt/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch new file mode 100644 index 00000000..0226db59 --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4/0002-i.MX-video-renderer-Allow-v4l-device-from-environmen.patch | |||
@@ -0,0 +1,46 @@ | |||
1 | From 023befba9aad60ef58177fd987a6aa40c357b2b2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Eric Nelson <eric.nelson@boundarydevices.com> | ||
3 | Date: Fri, 16 Aug 2013 11:42:23 -0700 | ||
4 | Subject: [PATCH] i.MX video renderer: Allow v4l device from environment | ||
5 | |||
6 | The i.MX6 supports multiple IPUs and multiple V4L2 output | ||
7 | devices for each. | ||
8 | |||
9 | Devices are numbered starting with /dev/video16 and defined | ||
10 | for each configured display. In general, /dev/video16 will | ||
11 | correspond to the RGB (background) layer for /dev/fb0. | ||
12 | If a display is the first on an IPU, an additional V4L2 | ||
13 | output will be defined that corresponds to the normally | ||
14 | YUV overlay (foreground) layer. | ||
15 | |||
16 | This patch allows association of the proper device for | ||
17 | a particular session for use in multi-headed applications. | ||
18 | The default is /dev/video17: | ||
19 | export v4lsinkdev=/dev/video17 | ||
20 | |||
21 | Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com> | ||
22 | --- | ||
23 | src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | 5 ++++- | ||
24 | 1 file changed, 4 insertions(+), 1 deletion(-) | ||
25 | |||
26 | diff --git a/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp b/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
27 | index aa4925a..a502ccd 100644 | ||
28 | --- a/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
29 | +++ b/src/3rdparty/phonon/gstreamer/widgetrenderer.cpp | ||
30 | @@ -58,9 +58,12 @@ WidgetRenderer::WidgetRenderer(VideoWidget *videoWidget) | ||
31 | : AbstractRenderer(videoWidget) | ||
32 | { | ||
33 | if ((m_videoSink = gst_element_factory_make("mfw_v4lsink", NULL)) && m_videoSink != NULL) { | ||
34 | - | ||
35 | + char *videodev; | ||
36 | gst_object_ref (GST_OBJECT (m_videoSink)); //Take ownership | ||
37 | gst_object_sink (GST_OBJECT (m_videoSink)); | ||
38 | + videodev=getenv("v4lsinkdev"); | ||
39 | + if (videodev) | ||
40 | + g_object_set (G_OBJECT (m_videoSink), "device", videodev, NULL); | ||
41 | } | ||
42 | |||
43 | // Clear the background with black by default | ||
44 | -- | ||
45 | 1.8.1.2 | ||
46 | |||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4/0003-i.MX6-force-egl-visual-ID-33.patch b/meta-fsl-arm/recipes-qt/qt4/qt4/0003-i.MX6-force-egl-visual-ID-33.patch new file mode 100644 index 00000000..9aa158d7 --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4/0003-i.MX6-force-egl-visual-ID-33.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From: Javier Viguera <javier.viguera@digi.com> | ||
2 | Date: Mon, 3 Mar 2014 17:10:41 +0100 | ||
3 | Subject: [PATCH] i.MX6: force egl visual ID 33 | ||
4 | |||
5 | Workaround mismatch between EGL binary libraries and QT for FSL MX6 | ||
6 | based platforms. | ||
7 | |||
8 | Error: | ||
9 | Warning: EGL suggested using X Visual ID 33 (ARGB0888) for EGL config 28 (ARGB0444), but this is incompatable | ||
10 | Unable to find an X11 visual which matches EGL config 28 | ||
11 | |||
12 | Patch adapted from: | ||
13 | |||
14 | http://wiki.wandboard.org/index.php/Integrate_Qt5_into_yocto_sato_image_on_Wandboard | ||
15 | |||
16 | Upstream-Status: Inappropriate [workaround] | ||
17 | |||
18 | Signed-off-by: Javier Viguera <javier.viguera@digi.com> | ||
19 | --- | ||
20 | src/gui/egl/qegl_x11.cpp | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/src/gui/egl/qegl_x11.cpp b/src/gui/egl/qegl_x11.cpp | ||
24 | index 196d0f77bf2d..8acf5a6c99d4 100644 | ||
25 | --- a/src/gui/egl/qegl_x11.cpp | ||
26 | +++ b/src/gui/egl/qegl_x11.cpp | ||
27 | @@ -319,7 +319,7 @@ VisualID QEgl::getCompatibleVisualId(EGLConfig config) | ||
28 | } | ||
29 | |||
30 | qWarning("Unable to find an X11 visual which matches EGL config %d", configId); | ||
31 | - return (VisualID)0; | ||
32 | + return (VisualID)33; | ||
33 | } | ||
34 | |||
35 | void qt_set_winid_on_widget(QWidget* w, Qt::HANDLE id) | ||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/g++.conf b/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/g++.conf new file mode 100644 index 00000000..915ecba0 --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/g++.conf | |||
@@ -0,0 +1,40 @@ | |||
1 | # | ||
2 | # qmake configuration for common gcc | ||
3 | # | ||
4 | |||
5 | QMAKE_COMPILER = gcc | ||
6 | |||
7 | QMAKE_CC = $(OE_QMAKE_CC) | ||
8 | QMAKE_CFLAGS += $(OE_QMAKE_CFLAGS) -DLINUX=1 -DEGL_API_FB=1 | ||
9 | QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $(OE_QMAKE_CFLAGS) | ||
10 | QMAKE_CFLAGS_PRECOMPILE += -x c-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
11 | QMAKE_CFLAGS_USE_PRECOMPILE += -include ${QMAKE_PCH_OUTPUT_BASE} | ||
12 | |||
13 | QMAKE_CXX = $(OE_QMAKE_CXX) | ||
14 | QMAKE_CXXFLAGS += $(OE_QMAKE_CXXFLAGS) -DLINUX=1 -DEGL_API_FB=1 | ||
15 | QMAKE_CXXFLAGS_RELEASE_WITH_DEBUGINFO += $$QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO | ||
16 | QMAKE_CXXFLAGS_PRECOMPILE += -x c++-header -c ${QMAKE_PCH_INPUT} -o ${QMAKE_PCH_OUTPUT} | ||
17 | QMAKE_CXXFLAGS_USE_PRECOMPILE = $$QMAKE_CFLAGS_USE_PRECOMPILE | ||
18 | |||
19 | QMAKE_LINK = $(OE_QMAKE_LINK) | ||
20 | QMAKE_LINK_SHLIB = $(OE_QMAKE_LINK) | ||
21 | QMAKE_LINK_C = $(OE_QMAKE_LINK) | ||
22 | QMAKE_LINK_C_SHLIB = $(OE_QMAKE_LINK) | ||
23 | QMAKE_LFLAGS += $(OE_QMAKE_LDFLAGS) | ||
24 | QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined | ||
25 | QMAKE_LFLAGS_RPATH = -Wl,-rpath-link, | ||
26 | |||
27 | QMAKE_PCH_OUTPUT_EXT = .gch | ||
28 | |||
29 | # -Bsymbolic-functions (ld) support | ||
30 | QMAKE_LFLAGS_BSYMBOLIC_FUNC = -Wl,-Bsymbolic-functions | ||
31 | QMAKE_LFLAGS_DYNAMIC_LIST = -Wl,--dynamic-list, | ||
32 | |||
33 | # do not depend on gdb | ||
34 | CONFIG -= gdb_dwarf_index | ||
35 | |||
36 | # some linking helper... | ||
37 | CONFIG += rpath_libdirs | ||
38 | |||
39 | # for the SDK | ||
40 | isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $(OE_QMAKE_QT_CONFIG) | ||
diff --git a/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/linux.conf b/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/linux.conf new file mode 100644 index 00000000..c644d8ba --- /dev/null +++ b/meta-fsl-arm/recipes-qt/qt4/qt4/mx6/linux.conf | |||
@@ -0,0 +1,66 @@ | |||
1 | # | ||
2 | # qmake configuration for common linux | ||
3 | # | ||
4 | |||
5 | QMAKE_CFLAGS_THREAD += -D_REENTRANT | ||
6 | QMAKE_CXXFLAGS_THREAD += $$QMAKE_CFLAGS_THREAD | ||
7 | |||
8 | QMAKE_INCDIR = | ||
9 | QMAKE_LIBDIR = | ||
10 | QMAKE_INCDIR_X11 = | ||
11 | QMAKE_LIBDIR_X11 = | ||
12 | QMAKE_INCDIR_QT = $(OE_QMAKE_INCDIR_QT) | ||
13 | QMAKE_LIBDIR_QT = $(OE_QMAKE_LIBDIR_QT) | ||
14 | QMAKE_INCDIR_OPENGL = | ||
15 | QMAKE_LIBDIR_OPENGL = | ||
16 | QMAKE_INCDIR_OPENGL_ES1 = $$QMAKE_INCDIR_OPENGL | ||
17 | QMAKE_LIBDIR_OPENGL_ES1 = $$QMAKE_LIBDIR_OPENGL | ||
18 | QMAKE_INCDIR_OPENGL_ES2 = $$QMAKE_INCDIR_OPENGL | ||
19 | QMAKE_LIBDIR_OPENGL_ES2 = $$QMAKE_LIBDIR_OPENGL | ||
20 | QMAKE_INCDIR_EGL = | ||
21 | QMAKE_LIBDIR_EGL = | ||
22 | QMAKE_INCDIR_OPENVG = | ||
23 | QMAKE_LIBDIR_OPENVG = | ||
24 | |||
25 | |||
26 | QMAKE_LIBS = | ||
27 | QMAKE_LIBS_DYNLOAD = -ldl | ||
28 | QMAKE_LIBS_X11 = $(OE_QMAKE_LIBS_X11) | ||
29 | QMAKE_LIBS_X11SM = $(OE_QMAKE_LIBS_X11SM) | ||
30 | QMAKE_LIBS_NIS = -lnsl | ||
31 | QMAKE_LIBS_EGL = -lEGL -lGAL -DLINUX=1 -DEGL_API_FB=1 | ||
32 | QMAKE_LIBS_OPENGL = -lGL | ||
33 | QMAKE_LIBS_OPENGL_QT = -lGL | ||
34 | QMAKE_LIBS_OPENGL_ES1 = -lGLES_CM | ||
35 | QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 -lGAL -lEGL -DLINUX=1 -DEGL_API_FB=1 | ||
36 | QMAKE_LIBS_OPENVG = -lOpenVG -lGAL -lEGL -DLINUX=1 -DEGL_API_FB=1 | ||
37 | QMAKE_LIBS_THREAD = -lpthread | ||
38 | |||
39 | QMAKE_MOC = $(OE_QMAKE_MOC) | ||
40 | QMAKE_UIC = $(OE_QMAKE_UIC) | ||
41 | QMAKE_UIC3 = $(OE_QMAKE_UIC3) | ||
42 | QMAKE_RCC = $(OE_QMAKE_RCC) | ||
43 | QMAKE_QDBUSCPP2XML = $(OE_QMAKE_QDBUSCPP2XML) | ||
44 | QMAKE_QDBUSXML2CPP = $(OE_QMAKE_QDBUSXML2CPP) | ||
45 | |||
46 | QMAKE_AR = $(OE_QMAKE_AR) cqs | ||
47 | QMAKE_OBJCOPY = objcopy | ||
48 | QMAKE_RANLIB = | ||
49 | |||
50 | QMAKE_TAR = tar -cf | ||
51 | QMAKE_GZIP = gzip -9f | ||
52 | |||
53 | QMAKE_COPY = cp -f | ||
54 | QMAKE_COPY_FILE = $(COPY) | ||
55 | QMAKE_COPY_DIR = $(COPY) -r | ||
56 | QMAKE_MOVE = mv -f | ||
57 | QMAKE_DEL_FILE = rm -f | ||
58 | QMAKE_DEL_DIR = rmdir | ||
59 | QMAKE_STRIP = $(OE_QMAKE_STRIP) | ||
60 | QMAKE_STRIPFLAGS_LIB += --strip-unneeded | ||
61 | QMAKE_CHK_DIR_EXISTS = test -d | ||
62 | QMAKE_MKDIR = mkdir -p | ||
63 | QMAKE_INSTALL_FILE = install -m 644 -p | ||
64 | QMAKE_INSTALL_PROGRAM = install -m 755 -p | ||
65 | |||
66 | include(unix.conf) | ||
diff --git a/meta-fsl-arm/scripts/get-maintainer b/meta-fsl-arm/scripts/get-maintainer new file mode 100755 index 00000000..071cdf60 --- /dev/null +++ b/meta-fsl-arm/scripts/get-maintainer | |||
@@ -0,0 +1,107 @@ | |||
1 | #!/bin/sh | ||
2 | # -*- mode: shell-script; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- | ||
3 | # | ||
4 | # Copyright (C) 2014 O.S. Systems Software LTDA. | ||
5 | # Authored-by: Otavio Salvador <otavio@ossystems.com.br> | ||
6 | # | ||
7 | # This program is free software; you can redistribute it and/or modify | ||
8 | # it under the terms of the GNU General Public License version 2 as | ||
9 | # published by the Free Software Foundation. | ||
10 | # | ||
11 | # This program is distributed in the hope that it will be useful, | ||
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
14 | # GNU General Public License for more details. | ||
15 | # | ||
16 | # You should have received a copy of the GNU General Public License along | ||
17 | # with this program; if not, write to the Free Software Foundation, Inc., | ||
18 | # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. | ||
19 | |||
20 | usage() { | ||
21 | cat<<EOF | ||
22 | Usage: | ||
23 | |||
24 | $0 [ --machine=<machine> ] <path> ... | ||
25 | |||
26 | <path> | ||
27 | Directory(ies) where to look for machine definition files. | ||
28 | |||
29 | Options: | ||
30 | |||
31 | --machine=<machine> | ||
32 | Optional param to restrict the printing for a specific machine name. | ||
33 | |||
34 | --dump | ||
35 | Generate output in a format which is easier to parse. Columns | ||
36 | are separated by TAB. Empty cells for the "Maintainer" column | ||
37 | represent "no maintainer". | ||
38 | |||
39 | EOF | ||
40 | } | ||
41 | |||
42 | path= | ||
43 | specific_machine= | ||
44 | dump_mode= | ||
45 | |||
46 | for opt in ${*}; do | ||
47 | if [ "`echo $opt | cut -b-10`" = "--machine=" ]; then | ||
48 | specific_machine="`echo $opt | cut -b11-`" | ||
49 | elif [ "$opt" = "--dump" ]; then | ||
50 | dump_mode=1 | ||
51 | else | ||
52 | path="$path $opt" | ||
53 | fi | ||
54 | done | ||
55 | |||
56 | if [ -z "$path" ]; then | ||
57 | usage | ||
58 | exit 1 | ||
59 | fi | ||
60 | |||
61 | maintained=`mktemp` | ||
62 | orphan=`mktemp` | ||
63 | |||
64 | machines=`find $path -wholename '*/conf/machine/*.conf'` | ||
65 | for m in $machines; do | ||
66 | machine=`basename $m | sed 's,\.conf$,,g'` | ||
67 | if [ -n "$specific_machine" ] && [ "$machine" != "$specific_machine" ]; then | ||
68 | continue | ||
69 | fi | ||
70 | |||
71 | name=`sed -n 's,#@NAME:\s*\(.*\)\s*,\1,p' $m` | ||
72 | maint=`sed -n 's,#@MAINTAINER:\s*\(.*\)\s*,\1,p' $m` | ||
73 | |||
74 | if [ -n "$dump_mode" ]; then | ||
75 | if [ -n "$maint" ]; then | ||
76 | printf "${machine}\t${name}\t${maint}\n" >> $maintained | ||
77 | else | ||
78 | printf "${machine}\t${name}\n" >> $orphan | ||
79 | fi | ||
80 | else | ||
81 | if [ -n "$maint" ]; then | ||
82 | printf "%-25s %-50s %-50s\n" "$machine" "$name" "$maint" >> $maintained | ||
83 | else | ||
84 | printf "%-25s %-50s %-50s\n" "$machine" "$name" "Orphan" >> $orphan | ||
85 | fi | ||
86 | fi | ||
87 | done | ||
88 | |||
89 | display() { | ||
90 | sort -u -k 2 $maintained | grep -v $^ | ||
91 | sort -u -k 2 $orphan | grep -v $^ | ||
92 | } | ||
93 | |||
94 | if [ -n "$dump_mode" ]; then | ||
95 | display | ||
96 | else | ||
97 | cat <<EOF | ||
98 | ========================= ================================================== ================================================== | ||
99 | Machine Name Maintainer | ||
100 | ========================= ================================================== ================================================== | ||
101 | EOF | ||
102 | display | ||
103 | cat <<EOF | ||
104 | ========================= ================================================== ================================================== | ||
105 | EOF | ||
106 | fi | ||
107 | rm $maintained $orphan | ||
diff --git a/meta-fsl-arm/scripts/lib/image/canned-wks/imx-barebox.wks b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-barebox.wks new file mode 100644 index 00000000..77b55548 --- /dev/null +++ b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-barebox.wks | |||
@@ -0,0 +1,18 @@ | |||
1 | # short-description: Create SD card image with a boot partition | ||
2 | # long-description: | ||
3 | # Create an image that can be written onto a SD card using dd for use | ||
4 | # with i.MX SoC family | ||
5 | # It uses barebox | ||
6 | # | ||
7 | # The disk layout used is: | ||
8 | # - --------- ------------ --------- -------------- | ||
9 | # | | barebox | bareboxenv | /boot | rootfs | | ||
10 | # - --------- ------------ --------- -------------- | ||
11 | # ^ ^ ^ ^ ^ ^ | ||
12 | # | | | | | | | ||
13 | # 0 512B 512kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part barebox --source rawcopy --sourceparams="file=barebox.bin,skip=512" --ondisk mmcblk --no-table | ||
16 | part bareboxenv --source rawcopy --sourceparams="file=bareboxenv.bin" --ondisk mmcblk --no-table --align 512 | ||
17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 | ||
18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
diff --git a/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot-spl.wks b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot-spl.wks new file mode 100644 index 00000000..e2bdc145 --- /dev/null +++ b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot-spl.wks | |||
@@ -0,0 +1,18 @@ | |||
1 | # short-description: Create SD card image with a boot partition | ||
2 | # long-description: | ||
3 | # Create an image that can be written onto a SD card using dd for use | ||
4 | # with i.MX SoC family. | ||
5 | # It uses SPL and u-boot | ||
6 | # | ||
7 | # The disk layout used is: | ||
8 | # - ----- --------- --------- -------------- | ||
9 | # | | SPL | u-boot | /boot | rootfs | | ||
10 | # - ----- --------- --------- -------------- | ||
11 | # ^ ^ ^ ^ ^ ^ | ||
12 | # | | | | | | | ||
13 | # 0 1kiB 69kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part SPL --source rawcopy --sourceparams="file=SPL" --ondisk mmcblk --no-table --align 1 | ||
16 | part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 69 | ||
17 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 | ||
18 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||
diff --git a/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot.wks b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot.wks new file mode 100644 index 00000000..08652103 --- /dev/null +++ b/meta-fsl-arm/scripts/lib/image/canned-wks/imx-uboot.wks | |||
@@ -0,0 +1,17 @@ | |||
1 | # short-description: Create SD card image with a boot partition | ||
2 | # long-description: | ||
3 | # Create an image that can be written onto a SD card using dd for use | ||
4 | # with i.MX SoC family | ||
5 | # It uses u-boot | ||
6 | # | ||
7 | # The disk layout used is: | ||
8 | # - --------- --------- -------------- | ||
9 | # | | u-boot | /boot | rootfs | | ||
10 | # - --------- --------- -------------- | ||
11 | # ^ ^ ^ ^ ^ | ||
12 | # | | | | | | ||
13 | # 0 1kiB 4MiB 4MiB + 8MiB 4MiB + 8Mib + rootfs + IMAGE_EXTRA_SPACE (default 10MiB) | ||
14 | # | ||
15 | part u-boot --source rawcopy --sourceparams="file=u-boot.imx" --ondisk mmcblk --no-table --align 1 | ||
16 | part /boot --source bootimg-partition --ondisk mmcblk --fstype=vfat --label boot --active --align 4096 --size 8M --extra-space 0 | ||
17 | part / --source rootfs --ondisk mmcblk --fstype=ext4 --label root --align 4096 | ||