All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-07-11  6:14   ` Arnout Vandecappelle
  2014-06-30 21:52 ` [Buildroot] [PATCH 02/14] freescale-imx: update imx-lib package Yann E. MORIN
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

Bumping the version requires some heavy changes in the different
i.MX related packages. Instead of having a single huge patch, those
changes are split in smaller patches, one per affected package.

This has the inconvenient side-effect of breaking the build right
now with the bump; but it is better since the patches are easier to
understand.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: expand commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/freescale-imx/freescale-imx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/freescale-imx/freescale-imx.mk b/package/freescale-imx/freescale-imx.mk
index 39ffa8a..843ba61 100644
--- a/package/freescale-imx/freescale-imx.mk
+++ b/package/freescale-imx/freescale-imx.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-FREESCALE_IMX_VERSION = 3.5.7-1.0.0
+FREESCALE_IMX_VERSION = 3.10.17-1.0.0
 FREESCALE_IMX_SITE    = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
 
 include $(sort $(wildcard package/freescale-imx/*/*.mk))
-- 
1.9.1

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

* [Buildroot] [PATCH 02/14] freescale-imx: update imx-lib package
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0 Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 03/14] freescale-imx: change platform choice to be common Yann E. MORIN
                   ` (14 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

The include files from the FSL kernel are properly separated out in
uapi, so we must include that instead of the kernel-side headers.

imx-lib no longer includes VPU code and therefore is now free from
Freescale License. It is now LGPLv2.1+.

Also, it is now provided as a normal .tar.gz, so _SOURCE is no longer
needed. So, remove our custom _EXTRACT_CMDS.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: _SOURCE is no longer needed, rework commit
 log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/freescale-imx/imx-lib/imx-lib.mk | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/package/freescale-imx/imx-lib/imx-lib.mk b/package/freescale-imx/imx-lib/imx-lib.mk
index 4f605d7..ecaee25 100644
--- a/package/freescale-imx/imx-lib/imx-lib.mk
+++ b/package/freescale-imx/imx-lib/imx-lib.mk
@@ -6,9 +6,8 @@
 
 IMX_LIB_VERSION = $(FREESCALE_IMX_VERSION)
 IMX_LIB_SITE    = $(FREESCALE_IMX_SITE)
-IMX_LIB_LICENSE = Freescale License (vpu), LGPLv2.1+ (the rest)
+IMX_LIB_LICENSE = LGPLv2.1+
 IMX_LIB_LICENSE_FILES = EULA
-IMX_LIB_SOURCE = imx-lib-$(IMX_LIB_VERSION).bin
 
 IMX_LIB_INSTALL_STAGING = YES
 
@@ -17,7 +16,7 @@ IMX_LIB_DEPENDENCIES += linux
 IMX_LIB_INCLUDE = \
 	-I$(LINUX_DIR)/drivers/mxc/security/rng/include \
 	-I$(LINUX_DIR)/drivers/mxc/security/sahara2/include \
-	-idirafter $(LINUX_DIR)/include
+	-idirafter $(LINUX_DIR)/include/uapi
 
 IMX_LIB_MAKE_ENV = \
 	$(TARGET_MAKE_ENV) \
@@ -26,23 +25,6 @@ IMX_LIB_MAKE_ENV = \
 	PLATFORM=$(BR2_PACKAGE_IMX_LIB_PLATFORM) \
 	INCLUDE="$(IMX_LIB_INCLUDE)"
 
-# The archive is a shell-self-extractor of a bzipped tar. It happens
-# to extract in the correct directory (imx-lib-x.y.z)
-# The --force makes sure it doesn't fail if the source dir already exists.
-# The --auto-accept skips the license check - not needed for us
-# because we have legal-info
-# Since there's a EULA in the bin file, extract it to imx-lib-x.y.z/EULA
-#
-define IMX_LIB_EXTRACT_CMDS
-	awk 'BEGIN      { start=0; } \
-	     /^EOEULA/  { start = 0; } \
-	                { if (start) print; } \
-	     /<<EOEULA/ { start=1; }'\
-	    $(DL_DIR)/$(IMX_LIB_SOURCE) > $(@D)/EULA
-	cd $(BUILD_DIR); \
-	sh $(DL_DIR)/$(IMX_LIB_SOURCE) --force --auto-accept
-endef
-
 define IMX_LIB_BUILD_CMDS
 	$(IMX_LIB_MAKE_ENV) $(MAKE1) -C $(@D)
 endef
-- 
1.9.1

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

* [Buildroot] [PATCH 03/14] freescale-imx: change platform choice to be common
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0 Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 02/14] freescale-imx: update imx-lib package Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 04/14] package/gpu-viv-bin-mx6q: only available for i.MX6Q Yann E. MORIN
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

That way all the i.MX packages can inherit from that information,
for example, the soon-to-be-introduced imx-vpu package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: the part about gpu-viv-bin-mx6q moved to
 its own patch; rework the commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/freescale-imx/Config.in          | 45 ++++++++++++++++++++++++++++++--
 package/freescale-imx/imx-lib/Config.in  | 37 --------------------------
 package/freescale-imx/imx-lib/imx-lib.mk |  2 +-
 3 files changed, 44 insertions(+), 40 deletions(-)

diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
index 7c22f79..f87efcb 100644
--- a/package/freescale-imx/Config.in
+++ b/package/freescale-imx/Config.in
@@ -1,8 +1,49 @@
-menu "Freescale i.MX libraries"
+menuconfig BR2_PACKAGE_FREESCALE_IMX
+	bool "Freescale i.MX libraries"
 	depends on BR2_arm
+	help
+	  Those packages provide hardware acceleration for GPU or VPU, hardware
+	  optimization or some hardware tools for Freescale i.MX platforms.
+
+if BR2_PACKAGE_FREESCALE_IMX
+choice
+	prompt "i.MX platform"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
+	bool "imx25-3stack"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
+	bool "imx27ads"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
+	bool "imx37-3stack"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
+	bool "imx50"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
+	bool "imx51"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
+	bool "imx53"
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
+	bool "imx6q"
+
+endchoice
+
+config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
+	string
+	default "IMX25_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
+	default "IMX27ADS" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
+	default "IMX37_3STACK" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
+	default "IMX50" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
+	default "IMX51" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
+	default "IMX53" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
+	default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
 
 source "package/freescale-imx/imx-lib/Config.in"
 source "package/freescale-imx/firmware-imx/Config.in"
 source "package/freescale-imx/gpu-viv-bin-mx6q/Config.in"
 
-endmenu
+endif
diff --git a/package/freescale-imx/imx-lib/Config.in b/package/freescale-imx/imx-lib/Config.in
index 444060b..3b0f7a9 100644
--- a/package/freescale-imx/imx-lib/Config.in
+++ b/package/freescale-imx/imx-lib/Config.in
@@ -14,40 +14,3 @@ config BR2_PACKAGE_IMX_LIB
 	  This library is provided by Freescale as-is and doesn't have
 	  an upstream.
 
-if BR2_PACKAGE_IMX_LIB
-choice
-	prompt "i.MX platform"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
-	bool "imx25-3stack"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
-	bool "imx27ads"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
-	bool "imx37-3stack"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
-	bool "imx50"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
-	bool "imx51"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
-	bool "imx53"
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
-	bool "imx6q"
-
-endchoice
-
-config BR2_PACKAGE_IMX_LIB_PLATFORM
-	string
-	default "IMX25_3STACK" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX25_3STACK
-	default "IMX27ADS" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX27ADS
-	default "IMX37_3STACK" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX37_3STACK
-	default "IMX50" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX50
-	default "IMX51" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX51
-	default "IMX53" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX53
-	default "IMX6Q" if BR2_PACKAGE_IMX_LIB_PLATFORM_IMX6Q
-endif
diff --git a/package/freescale-imx/imx-lib/imx-lib.mk b/package/freescale-imx/imx-lib/imx-lib.mk
index ecaee25..f643b15 100644
--- a/package/freescale-imx/imx-lib/imx-lib.mk
+++ b/package/freescale-imx/imx-lib/imx-lib.mk
@@ -22,7 +22,7 @@ IMX_LIB_MAKE_ENV = \
 	$(TARGET_MAKE_ENV) \
 	$(TARGET_CONFIGURE_OPTS) \
 	CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
-	PLATFORM=$(BR2_PACKAGE_IMX_LIB_PLATFORM) \
+	PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
 	INCLUDE="$(IMX_LIB_INCLUDE)"
 
 define IMX_LIB_BUILD_CMDS
-- 
1.9.1

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

* [Buildroot] [PATCH 04/14] package/gpu-viv-bin-mx6q: only available for i.MX6Q
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (2 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 03/14] freescale-imx: change platform choice to be common Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 05/14] freescale-imx: add imx-vpu package Yann E. MORIN
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
[yann.morin.1998 at free.fr: split from the previous patch]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>

---
Gary, I took the liberty of adding your SoB line, since that change was
initially in a patch of yours with your SoB line. If you believe that's
not correct, please say so.
---
 package/freescale-imx/Config.in | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
index f87efcb..0626a74 100644
--- a/package/freescale-imx/Config.in
+++ b/package/freescale-imx/Config.in
@@ -44,6 +44,8 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
 
 source "package/freescale-imx/imx-lib/Config.in"
 source "package/freescale-imx/firmware-imx/Config.in"
+if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
 source "package/freescale-imx/gpu-viv-bin-mx6q/Config.in"
+endif
 
 endif
-- 
1.9.1

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

* [Buildroot] [PATCH 05/14] freescale-imx: add imx-vpu package
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (3 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 04/14] package/gpu-viv-bin-mx6q: only available for i.MX6Q Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 06/14] libfslvpuwrap: bump to version 1.0.46 Yann E. MORIN
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

As of 3.10.17-1.0.0 release, VPU code is now in its own package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: slightly rework the kconfig comment; fold the
 imx-vpu patches into this changeset; add one missing license file]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/freescale-imx/Config.in                    |  1 +
 package/freescale-imx/imx-vpu/Config.in            | 16 ++++++
 ...-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch | 32 ++++++++++++
 ...-lib-fix-IOGetVirtMem-return-value-checks.patch | 59 ++++++++++++++++++++++
 package/freescale-imx/imx-vpu/imx-vpu.mk           | 53 +++++++++++++++++++
 5 files changed, 161 insertions(+)
 create mode 100644 package/freescale-imx/imx-vpu/Config.in
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu.mk

diff --git a/package/freescale-imx/Config.in b/package/freescale-imx/Config.in
index 0626a74..d8c6efc 100644
--- a/package/freescale-imx/Config.in
+++ b/package/freescale-imx/Config.in
@@ -43,6 +43,7 @@ config BR2_PACKAGE_FREESCALE_IMX_PLATFORM
 	default "IMX6Q" if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
 
 source "package/freescale-imx/imx-lib/Config.in"
+source "package/freescale-imx/imx-vpu/Config.in"
 source "package/freescale-imx/firmware-imx/Config.in"
 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
 source "package/freescale-imx/gpu-viv-bin-mx6q/Config.in"
diff --git a/package/freescale-imx/imx-vpu/Config.in b/package/freescale-imx/imx-vpu/Config.in
new file mode 100644
index 0000000..cf5ab5f
--- /dev/null
+++ b/package/freescale-imx/imx-vpu/Config.in
@@ -0,0 +1,16 @@
+config BR2_PACKAGE_IMX_VPU
+	bool "imx-vpu"
+	depends on BR2_LINUX_KERNEL
+	depends on BR2_arm # Only relevant for i.MX
+	help
+	  Library of userspace helpers specific for the Freescale i.MX
+	  platform. It wraps the kernel interfaces for the i.MX platform
+	  Video Processing Unit (VPU) driver. It requires a kernel that
+	  includes the i.MX specific headers to be built.
+
+	  This library is provided by Freescale as-is and doesn't have
+	  an upstream.
+
+comment "imx-vpu needs an imx-specific Linux kernel to be built"
+	depends on BR2_arm
+	depends on !BR2_LINUX_KERNEL
diff --git a/package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch b/package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch
new file mode 100644
index 0000000..ed93193
--- /dev/null
+++ b/package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch
@@ -0,0 +1,32 @@
+[PATCH] vpu-io: fix IOSystemInit failure
+
+When using a kernel where user/kernel split is 3G/1G, the address
+returned by IOGetVirtMem() can appear to be a negative int.
+
+IOSystemInit() incorrectly checks the return value of IOGetVirtMem().
+IOGetVirtMem() returns -1 on error (and not MAP_FAILED, nor any other
+negative value.)
+
+Fix that by correctly checking against -1 (and not MAP_FAILED!)
+
+Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
+[yann.morin.1998 at free.fr: expand the commit log]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+ vpu/vpu_io.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/vpu/vpu_io.c b/vpu/vpu_io.c
+index 8cbb571..14759da 100644
+--- a/vpu/vpu_io.c
++++ b/vpu/vpu_io.c
+@@ -265,7 +265,7 @@ int IOSystemInit(void *callback)
+ 		goto err;
+ 	}
+ 
+-	if (IOGetVirtMem(&bit_work_addr) <= 0)
++	if (IOGetVirtMem(&bit_work_addr) == -1)
+ 		goto err;
+ #endif
+ 	UnlockVpu(vpu_semap);
+
diff --git a/package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch b/package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch
new file mode 100644
index 0000000..583a508
--- /dev/null
+++ b/package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch
@@ -0,0 +1,59 @@
+[PATCH] vpu-lib: fix IOGetVirtMem return value checks
+
+When using a kernel where user/kernel split is 3G/1G, the address
+returned by IOGetVirtMem() can appear to be a negative int.
+
+IOSystemInit() incorrectly checks the return value of IOGetVirtMem().
+IOGetVirtMem() returns -1 on error (and not MAP_FAILED, nor any other
+negative value.)
+
+Fix that by correctly checking against -1 (and not MAP_FAILED!)
+
+Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
+[yann.morin.1998 at free.fr: expand the commit log]
+Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
+---
+ vpu/vpu_lib.c | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+diff --git a/vpu/vpu_lib.c b/vpu/vpu_lib.c
+index 1fb731b..7a7f42d 100644
+--- a/vpu/vpu_lib.c
++++ b/vpu/vpu_lib.c
+@@ -1764,7 +1764,7 @@ RetCode vpu_EncStartOneFrame(EncHandle handle, EncParam * param)
+ 				err_msg("Unable to obtain physical mem\n");
+ 				return RETCODE_FAILURE;
+ 			}
+-			if (IOGetVirtMem(&pEncInfo->picParaBaseMem) <= 0) {
++			if (IOGetVirtMem(&pEncInfo->picParaBaseMem) == -1) {
+ 				IOFreePhyMem(&pEncInfo->picParaBaseMem);
+ 				pEncInfo->picParaBaseMem.phy_addr = 0;
+ 				err_msg("Unable to obtain virtual mem\n");
+@@ -2982,7 +2982,7 @@ RetCode vpu_DecGetInitialInfo(DecHandle handle, DecInitialInfo * info)
+ 			UnlockVpu(vpu_semap);
+ 			return RETCODE_FAILURE;
+ 		}
+-		if (IOGetVirtMem(&pDecInfo->userDataBufMem) <= 0) {
++		if (IOGetVirtMem(&pDecInfo->userDataBufMem) == -1) {
+ 			IOFreePhyMem(&pDecInfo->userDataBufMem);
+ 			pDecInfo->userDataBufMem.phy_addr = 0;
+ 			err_msg("Unable to obtain virtual mem\n");
+@@ -4017,7 +4017,7 @@ RetCode vpu_DecStartOneFrame(DecHandle handle, DecParam * param)
+ 				UnlockVpu(vpu_semap);
+ 				return RETCODE_FAILURE;
+ 			}
+-			if (IOGetVirtMem(&pDecInfo->picParaBaseMem) <= 0) {
++			if (IOGetVirtMem(&pDecInfo->picParaBaseMem) == -1) {
+ 				IOFreePhyMem(&pDecInfo->picParaBaseMem);
+ 				pDecInfo->picParaBaseMem.phy_addr = 0;
+ 				err_msg("Unable to obtain virtual mem\n");
+@@ -4057,7 +4057,7 @@ RetCode vpu_DecStartOneFrame(DecHandle handle, DecParam * param)
+ 			UnlockVpu(vpu_semap);
+ 			return RETCODE_FAILURE;
+ 		}
+-		if (IOGetVirtMem(&pDecInfo->userDataBufMem) <= 0) {
++		if (IOGetVirtMem(&pDecInfo->userDataBufMem) == -1) {
+ 			IOFreePhyMem(&pDecInfo->userDataBufMem);
+ 			pDecInfo->userDataBufMem.phy_addr = 0;
+ 			err_msg("Unable to obtain virtual mem\n");
+
diff --git a/package/freescale-imx/imx-vpu/imx-vpu.mk b/package/freescale-imx/imx-vpu/imx-vpu.mk
new file mode 100644
index 0000000..f7e7ab6
--- /dev/null
+++ b/package/freescale-imx/imx-vpu/imx-vpu.mk
@@ -0,0 +1,53 @@
+################################################################################
+#
+# imx-vpu
+#
+################################################################################
+
+IMX_VPU_VERSION = $(FREESCALE_IMX_VERSION)
+IMX_VPU_SITE    = $(FREESCALE_IMX_SITE)
+IMX_VPU_LICENSE = Freescale License
+IMX_VPU_LICENSE_FILES = EULA vpu/EULA.txt
+IMX_VPU_SOURCE = imx-vpu-$(IMX_VPU_VERSION).bin
+
+IMX_VPU_INSTALL_STAGING = YES
+
+# imx-vpu needs access to imx-specific kernel headers
+IMX_VPU_DEPENDENCIES += linux
+IMX_VPU_MAKE_ENV = \
+	$(TARGET_MAKE_ENV) \
+	$(TARGET_CONFIGURE_OPTS) \
+	CROSS_COMPILE="$(CCACHE) $(TARGET_CROSS)" \
+	PLATFORM=$(BR2_PACKAGE_FREESCALE_IMX_PLATFORM) \
+	INCLUDE="-idirafter $(LINUX_DIR)/include"
+
+# The archive is a shell-self-extractor of a bzipped tar. It happens
+# to extract in the correct directory (imx-vpu-x.y.z)
+# The --force makes sure it doesn't fail if the source dir already exists.
+# The --auto-accept skips the license check - not needed for us
+# because we have legal-info
+# Since there's a EULA in the bin file, extract it to imx-vpu-x.y.z/EULA
+#
+define IMX_VPU_EXTRACT_CMDS
+	awk 'BEGIN      { start=0; } \
+	     /^EOEULA/  { start = 0; } \
+	                { if (start) print; } \
+	     /<<EOEULA/ { start=1; }'\
+	    $(DL_DIR)/$(IMX_VPU_SOURCE) > $(@D)/EULA
+	cd $(BUILD_DIR); \
+	sh $(DL_DIR)/$(IMX_VPU_SOURCE) --force --auto-accept
+endef
+
+define IMX_VPU_BUILD_CMDS
+	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D)
+endef
+
+define IMX_VPU_INSTALL_STAGING_CMDS
+	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(STAGING_DIR) install
+endef
+
+define IMX_VPU_INSTALL_TARGET_CMDS
+	$(IMX_VPU_MAKE_ENV) $(MAKE1) -C $(@D) DEST_DIR=$(TARGET_DIR) install
+endef
+
+$(eval $(generic-package))
-- 
1.9.1

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

* [Buildroot] [PATCH 06/14] libfslvpuwrap: bump to version 1.0.46
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (4 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 05/14] freescale-imx: add imx-vpu package Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 07/14] libfslcodec: bump to version 3.0.11 Yann E. MORIN
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

The libfslvpuwrapp versionning no longer follows the same version scheme
as the other Freescale components.

As VPU code is no longer in imx-lib, this package now depends on imx-vpu
package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: expand commit log]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/libfslvpuwrap/Config.in        | 2 +-
 package/libfslvpuwrap/libfslvpuwrap.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package/libfslvpuwrap/Config.in b/package/libfslvpuwrap/Config.in
index 9cf7633..fa85ce5 100644
--- a/package/libfslvpuwrap/Config.in
+++ b/package/libfslvpuwrap/Config.in
@@ -6,7 +6,7 @@ config BR2_PACKAGE_LIBFSLVPUWRAP
 	bool "libfslvpuwrap"
 	depends on BR2_LINUX_KERNEL
 	depends on BR2_arm # Only relevant for i.MX
-	select BR2_PACKAGE_IMX_LIB
+	select BR2_PACKAGE_IMX_VPU
 	help
 	  Wrapper library for the vpu library, giving it a different API.
 
diff --git a/package/libfslvpuwrap/libfslvpuwrap.mk b/package/libfslvpuwrap/libfslvpuwrap.mk
index 75c9887..c3a5c1c 100644
--- a/package/libfslvpuwrap/libfslvpuwrap.mk
+++ b/package/libfslvpuwrap/libfslvpuwrap.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBFSLVPUWRAP_VERSION = $(FREESCALE_IMX_VERSION)
+LIBFSLVPUWRAP_VERSION = 1.0.46
 LIBFSLVPUWRAP_SITE = $(FREESCALE_IMX_SITE)
 LIBFSLVPUWRAP_SOURCE = libfslvpuwrap-$(LIBFSLVPUWRAP_VERSION).bin
 LIBFSLVPUWRAP_LICENSE = Freescale Semiconductor Software License Agreement
@@ -14,7 +14,7 @@ LIBFSLVPUWRAP_REDISTRIBUTE = NO
 
 LIBFSLVPUWRAP_INSTALL_STAGING = YES
 
-LIBFSLVPUWRAP_DEPENDENCIES += imx-lib
+LIBFSLVPUWRAP_DEPENDENCIES += imx-vpu
 
 # The archive is a shell-self-extractor of a bzipped tar. It happens
 # to extract in the correct directory (libfslvpuwrap-x.y.z)
-- 
1.9.1

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

* [Buildroot] [PATCH 07/14] libfslcodec: bump to version 3.0.11
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (5 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 06/14] libfslvpuwrap: bump to version 1.0.46 Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 08/14] libfslparser: " Yann E. MORIN
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

This package version is now independent from freescale-imx package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/libfslcodec/libfslcodec.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libfslcodec/libfslcodec.mk b/package/libfslcodec/libfslcodec.mk
index d52158c..1a364bb 100644
--- a/package/libfslcodec/libfslcodec.mk
+++ b/package/libfslcodec/libfslcodec.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBFSLCODEC_VERSION = $(FREESCALE_IMX_VERSION)
+LIBFSLCODEC_VERSION = 3.0.11
 LIBFSLCODEC_SITE = $(FREESCALE_IMX_SITE)
 LIBFSLCODEC_SOURCE = libfslcodec-$(LIBFSLCODEC_VERSION).bin
 LIBFSLCODEC_LICENSE = Freescale Semiconductor Software License Agreement, BSD-3c (flac, ogg headers)
-- 
1.9.1

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

* [Buildroot] [PATCH 08/14] libfslparser: bump to version 3.0.11
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (6 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 07/14] libfslcodec: bump to version 3.0.11 Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 09/14] gst-fsl-plugins: " Yann E. MORIN
                   ` (8 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

This package version is now independent from freescale-imx package.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/libfslparser/libfslparser.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/libfslparser/libfslparser.mk b/package/libfslparser/libfslparser.mk
index 0d92e02..d52b151 100644
--- a/package/libfslparser/libfslparser.mk
+++ b/package/libfslparser/libfslparser.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBFSLPARSER_VERSION = $(FREESCALE_IMX_VERSION)
+LIBFSLPARSER_VERSION = 3.0.11
 LIBFSLPARSER_SITE = $(FREESCALE_IMX_SITE)
 LIBFSLPARSER_SOURCE = libfslparser-$(LIBFSLPARSER_VERSION).bin
 LIBFSLPARSER_LICENSE = Freescale Semiconductor Software License Agreement
-- 
1.9.1

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

* [Buildroot] [PATCH 09/14] gst-fsl-plugins: bump to version 3.0.11
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (7 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 08/14] libfslparser: " Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 10/14] package/gst-fsl-plugins: add default platform Yann E. MORIN
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

As the VPU code is now apart from imx-lib, this package also depends
on imx-vpu.

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[yann.morin.1998 at free.fr: slightly tweak commit log <80 chars]
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 package/gstreamer/gst-fsl-plugins/Config.in        |  1 +
 ...gins-0002-Fix-bashism-in-configure-script.patch | 25 +++++-----------------
 .../gst-fsl-plugins-0003-Use-proper-objdump.patch  |  6 +++---
 ...sl-linkage-add-lrt-for-shared-memory-func.patch |  2 +-
 .../gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk   | 10 +++++----
 5 files changed, 16 insertions(+), 28 deletions(-)

diff --git a/package/gstreamer/gst-fsl-plugins/Config.in b/package/gstreamer/gst-fsl-plugins/Config.in
index 19fa0da..fc0184e 100644
--- a/package/gstreamer/gst-fsl-plugins/Config.in
+++ b/package/gstreamer/gst-fsl-plugins/Config.in
@@ -13,6 +13,7 @@ config BR2_PACKAGE_GST_FSL_PLUGINS
 	select BR2_PACKAGE_GST_PLUGINS_BASE
 	select BR2_PACKAGE_LIBFSLVPUWRAP
 	select BR2_PACKAGE_IMX_LIB
+	select BR2_PACKAGE_IMX_VPU
 	select BR2_PACKAGE_LIBFSLPARSER
 	select BR2_PACKAGE_LIBFSLCODEC
 	help
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0002-Fix-bashism-in-configure-script.patch b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0002-Fix-bashism-in-configure-script.patch
index 8af3644..35617cd 100644
--- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0002-Fix-bashism-in-configure-script.patch
+++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0002-Fix-bashism-in-configure-script.patch
@@ -9,29 +9,14 @@ have the default dash as /bin/sh define a variable ending with
 
 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
 ---
- configure.ac |   22 +++++++++++-----------
- 1 file changed, 11 insertions(+), 11 deletions(-)
+ configure.ac | 14 +++++++-------
+ 1 file changed, 7 insertions(+), 7 deletions(-)
 
 diff --git a/configure.ac b/configure.ac
 index 5968eb6..1a31a06 100755
 --- a/configure.ac
 +++ b/configure.ac
-@@ -60,10 +60,10 @@ AC_DEFUN([CHECK_DISABLE_FEATURE],
-         [use_[$1]=yes])
-     if test "$use_[$1]" = "yes"; then
-         SAVE_CPPFLAGS="$CPPFLAGS"
--        CPPFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec`
--        CPPFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec`
--        CPPFLAGS+=`$PKG_CONFIG --cflags libfslparser`
--        CPPFLAGS+=`$PKG_CONFIG --cflags libfslvpuwrap`
-+        CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslaudiocodec`"
-+        CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslvideocodec`"
-+        CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslparser`"
-+        CPPFLAGS="$CPPFLAGS `$PKG_CONFIG --cflags libfslvpuwrap`"
-         AC_CHECK_HEADERS([$4], HAVE_[$3]=yes, HAVE_[$3]=no && break)
-         CPPFLAGS="$SAVE_CPPFLAGS"
-         if test "x$HAVE_[$3]" = "xyes"; then
-@@ -157,7 +157,7 @@ AC_SUBST(GST_PLUGINS_BASE_LIBS)
+@@ -152,7 +152,7 @@ AC_SUBST(GST_PLUGINS_BASE_LIBS)
  AC_CHECK_HEADERS([vpu_lib.h], [HAVE_VPU_LIB=yes], [HAVE_VPU_LIB=no])
  if test "x$HAVE_VPU_LIB" = "xyes"; then
      VPU_LIBS=`$PKG_CONFIG --libs libfslvpuwrap 2>/dev/null`
@@ -40,8 +25,8 @@ index 5968eb6..1a31a06 100755
  fi
  AC_SUBST(VPU_LIBS)
  
-@@ -173,15 +173,15 @@ AC_SUBST(IPU_CFLAGS)
- AC_SUBST(IPU_LIBS)
+@@ -176,15 +176,15 @@ AC_SUBST(RT_CFLAGS)
+ AC_SUBST(RT_LIBS)
  
  FSL_MM_CORE_CFLAGS=`$PKG_CONFIG --cflags libfslaudiocodec 2>/dev/null`
 -FSL_MM_CORE_CFLAGS+=`$PKG_CONFIG --cflags libfslvideocodec 2>/dev/null`
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0003-Use-proper-objdump.patch b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0003-Use-proper-objdump.patch
index 8fce239..b7b8c9f 100644
--- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0003-Use-proper-objdump.patch
+++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0003-Use-proper-objdump.patch
@@ -18,16 +18,16 @@ index 1a31a06..cc7557d 100755
 @@ -17,7 +17,7 @@ AC_DEFUN([FIND_PARSER_SONAME],
      AC_MSG_CHECKING([for lib_$1_parser_$2_elinux.3.0.so soname])
      path=`$PKG_CONFIG --variable=libdir libfslparser`
-     SONAME=$( $CC -print-file-name=$path/lib_$1_parser_$2_elinux.so | \
+     SONAME=$( $CC -print-file-name=$PKG_CONFIG_SYSROOT_DIR$path/lib_$1_parser_$2_elinux.so | \
 -	    while read output; do objdump -p $output | \
 +	    while read output; do $OBJDUMP -p $output | \
  	    grep "SONAME" | \
  	    sed -e 's/ \+SONAME \+//'; done 2> /dev/null )
      if [[ -z "$SONAME" ]]; then
-@@ -37,7 +37,7 @@ AC_DEFUN([FIND_ACODEC_SONAME],
+@@ -36,7 +36,7 @@ AC_DEFUN([FIND_ACODEC_SONAME],
      AC_MSG_CHECKING([for lib_$1_wrap_$2_elinux.so soname])
      path=`$PKG_CONFIG --variable=libdir libfslaudiocodec`
-     SONAME=$( $CC -print-file-name=$path/wrap/lib_$1_wrap_$2_elinux.so | \
+     SONAME=$( $CC -print-file-name=$PKG_CONFIG_SYSROOT_DIR$path/wrap/lib_$1_wrap_$2_elinux.so | \
 -	    while read output; do objdump -p $output | \
 +	    while read output; do $OBJDUMP -p $output | \
  	    grep "SONAME" | \
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch
index e58467e..763703c 100644
--- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch
+++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch
@@ -18,7 +18,7 @@ diff --git a/configure.ac b/configure.ac
 index a5d1655..7b5a7a6 100755
 --- a/configure.ac
 +++ b/configure.ac
-@@ -173,6 +173,9 @@ AC_CHECK_LIB(ipu, mxc_ipu_lib_task_init, [IPU_LIBS=-lipu], [echo "No libipu arou
+@@ -170,6 +170,9 @@ AC_CHECK_LIB(ipu, mxc_ipu_lib_task_init, [IPU_LIBS=-lipu], [echo "No libipu arou
  AC_SUBST(IPU_CFLAGS)
  AC_SUBST(IPU_LIBS)
  
diff --git a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
index 9ec92d8..1ae6596 100644
--- a/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
+++ b/package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-GST_FSL_PLUGINS_VERSION = $(FREESCALE_IMX_VERSION)
+GST_FSL_PLUGINS_VERSION = 3.0.11
 GST_FSL_PLUGINS_SITE = $(FREESCALE_IMX_SITE)
 
 # Most is LGPLv2+, but some sources are copied from upstream and are
@@ -16,13 +16,15 @@ GST_FSL_PLUGINS_INSTALL_STAGING = YES
 GST_FSL_PLUGINS_AUTORECONF = YES
 
 GST_FSL_PLUGINS_DEPENDENCIES += host-pkgconf gstreamer gst-plugins-base \
-	libfslvpuwrap imx-lib libfslparser libfslcodec
+	libfslvpuwrap imx-lib imx-vpu libfslparser libfslcodec
 
-GST_FSL_PLUGINS_CONF_ENV = PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM)
+GST_FSL_PLUGINS_CONF_ENV = \
+	PLATFORM=$(BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM) \
+	CROSS_ROOT="$(STAGING_DIR)"
 
 # needs access to imx-specific kernel headers
 GST_FSL_PLUGINS_DEPENDENCIES += linux
-GST_FSL_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include"
+GST_FSL_PLUGINS_CONF_ENV += CPPFLAGS="$(TARGET_CPPFLAGS) -idirafter $(LINUX_DIR)/include/uapi"
 
 ifeq ($(BR2_PACKAGE_XLIB_LIBX11),y)
 GST_FSL_PLUGINS_DEPENDENCIES += xlib_libX11
-- 
1.9.1

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
@ 2014-06-30 21:52 Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0 Yann E. MORIN
                   ` (16 more replies)
  0 siblings, 17 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

Hello Gary, All!

This series updates the Freescale userland components to the latest
available (stable) versions:

 1     : bump the global freescale version
 2..5  : adapt packages to the new version
 6..9  : bump packages which version does not follow the global version
 10    : tentative patch to re-use the generic i.MX platform in
         gst-fsl-plugins
 11..14: bump a few iMX defconfigs

Although I did some changes to Gary's initial submission, I only did
mostly cosmetic changes, so the following should still apply:

    ---8<---
    Same as last time, testing has been done on a Nitrogen6x using the
    kernel patch committed previously.

    GPU test (gpu-viv-bin-mx6q):
    # cd /usr/share/examples/viv_samples/vdk/
    # ./tutorial7

    VPU test (libfslvpuwrap, libfslcodec, gst-fsl-plugins, imx-vpu):
    # VSALPHA=1 gst-launch-0.10 filesrc location=trailer_1080p_h264_mp3.avi \
                                ! avidemux ! vpudec ! mfw_isink
    ---8<---

Note however that the tree will be broken as of patch 1, since a lot of
changes are required in the different FSL packages. However, doing a
single big patch would be impractical to review, so Gary and I preferred
splitting each package change in it own patch.

Note-2: this series is not even build-tested on my side, but see above,
about Gary's tests.

Changes v2 -> v3:
  - drop patch 1, that singled out libfslvpuwrap's version, since it
    is not the only affected package; that breaks the build until all
    of patches 2..9 are all applied
  - some commit logs modified/tweaked/expanded
  - re-included the defconfig bumps
  - added the wandboard defconfig bump

Regards,
Yann E. MORIN.


The following changes since commit 82c9989691287668d30d3fd37281af7ed106b69f:

  ftop: new package (2014-06-30 13:48:54 +0200)

are available in the git repository at:

  git://gitorious.org/buildroot/buildroot.git yem/fsl-imx

for you to fetch changes up to cf148e58a53cf0c55c12e211c4367363bdf1dc0f:

  defconfig/wandboard: update kernel + bootlaoder (2014-06-30 23:32:04 +0200)

----------------------------------------------------------------
Gary Bisson (12):
      freescale-imx: bump to version 3.10.17-1.0.0
      freescale-imx: update imx-lib package
      freescale-imx: change platform choice to be common
      package/gpu-viv-bin-mx6q: only available for i.MX6Q
      freescale-imx: add imx-vpu package
      libfslvpuwrap: bump to version 1.0.46
      libfslcodec: bump to version 3.0.11
      libfslparser: bump to version 3.0.11
      gst-fsl-plugins: bump to version 3.0.11
      imx6sabresd: bump kernel version to 3.10.17
      imx6sololiteevk: bump kernel version to 3.10.17
      nitrogen6x: bump kernel version to 3.10.17

Yann E. MORIN (2):
      package/gst-fsl-plugins: add default platform
      defconfig/wandboard: update kernel + bootlaoder

 board/boundarydevices/nitrogen6x/6x_bootscript     | Bin 1653 -> 3207 bytes
 configs/freescale_imx6sabresd_defconfig            |  12 +++--
 configs/freescale_imx6sololiteevk_defconfig        |  12 +++--
 configs/nitrogen6x_defconfig                       |   5 +-
 configs/wandboard_defconfig                        |   8 +--
 package/freescale-imx/Config.in                    |  48 ++++++++++++++++-
 package/freescale-imx/freescale-imx.mk             |   2 +-
 package/freescale-imx/imx-lib/Config.in            |  37 -------------
 package/freescale-imx/imx-lib/imx-lib.mk           |  24 ++-------
 package/freescale-imx/imx-vpu/Config.in            |  16 ++++++
 ...-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch |  32 +++++++++++
 ...-lib-fix-IOGetVirtMem-return-value-checks.patch |  59 +++++++++++++++++++++
 package/freescale-imx/imx-vpu/imx-vpu.mk           |  53 ++++++++++++++++++
 package/gstreamer/gst-fsl-plugins/Config.in        |   8 +++
 ...gins-0002-Fix-bashism-in-configure-script.patch |  25 ++-------
 .../gst-fsl-plugins-0003-Use-proper-objdump.patch  |   6 +--
 ...sl-linkage-add-lrt-for-shared-memory-func.patch |   2 +-
 .../gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk   |  10 ++--
 package/libfslcodec/libfslcodec.mk                 |   2 +-
 package/libfslparser/libfslparser.mk               |   2 +-
 package/libfslvpuwrap/Config.in                    |   2 +-
 package/libfslvpuwrap/libfslvpuwrap.mk             |   4 +-
 22 files changed, 262 insertions(+), 107 deletions(-)
 create mode 100644 package/freescale-imx/imx-vpu/Config.in
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch
 create mode 100644 package/freescale-imx/imx-vpu/imx-vpu.mk

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 10/14] package/gst-fsl-plugins: add default platform
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (8 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 09/14] gst-fsl-plugins: " Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 11/14] imx6sabresd: bump kernel version to 3.10.17 Yann E. MORIN
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

Set the default platform for gst-fsl-plugins, based on the one choosen
as the generic Freescale i.MX platform.

We can't use only this generic platform choice, as gst-fsl-plugins has
support for more platforms.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>

---
Note: this is a tentative patch, I would not care if it is dropped.
---
 package/gstreamer/gst-fsl-plugins/Config.in | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/package/gstreamer/gst-fsl-plugins/Config.in b/package/gstreamer/gst-fsl-plugins/Config.in
index fc0184e..309e745 100644
--- a/package/gstreamer/gst-fsl-plugins/Config.in
+++ b/package/gstreamer/gst-fsl-plugins/Config.in
@@ -33,6 +33,13 @@ config BR2_PACKAGE_GST_FSL_PLUGINS
 if BR2_PACKAGE_GST_FSL_PLUGINS
 choice
 	prompt "i.MX platform"
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX25 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX25_3STACK
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX27 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX27ADS
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX37 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX37_3STACK
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX50 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX50
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX51 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX51
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX53 if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX53
+	default BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX6  if BR2_PACKAGE_FREESCALE_IMX_PLATFORM_IMX6Q
 
 config BR2_PACKAGE_GST_FSL_PLUGINS_PLATFORM_MX233
 	bool "imx233"
-- 
1.9.1

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

* [Buildroot] [PATCH 11/14] imx6sabresd: bump kernel version to 3.10.17
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (9 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 10/14] package/gst-fsl-plugins: add default platform Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 12/14] imx6sololiteevk: " Yann E. MORIN
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 configs/freescale_imx6sabresd_defconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/configs/freescale_imx6sabresd_defconfig b/configs/freescale_imx6sabresd_defconfig
index 368e00b..16e4d0b 100644
--- a/configs/freescale_imx6sabresd_defconfig
+++ b/configs/freescale_imx6sabresd_defconfig
@@ -9,15 +9,19 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.0.35_4.1.0"
-BR2_LINUX_KERNEL_DEFCONFIG="imx6"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-sabresd"
 
 # filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 
 # bootloader
 BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6q_sabresd"
+BR2_TARGET_UBOOT_BOARDNAME="mx6qsabresd"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.0.35_4.1.0"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
-- 
1.9.1

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

* [Buildroot] [PATCH 12/14] imx6sololiteevk: bump kernel version to 3.10.17
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (10 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 11/14] imx6sabresd: bump kernel version to 3.10.17 Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 21:52 ` [Buildroot] [PATCH 13/14] nitrogen6x: " Yann E. MORIN
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 configs/freescale_imx6sololiteevk_defconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/configs/freescale_imx6sololiteevk_defconfig b/configs/freescale_imx6sololiteevk_defconfig
index 997d44f..f8ecc7b 100644
--- a/configs/freescale_imx6sololiteevk_defconfig
+++ b/configs/freescale_imx6sololiteevk_defconfig
@@ -9,15 +9,19 @@ BR2_TARGET_GENERIC_GETTY_PORT="ttymxc0"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
 BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://git.freescale.com/imx/linux-2.6-imx.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.0.35_4.1.0"
-BR2_LINUX_KERNEL_DEFCONFIG="imx6s"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
+BR2_LINUX_KERNEL_DEFCONFIG="imx_v7"
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6sl-evk"
 
 # filesystem
 BR2_TARGET_ROOTFS_EXT2=y
 
 # bootloader
 BR2_TARGET_UBOOT=y
-BR2_TARGET_UBOOT_BOARDNAME="mx6sl_evk"
+BR2_TARGET_UBOOT_BOARDNAME="mx6slevk"
+BR2_TARGET_UBOOT_FORMAT_IMX=y
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
 BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.freescale.com/imx/uboot-imx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.0.35_4.1.0"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="rel_imx_3.10.17_1.0.0_ga"
-- 
1.9.1

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

* [Buildroot] [PATCH 13/14] nitrogen6x: bump kernel version to 3.10.17
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (11 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 12/14] imx6sololiteevk: " Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-07-10 17:18   ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Eric Nelson
  2014-06-30 21:52 ` [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder Yann E. MORIN
                   ` (3 subsequent siblings)
  16 siblings, 1 reply; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

From: Gary Bisson <bisson.gary@gmail.com>

Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 board/boundarydevices/nitrogen6x/6x_bootscript | Bin 1653 -> 3207 bytes
 configs/nitrogen6x_defconfig                   |   5 ++++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/board/boundarydevices/nitrogen6x/6x_bootscript b/board/boundarydevices/nitrogen6x/6x_bootscript
index dc9eea481c03145d16959e5ebcc47120ff3cc2c3..05442a6b0eeffafabdf8857fc57fed73b5b6cbac 100644
GIT binary patch
literal 3207
zcmd5<&2HO95H<p&fQTG>>1|37=%JEKGO{YfAW|oB+yL<<0g~Q?C3h(;Omby%B~vwY
z=u70#C+exUK1ko7vr8^XF^XZghjuR_IkWTo&5yo&{LP2o|MEY*|Lxa5kB**P9M$LR
zN8TTgAANNc3L&A0a=wy=)cbw%Tz%j%IJa at JO9Y|#MCEqHcItr_SG#8(c<#(q2iE7=
zW-Lnyry!Rsvj7jvHo()B$R&(q%j(2DVFmw%Su81-<}8?0%*rZ~FABU#!i3Fl2$%Cz
zP!@<dwqkBsHDks~8Ho(sQ_JFh1e9&SgHsF5Rj;dDgbdvB#5Lv&`Wl=@*M?Ijg0zg{
z(7CMz@1CK=U`bOx^!%Ay{@}ZpKTh2tkArs?FZ_vR<i%miQn2+;;Lk4Y(~4BCaxg|Z
z=HYwrDwhW=S_-g7`amY&r&pJ6AQc&xB1aL*Q{$H3cgmgoE2k0~4&T0dG5Y!9tafKQ
zomvBooMeRr+qGfDuE7{xr*m-7Vb9eL>ooQ_5H%_^yCL#e19V6Wcwksw=ZqB*Nf;pB
zRtedf*zBkI>8y!}0)X;kT!39FH$S4EHUt5_IxCW~#O{040O3B6P|?$fK-gctYayXy
zIKYBpEX!FDD4rqmScCoGJY1RUPs%AOyF(YU43VV@^M9O3gOdY}#`2_er*m11+c-JR
zqlRFcJ49i|RMIg0Jj{vYBD0$`-%Cs9X3!O*<5Z=kUx$^6AjLXb0yY?#izH!9N$$gL
z@&(vkZx&=9a;@DpjsyFt at 0R{#4 at 3S$b&nb^4dctVXJ at 02AG+15*i1!ryXL(B9MPdu
z3;&;1J(f*5nYq21zggncsC(3;LWk*57+xxxmV5wthg&?(6dW0M_9diKk+Ej(9FXnk
zK4%6~!(g|`KpYh!VS$ueoHE|f^G<x6n46R&iHL#;7PrEh;t3OyT?H=WI0)77vvCfz
z9j(+dR|MxNHng%ql~Ss{23|EeOe-&lR6qpV4DPmo`s1);uF at SG<NP}=C}}j})plH~
z;okI_brBv`qPV)}AL%p#bXk}e^LsCeX&QyemAl$=#Yn(1Qp1+YFe51oY at U`=EU#|R
zr|;ogJwBq<x(%SYp+c+g?yg65ga)6}3ZyALUAgs83I)k&D_6e;1qpMOU^i5^J{RZQ
zYPQ`NNooV?Ktv-$(S@Wu-|b-pKLp2$a%_ybd$&WB>fNpt=hU_|VwYsY at LS;3g at o-W
zrgBaw&2j(oyh=h-n~JvNizU+H`qUed5o9bglc1~|Ql)Y;&qNk6(kSnzzb!eev$@*d
z#v)6$bG)Msth&AW1TW9eaNnY=04<qOz->}*VQO7P1nlAMA&PJ%HQ=iBq0yr+sv81X
zQ!XGSTfmi-#4(E`qi8 at 4m%B4$w(mAW>o+M`uqH%ZXgGC at _nXH+0U~X;^L7OF2qW-n
gK<Md%_Er9!=efv1{XyW_0<Kt&OBSyEXoYS44XUZ}y8r+H

delta 231
zcmZpd{K_Mv&MFx;{mtg|AZM-n3=C|h3{W7xT8C+(j2au8E=XYFdR5ut)RNS^GKIX<
zijw5~JOu-5F0RZpg^ZNk%#_rU$#)rTH at h-!W}N(t(PHvRW{Js$Oj9`w4U9}G%nS@B
zpJ$R|GO++Evg1ll(Q)>1bkq$Go2<;Vc=8@LB}U`P_u1Y}{?G0yY^bDQ&6S!{oXW)s
zwN7brBa854YYr}f+}z}(oNR*vu$r_?u8H1i3i?U;`6c?Lp1FzXsS0Xp3LtK-f}w$h
N0SG8qPfp=c1^`PBLxKPR

diff --git a/configs/nitrogen6x_defconfig b/configs/nitrogen6x_defconfig
index 0c026db..da2a7e8 100644
--- a/configs/nitrogen6x_defconfig
+++ b/configs/nitrogen6x_defconfig
@@ -21,6 +21,9 @@ BR2_TARGET_UBOOT_CUSTOM_TARBALL_LOCATION="http://github.com/boundarydevices/u-bo
 # kernel
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_TARBALL=y
-BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="http://github.com/boundarydevices/linux-imx6/tarball/5809938/linux-imx6-5809938.tar.gz"
+BR2_LINUX_KERNEL_CUSTOM_TARBALL_LOCATION="http://github.com/boundarydevices/linux-imx6/tarball/efd65e6/linux-imx6-efd65e6.tar.gz"
 BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
+BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
+BR2_LINUX_KERNEL_DTS_SUPPORT=y
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-nitrogen6x"
-- 
1.9.1

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

* [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (12 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 13/14] nitrogen6x: " Yann E. MORIN
@ 2014-06-30 21:52 ` Yann E. MORIN
  2014-06-30 22:34   ` Yann E. MORIN
  2014-07-07 15:22   ` Hadrien Boutteville
  2014-07-01 21:36 ` [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Thomas Petazzoni
                   ` (2 subsequent siblings)
  16 siblings, 2 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 21:52 UTC (permalink / raw)
  To: buildroot

A newer kernel is needed, so we are aligned with what the Freescale
userland (imx-lib + imx=vpu) supports.

Also, update U-Boot to use the mainline repository, since:
  - the u-boot-imx tree is a developper's tree
  - it is not advertised on the U-Boot git home (http://git.denx.de/)
  - the wandboard in mainline is fully supported
  - there is no changeset relevant to the wandboard in the u-boot-imx
    tree

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Gary Bisson <bisson.gary@gmail.com>
Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
---
 configs/wandboard_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig
index 996a70a..6bf436e 100644
--- a/configs/wandboard_defconfig
+++ b/configs/wandboard_defconfig
@@ -7,8 +7,8 @@ BR2_TARGET_ROOTFS_EXT2_4=y
 BR2_TARGET_UBOOT=y
 BR2_TARGET_UBOOT_BOARDNAME="wandboard_dl"
 BR2_TARGET_UBOOT_CUSTOM_GIT=y
-BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.denx.de/u-boot-imx.git"
-BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="326ea986ac150acdc7656d57fca647db80b50158"
+BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.denx.de/u-boot.git"
+BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2014.07-rc3"
 BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
 BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.imx"
 BR2_TARGET_UBOOT_ENVIMAGE=y
@@ -16,7 +16,7 @@ BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/wandboard/uboot-env.txt"
 BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x2000"
 BR2_LINUX_KERNEL=y
 BR2_LINUX_KERNEL_CUSTOM_GIT=y
-BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://repo.or.cz/wandboard.git"
-BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="86429847b5152f040f190015faedcac49b243328"
+BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/wandboard-org/linux"
+BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9d567e4f285e80bc332e79f0636259bc05a4ee3b"
 BR2_LINUX_KERNEL_DEFCONFIG="wandboard"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
-- 
1.9.1

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

* [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder
  2014-06-30 21:52 ` [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder Yann E. MORIN
@ 2014-06-30 22:34   ` Yann E. MORIN
  2014-07-07 15:22   ` Hadrien Boutteville
  1 sibling, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-06-30 22:34 UTC (permalink / raw)
  To: buildroot

Gary, All,

On 2014-06-30 23:52 +0200, Yann E. MORIN spake thusly:
> A newer kernel is needed, so we are aligned with what the Freescale
> userland (imx-lib + imx=vpu) supports.
> 
> Also, update U-Boot to use the mainline repository, since:
>   - the u-boot-imx tree is a developper's tree
>   - it is not advertised on the U-Boot git home (http://git.denx.de/)
>   - the wandboard in mainline is fully supported
>   - there is no changeset relevant to the wandboard in the u-boot-imx
>     tree
> 
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Gary Bisson <bisson.gary@gmail.com>
> Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
> ---
>  configs/wandboard_defconfig | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/configs/wandboard_defconfig b/configs/wandboard_defconfig
> index 996a70a..6bf436e 100644
> --- a/configs/wandboard_defconfig
> +++ b/configs/wandboard_defconfig
> @@ -7,8 +7,8 @@ BR2_TARGET_ROOTFS_EXT2_4=y
>  BR2_TARGET_UBOOT=y
>  BR2_TARGET_UBOOT_BOARDNAME="wandboard_dl"
>  BR2_TARGET_UBOOT_CUSTOM_GIT=y
> -BR2_TARGET_UBOOT_CUSTOM_REPO_URL="git://git.denx.de/u-boot-imx.git"
> -BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="326ea986ac150acdc7656d57fca647db80b50158"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_URL="http://git.denx.de/u-boot.git"
> +BR2_TARGET_UBOOT_CUSTOM_REPO_VERSION="v2014.07-rc3"

In retrospect, this should have been just v2014.04: it has all that is
needed for the wandboard; v2014.07-rc3 only adds support for an optional
LCD display, support for which is completely superfluous in our case.

Regards,
Yann E. MORIN.

>  BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
>  BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.imx"
>  BR2_TARGET_UBOOT_ENVIMAGE=y
> @@ -16,7 +16,7 @@ BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/wandboard/uboot-env.txt"
>  BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x2000"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_GIT=y
> -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://repo.or.cz/wandboard.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="86429847b5152f040f190015faedcac49b243328"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/wandboard-org/linux"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9d567e4f285e80bc332e79f0636259bc05a4ee3b"
>  BR2_LINUX_KERNEL_DEFCONFIG="wandboard"
>  BR2_LINUX_KERNEL_INSTALL_TARGET=y
> -- 
> 1.9.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (13 preceding siblings ...)
  2014-06-30 21:52 ` [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder Yann E. MORIN
@ 2014-07-01 21:36 ` Thomas Petazzoni
  2014-07-07 15:07 ` Hadrien Boutteville
  2014-07-15 21:16 ` Thomas Petazzoni
  16 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2014-07-01 21:36 UTC (permalink / raw)
  To: buildroot

Yann, Gary, Peter,

On Mon, 30 Jun 2014 23:52:10 +0200, Yann E. MORIN wrote:

> Gary Bisson (12):
>       freescale-imx: bump to version 3.10.17-1.0.0
>       freescale-imx: update imx-lib package
>       freescale-imx: change platform choice to be common
>       package/gpu-viv-bin-mx6q: only available for i.MX6Q
>       freescale-imx: add imx-vpu package
>       libfslvpuwrap: bump to version 1.0.46
>       libfslcodec: bump to version 3.0.11
>       libfslparser: bump to version 3.0.11
>       gst-fsl-plugins: bump to version 3.0.11
>       imx6sabresd: bump kernel version to 3.10.17
>       imx6sololiteevk: bump kernel version to 3.10.17
>       nitrogen6x: bump kernel version to 3.10.17
> 
> Yann E. MORIN (2):
>       package/gst-fsl-plugins: add default platform
>       defconfig/wandboard: update kernel + bootlaoder

For the entire series:

Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>

I believe Gary and Yann have done a great work on this, and that we
should merge this sooner rather than later, so that if any other fix or
improvement is needed, it can be done through follow-up patches. So I'd
like to see these patches being applied soon.

Thanks,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (14 preceding siblings ...)
  2014-07-01 21:36 ` [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Thomas Petazzoni
@ 2014-07-07 15:07 ` Hadrien Boutteville
  2014-07-07 17:11   ` Gary Bisson
  2014-07-15 21:16 ` Thomas Petazzoni
  16 siblings, 1 reply; 34+ messages in thread
From: Hadrien Boutteville @ 2014-07-07 15:07 UTC (permalink / raw)
  To: buildroot

Hello Gary, Yann,

On Mon, 30 Jun 2014 23:52:10 +0200, Yann E. Morin wrote:
> This series updates the Freescale userland components to the latest
> available (stable) versions:
> 
>  1     : bump the global freescale version
>  2..5  : adapt packages to the new version
>  6..9  : bump packages which version does not follow the global version
>  10    : tentative patch to re-use the generic i.MX platform in
>          gst-fsl-plugins
>  11..14: bump a few iMX defconfigs
> 
> Although I did some changes to Gary's initial submission, I only did
> mostly cosmetic changes, so the following should still apply:
> 
>     ---8<---
>     Same as last time, testing has been done on a Nitrogen6x using the
>     kernel patch committed previously.
> 
>     GPU test (gpu-viv-bin-mx6q):
>     # cd /usr/share/examples/viv_samples/vdk/
>     # ./tutorial7
> 
>     VPU test (libfslvpuwrap, libfslcodec, gst-fsl-plugins, imx-vpu):
>     # VSALPHA=1 gst-launch-0.10 filesrc location=trailer_1080p_h264_mp3.avi \
>                                 ! avidemux ! vpudec ! mfw_isink
>     ---8<---

Gary, did you have time to test this series? When I tested your previous
series I was able to run some tutorialX demo programs, but they was
quite weird and ugly (black and white with strips), and now I can't run
anything with this series.
I didn't test the VPU for now.

If it works for you, could you provide a defconfig so that I can look
what I'm missing?

Thanks,

Hadrien

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

* [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder
  2014-06-30 21:52 ` [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder Yann E. MORIN
  2014-06-30 22:34   ` Yann E. MORIN
@ 2014-07-07 15:22   ` Hadrien Boutteville
  2014-07-07 16:35     ` Yann E. MORIN
  1 sibling, 1 reply; 34+ messages in thread
From: Hadrien Boutteville @ 2014-07-07 15:22 UTC (permalink / raw)
  To: buildroot

Hello Yann,

There is a typo in the commit title : "bootloader" ;-).

On Mon, 30 Jun 2014 23:52:14 +0200, Yann E. Morin wrote:
[...]
>  BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
>  BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.imx"

Is it still necessary to specify this custom name instead of using
BR2_TARGET_UBOOT_FORMAT_IMX ?

>  BR2_TARGET_UBOOT_ENVIMAGE=y
> @@ -16,7 +16,7 @@ BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/wandboard/uboot-env.txt"
>  BR2_TARGET_UBOOT_ENVIMAGE_SIZE="0x2000"
>  BR2_LINUX_KERNEL=y
>  BR2_LINUX_KERNEL_CUSTOM_GIT=y
> -BR2_LINUX_KERNEL_CUSTOM_REPO_URL="git://repo.or.cz/wandboard.git"
> -BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="86429847b5152f040f190015faedcac49b243328"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_URL="https://github.com/wandboard-org/linux"
> +BR2_LINUX_KERNEL_CUSTOM_REPO_VERSION="9d567e4f285e80bc332e79f0636259bc05a4ee3b"
>  BR2_LINUX_KERNEL_DEFCONFIG="wandboard"
>  BR2_LINUX_KERNEL_INSTALL_TARGET=y

Regards,

Hadrien

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

* [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder
  2014-07-07 15:22   ` Hadrien Boutteville
@ 2014-07-07 16:35     ` Yann E. MORIN
  0 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-07-07 16:35 UTC (permalink / raw)
  To: buildroot

Hadrien, All,

On 2014-07-07 17:22 +0200, Hadrien Boutteville spake thusly:
> There is a typo in the commit title : "bootloader" ;-).

OK.

> On Mon, 30 Jun 2014 23:52:14 +0200, Yann E. Morin wrote:
> [...]
> >  BR2_TARGET_UBOOT_FORMAT_CUSTOM=y
> >  BR2_TARGET_UBOOT_FORMAT_CUSTOM_NAME="u-boot.imx"
> 
> Is it still necessary to specify this custom name instead of using
> BR2_TARGET_UBOOT_FORMAT_IMX ?

Ah, indeed. I merely hand-edited the defconfig to set the new versions.

Will adapt before re-spinning.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-07-07 15:07 ` Hadrien Boutteville
@ 2014-07-07 17:11   ` Gary Bisson
  2014-07-08  6:46     ` Gary Bisson
  0 siblings, 1 reply; 34+ messages in thread
From: Gary Bisson @ 2014-07-07 17:11 UTC (permalink / raw)
  To: buildroot

Hi Hadrien,

On Mon, Jul 7, 2014 at 8:07 AM, Hadrien Boutteville <
hadrien.boutteville@gmail.com> wrote:

> Hello Gary, Yann,
>
> On Mon, 30 Jun 2014 23:52:10 +0200, Yann E. Morin wrote:
> > This series updates the Freescale userland components to the latest
> > available (stable) versions:
> >
> >  1     : bump the global freescale version
> >  2..5  : adapt packages to the new version
> >  6..9  : bump packages which version does not follow the global version
> >  10    : tentative patch to re-use the generic i.MX platform in
> >          gst-fsl-plugins
> >  11..14: bump a few iMX defconfigs
> >
> > Although I did some changes to Gary's initial submission, I only did
> > mostly cosmetic changes, so the following should still apply:
> >
> >     ---8<---
> >     Same as last time, testing has been done on a Nitrogen6x using the
> >     kernel patch committed previously.
> >
> >     GPU test (gpu-viv-bin-mx6q):
> >     # cd /usr/share/examples/viv_samples/vdk/
> >     # ./tutorial7
> >
> >     VPU test (libfslvpuwrap, libfslcodec, gst-fsl-plugins, imx-vpu):
> >     # VSALPHA=1 gst-launch-0.10 filesrc
> location=trailer_1080p_h264_mp3.avi \
> >                                 ! avidemux ! vpudec ! mfw_isink
> >     ---8<---
>
> Gary, did you have time to test this series? When I tested your previous
> series I was able to run some tutorialX demo programs, but they was
> quite weird and ugly (black and white with strips), and now I can't run
> anything with this series.
> I didn't test the VPU for now.
>
> If it works for you, could you provide a defconfig so that I can look
> what I'm missing?
>

The latest series I've tested is my PATCHv2 one, I will do it on Yann's
asap but in the meantime here is the defconfig I was using.
When you say it is not working, could you tell me more (nothing on the
screen, seg fault etc..)?
Do you see the FPS average on the serial output? (at least tutorial7 is
printing that info)
Could you send your dmesg?
What platform are you using?
What kind of display?

Thanks,
Gary


> Thanks,
>
> Hadrien
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140707/8dd0608c/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6_nitrogen_test_defconfig
Type: application/octet-stream
Size: 94552 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140707/8dd0608c/attachment.obj>

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-07-07 17:11   ` Gary Bisson
@ 2014-07-08  6:46     ` Gary Bisson
  2014-07-08 14:23       ` Hadrien Boutteville
  0 siblings, 1 reply; 34+ messages in thread
From: Gary Bisson @ 2014-07-08  6:46 UTC (permalink / raw)
  To: buildroot

Hi Hadrien,

On Mon, Jul 7, 2014 at 10:11 AM, Gary Bisson <bisson.gary@gmail.com> wrote:

> Hi Hadrien,
>
> On Mon, Jul 7, 2014 at 8:07 AM, Hadrien Boutteville <
> hadrien.boutteville at gmail.com> wrote:
>
>> Hello Gary, Yann,
>>
>> On Mon, 30 Jun 2014 23:52:10 +0200, Yann E. Morin wrote:
>> > This series updates the Freescale userland components to the latest
>> > available (stable) versions:
>> >
>> >  1     : bump the global freescale version
>> >  2..5  : adapt packages to the new version
>> >  6..9  : bump packages which version does not follow the global version
>> >  10    : tentative patch to re-use the generic i.MX platform in
>> >          gst-fsl-plugins
>> >  11..14: bump a few iMX defconfigs
>> >
>> > Although I did some changes to Gary's initial submission, I only did
>> > mostly cosmetic changes, so the following should still apply:
>> >
>> >     ---8<---
>> >     Same as last time, testing has been done on a Nitrogen6x using the
>> >     kernel patch committed previously.
>> >
>> >     GPU test (gpu-viv-bin-mx6q):
>> >     # cd /usr/share/examples/viv_samples/vdk/
>> >     # ./tutorial7
>> >
>> >     VPU test (libfslvpuwrap, libfslcodec, gst-fsl-plugins, imx-vpu):
>> >     # VSALPHA=1 gst-launch-0.10 filesrc
>> location=trailer_1080p_h264_mp3.avi \
>> >                                 ! avidemux ! vpudec ! mfw_isink
>> >     ---8<---
>>
>> Gary, did you have time to test this series? When I tested your previous
>> series I was able to run some tutorialX demo programs, but they was
>> quite weird and ugly (black and white with strips), and now I can't run
>> anything with this series.
>> I didn't test the VPU for now.
>>
>> If it works for you, could you provide a defconfig so that I can look
>> what I'm missing?
>>
>
> The latest series I've tested is my PATCHv2 one, I will do it on Yann's
> asap but in the meantime here is the defconfig I was using.
> When you say it is not working, could you tell me more (nothing on the
> screen, seg fault etc..)?
> Do you see the FPS average on the serial output? (at least tutorial7 is
> printing that info)
> Could you send your dmesg?
> What platform are you using?
> What kind of display?
>
> Thanks,
> Gary
>

I confirm that GPU works fine using Yann's branch yem/fsl-imx. Please find
attached the config I've used for both kernel and buildroot.
Regarding VPU test, I was running out of time but I'm confident this will
work as well, gst-inspect reports fsl plugins properly (I was just missing
the actual media file at the time of the testing). I'll try it tomorrow and
let you know if any issue, otherwise consider it working.
As before I was using a nitrogen6x, this time with a HDMI monitor but
previous tests have been run on LVDS display.
Let me know if you need more information.

Thanks.
Gary


>
>
>> Thanks,
>>
>> Hadrien
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140707/a3e8aaad/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6_br_defconfig
Type: application/octet-stream
Size: 46448 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140707/a3e8aaad/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mx6_kernel_defconfig
Type: application/octet-stream
Size: 94552 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140707/a3e8aaad/attachment-0003.obj>

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-07-08  6:46     ` Gary Bisson
@ 2014-07-08 14:23       ` Hadrien Boutteville
  2014-07-08 16:31         ` Gary Bisson
  0 siblings, 1 reply; 34+ messages in thread
From: Hadrien Boutteville @ 2014-07-08 14:23 UTC (permalink / raw)
  To: buildroot

Hi Gary,

On Mon, 7 Jul 2014 23:46:46 -0700, Gary Bisson wrote:
[...]
> 
>         Gary, did you have time to test this series? When I tested your
>         previous
>         series I was able to run some tutorialX demo programs, but they was
>         quite weird and ugly (black and white with strips), and now I
>         can't run
>         anything with this series.
>         I didn't test the VPU for now.
> 
>         If it works for you, could you provide a defconfig so that I can
>         look
>         what I'm missing?
> 
>      
>     The latest series I've tested is my PATCHv2 one, I will do it on
>     Yann's asap but in the meantime here is the defconfig I was using.
>     When you say it is not working, could you tell me more (nothing on
>     the screen, seg fault etc..)?

tutorialX demos just return immediately (nothing on the screen, no
messages) and es_20 demos (vv_launcher ant tutorialX_es20) segfault.

>     Do you see the FPS average on the serial output? (at least tutorial7
>     is printing that info)

I did with v2 series, but not with v3.

>     Could you send your dmesg?
>     What platform are you using?
>     What kind of display?

I'm testing on a Wandboard rev. A0 with an HDMI display. I will try on a
Sabre as soon as possible too.

I don't have a dmesg log right now.

> I confirm that GPU works fine using Yann's branch yem/fsl-imx. Please
> find attached the config I've used for both kernel and buildroot.

OK, great news! So I missed something. I will look at your configs and
try a new build, thank you.

> Regarding VPU test, I was running out of time but I'm confident this
> will work as well, gst-inspect reports fsl plugins properly (I was just
> missing the actual media file at the time of the testing). I'll try it
> tomorrow and let you know if any issue, otherwise consider it working.
> As before I was using a nitrogen6x, this time with a HDMI monitor but
> previous tests have been run on LVDS display.
> Let me know if you need more information.

Thanks!

Hadrien

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-07-08 14:23       ` Hadrien Boutteville
@ 2014-07-08 16:31         ` Gary Bisson
  0 siblings, 0 replies; 34+ messages in thread
From: Gary Bisson @ 2014-07-08 16:31 UTC (permalink / raw)
  To: buildroot

Hi Hadrien,

On Tue, Jul 8, 2014 at 7:23 AM, Hadrien Boutteville <
hadrien.boutteville@gmail.com> wrote:

> Hi Gary,
>
> On Mon, 7 Jul 2014 23:46:46 -0700, Gary Bisson wrote:
> [...]
> >
> >         Gary, did you have time to test this series? When I tested your
> >         previous
> >         series I was able to run some tutorialX demo programs, but they
> was
> >         quite weird and ugly (black and white with strips), and now I
> >         can't run
> >         anything with this series.
> >         I didn't test the VPU for now.
> >
> >         If it works for you, could you provide a defconfig so that I can
> >         look
> >         what I'm missing?
> >
> >
> >     The latest series I've tested is my PATCHv2 one, I will do it on
> >     Yann's asap but in the meantime here is the defconfig I was using.
> >     When you say it is not working, could you tell me more (nothing on
> >     the screen, seg fault etc..)?
>
> tutorialX demos just return immediately (nothing on the screen, no
> messages) and es_20 demos (vv_launcher ant tutorialX_es20) segfault.
>
>
Usually OpenGL applications return or segfault when there is a mismatch
between the kernel driver and the libraries. Make sure to have the 3.10.17
kernel as well as the 3.10.17 libs.


> >     Do you see the FPS average on the serial output? (at least tutorial7
> >     is printing that info)
>
> I did with v2 series, but not with v3.
>
> >     Could you send your dmesg?
> >     What platform are you using?
> >     What kind of display?
>
> I'm testing on a Wandboard rev. A0 with an HDMI display. I will try on a
> Sabre as soon as possible too.
>
> I don't have a dmesg log right now.
>
> > I confirm that GPU works fine using Yann's branch yem/fsl-imx. Please
> > find attached the config I've used for both kernel and buildroot.
>
> OK, great news! So I missed something. I will look at your configs and
> try a new build, thank you.
>
> > Regarding VPU test, I was running out of time but I'm confident this
> > will work as well, gst-inspect reports fsl plugins properly (I was just
> > missing the actual media file at the time of the testing). I'll try it
> > tomorrow and let you know if any issue, otherwise consider it working.
> > As before I was using a nitrogen6x, this time with a HDMI monitor but
> > previous tests have been run on LVDS display.
> > Let me know if you need more information.
>
> Thanks!
>
> Hadrien
>
> I did test the VPU this morning and everything's fine as well.

Thanks,
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140708/8ec13115/attachment.html>

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

* [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants
  2014-06-30 21:52 ` [Buildroot] [PATCH 13/14] nitrogen6x: " Yann E. MORIN
@ 2014-07-10 17:18   ` Eric Nelson
  2014-07-10 17:28     ` Yann E. MORIN
  2014-07-15 21:16     ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Thomas Petazzoni
  0 siblings, 2 replies; 34+ messages in thread
From: Eric Nelson @ 2014-07-10 17:18 UTC (permalink / raw)
  To: buildroot

The Boundary Devices Nitrogen6X comes in a number of variants
with different processors, and the kernel and userspace is
compatible with the SABRE Lite (BD-SL-i.MX6), Nitrogen6_Lite,
and Nitrogen6_Max boards.

This patch adds support for these boards through the
corresponding .dtb files.

Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
---
 configs/nitrogen6x_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configs/nitrogen6x_defconfig b/configs/nitrogen6x_defconfig
index da2a7e8..04db23a 100644
--- a/configs/nitrogen6x_defconfig
+++ b/configs/nitrogen6x_defconfig
@@ -26,4 +26,4 @@ BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x"
 BR2_LINUX_KERNEL_INSTALL_TARGET=y
 BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
 BR2_LINUX_KERNEL_DTS_SUPPORT=y
-BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-nitrogen6x"
+BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_max imx6dl-nitrogen6x imx6q-nitrogen6_max imx6q-nitrogen6x imx6q-sabrelite"
-- 
1.9.1

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

* [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants
  2014-07-10 17:18   ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Eric Nelson
@ 2014-07-10 17:28     ` Yann E. MORIN
  2014-07-10 18:22       ` Gary Bisson
  2014-07-15 21:16     ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Thomas Petazzoni
  1 sibling, 1 reply; 34+ messages in thread
From: Yann E. MORIN @ 2014-07-10 17:28 UTC (permalink / raw)
  To: buildroot

Eric, Hadrien, All,

On 2014-07-10 10:18 -0700, Eric Nelson spake thusly:
> The Boundary Devices Nitrogen6X comes in a number of variants
> with different processors, and the kernel and userspace is
> compatible with the SABRE Lite (BD-SL-i.MX6), Nitrogen6_Lite,
> and Nitrogen6_Max boards.
> 
> This patch adds support for these boards through the
> corresponding .dtb files.
> 
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Hadrien, I think you have a few of the affected boards. Care to add this
patch to the imx series and report on it, please?

Regards,
Yann E. MORIN.

> ---
>  configs/nitrogen6x_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configs/nitrogen6x_defconfig b/configs/nitrogen6x_defconfig
> index da2a7e8..04db23a 100644
> --- a/configs/nitrogen6x_defconfig
> +++ b/configs/nitrogen6x_defconfig
> @@ -26,4 +26,4 @@ BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x"
>  BR2_LINUX_KERNEL_INSTALL_TARGET=y
>  BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
>  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-nitrogen6x"
> +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_max imx6dl-nitrogen6x imx6q-nitrogen6_max imx6q-nitrogen6x imx6q-sabrelite"
> -- 
> 1.9.1
> 

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants
  2014-07-10 17:28     ` Yann E. MORIN
@ 2014-07-10 18:22       ` Gary Bisson
  2014-07-10 18:35         ` [Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...) Eric Nelson
  0 siblings, 1 reply; 34+ messages in thread
From: Gary Bisson @ 2014-07-10 18:22 UTC (permalink / raw)
  To: buildroot

Eric, All,

What about the bootloader configuration? I know the same bootloader will
work the same for sabrelite and nitrogen6q. However for the max and dl
versions I guess need another config as the DCD table will be different. Do
we want to create other defconfigs?

Regards,
Gary


On Thu, Jul 10, 2014 at 10:28 AM, Yann E. MORIN <yann.morin.1998@free.fr>
wrote:

> Eric, Hadrien, All,
>
> On 2014-07-10 10:18 -0700, Eric Nelson spake thusly:
> > The Boundary Devices Nitrogen6X comes in a number of variants
> > with different processors, and the kernel and userspace is
> > compatible with the SABRE Lite (BD-SL-i.MX6), Nitrogen6_Lite,
> > and Nitrogen6_Max boards.
> >
> > This patch adds support for these boards through the
> > corresponding .dtb files.
> >
> > Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
>
> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
>
> Hadrien, I think you have a few of the affected boards. Care to add this
> patch to the imx series and report on it, please?
>
> Regards,
> Yann E. MORIN.
>
> > ---
> >  configs/nitrogen6x_defconfig | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/configs/nitrogen6x_defconfig b/configs/nitrogen6x_defconfig
> > index da2a7e8..04db23a 100644
> > --- a/configs/nitrogen6x_defconfig
> > +++ b/configs/nitrogen6x_defconfig
> > @@ -26,4 +26,4 @@ BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x"
> >  BR2_LINUX_KERNEL_INSTALL_TARGET=y
> >  BR2_LINUX_KERNEL_UIMAGE_LOADADDR="0x10008000"
> >  BR2_LINUX_KERNEL_DTS_SUPPORT=y
> > -BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6q-nitrogen6x"
> > +BR2_LINUX_KERNEL_INTREE_DTS_NAME="imx6dl-nit6xlite imx6dl-nitrogen6_max
> imx6dl-nitrogen6x imx6q-nitrogen6_max imx6q-nitrogen6x imx6q-sabrelite"
> > --
> > 1.9.1
> >
>
> --
>
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics'
> conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___
>       |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There
> is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v
> conspiracy.  |
>
> '------------------------------^-------^------------------^--------------------'
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140710/3685b57f/attachment.html>

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

* [Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...)
  2014-07-10 18:22       ` Gary Bisson
@ 2014-07-10 18:35         ` Eric Nelson
  2014-07-11  6:10           ` Arnout Vandecappelle
  0 siblings, 1 reply; 34+ messages in thread
From: Eric Nelson @ 2014-07-10 18:35 UTC (permalink / raw)
  To: buildroot

Thanks for the ping, Gary.

On 07/10/2014 11:22 AM, Gary Bisson wrote:
> Eric, All,
> 
> What about the bootloader configuration? I know the same bootloader will
> work the same for sabrelite and nitrogen6q. However for the max and dl
> versions I guess need another config as the DCD table will be different.
> Do we want to create other defconfigs?
> 

As our boards don't require U-Boot to be built in order to
craft a filesystem (U-Boot runs from SPI NOR), we could simply
remove the build target.

At the very least, we should probably find a way to rename the U-Boot
binary (u-boot.imx) to make it clear that the one built is for
the Quad-Core/1GiB variant.

I'll try to craft a way of doing this.

Regards,


Eric

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

* [Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...)
  2014-07-10 18:35         ` [Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...) Eric Nelson
@ 2014-07-11  6:10           ` Arnout Vandecappelle
  0 siblings, 0 replies; 34+ messages in thread
From: Arnout Vandecappelle @ 2014-07-11  6:10 UTC (permalink / raw)
  To: buildroot

On 10/07/14 20:35, Eric Nelson wrote:
> Thanks for the ping, Gary.
> 
> On 07/10/2014 11:22 AM, Gary Bisson wrote:
>> Eric, All,
>>
>> What about the bootloader configuration? I know the same bootloader will
>> work the same for sabrelite and nitrogen6q. However for the max and dl
>> versions I guess need another config as the DCD table will be different.
>> Do we want to create other defconfigs?
>>
> 
> As our boards don't require U-Boot to be built in order to
> craft a filesystem (U-Boot runs from SPI NOR), we could simply
> remove the build target.
> 
> At the very least, we should probably find a way to rename the U-Boot
> binary (u-boot.imx) to make it clear that the one built is for
> the Quad-Core/1GiB variant.

 I think it's best to still build the bootloader for one variant, and mention in
the readme.txt the different variants and how to build their bootloaders.

 That readme anyway needs to be extended a bit since it doesn't mention how to
install the kernel or the bootloader.

 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0
  2014-06-30 21:52 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0 Yann E. MORIN
@ 2014-07-11  6:14   ` Arnout Vandecappelle
  2014-07-11 16:36     ` Yann E. MORIN
  0 siblings, 1 reply; 34+ messages in thread
From: Arnout Vandecappelle @ 2014-07-11  6:14 UTC (permalink / raw)
  To: buildroot

On 30/06/14 23:52, Yann E. MORIN wrote:
> From: Gary Bisson <bisson.gary@gmail.com>
> 
> Bumping the version requires some heavy changes in the different
> i.MX related packages. Instead of having a single huge patch, those
> changes are split in smaller patches, one per affected package.
> 
> This has the inconvenient side-effect of breaking the build right
> now with the bump; but it is better since the patches are easier to
> understand.

 Of course, in the end all of these should be squashed into a single bisectable
commit.

 So I think this first patch (which is the one that will be kept when you do a
fixup) should have the complete commit message, and below the --- it should
mention which patches should be squashed into it.

 The commit messages of the subsequent packages are less important since they'll
be squashed away.

 Regards,
 Arnout

> 
> Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> [yann.morin.1998 at free.fr: expand commit log]
> Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
> ---
>  package/freescale-imx/freescale-imx.mk | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/freescale-imx/freescale-imx.mk b/package/freescale-imx/freescale-imx.mk
> index 39ffa8a..843ba61 100644
> --- a/package/freescale-imx/freescale-imx.mk
> +++ b/package/freescale-imx/freescale-imx.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -FREESCALE_IMX_VERSION = 3.5.7-1.0.0
> +FREESCALE_IMX_VERSION = 3.10.17-1.0.0
>  FREESCALE_IMX_SITE    = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
>  
>  include $(sort $(wildcard package/freescale-imx/*/*.mk))
> 


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

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

* [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0
  2014-07-11  6:14   ` Arnout Vandecappelle
@ 2014-07-11 16:36     ` Yann E. MORIN
  0 siblings, 0 replies; 34+ messages in thread
From: Yann E. MORIN @ 2014-07-11 16:36 UTC (permalink / raw)
  To: buildroot

Arnout, All,

On 2014-07-11 08:14 +0200, Arnout Vandecappelle spake thusly:
> On 30/06/14 23:52, Yann E. MORIN wrote:
> > From: Gary Bisson <bisson.gary@gmail.com>
> > 
> > Bumping the version requires some heavy changes in the different
> > i.MX related packages. Instead of having a single huge patch, those
> > changes are split in smaller patches, one per affected package.
> > 
> > This has the inconvenient side-effect of breaking the build right
> > now with the bump; but it is better since the patches are easier to
> > understand.
> 
>  Of course, in the end all of these should be squashed into a single bisectable
> commit.

I disagree. We usually do not squash version bumps, even when they touch
related packages.

IIRC, Peter already asked I split my patches when I was bumping the
rpi-userland and rpi-firmware packages, even though the bumps go
hand-in-hand.

But I do agree with you, that, on principle, we should have a bisectable
changeset.

Peter (or his deputy ;-) ) will have the last say, of course.

Regards,
Yann E. MORIN.

>  So I think this first patch (which is the one that will be kept when you do a
> fixup) should have the complete commit message, and below the --- it should
> mention which patches should be squashed into it.
> 
>  The commit messages of the subsequent packages are less important since they'll
> be squashed away.
> 
>  Regards,
>  Arnout
> 
> > 
> > Signed-off-by: Gary Bisson <bisson.gary@gmail.com>
> > Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > [yann.morin.1998 at free.fr: expand commit log]
> > Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> > Cc: Hadrien Boutteville <hadrien.boutteville@gmail.com>
> > ---
> >  package/freescale-imx/freescale-imx.mk | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/package/freescale-imx/freescale-imx.mk b/package/freescale-imx/freescale-imx.mk
> > index 39ffa8a..843ba61 100644
> > --- a/package/freescale-imx/freescale-imx.mk
> > +++ b/package/freescale-imx/freescale-imx.mk
> > @@ -4,7 +4,7 @@
> >  #
> >  ################################################################################
> >  
> > -FREESCALE_IMX_VERSION = 3.5.7-1.0.0
> > +FREESCALE_IMX_VERSION = 3.10.17-1.0.0
> >  FREESCALE_IMX_SITE    = http://www.freescale.com/lgfiles/NMG/MAD/YOCTO/
> >  
> >  include $(sort $(wildcard package/freescale-imx/*/*.mk))
> > 
> 
> 
> -- 
> Arnout Vandecappelle                          arnout at mind be
> Senior Embedded Software Architect            +32-16-286500
> Essensium/Mind                                http://www.mind.be
> G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'

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

* [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx)
  2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
                   ` (15 preceding siblings ...)
  2014-07-07 15:07 ` Hadrien Boutteville
@ 2014-07-15 21:16 ` Thomas Petazzoni
  16 siblings, 0 replies; 34+ messages in thread
From: Thomas Petazzoni @ 2014-07-15 21:16 UTC (permalink / raw)
  To: buildroot

Dear Yann E. MORIN,

On Mon, 30 Jun 2014 23:52:10 +0200, Yann E. MORIN wrote:

> This series updates the Freescale userland components to the latest
> available (stable) versions:
> 
>  1     : bump the global freescale version
>  2..5  : adapt packages to the new version
>  6..9  : bump packages which version does not follow the global version
>  10    : tentative patch to re-use the generic i.MX platform in
>          gst-fsl-plugins
>  11..14: bump a few iMX defconfigs

I've applied patches 1 to 13, but not patch 14 since there are pending
issues on it. Please resubmit separately.

I've noticed that Arnout mentioned that patches should be squashed for
bisectability, but after a quick discussion with Yann on IRC, he
reminded me that usually, Peter prefers small patches over
bisectability. It was for example also what we did for big bumps such
as X.org bumps.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants
  2014-07-10 17:18   ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Eric Nelson
  2014-07-10 17:28     ` Yann E. MORIN
@ 2014-07-15 21:16     ` Thomas Petazzoni
  2014-07-15 21:29       ` Eric Nelson
  1 sibling, 1 reply; 34+ messages in thread
From: Thomas Petazzoni @ 2014-07-15 21:16 UTC (permalink / raw)
  To: buildroot

Dear Eric Nelson,

On Thu, 10 Jul 2014 10:18:04 -0700, Eric Nelson wrote:
> The Boundary Devices Nitrogen6X comes in a number of variants
> with different processors, and the kernel and userspace is
> compatible with the SABRE Lite (BD-SL-i.MX6), Nitrogen6_Lite,
> and Nitrogen6_Max boards.
> 
> This patch adds support for these boards through the
> corresponding .dtb files.
> 
> Signed-off-by: Eric Nelson <eric.nelson@boundarydevices.com>
> ---
>  configs/nitrogen6x_defconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Applied, thanks. The issues raised in the discussion (adding the build
of a bootloader) can be handled in followup patches. Contributions
welcome.

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

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

* [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants
  2014-07-15 21:16     ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Thomas Petazzoni
@ 2014-07-15 21:29       ` Eric Nelson
  0 siblings, 0 replies; 34+ messages in thread
From: Eric Nelson @ 2014-07-15 21:29 UTC (permalink / raw)
  To: buildroot

Hi Thomas,

On 07/15/2014 02:16 PM, Thomas Petazzoni wrote:
> Dear Eric Nelson,
> 
> <snip>
>
>
> The issues raised in the discussion (adding the build
> of a bootloader) can be handled in followup patches. Contributions
> welcome.
> 

Will do.

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

end of thread, other threads:[~2014-07-15 21:29 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-30 21:52 [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 01/14] freescale-imx: bump to version 3.10.17-1.0.0 Yann E. MORIN
2014-07-11  6:14   ` Arnout Vandecappelle
2014-07-11 16:36     ` Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 02/14] freescale-imx: update imx-lib package Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 03/14] freescale-imx: change platform choice to be common Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 04/14] package/gpu-viv-bin-mx6q: only available for i.MX6Q Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 05/14] freescale-imx: add imx-vpu package Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 06/14] libfslvpuwrap: bump to version 1.0.46 Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 07/14] libfslcodec: bump to version 3.0.11 Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 08/14] libfslparser: " Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 09/14] gst-fsl-plugins: " Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 10/14] package/gst-fsl-plugins: add default platform Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 11/14] imx6sabresd: bump kernel version to 3.10.17 Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 12/14] imx6sololiteevk: " Yann E. MORIN
2014-06-30 21:52 ` [Buildroot] [PATCH 13/14] nitrogen6x: " Yann E. MORIN
2014-07-10 17:18   ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Eric Nelson
2014-07-10 17:28     ` Yann E. MORIN
2014-07-10 18:22       ` Gary Bisson
2014-07-10 18:35         ` [Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...) Eric Nelson
2014-07-11  6:10           ` Arnout Vandecappelle
2014-07-15 21:16     ` [Buildroot] [PATCH] nitrogen6x: include .dtb files for compatible variants Thomas Petazzoni
2014-07-15 21:29       ` Eric Nelson
2014-06-30 21:52 ` [Buildroot] [PATCH 14/14] defconfig/wandboard: update kernel + bootlaoder Yann E. MORIN
2014-06-30 22:34   ` Yann E. MORIN
2014-07-07 15:22   ` Hadrien Boutteville
2014-07-07 16:35     ` Yann E. MORIN
2014-07-01 21:36 ` [Buildroot] [PATCH 0/14 v3] freescale: update userspace packages (branch yem/fsl-imx) Thomas Petazzoni
2014-07-07 15:07 ` Hadrien Boutteville
2014-07-07 17:11   ` Gary Bisson
2014-07-08  6:46     ` Gary Bisson
2014-07-08 14:23       ` Hadrien Boutteville
2014-07-08 16:31         ` Gary Bisson
2014-07-15 21:16 ` Thomas Petazzoni

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.