Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 9AD9AE005B1; Fri, 14 Sep 2018 03:03:44 -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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham version=3.3.1 X-Spam-HAM-Report: * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider * (schnitzeltony[at]gmail.com) * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from mail-wm1-f67.google.com (mail-wm1-f67.google.com [209.85.128.67]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id DC6E8E005B1 for ; Fri, 14 Sep 2018 03:03:43 -0700 (PDT) Received: by mail-wm1-f67.google.com with SMTP id c14-v6so1343261wmb.4 for ; Fri, 14 Sep 2018 03:03:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jXOpoDJCuN1dlD1mIbkGGJjomG4yEIbjSUn5cuWPHU4=; b=uyhcL/NT7YU5HcClKJgOJesCMQns7L8W6/IPafVC0d6f29+IUJaGFkWTMYn+Xo4ElF hYCq6DBg3FE+sbtGR49mlOclarLZUwwTyEJs8F/jnmx4GMmKn43S7ATb78zLK1bZr30s Lsnn1j81Eemu9ORiWW931O2wtqbCdgVsLcINmy+ZckJb3emImIV3PzgTLsWhDLjFIybD jAq0C8ogCdhncBGjS+TY56RexGvp90E6dBaAYOGkWH0HRL75G77LlbwGE79taUp8efx8 D/GnkjUB6aeA7nTBMTnk7eqxp73lJYn2/CFyf8QPgQLy2PBzn+gsH/VpB9ukOji+tgCe ILzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=jXOpoDJCuN1dlD1mIbkGGJjomG4yEIbjSUn5cuWPHU4=; b=sDrRFxjTc8cH7kTGBIukHE0ZrHXP35ImCqRhvQHHoAaQLxOToLxbcfUMadI8Pr9tHW A3z3xXntCjH5GDDsmI33IKxo52iQIbcoiVdGeH5wrlviPbcsBXS1Tv5FHGknElEeDirK kmMlUmB3Jdw9TO4yLYZFQicm06mTPO8nP29zXL22zmvDNYk0zUQHC6pMAp6I4LMffKj2 vhP6k9uH+3hBh7/YC+JKBqcXarlVs0ZpYhfnHZXD9DB8MUIrkNId/EzXKbLCpBF2zOSB 5hC+UBJ1QLyFfQUWA2jLs6Ug/h8Ei2qfgpP6xn1vMMG39XRLKpaTboqHOBiDc7soPTW2 BDsA== X-Gm-Message-State: APzg51DnjeMHJurQDpPKrDnkK1LnR+nwLck9aqtcM5GYTNWbMoGMnNZD ZPaINI6guUaHHrPgeru3wUWN7Kzu X-Google-Smtp-Source: ANB0VdYGHygnRMvr43lsVR5/nJjIcJ5jdbQgxH41u7aYENZz4W65s2aAq+fc0pAiHlWtRPqrGs5Ftg== X-Received: by 2002:a1c:4c0e:: with SMTP id z14-v6mr1653403wmf.89.1536919422045; Fri, 14 Sep 2018 03:03:42 -0700 (PDT) Received: from mueller-a-nb-linux.zera.local (p509737a3.dip0.t-ipconnect.de. [80.151.55.163]) by smtp.gmail.com with ESMTPSA id v5-v6sm4071822wru.60.2018.09.14.03.03.40 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 14 Sep 2018 03:03:40 -0700 (PDT) From: =?UTF-8?q?Andreas=20M=C3=BCller?= To: meta-freescale@yoctoproject.org Date: Fri, 14 Sep 2018 12:02:57 +0200 Message-Id: <20180914100300.13084-1-schnitzeltony@gmail.com> X-Mailer: git-send-email 2.14.4 MIME-Version: 1.0 Subject: [3rdparty][PATCH 1/4] u-boot-variscite: upgrade 2015.04 -> 2017.03 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, 14 Sep 2018 10:03:44 -0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Licence have no idea what changed in the license file README. For plausibility a grep here on checksum a2c678cfd4a4d97135585cad908541c6 unveiled: recipes-bsp/u-boot/u-boot-boundary-common_2017.07.inc recipes-bsp/u-boot/u-boot-toradex.inc recipes-bsp/u-boot/u-boot-boundary-common_2017.03.imx8m.inc All these set license to GPLv2+ - so we should be fine. * Fix-the-compile-issue-under-gcc6.patch Later versions of u-boot support a version independent gcc header file making the patch obsolete * COMPATIBLE_MACHINE resrict to imx6qdl-variscite-som Signed-off-by: Andreas Müller --- .../Fix-the-compile-issue-under-gcc6.patch | 92 ---------------------- ...cite_2015.04.bb => u-boot-variscite_2017.03.bb} | 9 +-- 2 files changed, 4 insertions(+), 97 deletions(-) delete mode 100644 recipes-bsp/u-boot/u-boot-variscite-2015.04/Fix-the-compile-issue-under-gcc6.patch rename recipes-bsp/u-boot/{u-boot-variscite_2015.04.bb => u-boot-variscite_2017.03.bb} (53%) diff --git a/recipes-bsp/u-boot/u-boot-variscite-2015.04/Fix-the-compile-issue-under-gcc6.patch b/recipes-bsp/u-boot/u-boot-variscite-2015.04/Fix-the-compile-issue-under-gcc6.patch deleted file mode 100644 index 3d080b6..0000000 --- a/recipes-bsp/u-boot/u-boot-variscite-2015.04/Fix-the-compile-issue-under-gcc6.patch +++ /dev/null @@ -1,92 +0,0 @@ -From 5d39bd421fc093e2c852316080538cef85a9e1a0 Mon Sep 17 00:00:00 2001 -From: yocto -Date: Thu, 2 Jun 2016 00:18:33 -0500 -Subject: [PATCH] Fix the compile issue under gcc6 - -Fix the following build error: -| .../include/linux/compiler-gcc.h:106:30: fatal error: linux/compiler-gcc6.h: No such file or directory -| #include gcc_header(__GNUC__) - -Signed-off-by: Zhenhua Luo - -Upstream-Status: Pending ---- - include/linux/compiler-gcc6.h | 66 +++++++++++++++++++++++++++++++++++++++++++ - 1 file changed, 66 insertions(+) - create mode 100644 include/linux/compiler-gcc6.h - -diff --git a/include/linux/compiler-gcc6.h b/include/linux/compiler-gcc6.h -new file mode 100644 -index 0000000..cdd1cc2 ---- /dev/null -+++ b/include/linux/compiler-gcc6.h -@@ -0,0 +1,66 @@ -+#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. -+ * Fixed in GCC 4.8.2 and later versions. -+ * -+ * (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 */ --- -2.5.0 - diff --git a/recipes-bsp/u-boot/u-boot-variscite_2015.04.bb b/recipes-bsp/u-boot/u-boot-variscite_2017.03.bb similarity index 53% rename from recipes-bsp/u-boot/u-boot-variscite_2015.04.bb rename to recipes-bsp/u-boot/u-boot-variscite_2017.03.bb index 9dbd58a..818e03e 100644 --- a/recipes-bsp/u-boot/u-boot-variscite_2015.04.bb +++ b/recipes-bsp/u-boot/u-boot-variscite_2017.03.bb @@ -2,19 +2,18 @@ require recipes-bsp/u-boot/u-boot.inc SUMMARY = "U-Boot for Variscite i.MX6Q/DL VAR-SOM-MX6" LICENSE = "GPLv2+" -LIC_FILES_CHKSUM = "file://Licenses/README;md5=c7383a594871c03da76b3707929d2919" -COMPATIBLE_MACHINE = "(mxs|mx6)" +LIC_FILES_CHKSUM = "file://Licenses/README;md5=a2c678cfd4a4d97135585cad908541c6" +COMPATIBLE_MACHINE = "(imx6qdl-variscite-som)" PROVIDES += "u-boot" SPL_BINARY = "SPL" -SRCREV = "d4b69fe88b20223acf36e4c36ea464cd5a866ab2" -SRCBRANCH = "imx_v2015.04_4.1.15_1.1.0_ga_var01" +SRCREV = "3b5f889cb501c9fbe44c750c657dcd9ea4875176" +SRCBRANCH = "imx_v2017.03_4.9.11_1.0.0_ga_var01" SRC_URI = "\ git://github.com/varigit/uboot-imx.git;protocol=git;branch=${SRCBRANCH} \ - file://Fix-the-compile-issue-under-gcc6.patch \ " S = "${WORKDIR}/git" -- 2.14.4