All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release
@ 2017-09-28 14:04 Jun Zhu
  2017-09-28 14:04 ` [PATCH 1/5] u-boot-imx: Upgrade to v2017.03 Jun Zhu
                   ` (4 more replies)
  0 siblings, 5 replies; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

- Upgrade to 4.9.11-1.0.0 ga release
- Upgrade u-boot to v2017.03
- Upgradw Linux Kernel to 4.9.11
- Add imx7ulpevk machine configure file
- Update imx-base.inc and image class to support imx7ulpevk

Jun Zhu (5):
  u-boot-imx: Upgrade to v2017.03
  linux-imx: Upgrade kernel to v4.9.11
  imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
  imx-base.inc: Update for imx7ulpevk board support
  image_types_fsl.bbclass: Add support for i.MX 7ULP board

 classes/image_types_fsl.bbclass                    |  16 +-
 conf/machine/imx7ulpevk.conf                       |  27 ++
 conf/machine/include/imx-base.inc                  |  14 +-
 ...ol_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} |   1 +
 ...u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} |   7 +-
 .../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 +-
 12 files changed, 126 insertions(+), 466 deletions(-)
 create mode 100644 conf/machine/imx7ulpevk.conf
 rename recipes-bsp/u-boot/{u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} (88%)
 rename recipes-bsp/u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} (71%)
 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%)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 12+ messages in thread

* [PATCH 1/5] u-boot-imx: Upgrade to v2017.03
  2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
@ 2017-09-28 14:04 ` Jun Zhu
  2017-09-28 14:04 ` [PATCH 2/5] linux-imx: Upgrade kernel to v4.9.11 Jun Zhu
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
 ...u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} | 1 +
 .../u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb}        | 7 ++++---
 2 files changed, 5 insertions(+), 3 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-imx-mfgtool_2016.03.bb => u-boot-imx-mfgtool_2017.03.bb} (88%)
 rename recipes-bsp/u-boot/{u-boot-imx_2016.03.bb => u-boot-imx_2017.03.bb} (71%)

diff --git a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2016.03.bb b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2017.03.bb
similarity index 88%
rename from recipes-bsp/u-boot/u-boot-imx-mfgtool_2016.03.bb
rename to recipes-bsp/u-boot/u-boot-imx-mfgtool_2017.03.bb
index eead627..81799ad 100644
--- a/recipes-bsp/u-boot/u-boot-imx-mfgtool_2016.03.bb
+++ b/recipes-bsp/u-boot/u-boot-imx-mfgtool_2017.03.bb
@@ -1,5 +1,6 @@
 # Copyright (C) 2014 O.S. Systems Software LTDA.
 # Copyright (C) 2014-2016 Freescale Semiconductor
+# Copyright 2017 NXP
 
 require u-boot-imx_${PV}.bb
 require u-boot-mfgtool.inc
diff --git a/recipes-bsp/u-boot/u-boot-imx_2016.03.bb b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
similarity index 71%
rename from recipes-bsp/u-boot/u-boot-imx_2016.03.bb
rename to recipes-bsp/u-boot/u-boot-imx_2017.03.bb
index 73d8c3b..b0e5f9f 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2016.03.bb
+++ b/recipes-bsp/u-boot/u-boot-imx_2017.03.bb
@@ -1,17 +1,18 @@
 # Copyright (C) 2013-2016 Freescale Semiconductor
 # Copyright 2017 NXP
 
-DESCRIPTION = "U-Boot provided by NXP with focus on i.MX reference boards."
+DESCRIPTION = "i.MX U-Boot suppporting i.MX reference boards."
 require recipes-bsp/u-boot/u-boot.inc
 
 PROVIDES += "u-boot"
+DEPENDS_append = "dtc-native"
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://Licenses/gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263"
 
-SRCBRANCH = "imx_v2016.03_4.1.15_2.0.0_ga"
+SRCBRANCH = "imx_v2017.03_4.9.11_1.0.0_ga"
 SRC_URI = "git://git.freescale.com/imx/uboot-imx.git;protocol=git;branch=${SRCBRANCH}"
-SRCREV = "568c9c9914863f20a2404c49db0b5ed7541a76ce"
+SRCREV = "a2fea67d3eb3092f19f250d53a4a27fa1a0c815f"
 
 S = "${WORKDIR}/git"
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 2/5] linux-imx: Upgrade kernel to v4.9.11
  2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
  2017-09-28 14:04 ` [PATCH 1/5] u-boot-imx: Upgrade to v2017.03 Jun Zhu
@ 2017-09-28 14:04 ` Jun Zhu
  2017-09-28 14:04 ` [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file Jun Zhu
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
 .../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 <lauren.post@nxp.com>
-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 <lauren.post@nxp.com>
----
- 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 <joe@perches.com>
-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 <joe@perches.com>
-Cc: Andi Kleen <andi@firstfloor.org>
-Cc: Michal Marek <mmarek@suse.cz>
-Cc: Segher Boessenkool <segher@kernel.crashing.org>
-Cc: Sasha Levin <levinsasha928@gmail.com>
-Cc: Anton Blanchard <anton@samba.org>
-Cc: Alan Modra <amodra@gmail.com>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
-(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 <linux/compiler-gcc3.h> directly, include <linux/compiler.h> 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 <linux/compiler-gcc4.h> directly, include <linux/compiler.h> 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 <linux/compiler-gcc5.h> directly, include <linux/compiler.h> 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 <lauren.post@nxp.com>
-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 <lauren.post@nxp.com>
----
- .../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



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
  2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
  2017-09-28 14:04 ` [PATCH 1/5] u-boot-imx: Upgrade to v2017.03 Jun Zhu
  2017-09-28 14:04 ` [PATCH 2/5] linux-imx: Upgrade kernel to v4.9.11 Jun Zhu
@ 2017-09-28 14:04 ` Jun Zhu
  2017-09-30 13:09   ` Otavio Salvador
  2017-09-30 15:45   ` Fabio Estevam
  2017-09-28 14:04 ` [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support Jun Zhu
  2017-09-28 14:04 ` [PATCH 5/5] image_types_fsl.bbclass: Add support for i.MX 7ULP board Jun Zhu
  4 siblings, 2 replies; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
 conf/machine/imx7ulpevk.conf | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 conf/machine/imx7ulpevk.conf

diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf
new file mode 100644
index 0000000..813d45b
--- /dev/null
+++ b/conf/machine/imx7ulpevk.conf
@@ -0,0 +1,27 @@
+#@TYPE: Machine
+#@NAME: NXP i.MX7ULP Evaluation Kit
+#@SOC: i.MX7ULP
+#@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK
+#@MAINTAINER: Lauren Post <Lauren.Post@nxp.com>
+
+require conf/machine/include/imx-base.inc
+require conf/machine/include/tune-cortexa7.inc
+
+MACHINE_FEATURES += " pci wifi bluetooth"
+
+MACHINEOVERRIDES =. "mx7:mx7ulp:"
+
+KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-hdmi.dtb"
+KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb"
+KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb"
+
+IMAGE_M4LOADER = "imx-m4-demos"
+IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"
+
+UBOOT_CONFIG ??= "sd"
+UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard"
+UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard"
+UBOOT_CONFIG[mfgtool] = "mx7ulp_evk_config"
+
+# Set Serial console
+SERIAL_CONSOLE = "115200 ttyLP0"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
  2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
                   ` (2 preceding siblings ...)
  2017-09-28 14:04 ` [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file Jun Zhu
@ 2017-09-28 14:04 ` Jun Zhu
  2017-09-29 14:57   ` Max Krummenacher
  2017-09-28 14:04 ` [PATCH 5/5] image_types_fsl.bbclass: Add support for i.MX 7ULP board Jun Zhu
  4 siblings, 1 reply; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
 conf/machine/include/imx-base.inc | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
index 0803c56..c3ae687 100644
--- a/conf/machine/include/imx-base.inc
+++ b/conf/machine/include/imx-base.inc
@@ -62,6 +62,7 @@ MACHINEOVERRIDES_EXTENDER_mx6sll  = "imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
 MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
 MACHINEOVERRIDES_EXTENDER_mx7d  = "imxpxp:imxepdc"
+MACHINEOVERRIDES_EXTENDER_mx7ulp  = "imxpxp:imxgpu2d:imxgpu3d"
 
 MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
     mx6 \
@@ -88,6 +89,7 @@ MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"
 MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
 MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll"
 MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
+MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp"
 MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
 MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
 MACHINE_SOCARCH_SUFFIX_mx6ul  = "-mx6ul"
@@ -116,7 +118,8 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
 
 # Firmware
 MACHINE_FIRMWARE ?= ""
-MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
+MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc"
+MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"
 MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"
 MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
 MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc"
@@ -142,6 +145,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6sx = " ${@bb.utils.contains('DISTRO_FEATURES
 MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
+MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-alsa-plugins', '', d)}"
 
 # Extra udev rules
 MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
@@ -155,6 +159,7 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta"
 MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta"
+MACHINE_GSTREAMER_1_0_PLUGIN_mx7ulp ?= "imx-gst1.0-plugin"
 
 # Determines if the SoC has support for Vivante kernel driver
 SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT       = "0"
@@ -162,6 +167,7 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q  = "1"
 SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1"
 SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1"
 SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1"
+SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1"
 
 # Handle Vivante kernel driver setting:
 #   0 - machine does not have Vivante GPU driver support
@@ -173,6 +179,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa"
 PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa"
 PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
@@ -180,6 +187,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
@@ -188,6 +196,7 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
@@ -196,12 +205,14 @@ PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
 PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
 
 PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv"
+PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv"
 PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= ""
 PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
 PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
@@ -212,6 +223,7 @@ IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
 IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
 IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
+IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx"
 IMX_DEFAULT_KERNEL_mx6sll = "linux-imx"
 IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
 IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* [PATCH 5/5] image_types_fsl.bbclass: Add support for i.MX 7ULP board
  2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
                   ` (3 preceding siblings ...)
  2017-09-28 14:04 ` [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support Jun Zhu
@ 2017-09-28 14:04 ` Jun Zhu
  4 siblings, 0 replies; 12+ messages in thread
From: Jun Zhu @ 2017-09-28 14:04 UTC (permalink / raw)
  To: meta-freescale; +Cc: Jun Zhu

Deploy the i.MX 7ULP M4 demo images to the boot partition along with Kernel and DTB files.

Signed-off-by: Jun Zhu <junzhu@nxp.com>
---
 classes/image_types_fsl.bbclass | 16 +++++++++++++++-
 1 file changed, 15 insertions(+), 1 deletion(-)

diff --git a/classes/image_types_fsl.bbclass b/classes/image_types_fsl.bbclass
index 91b6c4e..8d67e7e 100644
--- a/classes/image_types_fsl.bbclass
+++ b/classes/image_types_fsl.bbclass
@@ -2,6 +2,8 @@ inherit image_types
 
 IMAGE_BOOTLOADER ?= "u-boot"
 
+IMAGE_M4LOADER ?= ""
+
 # Handle u-boot suffixes
 UBOOT_SUFFIX ?= "bin"
 UBOOT_SUFFIX_SDCARD ?= "${UBOOT_SUFFIX}"
@@ -81,7 +83,8 @@ do_image_sdcard[depends] = "parted-native:do_populate_sysroot \
                             dosfstools-native:do_populate_sysroot \
                             mtools-native:do_populate_sysroot \
                             virtual/kernel:do_deploy \
-                            ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''}"
+                            ${@d.getVar('IMAGE_BOOTLOADER', True) and d.getVar('IMAGE_BOOTLOADER', True) + ':do_deploy' or ''} \
+                            ${@d.getVar('IMAGE_M4LOADER', True) and d.getVar('IMAGE_M4LOADER', True) + ':do_deploy' or ''}"
 
 SDCARD = "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.sdcard"
 
@@ -144,6 +147,17 @@ _generate_boot_image() {
 		mmd -i ${WORKDIR}/boot.img ::/extlinux
 		mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/extlinux.conf ::/extlinux/extlinux.conf
 	fi
+
+        # Copy m4 image
+        if [ -n "${IMAGE_M4}" ]; then
+            for IMAGE_FILE in ${IMAGE_M4}; do
+                if [ -e "${DEPLOY_DIR_IMAGE}/${IMAGE_FILE}" ]; then
+                    mcopy -i ${WORKDIR}/boot.img -s ${DEPLOY_DIR_IMAGE}/${IMAGE_FILE} ::/${IMAGE_FILE}
+                else
+                    bbfatal "${IMAGE_FILE}$ does not exist."
+                fi
+            done
+        fi
 }
 
 #
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 12+ messages in thread

* Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
  2017-09-28 14:04 ` [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support Jun Zhu
@ 2017-09-29 14:57   ` Max Krummenacher
  2017-09-29 19:31     ` Otavio Salvador
  0 siblings, 1 reply; 12+ messages in thread
From: Max Krummenacher @ 2017-09-29 14:57 UTC (permalink / raw)
  To: Jun Zhu, meta-freescale

Hi

Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
> Signed-off-by: Jun Zhu <junzhu@nxp.com>
> ---
>  conf/machine/include/imx-base.inc | 14 +++++++++++++-
>  1 file changed, 13 insertions(+), 1 deletion(-)
> 
> diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc
> index 0803c56..c3ae687 100644
> --- a/conf/machine/include/imx-base.inc
> +++ b/conf/machine/include/imx-base.inc
> @@ -62,6 +62,7 @@ MACHINEOVERRIDES_EXTENDER_mx6sll  = "imxpxp:imxepdc"
>  MACHINEOVERRIDES_EXTENDER_mx6ul = "imxpxp"
>  MACHINEOVERRIDES_EXTENDER_mx6ull = "imxpxp:imxepdc"
>  MACHINEOVERRIDES_EXTENDER_mx7d  = "imxpxp:imxepdc"
> +MACHINEOVERRIDES_EXTENDER_mx7ulp  = "imxpxp:imxgpu2d:imxgpu3d"
>  
>  MACHINEOVERRIDES_EXTENDER_FILTER_OUT_use-mainline-bsp = " \
>      mx6 \
> @@ -88,6 +89,7 @@ MACHINE_SOCARCH_SUFFIX_mx6sx = "-mx6sx"
>  MACHINE_SOCARCH_SUFFIX_mx6sl = "-mx6sl"
>  MACHINE_SOCARCH_SUFFIX_mx6sll= "-mx6sll"
>  MACHINE_SOCARCH_SUFFIX_mx7d = "-mx7d"
> +MACHINE_SOCARCH_SUFFIX_mx7ulp = "-mx7ulp"
>  MACHINE_SOCARCH_SUFFIX_vf60 = "-vf60"
>  MACHINE_SOCARCH_SUFFIX_vf50 = "-vf50"
>  MACHINE_SOCARCH_SUFFIX_mx6ul  = "-mx6ul"
> @@ -116,7 +118,8 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS_append = " \
>  
>  # Firmware
>  MACHINE_FIRMWARE ?= ""
> -MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
> +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc"
> +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"

I think this should be moved to the relevant machine config file.
It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.

Max

>  MACHINE_FIRMWARE_append_mx6q = " firmware-imx-vpu-imx6q"
>  MACHINE_FIRMWARE_append_mx6dl = " firmware-imx-vpu-imx6d firmware-imx-epdc"
>  MACHINE_FIRMWARE_append_mx6sl = " firmware-imx-epdc"
> @@ -142,6 +145,7 @@ MACHINE_EXTRA_RRECOMMENDS_append_mx6sx = " ${@bb.utils.contains('DISTRO_FEATUR
> ES
>  MACHINE_EXTRA_RRECOMMENDS_append_mx6ul = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-
> alsa-plugins', '', d)}"
>  MACHINE_EXTRA_RRECOMMENDS_append_mx6ull = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-
> alsa-plugins', '', d)}"
>  MACHINE_EXTRA_RRECOMMENDS_append_mx7d = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-
> alsa-plugins', '', d)}"
> +MACHINE_EXTRA_RRECOMMENDS_append_mx7ulp = " ${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'imx-
> alsa-plugins', '', d)}"
>  
>  # Extra udev rules
>  MACHINE_EXTRA_RRECOMMENDS += "udev-rules-imx"
> @@ -155,6 +159,7 @@ MACHINE_GSTREAMER_1_0_PLUGIN_mx6sx ?= "gstreamer1.0-plugins-imx-meta"
>  MACHINE_GSTREAMER_1_0_PLUGIN_mx6ul ?= "gstreamer1.0-plugins-imx-meta"
>  MACHINE_GSTREAMER_1_0_PLUGIN_mx6ull ?= "gstreamer1.0-plugins-imx-meta"
>  MACHINE_GSTREAMER_1_0_PLUGIN_mx7d ?= "gstreamer1.0-plugins-imx-meta"
> +MACHINE_GSTREAMER_1_0_PLUGIN_mx7ulp ?= "imx-gst1.0-plugin"
>  
>  # Determines if the SoC has support for Vivante kernel driver
>  SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT       = "0"
> @@ -162,6 +167,7 @@ SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6q  = "1"
>  SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6dl = "1"
>  SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sx = "1"
>  SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx6sl = "1"
> +SOC_HAS_VIVANTE_KERNEL_DRIVER_SUPPORT_mx7ulp = "1"
>  
>  # Handle Vivante kernel driver setting:
>  #   0 - machine does not have Vivante GPU driver support
> @@ -173,6 +179,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6q ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/egl_mx6dl ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/egl_mx6sx ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/egl_mx6sl ?= "imx-gpu-viv"
> +PREFERRED_PROVIDER_virtual/egl_mx7ulp ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/egl_mx6sll ?= "mesa"
>  PREFERRED_PROVIDER_virtual/egl_mx6ul ?= "mesa"
>  PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
> @@ -180,6 +187,7 @@ PREFERRED_PROVIDER_virtual/egl_mx6ull ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6q ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6dl ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6sx ?= "imx-gpu-viv"
> +PREFERRED_PROVIDER_virtual/libgles1_mx7ulp ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6sl ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6sll ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles1_mx6ul ?= "mesa"
> @@ -188,6 +196,7 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6ull ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6q ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6dl ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6sx ?= "imx-gpu-viv"
> +PREFERRED_PROVIDER_virtual/libgles2_mx7ulp ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6sl ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6sll ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgles2_mx6ul ?= "mesa"
> @@ -196,12 +205,14 @@ PREFERRED_PROVIDER_virtual/libgles2_mx6ull ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgl_mx6q ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgl_mx6dl ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgl_mx6sx ?= "imx-gpu-viv"
> +PREFERRED_PROVIDER_virtual/libgl_mx7ulp ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libgl_mx6sl ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgl_mx6sll ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgl_mx6ul ?= "mesa"
>  PREFERRED_PROVIDER_virtual/libgl_mx6ull ?= "mesa"
>  
>  PREFERRED_PROVIDER_virtual/libg2d_mx6 ?= "imx-gpu-viv"
> +PREFERRED_PROVIDER_virtual/libg2d_mx7ulp ?= "imx-gpu-viv"
>  PREFERRED_PROVIDER_virtual/libg2d_mx6sll ?= ""
>  PREFERRED_PROVIDER_virtual/libg2d_mx6ul = ""
>  PREFERRED_PROVIDER_virtual/libg2d_mx6ull = ""
> @@ -212,6 +223,7 @@ IMX_DEFAULT_KERNEL_mxs = "linux-fslc"
>  IMX_DEFAULT_KERNEL_mx5 = "linux-fslc"
>  IMX_DEFAULT_KERNEL_mx6 = "linux-fslc-imx"
>  IMX_DEFAULT_KERNEL_mx7 = "linux-fslc-imx"
> +IMX_DEFAULT_KERNEL_mx7ulp = "linux-imx"
>  IMX_DEFAULT_KERNEL_mx6sll = "linux-imx"
>  IMX_DEFAULT_KERNEL_mx6ul = "linux-fslc-imx"
>  IMX_DEFAULT_KERNEL_mx6ull = "linux-fslc-imx"
> -- 
> 2.7.4
> 


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
  2017-09-29 14:57   ` Max Krummenacher
@ 2017-09-29 19:31     ` Otavio Salvador
  2017-10-10  6:16       ` Jun Zhu
  0 siblings, 1 reply; 12+ messages in thread
From: Otavio Salvador @ 2017-09-29 19:31 UTC (permalink / raw)
  To: Max Krummenacher; +Cc: meta-freescale, Jun Zhu

On Fri, Sep 29, 2017 at 11:57 AM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
>> Signed-off-by: Jun Zhu <junzhu@nxp.com>
>>  # Firmware
>>  MACHINE_FIRMWARE ?= ""
>> -MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
>> +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc"
>> +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"
>
> I think this should be moved to the relevant machine config file.
> It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.

Agreed; especially because it is not a SoC features.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
  2017-09-28 14:04 ` [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file Jun Zhu
@ 2017-09-30 13:09   ` Otavio Salvador
  2017-09-30 15:45   ` Fabio Estevam
  1 sibling, 0 replies; 12+ messages in thread
From: Otavio Salvador @ 2017-09-30 13:09 UTC (permalink / raw)
  To: Jun Zhu; +Cc: meta-freescale

On Thu, Sep 28, 2017 at 11:04 AM, Jun Zhu <junzhu@nxp.com> wrote:
> Signed-off-by: Jun Zhu <junzhu@nxp.com>
> ---
>  conf/machine/imx7ulpevk.conf | 27 +++++++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 conf/machine/imx7ulpevk.conf
>
> diff --git a/conf/machine/imx7ulpevk.conf b/conf/machine/imx7ulpevk.conf
> new file mode 100644
> index 0000000..813d45b
> --- /dev/null
> +++ b/conf/machine/imx7ulpevk.conf
> @@ -0,0 +1,27 @@
> +#@TYPE: Machine
> +#@NAME: NXP i.MX7ULP Evaluation Kit
> +#@SOC: i.MX7ULP
> +#@DESCRIPTION: Machine configuration for NXP i.MX7ULP EVK
> +#@MAINTAINER: Lauren Post <Lauren.Post@nxp.com>
> +
> +require conf/machine/include/imx-base.inc
> +require conf/machine/include/tune-cortexa7.inc
> +
> +MACHINE_FEATURES += " pci wifi bluetooth"
> +
> +MACHINEOVERRIDES =. "mx7:mx7ulp:"
> +
> +KERNEL_DEVICETREE = "imx7ulp-evk.dtb imx7ulp-evk-emmc.dtb imx7ulp-evk-emmc-qspi.dtb imx7ulp-evk-ft5416.dtb imx7ulp-evk-hdmi.dtb"
> +KERNEL_DEVICETREE += "imx7ulp-evk-lpuart.dtb imx7ulp-evk-qspi.dtb imx7ulp-evk-sd1.dtb imx7ulp-evk-sensors-to-i2c5.dtb"
> +KERNEL_DEVICETREE += "imx7ulp-evk-wm8960.dtb"
> +
> +IMAGE_M4LOADER = "imx-m4-demos"
> +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"

Please see the comment I did about adding it as a package so it does
not belong to the machine.

> +UBOOT_CONFIG ??= "sd"
> +UBOOT_CONFIG[sd] = "mx7ulp_evk_config,sdcard"
> +UBOOT_CONFIG[emmc] = "mx7ulp_evk_emmc_config,sdcard"
> +UBOOT_CONFIG[mfgtool] = "mx7ulp_evk_config"

Please let's use the wic tool to generate the images.

I added the imx-uboot-bootpart which provides same layout as the
sdcard class and is trivial to convert to it.

> +# Set Serial console
> +SERIAL_CONSOLE = "115200 ttyLP0"
> --
> 2.7.4
>
> --
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
  2017-09-28 14:04 ` [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file Jun Zhu
  2017-09-30 13:09   ` Otavio Salvador
@ 2017-09-30 15:45   ` Fabio Estevam
  2017-10-05  3:24     ` Jun Zhu
  1 sibling, 1 reply; 12+ messages in thread
From: Fabio Estevam @ 2017-09-30 15:45 UTC (permalink / raw)
  To: Jun Zhu; +Cc: meta-freescale

Hi Jun,

On Thu, Sep 28, 2017 at 11:04 AM, Jun Zhu <junzhu@nxp.com> wrote:

> +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"

Just for my understanding: where are these M4 images coming from? Are
they built by Yocto and by IAR tools in Windows?

Please clarify.


^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file
  2017-09-30 15:45   ` Fabio Estevam
@ 2017-10-05  3:24     ` Jun Zhu
  0 siblings, 0 replies; 12+ messages in thread
From: Jun Zhu @ 2017-10-05  3:24 UTC (permalink / raw)
  To: Fabio Estevam; +Cc: meta-freescale

Hi, Fabio,

The M4 images not buily by Yocto, they are pre-built by the M4 SDK tool-chain. The source code for these images are in the 7ulp M4 SDK.
 
And these binaries are packaged into "imx-m4-demos-7ulp-beta.bin" and would be deployed to the boot partition along with Kernel and DTB files by "bitbake imx-m4-demos".

Enter u-boot command line mode, the user can make these M4 images run on M4 core directly.  

BR,
Jun Zhu

  

-----Original Message-----
From: Fabio Estevam [mailto:festevam@gmail.com] 
Sent: Saturday, September 30, 2017 11:45 PM
To: Jun Zhu <junzhu@nxp.com>
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file

Hi Jun,

On Thu, Sep 28, 2017 at 11:04 AM, Jun Zhu <junzhu@nxp.com> wrote:

> +IMAGE_M4 = "imx7ulp_m4_demo.img imx7ulp_wireless_uart_bridge.img imx7ulp_erpc_matrix_multiply_rtos.img imx7ulp_rpmsg_lite_pingpong_rtos.img imx7ulp_rpmsg_lite_str_echo_rtos.img"

Just for my understanding: where are these M4 images coming from? Are they built by Yocto and by IAR tools in Windows?

Please clarify.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support
  2017-09-29 19:31     ` Otavio Salvador
@ 2017-10-10  6:16       ` Jun Zhu
  0 siblings, 0 replies; 12+ messages in thread
From: Jun Zhu @ 2017-10-10  6:16 UTC (permalink / raw)
  To: Otavio Salvador, Max Krummenacher; +Cc: meta-freescale

You are right. I have submitted v2 patch set

-----Original Message-----
From: Otavio Salvador [mailto:otavio.salvador@ossystems.com.br] 
Sent: Saturday, September 30, 2017 3:32 AM
To: Max Krummenacher <max.oss.09@gmail.com>
Cc: Jun Zhu <junzhu@nxp.com>; meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support

On Fri, Sep 29, 2017 at 11:57 AM, Max Krummenacher <max.oss.09@gmail.com> wrote:
> Am Donnerstag, den 28.09.2017, 22:04 +0800 schrieb Jun Zhu:
>> Signed-off-by: Jun Zhu <junzhu@nxp.com>  # Firmware  MACHINE_FIRMWARE 
>> ?= ""
>> -MACHINE_FIRMWARE_append_mx7 = " firmware-imx-epdc"
>> +MACHINE_FIRMWARE_append_mx7d = " firmware-imx-epdc"
>> +MACHINE_FIRMWARE_append_mx7ulp = " firmware-imx-brcm"
>
> I think this should be moved to the relevant machine config file.
> It is unlikely that every i.MX 7ULP machine will feature a Broadcom Wifi chipset.

Agreed; especially because it is not a SoC features.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-10  6:16 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-28 14:04 [PATCH 0/5] Upgrade to i.MX 4.9.11-1.0.0 GA release Jun Zhu
2017-09-28 14:04 ` [PATCH 1/5] u-boot-imx: Upgrade to v2017.03 Jun Zhu
2017-09-28 14:04 ` [PATCH 2/5] linux-imx: Upgrade kernel to v4.9.11 Jun Zhu
2017-09-28 14:04 ` [PATCH 3/5] imx7ulpevk.conf: Create i.MX 7ULP EVK machine configure file Jun Zhu
2017-09-30 13:09   ` Otavio Salvador
2017-09-30 15:45   ` Fabio Estevam
2017-10-05  3:24     ` Jun Zhu
2017-09-28 14:04 ` [PATCH 4/5] imx-base.inc: Update for imx7ulpevk board support Jun Zhu
2017-09-29 14:57   ` Max Krummenacher
2017-09-29 19:31     ` Otavio Salvador
2017-10-10  6:16       ` Jun Zhu
2017-09-28 14:04 ` [PATCH 5/5] image_types_fsl.bbclass: Add support for i.MX 7ULP board Jun Zhu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.