Skip to contentSkip to conversation

freescale: update userspace packages (branch yem/fsl-imx)

PATCH New Yann E. MORIN 6 participants 34 messages Jun 30, 2014 – Jul 15, 2014 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

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
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#1 lore raw

PATCH v3 1/14 freescale-imx: bump to version 3.10.17-1.0.0

From: Gary Bisson <[email protected]>

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.

[yann.morin.1998 at free.fr: expand commit log]
Cc Hadrien Boutteville <[email protected]>
---
 package/freescale-imx/freescale-imx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/freescale-imx/freescale-imx.mk +1 -1
index 39ffa8a..843ba61 100644
@@ -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))
Signature · 1 line
1.9.1
#2 lore raw

PATCH 1/14 freescale-imx: bump to version 3.10.17-1.0.0

Quoted 9 lines · Yann E. MORIN

From: Gary Bisson <[email protected]>

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

Quoted 24 lines
[yann.morin.1998 at free.fr: expand commit log]
Cc Hadrien Boutteville <[email protected]>
---
 package/freescale-imx/freescale-imx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/freescale-imx/freescale-imx.mk +1 -1
index 39ffa8a..843ba61 100644
@@ -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))
Signature · 6 lines
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
#3 lore raw

PATCH v3 1/14 freescale-imx: bump to version 3.10.17-1.0.0

Arnout, All,

On 2014-07-11 08:14 +0200, Arnout Vandecappelle spake thusly:

Quoted 7 lines · Yann E. MORIN
Quoted 6 lines

From: Gary Bisson <[email protected]>

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.

Quoted 6 lines
Quoted 3 lines

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.

Quoted 43 lines

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

Quoted 24 lines
[yann.morin.1998 at free.fr: expand commit log]
Cc Hadrien Boutteville <[email protected]>
---
 package/freescale-imx/freescale-imx.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/freescale-imx/freescale-imx.mk +1 -1
index 39ffa8a..843ba61 100644
@@ -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))
Signature · 6 lines
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
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH v3 2/14 freescale-imx: update imx-lib package

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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.

[yann.morin.1998 at free.fr: _SOURCE is no longer needed, rework commit
log]

Cc Hadrien Boutteville <[email protected]>
---
 package/freescale-imx/imx-lib/imx-lib.mk | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)
package/freescale-imx/imx-lib/imx-lib.mk +2 -20
index 4f605d7..ecaee25 100644
@@ -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
Signature · 1 line
1.9.1
#5 lore raw

PATCH v3 3/14 freescale-imx: change platform choice to be common

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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

[yann.morin.1998 at free.fr: the part about gpu-viv-bin-mx6q moved to
its own patch; rework the commit log]

Cc Hadrien Boutteville <[email protected]>
---
 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(-)
package/freescale-imx/Config.in +43 -2
index 7c22f79..f87efcb 100644
@@ -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
package/freescale-imx/imx-lib/Config.in +0 -37
index 444060b..3b0f7a9 100644
@@ -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
package/freescale-imx/imx-lib/imx-lib.mk +1 -1
index ecaee25..f643b15 100644
@@ -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
Signature · 1 line
1.9.1
#6 lore raw

PATCH v3 4/14 package/gpu-viv-bin-mx6q: only available for i.MX6Q

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

[yann.morin.1998 at free.fr: split from the previous patch]
Cc Hadrien Boutteville <[email protected]>

---
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(+)
package/freescale-imx/Config.in +2 -0
index f87efcb..0626a74 100644
@@ -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
Signature · 1 line
1.9.1
#7 lore raw

PATCH v3 5/14 freescale-imx: add imx-vpu package

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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

[yann.morin.1998 at free.fr: slightly rework the kconfig comment; fold the
imx-vpu patches into this changeset; add one missing license file]

Cc Hadrien Boutteville <[email protected]>
---
 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
package/freescale-imx/Config.in +1 -0
index 0626a74..d8c6efc 100644
@@ -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"
package/freescale-imx/imx-vpu/Config.in new file +16 -0
new file mode 100644
index 0000000..cf5ab5f
@@ -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
package/freescale-imx/imx-vpu/imx-vpu-0001-vpu-io-fix-IOSystemInit-failure.patch new file +32 -0
new file mode 100644
index 0000000..ed93193
@@ -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 <[email protected]>
+[yann.morin.1998 at free.fr: expand the commit log]
+Signed-off-by: "Yann E. MORIN" <[email protected]>
+---
+ 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);
+
package/freescale-imx/imx-vpu/imx-vpu-0002-vpu-lib-fix-IOGetVirtMem-return-value-checks.patch new file +59 -0

59 lines not on this page · raw message

package/freescale-imx/imx-vpu/imx-vpu.mk new file +53 -0

53 lines not on this page · raw message

Signature · 1 line
1.9.1
#8 lore raw

PATCH v3 6/14 libfslvpuwrap: bump to version 1.0.46

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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.

[yann.morin.1998 at free.fr: expand commit log]
Cc Hadrien Boutteville <[email protected]>
---
 package/libfslvpuwrap/Config.in        | 2 +-
 package/libfslvpuwrap/libfslvpuwrap.mk | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
package/libfslvpuwrap/Config.in +1 -1
index 9cf7633..fa85ce5 100644
@@ -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.
 
package/libfslvpuwrap/libfslvpuwrap.mk +2 -2
index 75c9887..c3a5c1c 100644
@@ -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)
Signature · 1 line
1.9.1
#9 lore raw

PATCH v3 7/14 libfslcodec: bump to version 3.0.11

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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

---
 package/libfslcodec/libfslcodec.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libfslcodec/libfslcodec.mk +1 -1
index d52158c..1a364bb 100644
@@ -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)
Signature · 1 line
1.9.1
#10 lore raw

PATCH v3 8/14 libfslparser: bump to version 3.0.11

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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

---
 package/libfslparser/libfslparser.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/libfslparser/libfslparser.mk +1 -1
index 0d92e02..d52b151 100644
@@ -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
Signature · 1 line
1.9.1
#11 lore raw

PATCH v3 9/14 gst-fsl-plugins: bump to version 3.0.11

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

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

[yann.morin.1998 at free.fr: slightly tweak commit log <80 chars]
Cc Hadrien Boutteville <[email protected]>
---
 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(-)
package/gstreamer/gst-fsl-plugins/Config.in +1 -0
index 19fa0da..fc0184e 100644
@@ -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
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0002-Fix-bashism-in-configure-script.patch +5 -20
index 8af3644..35617cd 100644
@@ -9,29 +9,14 @@ have the default dash as /bin/sh define a variable ending with
 
 Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <[email protected]>
 ---
- 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`
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0003-Use-proper-objdump.patch +3 -3
index 8fce239..b7b8c9f 100644
@@ -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" | \
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins-0004-Fix-libgstfsl-linkage-add-lrt-for-shared-memory-func.patch +1 -1
index e58467e..763703c 100644
@@ -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)
  
package/gstreamer/gst-fsl-plugins/gst-fsl-plugins.mk +6 -4
index 9ec92d8..1ae6596 100644
@@ -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
Signature · 1 line
1.9.1
#12 lore raw

PATCH v3 10/14 package/gst-fsl-plugins: add default platform

In reply to Yann E. MORIN

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.

Cc Gary Bisson <[email protected]>
Cc Hadrien Boutteville <[email protected]>

---
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(+)
package/gstreamer/gst-fsl-plugins/Config.in +7 -0
index fc0184e..309e745 100644
@@ -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"
Signature · 1 line
1.9.1
#13 lore raw

PATCH v3 11/14 imx6sabresd: bump kernel version to 3.10.17

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

Cc Hadrien Boutteville <[email protected]>
---
 configs/freescale_imx6sabresd_defconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
configs/freescale_imx6sabresd_defconfig +8 -4
index 368e00b..16e4d0b 100644
@@ -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"
Signature · 1 line
1.9.1
#14 lore raw

PATCH v3 12/14 imx6sololiteevk: bump kernel version to 3.10.17

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

Cc Hadrien Boutteville <[email protected]>
---
 configs/freescale_imx6sololiteevk_defconfig | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
configs/freescale_imx6sololiteevk_defconfig +8 -4
index 997d44f..f8ecc7b 100644
@@ -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"
Signature · 1 line
1.9.1
#15 lore raw

PATCH v3 13/14 nitrogen6x: bump kernel version to 3.10.17

In reply to Yann E. MORIN

From: Gary Bisson <[email protected]>

Cc Hadrien Boutteville <[email protected]>
---
 board/boundarydevices/nitrogen6x/6x_bootscript | Bin 1653 -> 3207 bytes
 configs/nitrogen6x_defconfig                   |   5 ++++-
 2 files changed, 4 insertions(+), 1 deletion(-)
board/boundarydevices/nitrogen6x/6x_bootscript binary +0 -0
index dc9eea481c03145d16959e5ebcc47120ff3cc2c3..05442a6b0eeffafabdf8857fc57fed73b5b6cbac 100644
GIT binary patch

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=UbOx^!%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-&lR6qpV4DPmos1);uF at SG<NP}=C}}j})plH~ z;okI_brBvqPV)}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 zYPQNNooV?Ktv-$(S@Wu-|b-pKLp2$a%_ybd$&WB>fNpt=hU_|VwYsY at LS;3g at o-W zrgBaw&2j(oyh=h-n~JvNizU+HqUed5o9bglc1~|Ql)Y;&qNk6(kSnzzb!eev$@*d z#v)6$bG)Msth&AW1TW9eaNnY=04<qOz->}*VQO7P1nlAMA&PJ%HQ=iBq0yr+sv81X zQ!XGSTfmi-#4(Eqi8 at 4m%B4$w(mAW>o+MuqH%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$Oj9w4U9}G%nS@B zpJ$R|GO++Evg1ll(Q)>1bkq$Go2<;Vc=8@LB}UP_u1Y}{?G0yY^bDQ&6S!{oXW)s zwN7brBa854YYr}f+}z}(oNR*vu$r_?u8H1i3i?U;6c?Lp1FzXsS0Xp3LtK-f}w$h N0SG8qPfp=c1^PBLxKPR

configs/nitrogen6x_defconfig +4 -1
index 0c026db..da2a7e8 100644
@@ -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"
Signature · 1 line
1.9.1
#16 lore raw

PATCH 1/1 nitrogen6x: include .dtb files for compatible variants

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.

---
 configs/nitrogen6x_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/nitrogen6x_defconfig +1 -1
index da2a7e8..04db23a 100644
@@ -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"
Signature · 1 line
1.9.1
#17 lore raw

PATCH 1/1 nitrogen6x: include .dtb files for compatible variants

Eric, Hadrien, All,

On 2014-07-10 10:18 -0700, Eric Nelson spake thusly:

Quoted 9 lines

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.

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.

Quoted 17 lines
---
 configs/nitrogen6x_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/nitrogen6x_defconfig +1 -1
index da2a7e8..04db23a 100644
@@ -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"
Signature · 1 line
1.9.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#18 lore raw

PATCH 1/1 nitrogen6x: include .dtb files for compatible variants

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

Quoted 52 lines · Yann E. MORIN

Eric, Hadrien, All,

On 2014-07-10 10:18 -0700, Eric Nelson spake thusly:

Quoted 9 lines

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.

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.

Quoted 9 lines
---
 configs/nitrogen6x_defconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configs/nitrogen6x_defconfig +0 -0
index da2a7e8..04db23a 100644

configs/nitrogen6x_defconfig BR2_LINUX_KERNEL_DEFCONFIG="nitrogen6x" · line 29

Quoted 5 lines
configs/nitrogen6x_defconfig +1 -1
@@ -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"

Quoted 3 lines

--
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.  |
Quoted 2 lines

'------------------------------^-------^------------------^--------------------'

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140710/3685b57f/attachment.html>

#19 lore raw

[Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...)

Thanks for the ping, Gary.

Quoted 7 lines · Gary Bisson

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

#20 lore raw

[Buildroot] Boundary U-Boot files (was [PATCH] nitrogen6x: include .dtb files...)

Quoted 11 lines · Eric Nelson

Thanks for the ping, Gary.

Quoted 7 lines · Gary Bisson

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?

Quoted 7 lines

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

Signature · 6 lines
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
#21 lore raw

PATCH 1/1 nitrogen6x: include .dtb files for compatible variants

In reply to Eric Nelson

Dear Eric Nelson,

Quoted 5 lines · Eric Nelson

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.

Quoted 7 lines

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

---
 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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#22 lore raw

PATCH 1/1 nitrogen6x: include .dtb files for compatible variants

Hi Thomas,

Quoted 9 lines · Thomas Petazzoni

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.

#23 lore raw

PATCH v3 14/14 defconfig/wandboard: update kernel + bootlaoder

In reply to Yann E. MORIN

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

Cc Gary Bisson <[email protected]>
Cc Hadrien Boutteville <[email protected]>
---
 configs/wandboard_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/wandboard_defconfig +4 -4
index 996a70a..6bf436e 100644
@@ -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
Signature · 1 line
1.9.1
#24 lore raw

PATCH v3 14/14 defconfig/wandboard: update kernel + bootlaoder

Gary, All,

On 2014-06-30 23:52 +0200, Yann E. MORIN spake thusly:

Quoted 22 lines

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

Cc Gary Bisson <[email protected]>
Cc Hadrien Boutteville <[email protected]>
---
 configs/wandboard_defconfig | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
configs/wandboard_defconfig +0 -0
index 996a70a..6bf436e 100644

configs/wandboard_defconfig BR2_TARGET_ROOTFS_EXT2_4=y · line 11

Quoted 7 lines
configs/wandboard_defconfig +2 -2
@@ -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.

Quoted 16 lines
configs/wandboard_defconfig +2 -2
 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
Signature · 1 line
1.9.1
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#25 lore raw

PATCH v3 14/14 defconfig/wandboard: update kernel + bootlaoder

In reply to Yann E. MORIN

Hello Yann,

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

On Mon, 30 Jun 2014 23:52:14 +0200, Yann E. Morin wrote:
[...]

Quoted 2 lines

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 ?

configs/wandboard_defconfig BR2_TARGET_UBOOT_ENVIMAGE_SOURCE="board/wandboard/uboot-env.txt" · line 22

Quoted 11 lines

BR2_TARGET_UBOOT_ENVIMAGE=y

configs/wandboard_defconfig +2 -2
@@ -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

#26 lore raw

PATCH v3 14/14 defconfig/wandboard: update kernel + bootlaoder

Hadrien, All,

On 2014-07-07 17:22 +0200, Hadrien Boutteville spake thusly:

Quoted 1 line

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

OK.

Quoted 7 lines · Yann E. Morin

[...]

Quoted 2 lines

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.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  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.  |
'------------------------------^-------^------------------^--------------------'
#27 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

In reply to Yann E. MORIN

Yann, Gary, Peter,

Quoted 14 lines · Yann E. MORIN

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

Quoted 3 lines

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

For the entire series:

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

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#28 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

In reply to Yann E. MORIN

Hello Gary, Yann,

Quoted 17 lines · Yann E. Morin

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.

Quoted 8 lines

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

#29 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

Hi Hadrien,

Quoted 30 lines · Hadrien Boutteville

Hello Gary, Yann,

Quoted 17 lines · Yann E. Morin

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.

Quoted 6 lines

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 \

Quoted 2 lines

! avidemux ! vpudec ! mfw_isink
---8<---

Quoted 9 lines

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

Quoted 4 lines

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>

#30 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

Hi Hadrien,

Quoted 55 lines · Gary Bisson

Hi Hadrien,

Quoted 30 lines · Hadrien Boutteville

Hello Gary, Yann,

Quoted 17 lines · Yann E. Morin

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.

Quoted 6 lines

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 \

Quoted 2 lines

! avidemux ! vpudec ! mfw_isink
---8<---

Quoted 9 lines

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?

Quoted 3 lines

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

Quoted 8 lines
Quoted 6 lines

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>

#31 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

Hi Gary,

On Mon, 7 Jul 2014 23:46:46 -0700, Gary Bisson wrote:
[...]

Quoted 14 lines

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?

Quoted 4 lines

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.

Quoted 2 lines

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.

Quoted 3 lines

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.

Quoted 2 lines

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.

Quoted 7 lines

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

#32 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

Hi Hadrien,

Quoted 19 lines · Hadrien Boutteville

Hi Gary,

On Mon, 7 Jul 2014 23:46:46 -0700, Gary Bisson wrote:
[...]

Quoted 4 lines

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

Quoted 10 lines

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?

Quoted 9 lines
Quoted 4 lines

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.

Quoted 28 lines
Quoted 2 lines

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.

Quoted 3 lines

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.

Quoted 2 lines

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.

Quoted 7 lines

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.

Quoted 5 lines

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>

#33 lore raw

v3 cover freescale: update userspace packages (branch yem/fsl-imx)

In reply to Yann E. MORIN

Dear Yann E. MORIN,

Quoted 9 lines · Yann E. MORIN

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

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