Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EEB27E00D2D; Mon, 9 Oct 2017 02:53:50 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [104.47.33.82 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from NAM01-BN3-obe.outbound.protection.outlook.com (mail-bn3nam01on0082.outbound.protection.outlook.com [104.47.33.82]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 736F5E00D3F for ; Mon, 9 Oct 2017 02:53:48 -0700 (PDT) Received: from BN6PR03CA0096.namprd03.prod.outlook.com (10.164.122.162) by CY4PR03MB2696.namprd03.prod.outlook.com (10.173.43.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.77.7; Mon, 9 Oct 2017 09:53:46 +0000 Received: from BY2FFO11FD020.protection.gbl (2a01:111:f400:7c0c::129) by BN6PR03CA0096.outlook.office365.com (2603:10b6:405:6f::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.56.11 via Frontend Transport; Mon, 9 Oct 2017 09:53:45 +0000 Authentication-Results: spf=none (sender IP is 192.88.168.50) smtp.mailfrom=remotesmtp.dynamic.freescale.net; yoctoproject.org; dkim=none (message not signed) header.d=none; yoctoproject.org; dmarc=fail action=none header.from=nxp.com; Received-SPF: None (protection.outlook.com: remotesmtp.dynamic.freescale.net does not designate permitted sender hosts) Received: from tx30smr01.am.freescale.net (192.88.168.50) by BY2FFO11FD020.mail.protection.outlook.com (10.1.14.137) with Microsoft SMTP Server (version=TLS1_0, cipher=TLS_RSA_WITH_AES_256_CBC_SHA) id 15.20.77.10 via Frontend Transport; Mon, 9 Oct 2017 09:53:44 +0000 Received: from shlinux23.ap.freescale.net ([10.192.250.118]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id v999rhlP015982; Mon, 9 Oct 2017 02:53:43 -0700 Received: by shlinux23.ap.freescale.net (Postfix, from userid 1000) id 9804663418B2; Tue, 10 Oct 2017 01:52:51 +0800 (CST) From: Jun Zhu To: Date: Tue, 10 Oct 2017 01:52:23 +0800 Message-ID: <1507571546-19187-3-git-send-email-junzhu@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1507571546-19187-1-git-send-email-junzhu@nxp.com> References: <1507571546-19187-1-git-send-email-junzhu@nxp.com> X-EOPAttributedMessage: 0 X-Matching-Connectors: 131520164252740122; (91ab9b29-cfa4-454e-5278-08d120cd25b8); () X-Forefront-Antispam-Report: CIP:192.88.168.50; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(336005)(39380400002)(346002)(376002)(39860400002)(2980300002)(428002)(189002)(199003)(8656003)(106466001)(90966002)(2351001)(966005)(52956003)(42882006)(6266002)(8936002)(2950100002)(6916009)(33646002)(316002)(50466002)(498600001)(36756003)(16586007)(5660300001)(6306002)(42186006)(4326008)(97736004)(46386002)(48376002)(960300001)(53936002)(50226002)(189998001)(76176999)(575784001)(101416001)(68736007)(356003)(5003940100001)(50986999)(105586002)(45336002)(6666003)(81156014)(103686004)(2906002)(47776003)(81166006)(8676002)(305945005); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR03MB2696; H:tx30smr01.am.freescale.net; FPR:; SPF:None; PTR:InfoDomainNonexistent; MX:1; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD020; 1:04eV4cVSStYEQ6nRG54/MGC11CoBL+/spPVxhHx8bjiOt9i547XwQ08EZGDRVvrArm3aQBEfOQH96bZcV23whtvSmiqSwqwnCATsO+OMn/ZISI+6xdbOdELAULo9OvRW MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: a0238302-de5c-4c95-df12-08d50efba179 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(2017052603199)(201703131430075)(201703131517081); SRVR:CY4PR03MB2696; X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 3:tDR9BFcev4HjqBM2ngS7/kzU9dAHFN+cFuNqUFkiMGLGoVaGXkKlf9XMfHxqXELx6UryoGWu1MelSKB5c6njx3rln1Con2oEBSDYS84soos8pEaWLD6kGCf9LHwK6dkHV1GMGhshZ3QIm1WNoHkOPg5OB3uB9K9lMaJ6Z6Tg+1ig4hyViv7AZ/7C6wePxRSjEgeDMuIz9jyMXIIfFaGGTjA+278WuVlYYFUCCA4JAhODVdoORAzY4Kq0Nmtbu7UCQo2RMvxFGrWIm+os7zFPlt9v+3zUypMz2xxh6S7n0I7H01sJx2OTum8naxggZFMW2brfsaq8Tblk3K+LTm0UgK8HXD0zEya0nKnIXjc9MDA=; 25:RbFSWviWFbDS+HicHYiOhfZ7kChizdzaCB14aV695MVtrcMhrpt3HBfZNiIVAR9Bg0P+4cwXM2uZ95l7Xwbi8PssvKc6ide6M0EagxjqlVe3j2Fb7z7SCr7OgnsOV2eo9o7pmYku7g8iblJx26wz5wg1A27f98ot5gf1Fwf7HnPx/kPQ3XhWlr4/nk0E4B4EmzPxbzxd3SNg9vDtpiObl2I/mLG0nnyDyPX/tkqe3MLhKm6k2c7/A1GWNnAI0LZnNRwEceEwTDQ3kSjCVkMzvaW5ei+WsCKE0JtaydvP6l4CzI9r8ws+XtrWwLglRTH3X/9esnY2fOdaC6/nIg86qg== X-MS-TrafficTypeDiagnostic: CY4PR03MB2696: X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 31:R+oUB/tKnQzYyCJ69whxYGDWOTDcYh/4xGGGRJI53WUoB66thx6T/xRZvi1lTFd9lenIvkbtOyp67tbOit74OpwFQ3wxVxXT2/DZcwPFpcC1YpyreVKbPdC4gPzZBhxa1Eprcf0l1zOgHBL8Om0w9/cidl9eQE27ZsYwHNLgSh9Je6sakmByVBoqNbjSx4u5xh+j2XuKxlr4FPKaagNsMzLtrqaUZvdiuyNR51Sh6TM=; 4:6HY/Mk+qvO/0dtqBCurS9AMoKMgg3GF4R/31DnpkdZRwp9Vy+r1y/HycA0064Z309Xaa+8g0P2FwmVXVSQ3VvMQmZ2EKNV0ru/aPHm5309ZQKoHZnBlD4I6tEwOEWxca1eHWHb+mGhL1rG+Waw3/l09OXZs4iOuoAhUVpJvMF5WnH1vGlMDoJs5+s8k/426VBywFy14v5OwgbArMk8PSaHuY8CxjRp1ocsK8c+xji8lguykesfY3p+F8WUbnpa2iRnxo2Oa+k5lyH5nWFJ65Hiak3KF93KiYmK/G+qdZk3yC2AENNYtWALHL2JgwOmrRIfxXgUqA+oN/o1fNHRwW/4Hu9qjAoh1JVs6ZUi7HO74Hk5b/ixqcbyh7W+GfQHTWb2ik3zqdCBXGiuBaO+PRJA== X-Exchange-Antispam-Report-Test: UriScan:(22074186197030)(185117386973197)(183786458502308)(146099531331640); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6095135)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(93006095)(3002001)(10201501046)(6055026)(6096035)(20161123561025)(20161123563025)(201703131430075)(201703131448075)(201703131433075)(201703161259150)(201703151042153)(20161123556025)(20161123565025)(20161123559100)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:CY4PR03MB2696; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(400006)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:CY4PR03MB2696; X-Forefront-PRVS: 045584D28C X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY4PR03MB2696; 23:ez8ev/pbhBtoYHYPckBKO8v7PVuqzOcm6/tGKoP9n?= =?us-ascii?Q?XFToXCsG5V0u+HGZSxjGaBll1CCW+kVcJAMAVOhLIhBegHTtSFTeXFiN8w0Y?= =?us-ascii?Q?JG03sl1rtqhD85vVW4cibWY8SGkTBVgzFmfwYz26vKbbtmDslc2Zl7ep6Yly?= =?us-ascii?Q?758XLlF/x35kScPhvGXdGWBbLJkgXEbu/qBmyvgrIt4+VyE1l1HwcKU7JRsk?= =?us-ascii?Q?8JPf0X5HPUtNyQckAaML19wMls9lOSbm0cOfO8KoL3j8zAwqKNRvWfi9G6Ys?= =?us-ascii?Q?mdNuP3FTf3egQA+Xk8VhbrqIhnqfXu2kEXP81gBRD8q8Wm7sjpLfDs+1fneU?= =?us-ascii?Q?YGyx/dZyEqdztDt4zsQX9OL7+hRawUpfLl5pXNYJ5LSElFllXDd5bOLNRtKw?= =?us-ascii?Q?n43CHCfYwzdknZ+GITHwty1bBc93Zu+OPIpsR41VxdZQzU8JPmueU5163ZZy?= =?us-ascii?Q?flqPSXG/mrIB0jOQPaPfpRbcT+7Q9SZT3MuMxmlsiQmyzN3TnDCcNE8aOIwl?= =?us-ascii?Q?ktGpjwNXiAK2xXvqAuvhBz9vbj8JXGtRiQYdne8ajWnn2PSyl7c9ApHQa9zk?= =?us-ascii?Q?306vJ7GdTYcxyKD65R5pS6BbKj5QOhs/YYj0ManOTWYVjUaX2uqkmOdDfzmt?= =?us-ascii?Q?0J41kp+VW+wZC2dtuUct5lDs7Cd5qFJUwY6xP6MFm5SQSxgkusl2zBA2HBVV?= =?us-ascii?Q?R/uIksDguBpC3FTfBMVyVc96nTRR4s0Ru1pE9dp2TrjsW64P6Wvkz9YzrCCu?= =?us-ascii?Q?w/PENrmWRiLytswwZxp4zlvDEMOmoBSd0Fkrbyh9wgxpHJCQeWdBG16o4Qsr?= =?us-ascii?Q?MK6NEE3goQDIpVgNQddlxk87vKvVZKTx+CJ+xlhdGk5rPoWbN9mzX4ynZ42c?= =?us-ascii?Q?a04lbH4D9hdNhkRhCrIJfapt85TOeguTq4WkvdcRQFXFFjNefE5zoCcCM3F+?= =?us-ascii?Q?gDbnHuWjjrX1tazB4RqOkS/3Z9jacU16PcvlmCVxNwoefB89MX1y5nU7Z1dp?= =?us-ascii?Q?IRwkqeU44CUmXXvx21v/54B5ZvI+3Ar9hEqYIwaob1ZJIMNZ+SpBEUTlAHXp?= =?us-ascii?Q?AHcPo1+/naPH2zuvf0WtiI53tygIfu9Vw+DdBzhrAKtN/IUcaeAszGQgzERf?= =?us-ascii?Q?4UYIY8TkcjYHYWqdSM9rorYIm8NEh+XN+3TaOO6MKzAmB5jOAKrt2X1358h+?= =?us-ascii?Q?kX8U+b7+7hU5Jz5Onf6jDLO5pKeT46j8aG8B4dK00GSShSINttP073i2CPy3?= =?us-ascii?Q?9LBjyw+Kk8KKEsrh7wQUX1ZYsrux6aaOkfSocW+hpbxePNYB3ywYkuHgERnA?= =?us-ascii?B?dz09?= X-Microsoft-Exchange-Diagnostics: 1; CY4PR03MB2696; 6:G3+GWSdSO2eRFyN9/DYtmEb5ib11fk/ZTlulaRJlBYquOWD9raginCOGWRiWhkNjVhCM8MYU6TElKvpesd6+03fR7IW3pKGEfl1wMBqe+4urL6WvdPboQzT6d9stJxkXFTBsFgaoM3Km9YOpGxmnViVleiyTCZlhWVgkCwceTA90mC09RHA2JqWlPbJNhAQoftFVZ4c62W8X+G0ijeQ+Qmq2qvarb0VaK4v9xBN9mCnkIRJAV4VQgfdgFWRHymLCRfxvbjDy+IXDoscM3AVG8ZHJlyvyrIscrkFAx8MwlSohhfX1mKFqEt16CPfmhxxRajhG7pH5zjRhlsip+brehA==; 5:49GMQAmrYlT2ocxbfShyy1m5+SeUdyaajKdGKbffNnm2go/aA93W0/lZ8aew0msuDV8ucaSLrz+sJPdctIJUwYwUEo+OoPHIv4sS9Z+V5/B+q5ok1g4rIXvCq61u/vl2c5qbvXj8/YqmTLldpR8HZg==; 24:fSaHFtaUZEYY2xR9VVDP1ZMu804DBwgRjWlh7xoKa7Dj35AxzlfVVPOcsUQIVy6+GBfIHI8bTQyj/B7ipHWnh2aTd2/w8NSCBZObkc/Do7s=; 7:X73YzI3s9DPw44MlEZ8Hxwa8sr6BM4rsu6ewwjFZyhVDU0WxSLEGg1oA9sJHj3Y/AfgIafxsSM7ImIdsDTZHUad3yjT1PkDSHNUYzKRaSrpH7zoqrqmIqNPHdBW7p1k6qTfTUP4QilCKbnWwnRBD6whAFYZvwEB3ct6Vd+aqS5NWpenJEttpB+LDEA0nEbByvtPX9zPAV1t4+K2czuSmywKkZg5huLZAk5FICCCg5QE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Oct 2017 09:53:44.9620 (UTC) X-MS-Exchange-CrossTenant-Id: 5afe0b00-7697-4969-b663-5eab37d5f47e X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=5afe0b00-7697-4969-b663-5eab37d5f47e; Ip=[192.88.168.50]; Helo=[tx30smr01.am.freescale.net] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR03MB2696 Cc: Jun Zhu Subject: [PATCH v2 2/4] linux-imx: Upgrade kernel to v4.9.11 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Oct 2017 09:53:51 -0000 Content-Type: text/plain Signed-off-by: Jun Zhu --- .../imx/bcmhd_gcc6_indent_warning_error_fix.patch | 28 -- .../linux-imx-4.1.15/imx/gcc6_integrate_fix.patch | 369 --------------------- .../gpu-viv_gcc6_indent_warning_error_fix.patch | 30 -- .../imx/defconfig | 56 ++-- recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb | 9 - recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb | 25 ++ .../{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} | 10 +- 7 files changed, 66 insertions(+), 461 deletions(-) delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch delete mode 100644 recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch rename recipes-kernel/linux/{linux-imx-4.1.15 => linux-imx-4.9.11}/imx/defconfig (93%) delete mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb create mode 100644 recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb rename recipes-kernel/linux/{linux-imx_4.1.15.bb => linux-imx_4.9.11.bb} (59%) diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch deleted file mode 100644 index 4946930..0000000 --- a/recipes-kernel/linux/linux-imx-4.1.15/imx/bcmhd_gcc6_indent_warning_error_fix.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 86e5baf037a03464e56ee1edcebb598c43ffb1f6 Mon Sep 17 00:00:00 2001 -From: Lauren Post -Date: Wed, 13 Jul 2016 01:37:31 -0500 -Subject: [PATCH] bcmdhd: dhd_sdio: Fix indent for gcc 6.0 error - -Upstream-Status: Pending - -Signed-off-by: Lauren Post ---- - drivers/net/wireless/bcmdhd/dhd_sdio.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c -index 8cb8796..09e1f32 100644 ---- a/drivers/net/wireless/bcmdhd/dhd_sdio.c -+++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c -@@ -8046,7 +8046,7 @@ dhd_bus_devreset(dhd_pub_t *dhdp, uint8 flag) - } else - bcmerror = BCME_SDIO_ERROR; - -- dhd_os_sdunlock(dhdp); -+ dhd_os_sdunlock(dhdp); - } else { - bcmerror = BCME_SDIO_ERROR; - DHD_INFO(("%s called when dongle is not in reset\n", --- -1.9.1 - diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch deleted file mode 100644 index 98f21e2..0000000 --- a/recipes-kernel/linux/linux-imx-4.1.15/imx/gcc6_integrate_fix.patch +++ /dev/null @@ -1,369 +0,0 @@ -From e9809ecf104f0c584c9c00917037a864e9f2ffba Mon Sep 17 00:00:00 2001 -From: Joe Perches -Date: Thu, 25 Jun 2015 15:01:02 -0700 -Subject: [PATCH] compiler-gcc: integrate the various compiler-gcc[345].h files - -[ Upstream commit cb984d101b30eb7478d32df56a0023e4603cba7f ] - -As gcc major version numbers are going to advance rather rapidly in the -future, there's no real value in separate files for each compiler -version. - -Deduplicate some of the macros #defined in each file too. - -Neaten comments using normal kernel commenting style. - -Signed-off-by: Joe Perches -Cc: Andi Kleen -Cc: Michal Marek -Cc: Segher Boessenkool -Cc: Sasha Levin -Cc: Anton Blanchard -Cc: Alan Modra -Signed-off-by: Andrew Morton -Signed-off-by: Linus Torvalds -Signed-off-by: Sasha Levin -(cherry picked from commit f320793e52aee78f0fbb8bcaf10e6614d2e67bfc) ---- - include/linux/compiler-gcc.h | 120 ++++++++++++++++++++++++++++++++++++++++-- - include/linux/compiler-gcc3.h | 23 -------- - include/linux/compiler-gcc4.h | 91 -------------------------------- - include/linux/compiler-gcc5.h | 67 ----------------------- - 4 files changed, 116 insertions(+), 185 deletions(-) - delete mode 100644 include/linux/compiler-gcc3.h - delete mode 100644 include/linux/compiler-gcc4.h - delete mode 100644 include/linux/compiler-gcc5.h - -diff --git a/include/linux/compiler-gcc.h b/include/linux/compiler-gcc.h -index 371e560..484ef6e 100644 ---- a/include/linux/compiler-gcc.h -+++ b/include/linux/compiler-gcc.h -@@ -115,10 +115,122 @@ - #define __maybe_unused __attribute__((unused)) - #define __always_unused __attribute__((unused)) - --#define __gcc_header(x) #x --#define _gcc_header(x) __gcc_header(linux/compiler-gcc##x.h) --#define gcc_header(x) _gcc_header(x) --#include gcc_header(__GNUC__) -+/* gcc version specific checks */ -+ -+#if GCC_VERSION < 30200 -+# error Sorry, your compiler is too old - please upgrade it. -+#endif -+ -+#if GCC_VERSION < 30300 -+# define __used __attribute__((__unused__)) -+#else -+# define __used __attribute__((__used__)) -+#endif -+ -+#ifdef CONFIG_GCOV_KERNEL -+# if GCC_VERSION < 30400 -+# error "GCOV profiling support for gcc versions below 3.4 not included" -+# endif /* __GNUC_MINOR__ */ -+#endif /* CONFIG_GCOV_KERNEL */ -+ -+#if GCC_VERSION >= 30400 -+#define __must_check __attribute__((warn_unused_result)) -+#endif -+ -+#if GCC_VERSION >= 40000 -+ -+/* GCC 4.1.[01] miscompiles __weak */ -+#ifdef __KERNEL__ -+# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101 -+# error Your version of gcc miscompiles the __weak directive -+# endif -+#endif -+ -+#define __used __attribute__((__used__)) -+#define __compiler_offsetof(a, b) \ -+ __builtin_offsetof(a, b) -+ -+#if GCC_VERSION >= 40100 && GCC_VERSION < 40600 -+# define __compiletime_object_size(obj) __builtin_object_size(obj, 0) -+#endif -+ -+#if GCC_VERSION >= 40300 -+/* Mark functions as cold. gcc will assume any path leading to a call -+ * to them will be unlikely. This means a lot of manual unlikely()s -+ * are unnecessary now for any paths leading to the usual suspects -+ * like BUG(), printk(), panic() etc. [but let's keep them for now for -+ * older compilers] -+ * -+ * Early snapshots of gcc 4.3 don't support this and we can't detect this -+ * in the preprocessor, but we can live with this because they're unreleased. -+ * Maketime probing would be overkill here. -+ * -+ * gcc also has a __attribute__((__hot__)) to move hot functions into -+ * a special section, but I don't see any sense in this right now in -+ * the kernel context -+ */ -+#define __cold __attribute__((__cold__)) -+ -+#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -+ -+#ifndef __CHECKER__ -+# define __compiletime_warning(message) __attribute__((warning(message))) -+# define __compiletime_error(message) __attribute__((error(message))) -+#endif /* __CHECKER__ */ -+#endif /* GCC_VERSION >= 40300 */ -+ -+#if GCC_VERSION >= 40500 -+/* -+ * Mark a position in code as unreachable. This can be used to -+ * suppress control flow warnings after asm blocks that transfer -+ * control elsewhere. -+ * -+ * Early snapshots of gcc 4.5 don't support this and we can't detect -+ * this in the preprocessor, but we can live with this because they're -+ * unreleased. Really, we need to have autoconf for the kernel. -+ */ -+#define unreachable() __builtin_unreachable() -+ -+/* Mark a function definition as prohibited from being cloned. */ -+#define __noclone __attribute__((__noclone__)) -+ -+#endif /* GCC_VERSION >= 40500 */ -+ -+#if GCC_VERSION >= 40600 -+/* -+ * Tell the optimizer that something else uses this function or variable. -+ */ -+#define __visible __attribute__((externally_visible)) -+#endif -+ -+/* -+ * GCC 'asm goto' miscompiles certain code sequences: -+ * -+ * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -+ * -+ * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -+ * -+ * (asm goto is automatically volatile - the naming reflects this.) -+ */ -+#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -+ -+#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP -+#if GCC_VERSION >= 40400 -+#define __HAVE_BUILTIN_BSWAP32__ -+#define __HAVE_BUILTIN_BSWAP64__ -+#endif -+#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600) -+#define __HAVE_BUILTIN_BSWAP16__ -+#endif -+#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -+ -+#if GCC_VERSION >= 50000 -+#define KASAN_ABI_VERSION 4 -+#elif GCC_VERSION >= 40902 -+#define KASAN_ABI_VERSION 3 -+#endif -+ -+#endif /* gcc version >= 40000 specific checks */ - - #if !defined(__noclone) - #define __noclone /* not needed */ -diff --git a/include/linux/compiler-gcc3.h b/include/linux/compiler-gcc3.h -deleted file mode 100644 -index 7d89feb..0000000 ---- a/include/linux/compiler-gcc3.h -+++ /dev/null -@@ -1,23 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --#if GCC_VERSION < 30200 --# error Sorry, your compiler is too old - please upgrade it. --#endif -- --#if GCC_VERSION >= 30300 --# define __used __attribute__((__used__)) --#else --# define __used __attribute__((__unused__)) --#endif -- --#if GCC_VERSION >= 30400 --#define __must_check __attribute__((warn_unused_result)) --#endif -- --#ifdef CONFIG_GCOV_KERNEL --# if GCC_VERSION < 30400 --# error "GCOV profiling support for gcc versions below 3.4 not included" --# endif /* __GNUC_MINOR__ */ --#endif /* CONFIG_GCOV_KERNEL */ -diff --git a/include/linux/compiler-gcc4.h b/include/linux/compiler-gcc4.h -deleted file mode 100644 -index 769e198..0000000 ---- a/include/linux/compiler-gcc4.h -+++ /dev/null -@@ -1,91 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --/* GCC 4.1.[01] miscompiles __weak */ --#ifdef __KERNEL__ --# if GCC_VERSION >= 40100 && GCC_VERSION <= 40101 --# error Your version of gcc miscompiles the __weak directive --# endif --#endif -- --#define __used __attribute__((__used__)) --#define __must_check __attribute__((warn_unused_result)) --#define __compiler_offsetof(a,b) __builtin_offsetof(a,b) -- --#if GCC_VERSION >= 40100 && GCC_VERSION < 40600 --# define __compiletime_object_size(obj) __builtin_object_size(obj, 0) --#endif -- --#if GCC_VERSION >= 40300 --/* Mark functions as cold. gcc will assume any path leading to a call -- to them will be unlikely. This means a lot of manual unlikely()s -- are unnecessary now for any paths leading to the usual suspects -- like BUG(), printk(), panic() etc. [but let's keep them for now for -- older compilers] -- -- Early snapshots of gcc 4.3 don't support this and we can't detect this -- in the preprocessor, but we can live with this because they're unreleased. -- Maketime probing would be overkill here. -- -- gcc also has a __attribute__((__hot__)) to move hot functions into -- a special section, but I don't see any sense in this right now in -- the kernel context */ --#define __cold __attribute__((__cold__)) -- --#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -- --#ifndef __CHECKER__ --# define __compiletime_warning(message) __attribute__((warning(message))) --# define __compiletime_error(message) __attribute__((error(message))) --#endif /* __CHECKER__ */ --#endif /* GCC_VERSION >= 40300 */ -- --#if GCC_VERSION >= 40500 --/* -- * Mark a position in code as unreachable. This can be used to -- * suppress control flow warnings after asm blocks that transfer -- * control elsewhere. -- * -- * Early snapshots of gcc 4.5 don't support this and we can't detect -- * this in the preprocessor, but we can live with this because they're -- * unreleased. Really, we need to have autoconf for the kernel. -- */ --#define unreachable() __builtin_unreachable() -- --/* Mark a function definition as prohibited from being cloned. */ --#define __noclone __attribute__((__noclone__)) -- --#endif /* GCC_VERSION >= 40500 */ -- --#if GCC_VERSION >= 40600 --/* -- * Tell the optimizer that something else uses this function or variable. -- */ --#define __visible __attribute__((externally_visible)) --#endif -- --/* -- * GCC 'asm goto' miscompiles certain code sequences: -- * -- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -- * -- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -- * -- * (asm goto is automatically volatile - the naming reflects this.) -- */ --#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -- --#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP --#if GCC_VERSION >= 40400 --#define __HAVE_BUILTIN_BSWAP32__ --#define __HAVE_BUILTIN_BSWAP64__ --#endif --#if GCC_VERSION >= 40800 || (defined(__powerpc__) && GCC_VERSION >= 40600) --#define __HAVE_BUILTIN_BSWAP16__ --#endif --#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -- --#if GCC_VERSION >= 40902 --#define KASAN_ABI_VERSION 3 --#endif -diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h -deleted file mode 100644 -index efee493..0000000 ---- a/include/linux/compiler-gcc5.h -+++ /dev/null -@@ -1,67 +0,0 @@ --#ifndef __LINUX_COMPILER_H --#error "Please don't include directly, include instead." --#endif -- --#define __used __attribute__((__used__)) --#define __must_check __attribute__((warn_unused_result)) --#define __compiler_offsetof(a, b) __builtin_offsetof(a, b) -- --/* Mark functions as cold. gcc will assume any path leading to a call -- to them will be unlikely. This means a lot of manual unlikely()s -- are unnecessary now for any paths leading to the usual suspects -- like BUG(), printk(), panic() etc. [but let's keep them for now for -- older compilers] -- -- Early snapshots of gcc 4.3 don't support this and we can't detect this -- in the preprocessor, but we can live with this because they're unreleased. -- Maketime probing would be overkill here. -- -- gcc also has a __attribute__((__hot__)) to move hot functions into -- a special section, but I don't see any sense in this right now in -- the kernel context */ --#define __cold __attribute__((__cold__)) -- --#define __UNIQUE_ID(prefix) __PASTE(__PASTE(__UNIQUE_ID_, prefix), __COUNTER__) -- --#ifndef __CHECKER__ --# define __compiletime_warning(message) __attribute__((warning(message))) --# define __compiletime_error(message) __attribute__((error(message))) --#endif /* __CHECKER__ */ -- --/* -- * Mark a position in code as unreachable. This can be used to -- * suppress control flow warnings after asm blocks that transfer -- * control elsewhere. -- * -- * Early snapshots of gcc 4.5 don't support this and we can't detect -- * this in the preprocessor, but we can live with this because they're -- * unreleased. Really, we need to have autoconf for the kernel. -- */ --#define unreachable() __builtin_unreachable() -- --/* Mark a function definition as prohibited from being cloned. */ --#define __noclone __attribute__((__noclone__)) -- --/* -- * Tell the optimizer that something else uses this function or variable. -- */ --#define __visible __attribute__((externally_visible)) -- --/* -- * GCC 'asm goto' miscompiles certain code sequences: -- * -- * http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58670 -- * -- * Work it around via a compiler barrier quirk suggested by Jakub Jelinek. -- * -- * (asm goto is automatically volatile - the naming reflects this.) -- */ --#define asm_volatile_goto(x...) do { asm goto(x); asm (""); } while (0) -- --#ifdef CONFIG_ARCH_USE_BUILTIN_BSWAP --#define __HAVE_BUILTIN_BSWAP32__ --#define __HAVE_BUILTIN_BSWAP64__ --#define __HAVE_BUILTIN_BSWAP16__ --#endif /* CONFIG_ARCH_USE_BUILTIN_BSWAP */ -- --#define KASAN_ABI_VERSION 4 --- -1.9.1 - diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch b/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch deleted file mode 100644 index b48606c..0000000 --- a/recipes-kernel/linux/linux-imx-4.1.15/imx/gpu-viv_gcc6_indent_warning_error_fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 8d0142efbfcfe4e3998f748496ceba62890c47f0 Mon Sep 17 00:00:00 2001 -From: Lauren Post -Date: Wed, 13 Jul 2016 03:07:23 -0500 -Subject: [PATCH] gpu-viv: Fix gcc 6.0 indent warning error in gc_hal_kernel_platform_imx6ql4.c - -Upstream-Status: Pending - -Signed-off-by: Lauren Post ---- - .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c -index e436ada..d98c2f8 100644 ---- a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c -+++ b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c -@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam( - - Args->gpu3DMinClock = initgpu3DMinClock; - -- if(Args->physSize == 0) -- Args->physSize = 0x80000000; -+ if(Args->physSize == 0) -+ Args->physSize = 0x80000000; - - return gcvSTATUS_OK; - } --- -1.9.1 - diff --git a/recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig b/recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig similarity index 93% rename from recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig rename to recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig index ab4fdd2..25fbcf6 100644 --- a/recipes-kernel/linux/linux-imx-4.1.15/imx/defconfig +++ b/recipes-kernel/linux/linux-imx-4.9.11/imx/defconfig @@ -27,10 +27,10 @@ CONFIG_SOC_IMX6SX=y CONFIG_SOC_IMX6ULL=y CONFIG_SOC_IMX7D=y CONFIG_SOC_IMX6SLL=y +CONFIG_SOC_IMX7ULP=y CONFIG_SOC_VF610=y # CONFIG_SWP_EMULATE is not set CONFIG_SMP=y -CONFIG_HAVE_ARM_ARCH_TIMER=y CONFIG_VMSPLIT_2G=y CONFIG_PREEMPT=y CONFIG_AEABI=y @@ -38,13 +38,15 @@ CONFIG_HIGHMEM=y CONFIG_CMA=y CONFIG_CMDLINE="noinitrd console=ttymxc0,115200" CONFIG_CPU_FREQ=y +CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y CONFIG_CPU_FREQ_GOV_POWERSAVE=y CONFIG_CPU_FREQ_GOV_USERSPACE=y -CONFIG_CPU_FREQ_GOV_INTERACTIVE=y CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y +CONFIG_CPU_FREQ_GOV_INTERACTIVE=y CONFIG_ARM_IMX6Q_CPUFREQ=y CONFIG_ARM_IMX7D_CPUFREQ=y +CONFIG_ARM_IMX7ULP_CPUFREQ=y CONFIG_CPU_IDLE=y CONFIG_VFP=y CONFIG_NEON=y @@ -60,8 +62,6 @@ CONFIG_IP_PNP_DHCP=y # CONFIG_INET_XFRM_MODE_TRANSPORT is not set # CONFIG_INET_XFRM_MODE_TUNNEL is not set # CONFIG_INET_XFRM_MODE_BEET is not set -# CONFIG_INET_LRO is not set -CONFIG_IPV6=y CONFIG_VLAN_8021Q=y CONFIG_LLC2=y CONFIG_CAN=y @@ -105,6 +105,7 @@ CONFIG_MTD_NAND=y CONFIG_MTD_NAND_GPMI_NAND=y CONFIG_MTD_NAND_MXC=y CONFIG_MTD_SPI_NOR=y +# CONFIG_MTD_SPI_NOR_USE_4K_SECTORS is not set CONFIG_SPI_FSL_QUADSPI=y CONFIG_MTD_UBI=y CONFIG_BLK_DEV_LOOP=y @@ -140,9 +141,10 @@ CONFIG_SMC911X=y CONFIG_SMSC911X=y # CONFIG_NET_VENDOR_STMICRO is not set CONFIG_MICREL_PHY=y -CONFIG_USB_PEGASUS=m -CONFIG_USB_RTL8150=m -CONFIG_USB_RTL8152=m +CONFIG_USB_KAWETH=y +CONFIG_USB_PEGASUS=y +CONFIG_USB_RTL8150=y +CONFIG_USB_RTL8152=y CONFIG_USB_USBNET=y CONFIG_USB_NET_CDC_EEM=m CONFIG_BCMDHD=y @@ -154,6 +156,8 @@ CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal" CONFIG_INPUT_EVDEV=y CONFIG_INPUT_EVBUG=m CONFIG_KEYBOARD_GPIO=y +CONFIG_KEYBOARD_RPMSG=y +CONFIG_KEYBOARD_PF1550_ONKEY=y CONFIG_KEYBOARD_IMX=y CONFIG_MOUSE_PS2=m CONFIG_MOUSE_PS2_ELANTECH=y @@ -166,6 +170,7 @@ CONFIG_TOUCHSCREEN_IMX6UL_TSC=y CONFIG_TOUCHSCREEN_MC13783=y CONFIG_TOUCHSCREEN_TSC2007=y CONFIG_TOUCHSCREEN_STMPE=y +CONFIG_TOUCHSCREEN_FTS=y CONFIG_INPUT_MISC=y CONFIG_INPUT_MMA8450=y CONFIG_INPUT_MPL3115=y @@ -186,28 +191,35 @@ CONFIG_I2C_CHARDEV=y CONFIG_I2C_ALGOPCF=m CONFIG_I2C_ALGOPCA=m CONFIG_I2C_IMX=y +CONFIG_I2C_IMX_LPI2C=y CONFIG_SPI=y CONFIG_SPI_GPIO=y CONFIG_SPI_IMX=y +CONFIG_SPI_FSL_LPSPI=y +CONFIG_SPI_SPIDEV=y CONFIG_GPIO_SYSFS=y CONFIG_GPIO_MAX732X=y CONFIG_GPIO_PCA953X=y CONFIG_GPIO_74X164=y -CONFIG_POWER_SUPPLY=y -CONFIG_SABRESD_MAX8903=y CONFIG_POWER_RESET=y CONFIG_POWER_RESET_SYSCON_POWEROFF=y +CONFIG_POWER_SUPPLY=y +CONFIG_CHARGER_PF1550=y +CONFIG_SABRESD_MAX8903=y CONFIG_SENSORS_MAX17135=y CONFIG_SENSORS_MAG3110=y CONFIG_THERMAL=y +CONFIG_THERMAL_WRITABLE_TRIPS=y CONFIG_CPU_THERMAL=y CONFIG_IMX_THERMAL=y CONFIG_DEVICE_THERMAL=y CONFIG_WATCHDOG=y CONFIG_IMX2_WDT=y +CONFIG_IMX7ULP_WDT=y CONFIG_MFD_DA9052_I2C=y CONFIG_MFD_MC13XXX_SPI=y CONFIG_MFD_MC13XXX_I2C=y +CONFIG_MFD_PF1550=y CONFIG_MFD_MAX17135=y CONFIG_MFD_SI476X_CORE=y CONFIG_MFD_STMPE=y @@ -220,6 +232,8 @@ CONFIG_REGULATOR_MAX17135=y CONFIG_REGULATOR_MC13783=y CONFIG_REGULATOR_MC13892=y CONFIG_REGULATOR_PFUZE100=y +CONFIG_REGULATOR_PF1550=y +CONFIG_REGULATOR_PF1550_RPMSG=y CONFIG_MEDIA_SUPPORT=y CONFIG_MEDIA_CAMERA_SUPPORT=y CONFIG_MEDIA_RADIO_SUPPORT=y @@ -243,18 +257,18 @@ CONFIG_MXC_VADC=m CONFIG_MXC_MIPI_CSI=m CONFIG_MXC_CAMERA_OV5647_MIPI=m CONFIG_SOC_CAMERA=y -CONFIG_VIDEO_MX3=y CONFIG_V4L_MEM2MEM_DRIVERS=y CONFIG_VIDEO_CODA=y CONFIG_RADIO_SI476X=y CONFIG_SOC_CAMERA_OV2640=y CONFIG_DRM=y CONFIG_DRM_VIVANTE=y -CONFIG_FB=y CONFIG_FB_MXS=y CONFIG_FB_MXC_SYNC_PANEL=y +CONFIG_FB_MXC_OVERLAY=y CONFIG_FB_MXC_MIPI_DSI=y CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y +CONFIG_FB_MXC_MIPI_DSI_NORTHWEST=y CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y @@ -262,6 +276,7 @@ CONFIG_FB_MXC_LDB=y CONFIG_FB_MXC_HDMI=y CONFIG_FB_MXS_SII902X=y CONFIG_FB_MXC_DCIC=m +CONFIG_FB_MXC_ADV7535=y CONFIG_HANNSTAR_CABC=y CONFIG_FB_MXC_EINK_PANEL=y CONFIG_FB_MXC_EINK_V2_PANEL=y @@ -269,8 +284,8 @@ CONFIG_LCD_CLASS_DEVICE=y CONFIG_LCD_L4F00242T03=y CONFIG_LCD_PLATFORM=y CONFIG_BACKLIGHT_PWM=y +CONFIG_BACKLIGHT_GPIO=y CONFIG_FRAMEBUFFER_CONSOLE=y -CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y CONFIG_LOGO=y CONFIG_SOUND=y CONFIG_SND=y @@ -283,6 +298,7 @@ CONFIG_SND_SOC_IMX_SII902X=y CONFIG_SND_SOC_IMX_WM8958=y CONFIG_SND_SOC_IMX_CS42888=y CONFIG_SND_SOC_IMX_WM8962=y +CONFIG_SND_SOC_IMX_RPMSG=y CONFIG_SND_SOC_IMX_SGTL5000=y CONFIG_SND_SOC_IMX_MQS=y CONFIG_SND_SOC_IMX_SPDIF=y @@ -291,7 +307,6 @@ CONFIG_SND_SOC_IMX_SI476X=y CONFIG_SND_SOC_IMX_HDMI=y CONFIG_USB=y CONFIG_USB_OTG_WHITELIST=y -CONFIG_USB_OTG_FSM=y CONFIG_USB_EHCI_HCD=y CONFIG_USB_EHCI_MXC=y CONFIG_USB_HCD_TEST_MODE=y @@ -304,6 +319,7 @@ CONFIG_USB_SERIAL=m CONFIG_USB_SERIAL_GENERIC=y CONFIG_USB_SERIAL_FTDI_SIO=m CONFIG_USB_SERIAL_OPTION=m +CONFIG_USB_TEST=m CONFIG_USB_EHSET_TEST_FIXTURE=y CONFIG_NOP_USB_XCEIV=y CONFIG_USB_MXS_PHY=y @@ -351,19 +367,24 @@ CONFIG_RTC_DRV_MC13XXX=y CONFIG_RTC_DRV_MXC=y CONFIG_RTC_DRV_SNVS=y CONFIG_DMADEVICES=y -CONFIG_MXC_PXP_V2=y -CONFIG_MXC_PXP_V3=y +CONFIG_FSL_EDMA=y CONFIG_IMX_SDMA=y CONFIG_MXS_DMA=y +CONFIG_MXC_PXP_V2=y +CONFIG_MXC_PXP_V3=y CONFIG_DMATEST=m CONFIG_STAGING=y CONFIG_STAGING_MEDIA=y +CONFIG_ION=y +CONFIG_ION_MXC=y # CONFIG_IOMMU_SUPPORT is not set +CONFIG_EXTCON_USB_GPIO=y CONFIG_IIO=y CONFIG_IMX7D_ADC=y CONFIG_VF610_ADC=y CONFIG_PWM=y CONFIG_PWM_IMX=y +CONFIG_PWM_TPM=y CONFIG_EXT2_FS=y CONFIG_EXT2_FS_XATTR=y CONFIG_EXT2_FS_POSIX_ACL=y @@ -371,9 +392,6 @@ CONFIG_EXT2_FS_SECURITY=y CONFIG_EXT3_FS=y CONFIG_EXT3_FS_POSIX_ACL=y CONFIG_EXT3_FS_SECURITY=y -CONFIG_EXT4_FS=y -CONFIG_EXT4_FS_POSIX_ACL=y -CONFIG_EXT4_FS_SECURITY=y CONFIG_QUOTA=y CONFIG_QUOTA_NETLINK_INTERFACE=y # CONFIG_PRINT_QUOTA_WARNING is not set @@ -421,9 +439,7 @@ CONFIG_CRYPTO_TGR192=y CONFIG_CRYPTO_WP512=y CONFIG_CRYPTO_BLOWFISH=y CONFIG_CRYPTO_CAMELLIA=y -CONFIG_CRYPTO_DES=y CONFIG_CRYPTO_TWOFISH=y -# CONFIG_CRYPTO_ANSI_CPRNG is not set CONFIG_CRYPTO_DEV_FSL_CAAM=y CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y diff --git a/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb b/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb deleted file mode 100644 index 5393874..0000000 --- a/recipes-kernel/linux/linux-imx-mfgtool_4.1.15.bb +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright (C) 2014 O.S. Systems Software LTDA. -# Copyright (C) 2014-2016 Freescale Semiconductor - -SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel" -DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \ -Manufacturing Tool compatible Linux Kernel to be used in updater environment" - -require linux-imx_${PV}.bb -require linux-mfgtool.inc diff --git a/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb b/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb new file mode 100644 index 0000000..0193ba6 --- /dev/null +++ b/recipes-kernel/linux/linux-imx-mfgtool_4.9.11.bb @@ -0,0 +1,25 @@ +# Copyright (C) 2014 O.S. Systems Software LTDA. +# Copyright (C) 2014-2016 Freescale Semiconductor + +SUMMARY = "Produces a Manufacturing Tool compatible Linux Kernel" +DESCRIPTION = "Linux Kernel provided and supported by Freescale that produces a \ +Manufacturing Tool compatible Linux Kernel to be used in updater environment" + +require linux-imx_${PV}.bb +require linux-mfgtool.inc + +KERNEL_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" +MODULE_IMAGE_BASE_NAME[vardepsexclude] = "DATETIME" +do_package[vardepsexclude] = "DATETIME" + +do_configure_prepend() { + if [ ${DO_CONFIG_V7_COPY} = "yes" ]; then + cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/.config + cp ${S}/arch/arm/configs/imx_v7_mfg_defconfig ${B}/../defconfig + fi +} + +do_deploy () { + install -d ${DEPLOY_DIR_IMAGE} + install arch/arm/boot/zImage ${DEPLOY_DIR_IMAGE}/zImage_mfgtool +} diff --git a/recipes-kernel/linux/linux-imx_4.1.15.bb b/recipes-kernel/linux/linux-imx_4.9.11.bb similarity index 59% rename from recipes-kernel/linux/linux-imx_4.1.15.bb rename to recipes-kernel/linux/linux-imx_4.9.11.bb index 20dae34..5f2caa8 100644 --- a/recipes-kernel/linux/linux-imx_4.1.15.bb +++ b/recipes-kernel/linux/linux-imx_4.9.11.bb @@ -2,17 +2,17 @@ # Copyright 2017 NXP # Released under the MIT license (see COPYING.MIT for the terms) -SUMMARY = "Linux Kernel provided and supported by Freescale" -DESCRIPTION = "Linux Kernel provided and supported by Freescale with focus on \ +SUMMARY = "Linux Kernel provided and supported by NXP" +DESCRIPTION = "Linux Kernel provided and supported by NXP with focus on \ i.MX Family Reference Boards. It includes support for many IPs such as GPU, VPU and IPU." require recipes-kernel/linux/linux-imx.inc DEPENDS += "lzop-native bc-native" -SRCBRANCH = "imx_4.1.15_2.0.0_ga" -LOCALVERSION = "-2.1.0" -SRCREV = "30278abfe0977b1d2f065271ce1ea23c0e2d1b6e" +SRCBRANCH = "imx_4.9.11_1.0.0_ga" +LOCALVERSION = "-1.0.0" +SRCREV = "c27010d99a3d91703ea2d1a3f9630a9dedc3f86f" DEFAULT_PREFERENCE = "1" -- 2.7.4