[meta-freescale] i.MX6 DL, Yocto Krogoth and Chromium 48.0.2548 problems .

2016-11-07 Thread Flavio Suligoi
Hi all,



I compiled a standard Yocto "Krogoth" distro for a sabresd Dual Lite board 
(meta-fsl-arm, last commit of today), with Chromium 48.0.2548 (meta-browser, 
last commit of today).



In meta-fsl-arm there is the software to enable the GPU graphic acceleration in 
Chromium 48.0.2548. The distro building works fine.



But, when I try to execute Chromium, the application doesn't run with the 
following error:



[1148:1148:1102/214428:ERROR:sandbox_linux.cc(338)] InitializeSandbox() called 
with multiple threads in process gpu-process
Segmentation fault



Chromium runs only if I disable the graphic acceleration using the switch: 
--disable-gpu



Any ideas?



Thanks,



Flavio
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [base][PATCH v2 1/2] setup-environment: Add support for set distro

2016-11-07 Thread Lauren Post
This breaks all imx builds because our distros in our layers are not in the 
places you check.  Do not hardcode the location to check.

Please remove checks so we can get our builds working again.

Thanks
Lauren

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Fabio Berton
Sent: Monday, November 07, 2016 7:30 AM
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [base][PATCH v2 1/2] setup-environment: Add support 
for set distro

To run setup-environment you need to set one of distros listed on supported 
distros using command like:

MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build

Note that DISTRO is a required variable and won't be set if not defined.

Signed-off-by: Fabio Berton 
---
 setup-environment | 26 ++
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/setup-environment b/setup-environment index 099b21b..797a6aa 100755
--- a/setup-environment
+++ b/setup-environment
@@ -27,19 +27,25 @@ usage()
 {
 echo -e "\nUsage: source $PROGNAME 
 : specifies the build directory location (required)
+:specifies the distro name
 
 If undefined, this script will set \$MACHINE to 'imx6qsabresd'.
+You need to set DISTRO to use this environment.
 "
 
 ls sources/*/conf/machine/*.conf > /dev/null 2>&1
+ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > 
+ /dev/null 2>&1
 if [ $? -eq 0 ]; then
 echo -e "
 Supported machines: `echo; ls sources/*/conf/machine/*.conf \  | sed 
s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
 
-To build for a machine listed above, run this script as:
-MACHINE= source $PROGNAME  -"
+Supported distros: `echo; ls 
+sources/meta-freescale-distro/conf/distro/fslc-*.conf \
+| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
+
+To build for a distro and machine listed above, run this script as:
+MACHINE= DISTRO= source $PROGNAME 
+Ex: MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source $PROGNAME build"
 fi
 }
 
@@ -105,7 +111,19 @@ if [ -z "$SDKMACHINE" ]; then  fi
 
 if [ -z "$DISTRO" ]; then
-DISTRO='poky'
+echo "You must set DISTRO before setting up the environment."
+fi
+# Check the machine type specified
+LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
+VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l` 
+if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
+echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
this build setup\n"
+usage && clean_up
+return 1
+else
+if [ ! -e $1/conf/local.conf.sample ]; then
+echo "Configuring for ${DISTRO}"
+fi
 fi
 
 OEROOT=$PWD/sources/poky
--
2.1.4

--
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.yoctoproject.org%2Flistinfo%2Fmeta-freescale&data=01%7C01%7Clauren.post%40nxp.com%7Ca586f5939ad244b9693808d407126c57%7C686ea1d3bc2b4c6fa92cd99c5c301635%7C0&sdata=BT5j1Sk95aLA7HX%2Fu%2BnwK3tj%2F3hNb4RU1gmitExP0R4%3D&reserved=0
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] Updates to base (master and morty) in 2016-11-07

2016-11-07 Thread Otavio Salvador
Hello,

I pushed following updates:

commit bd4feda8fb0bc47b7842c0c70d8435c4957b071f (HEAD -> master-next, 
m/master-next, freescale/morty, freescale/master-next, freescale/master)
Author: Fabio Berton 
Date:   Mon Nov 7 11:29:59 2016 -0200

setup-environment: Move error log from top to bottom

If setup-environment won't be running like expect show error message
at bottom of log to be more visible.

Signed-off-by: Fabio Berton 
Signed-off-by: Otavio Salvador 

commit 997c78bc9ad8ff9a2413712be45a12c9a84f67ac
Author: Fabio Berton 
Date:   Mon Nov 7 11:29:58 2016 -0200

setup-environment: Add support for set distro

To run setup-environment you need to set one of distros listed on
supported distros using command like:

MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build

Note that DISTRO is a required variable and won't be set if not defined.

Signed-off-by: Fabio Berton 
Signed-off-by: Otavio Salvador 

Regards,

--
Otavio Salvador O.S. Systems
http://www.ossystems.com.brhttp://code.ossystems.com.br
Mobile: +55 (53) 9981-7854Mobile: +1 (347) 903-9750
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [base][PATCH v2 2/2] setup-environment: Move error log from top to bottom

2016-11-07 Thread Fabio Berton
If setup-environment won't be running like expect show error message
at bottom of log to be more visible.

Signed-off-by: Fabio Berton 
---
 setup-environment | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/setup-environment b/setup-environment
index 797a6aa..a193abf 100755
--- a/setup-environment
+++ b/setup-environment
@@ -97,8 +97,9 @@ fi
 LIST_MACHINES=`ls -1 $CWD/sources/*/conf/machine`
 VALID_MACHINE=`echo -e "$LIST_MACHINES" | grep ${MACHINE}.conf$ | wc -l`
 if [ "x$MACHINE" = "x" ] || [ "$VALID_MACHINE" = "0" ]; then
+usage
 echo -e "\nThe \$MACHINE you have specified ($MACHINE) is not supported by 
this build setup"
-usage && clean_up
+clean_up
 return 1
 else
 if [ ! -e $1/conf/local.conf.sample ]; then
@@ -117,8 +118,9 @@ fi
 LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
 VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
 if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
+usage
 echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
this build setup\n"
-usage && clean_up
+clean_up
 return 1
 else
 if [ ! -e $1/conf/local.conf.sample ]; then
-- 
2.1.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [base][PATCH v2 1/2] setup-environment: Add support for set distro

2016-11-07 Thread Fabio Berton
To run setup-environment you need to set one of distros listed on
supported distros using command like:

MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build

Note that DISTRO is a required variable and won't be set if not defined.

Signed-off-by: Fabio Berton 
---
 setup-environment | 26 ++
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/setup-environment b/setup-environment
index 099b21b..797a6aa 100755
--- a/setup-environment
+++ b/setup-environment
@@ -27,19 +27,25 @@ usage()
 {
 echo -e "\nUsage: source $PROGNAME 
 : specifies the build directory location (required)
+:specifies the distro name
 
 If undefined, this script will set \$MACHINE to 'imx6qsabresd'.
+You need to set DISTRO to use this environment.
 "
 
 ls sources/*/conf/machine/*.conf > /dev/null 2>&1
+ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > /dev/null 2>&1
 if [ $? -eq 0 ]; then
 echo -e "
 Supported machines: `echo; ls sources/*/conf/machine/*.conf \
 | sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
 
-To build for a machine listed above, run this script as:
-MACHINE= source $PROGNAME 
-"
+Supported distros: `echo; ls 
sources/meta-freescale-distro/conf/distro/fslc-*.conf \
+| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
+
+To build for a distro and machine listed above, run this script as:
+MACHINE= DISTRO= source $PROGNAME 
+Ex: MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source $PROGNAME build"
 fi
 }
 
@@ -105,7 +111,19 @@ if [ -z "$SDKMACHINE" ]; then
 fi
 
 if [ -z "$DISTRO" ]; then
-DISTRO='poky'
+echo "You must set DISTRO before setting up the environment."
+fi
+# Check the machine type specified
+LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
+VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
+if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
+echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
this build setup\n"
+usage && clean_up
+return 1
+else
+if [ ! -e $1/conf/local.conf.sample ]; then
+echo "Configuring for ${DISTRO}"
+fi
 fi
 
 OEROOT=$PWD/sources/poky
-- 
2.1.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [base][PATCH 1/2] setup-environment: Add support for set distro

2016-11-07 Thread Mario Domenech Goulart
Hi Fabio,

On Mon,  7 Nov 2016 09:54:31 -0200 Fabio Berton  
wrote:

> To run setup-environment you need to set one of distros listed on
> supported distros using command like:
>
> MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build
>
> Note that DISTRO is a required variable and won't be set if not defined.
>
> Signed-off-by: Fabio Berton 
> ---
>  setup-environment | 26 ++
>  1 file changed, 22 insertions(+), 4 deletions(-)
>
> diff --git a/setup-environment b/setup-environment
> index 099b21b..a955182 100755
> --- a/setup-environment
> +++ b/setup-environment
> @@ -27,19 +27,25 @@ usage()
>  {
>  echo -e "\nUsage: source $PROGNAME 
>  : specifies the build directory location (required)
> +:specifies the disto name

Small typo: s/disto/distro/


>  If undefined, this script will set \$MACHINE to 'imx6qsabresd'.
> +You need to set DISTRO to use this environment.
>  "
>  
>  ls sources/*/conf/machine/*.conf > /dev/null 2>&1
> +ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > /dev/null 2>&1
>  if [ $? -eq 0 ]; then
>  echo -e "
>  Supported machines: `echo; ls sources/*/conf/machine/*.conf \
>  | sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
>  
> -To build for a machine listed above, run this script as:
> -MACHINE= source $PROGNAME 
> -"
> +Supported distros: `echo; ls 
> sources/meta-freescale-distro/conf/distro/fslc-*.conf \
> +| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
> +
> +To build for a distro and machine listed above, run this script as:
> +MACHINE= DISTRO= source $PROGNAME 
> +Ex: MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source $PROGNAME build"
>  fi
>  }
>  
> @@ -105,7 +111,19 @@ if [ -z "$SDKMACHINE" ]; then
>  fi
>  
>  if [ -z "$DISTRO" ]; then
> -DISTRO='poky'
> +echo "You must set DISTRO before setting up the environment."
> +fi
> +# Check the machine type specified
> +LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
> +VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
> +if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
> +echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
> this build setup\n"
> +usage && clean_up
> +return 1
> +else
> +if [ ! -e $1/conf/local.conf.sample ]; then
> +echo "Configuring for ${DISTRO}"
> +fi
>  fi
>  
>  OEROOT=$PWD/sources/poky
> -- 
> 2.1.4

-- 
http://parenteses.org/mario
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [base][PATCH 2/2] setup-environment: Move error log from top to bottom

2016-11-07 Thread Fabio Berton
If setup-environment won't be running like expect show error message
at bottom of log to be more visible.

Signed-off-by: Fabio Berton 
---
 setup-environment | 6 --
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/setup-environment b/setup-environment
index a955182..53c324f 100755
--- a/setup-environment
+++ b/setup-environment
@@ -97,8 +97,9 @@ fi
 LIST_MACHINES=`ls -1 $CWD/sources/*/conf/machine`
 VALID_MACHINE=`echo -e "$LIST_MACHINES" | grep ${MACHINE}.conf$ | wc -l`
 if [ "x$MACHINE" = "x" ] || [ "$VALID_MACHINE" = "0" ]; then
+usage
 echo -e "\nThe \$MACHINE you have specified ($MACHINE) is not supported by 
this build setup"
-usage && clean_up
+clean_up
 return 1
 else
 if [ ! -e $1/conf/local.conf.sample ]; then
@@ -117,8 +118,9 @@ fi
 LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
 VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
 if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
+usage
 echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
this build setup\n"
-usage && clean_up
+clean_up
 return 1
 else
 if [ ! -e $1/conf/local.conf.sample ]; then
-- 
2.1.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [base][PATCH 1/2] setup-environment: Add support for set distro

2016-11-07 Thread Fabio Berton
To run setup-environment you need to set one of distros listed on
supported distros using command like:

MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source setup-environment build

Note that DISTRO is a required variable and won't be set if not defined.

Signed-off-by: Fabio Berton 
---
 setup-environment | 26 ++
 1 file changed, 22 insertions(+), 4 deletions(-)

diff --git a/setup-environment b/setup-environment
index 099b21b..a955182 100755
--- a/setup-environment
+++ b/setup-environment
@@ -27,19 +27,25 @@ usage()
 {
 echo -e "\nUsage: source $PROGNAME 
 : specifies the build directory location (required)
+:specifies the disto name
 
 If undefined, this script will set \$MACHINE to 'imx6qsabresd'.
+You need to set DISTRO to use this environment.
 "
 
 ls sources/*/conf/machine/*.conf > /dev/null 2>&1
+ls sources/meta-freescale-distro/conf/distro/fslc-*.conf > /dev/null 2>&1
 if [ $? -eq 0 ]; then
 echo -e "
 Supported machines: `echo; ls sources/*/conf/machine/*.conf \
 | sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
 
-To build for a machine listed above, run this script as:
-MACHINE= source $PROGNAME 
-"
+Supported distros: `echo; ls 
sources/meta-freescale-distro/conf/distro/fslc-*.conf \
+| sed s/\.conf//g | sed -r 's/^.+\///' | xargs -I% echo -e "\t%"`
+
+To build for a distro and machine listed above, run this script as:
+MACHINE= DISTRO= source $PROGNAME 
+Ex: MACHINE=imx6qsabresd DISTRO=fslc-framebuffer source $PROGNAME build"
 fi
 }
 
@@ -105,7 +111,19 @@ if [ -z "$SDKMACHINE" ]; then
 fi
 
 if [ -z "$DISTRO" ]; then
-DISTRO='poky'
+echo "You must set DISTRO before setting up the environment."
+fi
+# Check the machine type specified
+LIST_DISTROS=`ls -1 $CWD/sources/meta-freescale-distro/conf/distro`
+VALID_DISTRO=`echo -e "$LIST_DISTROS" | grep ${DISTRO}.conf$ | wc -l`
+if [ "x$DISTRO" = "x" ] || [ "$VALID_DISTRO" = "0" ]; then
+echo -e "The \$DISTRO you have specified ($DISTRO) is not supported by 
this build setup\n"
+usage && clean_up
+return 1
+else
+if [ ! -e $1/conf/local.conf.sample ]; then
+echo "Configuring for ${DISTRO}"
+fi
 fi
 
 OEROOT=$PWD/sources/poky
-- 
2.1.4

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] [PATCH] imx-gst1.0-plugin: configure for available platforms only

2016-11-07 Thread Max Krummenacher
For the MACHINEOVERRIDES "mx6dl" and "mx6q" PLATFORM is set to MX6DL and MX6Q,
respectively, resulting in the following error from the configure script:

| configure: error: No target platform specified!
| Use ./configure PLATFORM=(MX6/MX6QP/MX6SL/MX6SX/MX6UL/MX7D) to retry

Signed-off-by: Max Krummenacher 
---
 recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb | 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb 
b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb
index c34c65b..0e4d6bf 100644
--- a/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb
+++ b/recipes-multimedia/gstreamer/imx-gst1.0-plugin_4.1.4.bb
@@ -36,13 +36,12 @@ inherit autotools pkgconfig
 
 # Make sure kernel sources are available
 do_configure[depends] += "virtual/kernel:do_shared_workdir"
-
-PLATFORM_mx6dl = "MX6DL"
-PLATFORM_mx6q = "MX6Q"
+PLATFORM_mx6dl = "MX6"
+PLATFORM_mx6q = "MX6"
 PLATFORM_mx6sl = "MX6SL"
 PLATFORM_mx6sx = "MX6SX"
 PLATFORM_mx6ul = "MX6UL"
-PLATFORM_mx6ull = "MX6ULL"
+PLATFORM_mx6ull = "MX6UL"
 PLATFORM_mx7d = "MX7D"
 
 # Todo add a mechanism to map possible build targets
-- 
2.5.5

-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale