Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 90630E00F6E; Fri, 15 Jul 2016 09:36:34 -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 SPF_HELO_PASS SPF: HELO matches SPF record * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [104.47.34.88 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0088.outbound.protection.outlook.com [104.47.34.88]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8C64FE00F73 for ; Fri, 15 Jul 2016 09:36:25 -0700 (PDT) Received: from BLUPR0301CA0001.namprd03.prod.outlook.com (10.162.113.139) by DM5PR03MB2508.namprd03.prod.outlook.com (10.168.233.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.523.12; Fri, 15 Jul 2016 16:36:24 +0000 Received: from BL2FFO11FD042.protection.gbl (2a01:111:f400:7c09::150) by BLUPR0301CA0001.outlook.office365.com (2a01:111:e400:5259::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.534.14 via Frontend Transport; Fri, 15 Jul 2016 16:36:24 +0000 Authentication-Results: spf=fail (sender IP is 192.88.168.50) smtp.mailfrom=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; nxp.com; dmarc=fail action=none header.from=nxp.com; nxp.com; dkim=none (message not signed) header.d=none; Received-SPF: Fail (protection.outlook.com: domain of nxp.com does not designate 192.88.168.50 as permitted sender) receiver=protection.outlook.com; client-ip=192.88.168.50; helo=tx30smr01.am.freescale.net; Received: from tx30smr01.am.freescale.net (192.88.168.50) by BL2FFO11FD042.mail.protection.outlook.com (10.173.161.138) with Microsoft SMTP Server (TLS) id 15.1.534.7 via Frontend Transport; Fri, 15 Jul 2016 16:36:23 +0000 Received: from ceres.localdomain (ceres.ap.freescale.net [10.192.208.81]) by tx30smr01.am.freescale.net (8.14.3/8.14.0) with ESMTP id u6FGaKpm003901; Fri, 15 Jul 2016 09:36:21 -0700 From: To: Date: Sat, 16 Jul 2016 00:35:42 +0800 Message-ID: <1468600559-24152-1-git-send-email-ting.liu@nxp.com> X-Mailer: git-send-email 1.9.2 X-EOPAttributedMessage: 0 X-Matching-Connectors: 131130741841310810; (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)(7916002)(2980300002)(1110001)(1109001)(339900001)(199003)(189002)(106466001)(4326007)(229853001)(189998001)(36756003)(2351001)(575784001)(77096005)(356003)(104016004)(50986999)(87936001)(105606002)(86152002)(15975445007)(86362001)(6806005)(19580395003)(50226002)(110136002)(8936002)(230783001)(7846002)(81166006)(81156014)(97736004)(305945005)(19580405001)(8676002)(68736007)(2876002)(92566002)(5003940100001)(11100500001)(2906002)(33646002)(50466002)(48376002)(47776003)(586003)(85426001)(8666005)(7059030); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR03MB2508; H:tx30smr01.am.freescale.net; FPR:; SPF:Fail; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD042; 1:8wZFrdAFBEy/Mmv3SYsk2ihoYO2ZgLDIOmk+k97gl8XjbO5vIh65HCcRZk8bt1ODZuL/F8PT9af6AGHCPv9Ssi431JxTeqH4UXPnMmNMwHHRLFVtm28JXIYnkrF79SllRW6gZoPb6BtDviaaVQu4ZJq8Si3Yc/cOZwMx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flXTeId8uOSGvmIsscytZFrv/ViLEPfK5RT+HgNLY=; 25:B0SQJFFXKjIpe2ubVaX6khE5Qvj1ONKnRLOyrLjMihfyI7N7717zQ8MXUdgjfqpUY611vckXSB6vBOrJRaOVrLs7bSg/v98cgLjJovFORgUgHfHVPtV5tGnucZgWuhLQO+JkJO0F9Ib1NFiSbBSixZhN1JGaFTfSy32PZ883NF1qhbZMimBaIKo8na4Nhy/qskvOO3y6qmSoebLCGbvDk0OG747tVNnAWgmbZgCF2hdERlOlmj9ygeJdtV4uXH0IfW0DDSmGi3Yz9CzxpVE3cN5JtvyNVHEX7IdMq3HLRD/6ye7p9fknmeajmCOpZ/J622POyEWudt+dN+eT/JhOzqLB1Ni2mg+4HJ7Funcas2Kqc/gBLnTYS4NT0e7lq0SyWigsh4KqHTbh6LtP24+hxqy1x2MCsUJ39meJ4Rockck= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM5PR03MB2508; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(22074186197030)(185117386973197)(101931422205132)(183786458502308); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13023025)(8121501046)(5005006)(13018025)(13015025)(13017025)(13024025)(3002001)(10201501046)(6055026); SRVR:DM5PR03MB2508; BCL:0; PCL:0; RULEID:(400006); SRVR:DM5PR03MB2508; X-Microsoft-Exchange-Diagnostics: 1; DM5PR03MB2508; 4:WjO1CE777OL1RGhxo/3H2bJxfPUkKLMiNj7S05EExWnL1VqlDYu54D0jPgutr/hIKyaAd4U3EiR7Pm2OiBFZhqfzJ4xD1ob7NVLJ3UhSNOSpDMybnJbV5zUPR8CL2JvHAfx7DU+D0KnSPd2uuBpoGurGacTL6nKTxwpaHC4SDvSW/m6tK65nnMCupxPmBd2NbFfVnaLf+Ej4Zl+6VEkjUp89Y/YnWdWOKdYMTg5Sk7kcAFHvhepELKN6mZpYTAJ29pSWVMS6xcbyby5jr3+kqpramYBBybOiuF2X838bkGmDBd/ttVDT30EMo8RyK9C6J5M9u8u/PRTQrHsA1nNHko5mE9bkgtiVOyngIFEO5kDanDKE341kTPGsrHm97haS3pcfdqAHyeH6ga49U/fs3HEV/IJtkCOI1zaTAP6QDUWFipBUq0izquthJb2OOC0NY7kdzsEUDdZr6sGEBMBiZ1ZdUe3rpEJjZMHvCzXZ6RbdI+SUPw5TXZuiZI15r+EaqLR/gx8O6SfVoJOGoMshsxTOLnoikvanZuh8vyZcUD3tr4w4zc2E7t7EsjJkJcFif66x8Rd297xf8lFwOatClTqutjcAePxlGmABwXsFuexFi1gXtdkphM1IsdufmQCu X-Forefront-PRVS: 00046D390F X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR03MB2508; 23:dQHe0YH6QuYEOGdLnCoPKQf+Y//NHqW9nvgHKyFeo?= =?us-ascii?Q?2+oUKtJta1dIlTu56uhSGciRkyTippJeUQUBPpkDIlqDmfyjvwC1wfY/rHTT?= =?us-ascii?Q?2J5N4oI+S7Ru+ezzc1AIj29EABGJ0t6YWjvPnUEH5Lu/x+3t+QyJ2u9ak9Ap?= =?us-ascii?Q?yNyB6Hc9arQIIQES8lMrYisRMViiYiBJHeX4FOopd8apKXa7zv02WjPKMWD1?= =?us-ascii?Q?9OZj55i2tvWIx3SPg5bZeDt/TfjfL4Ufi48Fh8jfaqamlSbp8+AdAckqbouy?= =?us-ascii?Q?bCL/iGX9gnGpvxif5MJvfiJHJxmXiQIHcpDQ6E3gzX0ZTi9eXEwa3LFSxnh/?= =?us-ascii?Q?XNY9vJY0WBI9IVC4/RCTMtH/hfJ3Dlu/+QJr4Hsg4+lhvZXW/+O+KM7Fombl?= =?us-ascii?Q?q/rMUrH6jxj6r3+DrL+QotlnP9J14tcQJRjQ1wfqAywPVd5NQsWcW6lpk5L1?= =?us-ascii?Q?DZUYNflTKtUZYTdSPdu0cdwNzX55eCBAhJFUiONs/9UaProiDyYP9VrGno7Y?= =?us-ascii?Q?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wLAaqrAusFOoWjYt7SXyOrCg55c6kcaUwCK969FxrP3ptoT8Or9CbMCIrFbHm75sLXwo3ip0ptmEzs1KMjjm/mnb6sHXwd5AJYPIo7vYgRG2KZoOlRS6tx4vQmnxBaau4YPjfaPvNvWntrHxQyMCd3TzjFU=; 5:mHBX2lsRpWr20Vb/E5G3kjOgzp+42oepcS7Ws+fnVDPWxACMaO1v3ZZCq8b68IQol503lDxqEW6j2kNVhUdU9j60ZU3uTKD+/P9bQQcZEpQCuShpfQn7Vq5Vqqr6un/qq0o2+wJvSaBXn+YVMvZAfOhqCOv/gYosy/7SKtuhGic=; 24:nJ4zd3OAGWdcQi5fdmqqGn9XO3BB4gmcYh2PY3PZaUHcrcNdSbAlTTyNOXjW9aButPmYWwyMXCHT9aEKzS3FZQy50apnCTnYFa8R3BahzjA=; 7:9oN9LIDWt0WnU7lcv+D31m683fX6nW6AA9Syw/4Ceyia+es4prP38SLXtI9bh4IwXpczJUZtTgHrenq2yJnpCuwfdDdHVY0wgU7GuMlVusuKL5w+Jr8o8bxk3vzLvgZl5vOOl07JN2iKh3w7kOu6D7UOlEb39K/bve9wP/ibGOjoYY2oLO4btkzd3Ce537+ZDcQdJ/Dx9jFfEndhHBouZ+/5m3fvlObn68T1zmqsBKLShwLavCjm73e/Xp6SPHVu SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Jul 2016 16:36:23.8034 (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: DM5PR03MB2508 Subject: [meta-freescale-layer][PATCH 01/18] u-boot-qoriq: upgrade to 2016.01 plus fsl patches 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: Fri, 15 Jul 2016 16:36:34 -0000 Content-Type: text/plain From: Ting Liu The main features are: * Upgrade to 2016.01 * On ARM platforms, the U-Boot image includes the device tree * Non-secure and Secure Boot (ESBC) * Primary Protected Application (PPA) firmware integration [LS1043A] * Clock, CPLD, DUART, DDR3, DDR4, DSPI, eSDHC, GIC-400, GIC-500, I2C, OCRAM, PCIe, USB 2 & 3, SATA, UART * Networking support using eTSEC, FMAN Independent Mode or DPAA2 networking * DCU, eMMC 4.5, I2C3, LPUART, QSPI [LS1021A] * eLBC and IFC access to NOR and NAND flash * Boot from NOR, NAND flash, eSPI, SDHC * Boot from SRIO [B4860, P5020, P4080] * Voltage ID (board specific) * CodeWarrior debug patch for U-Boot Detailed commit log can be found at: http://git.freescale.com/git/cgit.cgi/ppc/sdk/u-boot.git/log/?h=sdk-v2.0.x Signed-off-by: Ting Liu --- .../files/add-fgnu89-inline-option-for-gcc5.patch | 39 ---------- recipes-bsp/u-boot/files/gcc5.patch | 91 ---------------------- .../fix-build-error-under-gcc6.patch | 0 ...ot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} | 6 +- 4 files changed, 2 insertions(+), 134 deletions(-) delete mode 100644 recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch delete mode 100644 recipes-bsp/u-boot/files/gcc5.patch rename recipes-bsp/u-boot/{files => u-boot-qoriq}/fix-build-error-under-gcc6.patch (100%) rename recipes-bsp/u-boot/{u-boot-qoriq_2015.01.bb => u-boot-qoriq_2016.01.bb} (97%) diff --git a/recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch b/recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch deleted file mode 100644 index cfe1c07..0000000 --- a/recipes-bsp/u-boot/files/add-fgnu89-inline-option-for-gcc5.patch +++ /dev/null @@ -1,39 +0,0 @@ -Upstream-Status: Pending - -From 4d4fcfc41288134b48b72ac69702f68741d7631f Mon Sep 17 00:00:00 2001 -From: Ting Liu -Date: Tue, 28 Jul 2015 16:29:26 +0800 -Subject: [PATCH] add -fgnu89-inline option for gcc5 - -Fix the below build issues: - CC drivers/crypto/fsl/sec.o - LD arch/powerpc/cpu/mpc8xxx/built-in.o -arch/powerpc/cpu/mpc8xxx/fdt.o: In function `ld_le16': -../arch/powerpc/include/asm/byteorder.h:12: multiple definition of `ld_le16' - -The problem is the change of the default C standard from gnu89 to gnu11 -which changes the semantics of 'inline'. The issue is described in the -Porting guide at https://gcc.gnu.org/gcc-5/porting_to.html. Adding the -'-fgnu89-inline' option fixes the issue. - -Signed-off-by: Ting Liu ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/Makefile b/Makefile -index 9995e00..00497cc 100644 ---- a/Makefile -+++ b/Makefile -@@ -349,7 +349,7 @@ CHECKFLAGS := -D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ \ - - KBUILD_CPPFLAGS := -D__KERNEL__ -D__UBOOT__ - --KBUILD_CFLAGS := -Wall -Wstrict-prototypes \ -+KBUILD_CFLAGS := -fgnu89-inline -Wall -Wstrict-prototypes \ - -Wno-format-security \ - -fno-builtin -ffreestanding - KBUILD_AFLAGS := -D__ASSEMBLY__ --- -1.9.2 - diff --git a/recipes-bsp/u-boot/files/gcc5.patch b/recipes-bsp/u-boot/files/gcc5.patch deleted file mode 100644 index 12db94c..0000000 --- a/recipes-bsp/u-boot/files/gcc5.patch +++ /dev/null @@ -1,91 +0,0 @@ -Upstream-Status: Backport - -From 478b02f1a7043b673565075ea5016376f3293b23 Mon Sep 17 00:00:00 2001 -From: Hans de Goede -Date: Sat, 7 Feb 2015 22:52:40 +0100 -Subject: [PATCH] Add linux/compiler-gcc5.h to fix builds with gcc5 - -Add linux/compiler-gcc5/h from the kernel sources at: - -commit 5631b8fba640a4ab2f8a954f63a603fa34eda96b -Author: Steven Noonan -Date: Sat Oct 25 15:09:42 2014 -0700 - - compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles - -Signed-off-by: Hans de Goede ---- - include/linux/compiler-gcc5.h | 65 +++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 65 insertions(+) - create mode 100644 include/linux/compiler-gcc5.h - -Index: git/include/linux/compiler-gcc5.h -=================================================================== ---- /dev/null -+++ git/include/linux/compiler-gcc5.h -@@ -0,0 +1,65 @@ -+#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 */ diff --git a/recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch b/recipes-bsp/u-boot/u-boot-qoriq/fix-build-error-under-gcc6.patch similarity index 100% rename from recipes-bsp/u-boot/files/fix-build-error-under-gcc6.patch rename to recipes-bsp/u-boot/u-boot-qoriq/fix-build-error-under-gcc6.patch diff --git a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb similarity index 97% rename from recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb rename to recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb index 8b20b5a..601edbd 100644 --- a/recipes-bsp/u-boot/u-boot-qoriq_2015.01.bb +++ b/recipes-bsp/u-boot/u-boot-qoriq_2016.01.bb @@ -22,13 +22,11 @@ DEPENDS_append_qoriq-ppc = " boot-format-native" inherit deploy -SRCBRANCH = "sdk-v1.9.x" +SRCBRANCH = "sdk-v2.0.x" SRC_URI = "git://git.freescale.com/ppc/sdk/u-boot.git;branch=${SRCBRANCH} \ - file://gcc5.patch \ - file://add-fgnu89-inline-option-for-gcc5.patch \ file://fix-build-error-under-gcc6.patch \ " -SRCREV = "eb3d4fc5759729d7af71ac31ebf6a7e8d0e79da3" +SRCREV = "a9b437f50e2051f8d42ec9e1a6df52de4bc00e1e" python () { if d.getVar("TCMODE", True) == "external-fsl": -- 1.9.2