Re: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
More lines split where it seems they should not be.  I am only eyeballing 
these.  Maybe I am mistaken and new lines in .rst files do not matter?  

Example from this file would include: 
-* Packages `needed 
`_
+* Packages `needed 
+`_



Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 2.2 
(Morty)

  - Update documentation url address to use current realease
  - Update Yocto Project Bugzilla url address
  - Update copyright year

Signed-off-by: Fabio Berton 
---
 FAQ/source/all.rst | 6 +++---
 FAQ/source/conf.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/FAQ/source/all.rst b/FAQ/source/all.rst index 7fc4532..a41aea9 
100644
--- a/FAQ/source/all.rst
+++ b/FAQ/source/all.rst
@@ -116,9 +116,9 @@ How do I create a layer?
 What are the host packages needed for Yocto Project?
 
 
-* Make sure your Linux host / distribution is `supported 
`_
 by the Yocto Project.
+* Make sure your Linux host / distribution is `supported 
`_
 by the Yocto Project.
 
-* Packages `needed 
`_
+* Packages `needed 
+`_
 
 
 How can I save space after a build?
@@ -135,7 +135,7 @@ How can I save space after a build?
 Where do I check for known bugs?
 
 
-The known bugs are tracked using `Yocto Project Bugzilla 
`_
+The known bugs are tracked using `Yocto Project Bugzilla 
+`_
 
 
 Are there prebuilt images available?
diff --git a/FAQ/source/conf.py b/FAQ/source/conf.py index 00eaebd..b9bfce6 
100644
--- a/FAQ/source/conf.py
+++ b/FAQ/source/conf.py
@@ -41,16 +41,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Freescale Community BSP FAQ'
-copyright = u'2014, Freescale Community BSP Team'
+copyright = u'2014-2016, Freescale Community BSP Team'
 
 # The version info for the project you're documenting, acts as replacement for 
 # |version| and |release|, also used in various other places throughout the  # 
built documents.
 #
 # The short X.Y version or version name if applicable. 
-version = 'krogoth'
+version = 'morty'
 # The full version, including alpha/beta/rc tags.
-release = '2.1'
+release = '2.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation  # 
for a list of supported languages.
--
2.1.4

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


Re: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to version 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
I am almost certain this line change breaks the Python code:

--- a/scripts/bitbake-metadata2doc.py
+++ b/scripts/bitbake-metadata2doc.py
@@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data, 
out_dir):
 kernel = board_data['recipes']['virtual/kernel']
 recipe = kernel['recipe']
 recipe_file = kernel['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in recipe_file)) 
+ and \

That looks like \ are used for line continuation but an extra new line is being 
added before the "and \"


I am more confident about the .sh files: 
$machines; do
 cd $yocto_dir
 echo "Using $build_dir as build directory"
-MACHINE=$machine . ./setup-environment `basename $build_dir`
+MACHINE=$machine DISTRO=fslc-framebuffer . ./setup-environment 
+ `basename $build_dir`
 
-MACHINE=$machine python3 $anchor/extract-bitbake-metadata.py \
+MACHINE=$machine DISTRO=fslc-framebuffer python3 
+ $anchor/extract-bitbake-metadata.py \
 $anchor/$marshalled_data_file \
 apptrk \
 barebox \

That will behave differently. 

Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to version 
2.2 (Morty)

  - Update FSL layers names
  - Add DISTRO and MACHINE to run setup-environment
  - Update Yocto Project Bugzilla url address

Signed-off-by: Fabio Berton 
---
 scripts/bitbake-metadata2doc.py | 18 +-  
scripts/bitbake-metadata2doc.sh |  6 +++---  scripts/generate-bugs-table.py  |  
6 +++---
 scripts/output-machine-list |  2 +-
 scripts/test-sheet-parser.py|  2 +-
 5 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/scripts/bitbake-metadata2doc.py b/scripts/bitbake-metadata2doc.py 
index 98af3f8..001d59d 100644
--- a/scripts/bitbake-metadata2doc.py
+++ b/scripts/bitbake-metadata2doc.py
@@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data, 
out_dir):
 kernel = board_data['recipes']['virtual/kernel']
 recipe = kernel['recipe']
 recipe_file = kernel['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in recipe_file)) 
+ and \
 recipe not in kernel_recipes:
 kernels += [[recipe, kernel['description']]]
 kernel_recipes.append(recipe) @@ -128,8 +128,8 @@ def 
write_fsl_community_bsp_supported_bootloaders_descr(data, out_dir):
 bootloader = board_data['recipes'][bootloader_software]
 recipe = bootloader['recipe']
 recipe_file = bootloader['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in 
+ recipe_file)) and \
 recipe not in bootloader_recipes:
 bootloaders += [[recipe, bootloader['description']]]
 bootloader_recipes.append(recipe) @@ -305,14 +305,14 @@ 
def write_soc_pkg(data, out_dir):
 
 
 def write_maintainers_tables(data, out_dir, bsp_dir):
-meta_fsl_arm_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-fsl-arm', 'conf', 'machine')
-meta_fsl_arm_extra_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-fsl-arm-extra', 'conf', 'machine')
-get_maintainer_script = os.path.join(bsp_dir, 'sources', 'meta-fsl-arm', 
'scripts', 'get-maintainer')
+meta_freescale_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-freescale', 'conf', 'machine')
+meta_freescale_3rdparty_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-freescale-3rdparty', 'conf', 'machine')
+get_maintainer_script = os.path.join(bsp_dir, 'sources', 
+ 'meta-freescale', 'scripts', 'get-maintainer')
 try:
 get_maintainer_pipe = subprocess.Popen([get_maintainer_script,
 '--dump',
-meta_fsl_arm_machines_dir,
-
meta_fsl_arm_extra_machines_dir],
+meta_freescale_machines_dir,
+
+ meta_freescale_3rdparty_machines_dir],
stdout=subprocess.PIPE)
 

Re: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 2.2 (Morty)

2016-11-10 Thread Fabio Berton
​Hi ​Thomas!

On Thu, Nov 10, 2016 at 7:58 AM, Thomas Thorne 
wrote:

> Lots of the changes in this patch seem to add extra line breaks to example
> commands.  E.g.
> 1. To have access to Yocto scripts, run the setup environment script under
> your ``BASE``
> directory::
>
> -fsl-community-bsp $ . setup-environment build
> +fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer
> + source setup-environment build
>
> Will that extra line break not stop copy and pasting of example commands
> from working?
>
> ​My git log doesn't show line break, and final PDF ​
neither
​.
I think Gmail breaks the lines, look patch here
https://patchwork.openembedded.org/patch/133744/

​

> Thomas A. F. Thorne  Software Engineer  Net2Edge
>
> -Original Message-
> From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-
> boun...@yoctoproject.org] On Behalf Of Fabio Berton
> Sent: 09 November 2016 17:30
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to
> 2.2 (Morty)
>
>   - Update FSL layers names
>   - Add DISTRO and MACHINE to run setup-environment
>   - Update devtasks, nsteps and metadata to use Morty branch and distro
> fslc-framebuffer
>   - Remove qt-in-use-image and qte-in-use-image from image list
>   - Add FSLC distros description
>   - Use DISTRO fslc-wayland in weston example
>
> Signed-off-by: Fabio Berton 
> ---
>  user-guide/source/conf.py |  4 +-
>  user-guide/source/devtasks.rst| 58 ---
>  user-guide/source/distro-list.inc |  4 ++
>  user-guide/source/distros.rst | 10 
>  user-guide/source/image-list.inc  |  2 -
>  user-guide/source/index.rst   |  1 +
>  user-guide/source/metadata.rst| 99 --
> -
>  user-guide/source/nsteps.rst  |  6 +--
>  user-guide/source/weston.rst  | 13 +++--
>  9 files changed, 121 insertions(+), 76 deletions(-)  create mode 100644
> user-guide/source/distro-list.inc  create mode 100644
> user-guide/source/distros.rst
>
> diff --git a/user-guide/source/conf.py b/user-guide/source/conf.py index
> 7c9f536..850f1ce 100644
> --- a/user-guide/source/conf.py
> +++ b/user-guide/source/conf.py
> @@ -48,9 +48,9 @@ copyright = u'2014, Freescale Community BSP Team'
>  # built documents.
>  #
>  # The short X.Y version or version name if applicable.
> -version = 'krogoth'
> +version = 'morty'
>  # The full version, including alpha/beta/rc tags.
> -release = '2.1'
> +release = '2.2'
>
>  # The language for content autogenerated by Sphinx. Refer to
> documentation  # for a list of supported languages.
> diff --git a/user-guide/source/devtasks.rst b/user-guide/source/devtasks.rst
> index 2c195d2..dfd7675 100644
> --- a/user-guide/source/devtasks.rst
> +++ b/user-guide/source/devtasks.rst
> @@ -15,7 +15,7 @@ before proceeding check the main `Layer Index`_.
>  1. To have access to Yocto scripts, run the setup environment script
> under your ``BASE``
> directory::
>
> -fsl-community-bsp $ . setup-environment build
> +fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer
> + source setup-environment build
>
>  2. Move to the place you want to create your layer and choose a name
> (e.g. ``fsl-custom``)::
> @@ -50,14 +50,14 @@ package development. However, if the need does arise,
> follow the steps listed be  that you have already built the package you
> want to patch.
>
>  * Create the patch or patches. In this example we are patching the
> -  Linux kernel for `wandboard-dual machine `_;
> +  Linux kernel for `wandboard machine `_;
>in other words, the value of ``MACHINE`` in ``build/conf/local.conf`` is
> -  ``MACHINE ??= 'wandboard-dual'``
> +  ``MACHINE ??= 'wandboard'``
>
>  * If you already have the patches available, make sure they can be
> applied cleanly with
>the commands ``git apply --check ``. To create new or
> additional patches::
>
> -build $ cd tmp/work/wandboard_dual-poky-
> linux-gnueabi/linux-wandboard/3.0.35-r0/git
> +build $ cd
> + tmp/work/wandboard-fslc-linux-gnueabi/linux-wandboard/4.1.15-r0/git
>  # Edit any files you want to change
>  $ git add   ..
>  $ git commit -s -m '' # Create the commit
> @@ -69,8 +69,8 @@ that you have already built the package you want to
> patch.
>and the ```.bbfile``::
>
>  sources $ mkdir -p \
> -   meta-fsl-custom/recipes-
> kernel/linux/linux-wandboard-3.0.35/
> -sources $ cat > 
> meta-fsl-custom/recipes-kernel/linux/linux-wandboard_3.0.35.bbappend
> << EOF
> +   meta-fsl-custom/recipes-
> kernel/linux/linux-wandboard-4.1.15/
> +sources $ cat >
> + meta-fsl-custom/recipes-kernel/linux/linux-wandboard_4.1.15.bbappend
> + << EOF
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
>  SRC_URI += "file://0001-calibrate-Add-
> printk-example.patch"
> 

Re: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 2.2 (Morty)

2016-11-10 Thread Fabio Berton
Same here,
https://patchwork.openembedded.org/patch/133743/

On Thu, Nov 10, 2016 at 7:59 AM, Thomas Thorne 
wrote:

> More strange new-line additions here too:
>
> diff --git a/release-notes/source/known-issues.rst
> b/release-notes/source/known-issues.rst
> index 71e71ed..0d34019 100644
> --- a/release-notes/source/known-issues.rst
> +++ b/release-notes/source/known-issues.rst
> @@ -40,7 +40,7 @@ Known Issues
> Open
> 
> In order to see the current bug list, please use following URL:
> -   https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-fsl-arm
> +
> + https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-freesca
> + le
>
> This also removes an indent.  Was an editor trying to automcatically fit
> C/C++ styling to non-source code?
>
> Thomas A. F. Thorne  Software Engineer  Net2Edge
>
> -Original Message-
> From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-
> boun...@yoctoproject.org] On Behalf Of Fabio Berton
> Sent: 09 November 2016 17:30
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to
> 2.2 (Morty)
>
>   - Update FSL layers names
>   - Update Yocto Project Bugzilla url address
>   - Add FSLC distros description
>
> Signed-off-by: Fabio Berton 
> ---
>  release-notes/README  |  4 ++--
>  release-notes/source/bsp-scope.rst| 24 
>  release-notes/source/conf.py  |  6 +++---
>  release-notes/source/distros.inc  |  4 
>  release-notes/source/introduction.rst |  7 ---
> release-notes/source/known-issues.rst |  4 ++--
> release-notes/source/source-code.rst  |  9 +
> release-notes/source/test-results.rst |  2 +-
>  release-notes/source/variables.inc|  2 +-
>  9 files changed, 38 insertions(+), 24 deletions(-)  create mode 100644
> release-notes/source/distros.inc
>
> diff --git a/release-notes/README b/release-notes/README index
> e1b7c9e..9665ea3 100644
> --- a/release-notes/README
> +++ b/release-notes/README
> @@ -37,8 +37,8 @@ Here's an example:
>$ ./bitbake-metadata2doc.sh ~/src/fsl-community-bsp ~/src/gitdm 1.5 1.6
>
>  By default, bitbake-metadata2doc.sh collects data out of bitbake's
> -metadata for all machines it can find in the meta-fsl-arm and
> -meta-fsl-arm-extra layers.  You can restrict the machines to collect
> +metadata for all machines it can find in the meta-freescale and
> +meta-freescale-3erparty. You can restrict the machines to collect
>  data from by setting the MACHINES variable in your environment.
>
>  bitbake-metadata2doc.sh will write its output to release-note's `source'
> diff --git a/release-notes/source/bsp-scope.rst
> b/release-notes/source/bsp-scope.rst
> index f0f0f74..97ca49d 100644
> --- a/release-notes/source/bsp-scope.rst
> +++ b/release-notes/source/bsp-scope.rst
> @@ -4,14 +4,14 @@
>  ***
>  The scope of the |project_name| includes the meta layers:
>
> - * `meta-fsl-arm  cgit/cgit.cgi/meta-fsl-arm/?h=krogoth>`_:
> -   provides the base support and Freescale ARM reference boards;
> - * `meta-fsl-arm-extra  meta-fsl-arm-extra/tree/krogoth>`_:
> + * `meta-freescale  cgit/cgit.cgi/meta-freescale/?h=morty>`_:
> +   provides the base support and Freescale ARM and PPC reference
> + boards;
> + * `meta-freescale-3rdparty  meta-freescale-3rdparty/tree/morty>`_:
> provides support for 3rd party and partner boards;
> - * `meta-fsl-demos  meta-fsl-demos/tree/krogoth>`_:
> -   provides images recipes, demo recipes, and packagegroups used to easy
> the
> -   development with Yocto Project.
> - * `Documentation  Documentation/tree/krogoth>`_:
> + * `meta-freescale-distro  meta-freescale-distro/tree/morty>`_:
> +   provides distros support, images recipes, demo recipes, and
> packagegroups
> +   used to easy the development with Yocto Project.
> + * `Documentation  >`_:
> provides the source code for |project_name| Release Notes (RN), User
> Guide
> (UG) and Frequently Asked Questions (FAQ)
>
> @@ -36,8 +36,8 @@ regular open source licenses (GPLv2 for example).
>
>  The close sourced packages are released under the Freescale License
> (known as  EULA). Each package has a copy of EULA inside itself and a copy
> of the EULA text -is also included inside **meta-fsl-arm** root dir
> -(``sources/meta-fsl-arm/EULA``).
> +is also included inside **meta-freescale** root dir
> +(``sources/meta-freescale/EULA``).
>
>  The |project_name| handles the EULA acceptance by prompting user to read
> and  accept EULA text at the very first environment setup. It is user's
> duty to read @@ -107,8 +107,8 @@ Machine Maintainers
>  ---
>
>  Since |project_name| Release 1.6 (Da

Re: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to version 2.2 (Morty)

2016-11-10 Thread Fabio Berton
Hi Thomas,

Check this link https://patchwork.openembedded.org/patch/133740/

I don't know what happened, but my patch is fine and your answer has line
breaks. Anyway, check patchwork link.

On Thu, Nov 10, 2016 at 8:03 AM, Thomas Thorne 
wrote:

> I am almost certain this line change breaks the Python code:
>
> --- a/scripts/bitbake-metadata2doc.py
> +++ b/scripts/bitbake-metadata2doc.py
> @@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data,
> out_dir):
>  kernel = board_data['recipes']['virtual/kernel']
>  recipe = kernel['recipe']
>  recipe_file = kernel['file']
> -if (('/sources/meta-fsl-arm/' in recipe_file) or \
> -('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
> +if (('/sources/meta-freescale/' in recipe_file) or \
> +('/sources/meta-freescale-3rdparty/' in recipe_file))
> + and \
>
> That looks like \ are used for line continuation but an extra new line is
> being added before the "and \"
>
>
> I am more confident about the .sh files:
> $machines; do
>  cd $yocto_dir
>  echo "Using $build_dir as build directory"
> -MACHINE=$machine . ./setup-environment `basename $build_dir`
> +MACHINE=$machine DISTRO=fslc-framebuffer . ./setup-environment
> + `basename $build_dir`
>
> -MACHINE=$machine python3 $anchor/extract-bitbake-metadata.py \
> +MACHINE=$machine DISTRO=fslc-framebuffer python3
> + $anchor/extract-bitbake-metadata.py \
>  $anchor/$marshalled_data_file \
>  apptrk \
>  barebox \
>
> That will behave differently.
>
> Thomas A. F. Thorne  Software Engineer  Net2Edge
>
> -Original Message-
> From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-
> boun...@yoctoproject.org] On Behalf Of Fabio Berton
> Sent: 09 November 2016 17:30
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to
> version 2.2 (Morty)
>
>   - Update FSL layers names
>   - Add DISTRO and MACHINE to run setup-environment
>   - Update Yocto Project Bugzilla url address
>
> Signed-off-by: Fabio Berton 
> ---
>  scripts/bitbake-metadata2doc.py | 18 +-
> scripts/bitbake-metadata2doc.sh |  6 +++---
> scripts/generate-bugs-table.py  |  6 +++---
>  scripts/output-machine-list |  2 +-
>  scripts/test-sheet-parser.py|  2 +-
>  5 files changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/scripts/bitbake-metadata2doc.py b/scripts/bitbake-metadata2doc.py
> index 98af3f8..001d59d 100644
> --- a/scripts/bitbake-metadata2doc.py
> +++ b/scripts/bitbake-metadata2doc.py
> @@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data,
> out_dir):
>  kernel = board_data['recipes']['virtual/kernel']
>  recipe = kernel['recipe']
>  recipe_file = kernel['file']
> -if (('/sources/meta-fsl-arm/' in recipe_file) or \
> -('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
> +if (('/sources/meta-freescale/' in recipe_file) or \
> +('/sources/meta-freescale-3rdparty/' in recipe_file))
> + and \
>  recipe not in kernel_recipes:
>  kernels += [[recipe, kernel['description']]]
>  kernel_recipes.append(recipe) @@ -128,8 +128,8 @@ def
> write_fsl_community_bsp_supported_bootloaders_descr(data, out_dir):
>  bootloader = board_data['recipes'][bootloader_software]
>  recipe = bootloader['recipe']
>  recipe_file = bootloader['file']
> -if (('/sources/meta-fsl-arm/' in recipe_file) or \
> -('/sources/meta-fsl-arm-extra/' in recipe_file))
> and \
> +if (('/sources/meta-freescale/' in recipe_file) or \
> +('/sources/meta-freescale-3rdparty/' in
> + recipe_file)) and \
>  recipe not in bootloader_recipes:
>  bootloaders += [[recipe, bootloader['description']]]
>  bootloader_recipes.append(recipe) @@ -305,14 +305,14
> @@ def write_soc_pkg(data, out_dir):
>
>
>  def write_maintainers_tables(data, out_dir, bsp_dir):
> -meta_fsl_arm_machines_dir = os.path.join(bsp_dir, 'sources',
> 'meta-fsl-arm', 'conf', 'machine')
> -meta_fsl_arm_extra_machines_dir = os.path.join(bsp_dir, 'sources',
> 'meta-fsl-arm-extra', 'conf', 'machine')
> -get_maintainer_script = os.path.join(bsp_dir, 'sources',
> 'meta-fsl-arm', 'scripts', 'get-maintainer')
> +meta_freescale_machines_dir = os.path.join(bsp_dir, 'sources',
> 'meta-freescale', 'conf', 'machine')
> +meta_freescale_3rdparty_machines_dir = os.path.join(bsp_dir,
> 'sources', 'meta-freescale-3rdparty', 'conf', 'machine')
> +get_maintainer_script = os.path.join(bsp_dir, 'sources',
> + 'meta-freescale', 'scripts', 'get-maintainer')
>  try:
>  get_maintainer_pipe = subprocess.Popen([get_maintainer_script,
>   

Re: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 2.2 (Morty)

2016-11-10 Thread Fabio Berton
Same problem here, please check
https://patchwork.openembedded.org/patch/133741/

On Thu, Nov 10, 2016 at 8:01 AM, Thomas Thorne 
wrote:

> More lines split where it seems they should not be.  I am only eyeballing
> these.  Maybe I am mistaken and new lines in .rst files do not matter?
>
> Example from this file would include:
> -* Packages `needed  docs/1.5.1/ref-manual/ref-manual.html#required-packages-
> for-the-host-development-system>`_
> +* Packages `needed
> + +quired-packages-for-the-host-development-system>`_
>
>
>
> Thomas A. F. Thorne  Software Engineer  Net2Edge
>
> -Original Message-
> From: meta-freescale-boun...@yoctoproject.org [mailto:meta-freescale-
> boun...@yoctoproject.org] On Behalf Of Fabio Berton
> Sent: 09 November 2016 17:30
> To: meta-freescale@yoctoproject.org
> Subject: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version
> to 2.2 (Morty)
>
>   - Update documentation url address to use current realease
>   - Update Yocto Project Bugzilla url address
>   - Update copyright year
>
> Signed-off-by: Fabio Berton 
> ---
>  FAQ/source/all.rst | 6 +++---
>  FAQ/source/conf.py | 6 +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/FAQ/source/all.rst b/FAQ/source/all.rst index
> 7fc4532..a41aea9 100644
> --- a/FAQ/source/all.rst
> +++ b/FAQ/source/all.rst
> @@ -116,9 +116,9 @@ How do I create a layer?
>  What are the host packages needed for Yocto Project?
>  
>
> -* Make sure your Linux host / distribution is `supported <
> http://www.yoctoproject.org/docs/1.5.1/ref-manual/ref-
> manual.html#detailed-supported-distros>`_ by the Yocto Project.
> +* Make sure your Linux host / distribution is `supported <
> http://www.yoctoproject.org/docs/current/ref-manual/ref-
> manual.html#detailed-supported-distros>`_ by the Yocto Project.
>
> -* Packages `needed  docs/1.5.1/ref-manual/ref-manual.html#required-packages-
> for-the-host-development-system>`_
> +* Packages `needed
> + +quired-packages-for-the-host-development-system>`_
>
>
>  How can I save space after a build?
> @@ -135,7 +135,7 @@ How can I save space after a build?
>  Where do I check for known bugs?
>  
>
> -The known bugs are tracked using `Yocto Project Bugzilla <
> https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-fsl-arm>`_
> +The known bugs are tracked using `Yocto Project Bugzilla
> + +le>`_
>
>
>  Are there prebuilt images available?
> diff --git a/FAQ/source/conf.py b/FAQ/source/conf.py index
> 00eaebd..b9bfce6 100644
> --- a/FAQ/source/conf.py
> +++ b/FAQ/source/conf.py
> @@ -41,16 +41,16 @@ master_doc = 'index'
>
>  # General information about the project.
>  project = u'Freescale Community BSP FAQ'
> -copyright = u'2014, Freescale Community BSP Team'
> +copyright = u'2014-2016, Freescale Community BSP Team'
>
>  # The version info for the project you're documenting, acts as
> replacement for  # |version| and |release|, also used in various other
> places throughout the  # built documents.
>  #
>  # The short X.Y version or version name if applicable.
> -version = 'krogoth'
> +version = 'morty'
>  # The full version, including alpha/beta/rc tags.
> -release = '2.1'
> +release = '2.2'
>
>  # The language for content autogenerated by Sphinx. Refer to
> documentation  # for a list of supported languages.
> --
> 2.1.4
>
> --
> ___
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
>
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


[meta-freescale] is git.freescale.com down?

2016-11-10 Thread Christian Ege
Hi,

it looks like the Freescale (NXP) public git is down. This is for
example used in
https://github.com/Freescale/meta-freescale/blob/c663fed590b3dd5c0f43e0bbd1a457a61a488a0e/recipes-bsp/firmware-imx/firmware-imx.inc

Will it recover or will they move?

Best,
Christian
-- 
http://ch.ege.io/
-- 
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] is git.freescale.com down?

2016-11-10 Thread Otavio Salvador
On Thu, Nov 10, 2016 at 10:01 AM, Christian Ege  wrote:
> it looks like the Freescale (NXP) public git is down. This is for
> example used in
> https://github.com/Freescale/meta-freescale/blob/c663fed590b3dd5c0f43e0bbd1a457a61a488a0e/recipes-bsp/firmware-imx/firmware-imx.inc
>
> Will it recover or will they move?

This is likely due the NXP merge ongoing; I notified some people about
it and asked for it to be fixed.

Thanks for letting us know.

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


Re: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
Hi Fabio,

It did looks so systemic that something automated must have been doing it.  I 
am pleased to confirm that the patch you linked to looks fine.


Ø  I think Gmail breaks the lines
I am not using Gmail?

Thomas A. F. Thorne  Software Engineer  
Net2Edge

From: Fabio Berton [mailto:fabio.ber...@ossystems.com.br]
Sent: 10 November 2016 10:53
To: Thomas Thorne 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 
2.2 (Morty)


​Hi ​Thomas!

On Thu, Nov 10, 2016 at 7:58 AM, Thomas Thorne 
mailto:thomas.tho...@net2edge.com>> wrote:
Lots of the changes in this patch seem to add extra line breaks to example 
commands.  E.g.
1. To have access to Yocto scripts, run the setup environment script under your 
``BASE``
directory::

-fsl-community-bsp $ . setup-environment build
+fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer
+ source setup-environment build

Will that extra line break not stop copy and pasting of example commands from 
working?
​My git log doesn't show line break, and final PDF ​
neither
​.
I think Gmail breaks the lines, look patch here 
https://patchwork.openembedded.org/patch/133744/

​
Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: 
meta-freescale-boun...@yoctoproject.org
 
[mailto:meta-freescale-boun...@yoctoproject.org]
 On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 2.2 
(Morty)

  - Update FSL layers names
  - Add DISTRO and MACHINE to run setup-environment
  - Update devtasks, nsteps and metadata to use Morty branch and distro
fslc-framebuffer
  - Remove qt-in-use-image and qte-in-use-image from image list
  - Add FSLC distros description
  - Use DISTRO fslc-wayland in weston example

Signed-off-by: Fabio Berton 
mailto:fabio.ber...@ossystems.com.br>>
---
 user-guide/source/conf.py |  4 +-
 user-guide/source/devtasks.rst| 58 ---
 user-guide/source/distro-list.inc |  4 ++
 user-guide/source/distros.rst | 10 
 user-guide/source/image-list.inc  |  2 -
 user-guide/source/index.rst   |  1 +
 user-guide/source/metadata.rst| 99 ---
 user-guide/source/nsteps.rst  |  6 +--
 user-guide/source/weston.rst  | 13 +++--
 9 files changed, 121 insertions(+), 76 deletions(-)  create mode 100644 
user-guide/source/distro-list.inc  create mode 100644 
user-guide/source/distros.rst

diff --git a/user-guide/source/conf.py b/user-guide/source/conf.py index 
7c9f536..850f1ce 100644
--- a/user-guide/source/conf.py
+++ b/user-guide/source/conf.py
@@ -48,9 +48,9 @@ copyright = u'2014, Freescale Community BSP Team'
 # built documents.
 #
 # The short X.Y version or version name if applicable.
-version = 'krogoth'
+version = 'morty'
 # The full version, including alpha/beta/rc tags.
-release = '2.1'
+release = '2.2'

 # The language for content autogenerated by Sphinx. Refer to documentation  # 
for a list of supported languages.
diff --git a/user-guide/source/devtasks.rst b/user-guide/source/devtasks.rst 
index 2c195d2..dfd7675 100644
--- a/user-guide/source/devtasks.rst
+++ b/user-guide/source/devtasks.rst
@@ -15,7 +15,7 @@ before proceeding check the main `Layer Index`_.
 1. To have access to Yocto scripts, run the setup environment script under 
your ``BASE``
directory::

-fsl-community-bsp $ . setup-environment build
+fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer
+ source setup-environment build

 2. Move to the place you want to create your layer and choose a name
(e.g. ``fsl-custom``)::
@@ -50,14 +50,14 @@ package development. However, if the need does arise, 
follow the steps listed be  that you have already built the package you want to 
patch.

 * Create the patch or patches. In this example we are patching the
-  Linux kernel for `wandboard-dual machine `_;
+  Linux kernel for `wandboard machine `_;
   in other words, the value of ``MACHINE`` in ``build/conf/local.conf`` is
-  ``MACHINE ??= 'wandboard-dual'``
+  ``MACHINE ??= 'wandboard'``

 * If you already have the patches available, make sure they can be applied 
cleanly with
   the commands ``git apply --check ``. To create new or additional 
patches::

-build $ cd 
tmp/work/wandboard_dual-poky-linux-gnueabi/linux-wandboard/3.0.35-r0/git
+build $ cd
+ tmp/work/wandboard-fslc-linux-gnueabi/linux-wandboard/4.1.15-r0/git
 # Edit any files you want to change
 $ git add   ..
 $ git commit -s -m '' # Create the commit
@@ -69,8 +69,8 @@ that you have already built the package you want to patch.
   and the ```.bbfile``::


[meta-freescale] [3rdparty][PATCH 2/2] linux-wandboard-rt: Upgrade to version 4.1.15

2016-11-10 Thread Dominic Sacré
Upgrade recipe based on the latest versions of linux-wandboard and
linux-fslc-imx-rt.

Signed-off-by: Dominic Sacré 
---
 .../0002-fix-build-with-rt-enabled.patch   |  19 -
 .../0001-fix-build.patch   |   0
 .../0002-no-split-ptlocks.patch}   |   0
 ...around-CPU-stalls-in-the-imx-sdma-driver.patch} |  53 ++-
 .../Fix-gcc6-build-error-in-Vivante-driver.patch   |  41 ++
 .../Fix-the-compile-issue-under-gcc6.patch |  92 
 .../defconfig  | 470 +
 ...-rt_3.14.28.bb => linux-wandboard-rt_4.1.15.bb} |  21 +-
 8 files changed, 291 insertions(+), 405 deletions(-)
 delete mode 100644 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
 rename recipes-kernel/linux/{linux-wandboard-rt-3.14.28 => 
linux-wandboard-rt-4.1.15}/0001-fix-build.patch (100%)
 rename 
recipes-kernel/linux/{linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch => 
linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch} (100%)
 rename 
recipes-kernel/linux/{linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
 => 
linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch}
 (69%)
 create mode 100644 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch
 create mode 100644 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 rename recipes-kernel/linux/{linux-wandboard-rt-3.14.28 => 
linux-wandboard-rt-4.1.15}/defconfig (20%)
 rename recipes-kernel/linux/{linux-wandboard-rt_3.14.28.bb => 
linux-wandboard-rt_4.1.15.bb} (37%)

diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
 
b/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
deleted file mode 100644
index 83652c9..000
--- 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix build error when PREEMPT_RT_FULL is enabled
-
-Upstream-Status: Pending
-
-Signed-off-by: Jacob Kroon 
-
-Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-===
 git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-+++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-@@ -3266,7 +3266,7 @@ gckOS_CreateMutex(
- gcmkONERROR(gckOS_Allocate(Os, gcmSIZEOF(struct mutex), Mutex));
- 
- /* Initialize the mutex. */
--mutex_init(*Mutex);
-+mutex_init((struct mutex*)*Mutex);
- 
- /* Return status. */
- gcmkFOOTER_ARG("*Mutex=0x%X", *Mutex);
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0001-fix-build.patch 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0001-fix-build.patch
similarity index 100%
rename from recipes-kernel/linux/linux-wandboard-rt-3.14.28/0001-fix-build.patch
rename to recipes-kernel/linux/linux-wandboard-rt-4.1.15/0001-fix-build.patch
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch
similarity index 100%
rename from 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch
rename to 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
similarity index 69%
rename from 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
rename to 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
index da36213..93200c6 100644
--- 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
+++ 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
@@ -1,9 +1,16 @@
-Work around CPU stalls in the imx-sdma driver by replacing spinlocks
-with raw spinlocks. This prevents preemption during the spinlock's
-critical section, as is the case on non PREEMPT_RT kernels.
+From f7cba8d49a980909cea48c5b9dcfefc6e13fef0b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dominic=20Sacr=C3=A9?= 
+Date: Fri, 29 Apr 2016 15:48:40 +0200
+Subject: [PATCH] Work around CPU stalls in the imx-sdma driver
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Replace spinlocks with raw spinlocks. This prevents preemption during
+the spinlock's critical section, as is the case on non PREEMPT_RT kernels.
 
 Without this patch, the following error can occur, for example when
-using the audio codec on an iMX6Q Sabre SD board:
+using the audio codec on an i.MX6Q SabreSD board:
 
 INFO: rcu_preempt self-detected s

[meta-freescale] [PATCH] linux-fslc-imx-rt: Upgrade to 4.1-2.0.x GA

2016-11-10 Thread Dominic Sacré
Upgrade to revision 176c482, and apply patch 4.1.35-rt41 on top of it.
Refresh defconfig for the new kernel version.

Signed-off-by: Dominic Sacré 
---
 recipes-kernel/linux/linux-fslc-imx-rt/defconfig  | 15 +--
 ...imx-rt_4.1-1.0.x.bb => linux-fslc-imx-rt_4.1-2.0.x.bb} | 12 ++--
 2 files changed, 15 insertions(+), 12 deletions(-)
 rename recipes-kernel/linux/{linux-fslc-imx-rt_4.1-1.0.x.bb => 
linux-fslc-imx-rt_4.1-2.0.x.bb} (70%)

diff --git a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig 
b/recipes-kernel/linux/linux-fslc-imx-rt/defconfig
index 05d15d0..34ee14d 100644
--- a/recipes-kernel/linux/linux-fslc-imx-rt/defconfig
+++ b/recipes-kernel/linux/linux-fslc-imx-rt/defconfig
@@ -25,7 +25,7 @@ CONFIG_SOC_IMX53=y
 CONFIG_SOC_IMX6Q=y
 CONFIG_SOC_IMX6SL=y
 CONFIG_SOC_IMX6SX=y
-CONFIG_SOC_IMX6UL=y
+CONFIG_SOC_IMX6ULL=y
 CONFIG_SOC_IMX7D=y
 CONFIG_SOC_VF610=y
 # CONFIG_SWP_EMULATE is not set
@@ -145,10 +145,10 @@ CONFIG_USB_RTL8150=m
 CONFIG_USB_RTL8152=m
 CONFIG_USB_USBNET=m
 CONFIG_USB_NET_CDC_EEM=m
-CONFIG_BCMDHD=m
+CONFIG_BCMDHD=y
 CONFIG_BCMDHD_SDIO=y
-CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/fw_bcmdhd.bin"
-CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/bcmdhd.cal"
+CONFIG_BCMDHD_FW_PATH="/lib/firmware/bcm/ZP_BCM4339/fw_bcmdhd.bin"
+CONFIG_BCMDHD_NVRAM_PATH="/lib/firmware/bcm/ZP_BCM4339/bcmdhd.ZP.OOB.cal"
 # CONFIG_RTL_CARDS is not set
 # CONFIG_INPUT_MOUSEDEV_PSAUX is not set
 CONFIG_INPUT_EVDEV=y
@@ -179,6 +179,7 @@ CONFIG_SERIAL_IMX_CONSOLE=y
 CONFIG_SERIAL_FSL_LPUART=y
 CONFIG_SERIAL_FSL_LPUART_CONSOLE=y
 CONFIG_FSL_OTP=y
+CONFIG_HW_RANDOM_IMX_RNG=y
 # CONFIG_I2C_COMPAT is not set
 CONFIG_I2C_CHARDEV=y
 # CONFIG_I2C_HELPER_AUTO is not set
@@ -255,6 +256,8 @@ CONFIG_FB_MXC_SYNC_PANEL=y
 CONFIG_FB_MXC_MIPI_DSI=y
 CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
 CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
+CONFIG_FB_MXC_TRULY_PANEL_TFT3P5079E=y
+CONFIG_FB_MXC_TRULY_PANEL_TFT3P5581E=y
 CONFIG_FB_MXC_LDB=y
 CONFIG_FB_MXC_HDMI=y
 CONFIG_FB_MXS_SII902X=y
@@ -286,6 +289,7 @@ CONFIG_SND_SOC_IMX_SPDIF=y
 CONFIG_SND_SOC_IMX_MC13783=y
 CONFIG_SND_SOC_IMX_SI476X=y
 CONFIG_SND_SOC_IMX_HDMI=y
+CONFIG_SND_SIMPLE_CARD=y
 CONFIG_USB=y
 CONFIG_USB_OTG_WHITELIST=y
 CONFIG_USB_OTG_FSM=y
@@ -403,7 +407,6 @@ CONFIG_MAGIC_SYSRQ=y
 CONFIG_SECURITYFS=y
 CONFIG_CRYPTO_USER=y
 CONFIG_CRYPTO_TEST=m
-CONFIG_CRYPTO_CBC=y
 CONFIG_CRYPTO_CTS=y
 CONFIG_CRYPTO_LRW=y
 CONFIG_CRYPTO_XTS=y
@@ -414,7 +417,6 @@ CONFIG_CRYPTO_RMD128=y
 CONFIG_CRYPTO_RMD160=y
 CONFIG_CRYPTO_RMD256=y
 CONFIG_CRYPTO_RMD320=y
-CONFIG_CRYPTO_SHA1=y
 CONFIG_CRYPTO_SHA512=y
 CONFIG_CRYPTO_TGR192=y
 CONFIG_CRYPTO_WP512=y
@@ -427,6 +429,7 @@ CONFIG_CRYPTO_DEV_FSL_CAAM=y
 CONFIG_CRYPTO_DEV_FSL_CAAM_SM=y
 CONFIG_CRYPTO_DEV_FSL_CAAM_SM_TEST=y
 CONFIG_CRYPTO_DEV_FSL_CAAM_SECVIO=y
+CONFIG_CRYPTO_DEV_MXS_DCP=y
 CONFIG_CRC_CCITT=m
 CONFIG_CRC_T10DIF=y
 CONFIG_CRC7=m
diff --git a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-1.0.x.bb 
b/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb
similarity index 70%
rename from recipes-kernel/linux/linux-fslc-imx-rt_4.1-1.0.x.bb
rename to recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb
index 7af29de..fbb32d8 100644
--- a/recipes-kernel/linux/linux-fslc-imx-rt_4.1-1.0.x.bb
+++ b/recipes-kernel/linux/linux-fslc-imx-rt_4.1-2.0.x.bb
@@ -1,5 +1,5 @@
 SUMMARY = "Realtime version of the FSL Community BSP i.MX6 Linux kernel with 
backported features and fixes"
-DESCRIPTION = "Linux kernel based on NXP 4.1.15-1.0.0 GA release, used by FSL 
Community BSP in order to \
+DESCRIPTION = "Linux kernel based on NXP 4.1-2.0.0 GA release, used by FSL 
Community BSP in order to \
 provide support for i.MX6 based platforms and include official Linux kernel 
stable updates, backported \
 features and fixes coming from the vendors, kernel community or FSL Community 
itself. \
 In addition, this kernel has the realtime patch (PREEMPT_RT) applied."
@@ -8,18 +8,18 @@ include linux-fslc.inc
 
 PV .= "+git${SRCPV}"
 
-SRCBRANCH = "4.1-1.0.x-imx"
-SRCREV = "445b81a703861b3c146ccd074cb5c14a5363c6d3"
+SRCBRANCH = "4.1-2.0.x-imx"
+SRCREV = "176c482f56cd9c523829ceb6bce5c28d3cc6d1c0"
 
 SRC_URI += " \
-
https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/older/patch-4.1.19-rt22.patch.gz;name=patch-4.1.19-rt22.patch
 \
+
https://www.kernel.org/pub/linux/kernel/projects/rt/4.1/older/patch-4.1.35-rt41.patch.gz;name=rt-patch
 \
 file://0001-fix-build.patch \
 file://0002-no-split-ptlocks.patch \
 file://0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch \
 "
 
-SRC_URI[patch-4.1.19-rt22.patch.md5sum] = "20a893d189c619ea3e7489f870478e7a"
-SRC_URI[patch-4.1.19-rt22.patch.sha256sum] = 
"81a6429eb03f085e7f58a669eb23719ae14876c14fe244f5aac909c28ee4104e"
+SRC_URI[rt-patch.md5sum] = "6dd1193203cdf6a1a4758fc8baf07a4a"
+SRC_URI[rt-patch.sha256sum] = 
"427e736022e59f83c9489eda889559fcd4fe4abb5646570ade32f2128f2fa725"
 
 python () {
 using_builtin_driver = 
(d.getVar("MACHINE_USES_VIVANTE_KERNEL_DRIVER_MODULE", True) or "") != "1"
-- 

[meta-freescale] [3rdparty][PATCH 1/2] linux-wandboard: Add patch to fix build error with gcc6

2016-11-10 Thread Dominic Sacré
Without this patch, gcc6 fails to build the Vivante driver with
-Werror=misleading-indentation.

Signed-off-by: Dominic Sacré 
---
 .../Fix-gcc6-build-error-in-Vivante-driver.patch   | 41 ++
 recipes-kernel/linux/linux-wandboard_4.1.15.bb |  5 ++-
 2 files changed, 45 insertions(+), 1 deletion(-)
 create mode 100644 
recipes-kernel/linux/linux-wandboard-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch

diff --git 
a/recipes-kernel/linux/linux-wandboard-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch
 
b/recipes-kernel/linux/linux-wandboard-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch
new file mode 100644
index 000..5718f9a
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-wandboard-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch
@@ -0,0 +1,41 @@
+From 4555b623e15150ca31ee327232b1862227b14565 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dominic=20Sacr=C3=A9?= 
+Date: Thu, 27 Oct 2016 22:35:04 +0200
+Subject: [PATCH] Fix gcc6 build error in Vivante driver
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+| gc_hal_kernel_platform_imx6q14.c: In function 'gckPLATFORM_AdjustParam':
+| gc_hal_kernel_platform_imx6q14.c:478:3: error: this 'if' clause does not 
guard... [-Werror=misleading-indentation]
+|if(Args->physSize == 0)
+|^~
+| gc_hal_kernel_platform_imx6q14.c:481:5: note: ...this statement, but the 
latter is misleadingly indented as if it is guarded by the 'if'
+|  return gcvSTATUS_OK;
+|  ^~
+
+Signed-off-by: Dominic Sacré 
+
+Upstream-Status: Pending
+---
+ .../linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c  | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git 
a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
 
b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+index e436ada..3d25eb9 100644
+--- 
a/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
 
b/drivers/mxc/gpu-viv/hal/os/linux/kernel/platform/freescale/gc_hal_kernel_platform_imx6q14.c
+@@ -475,8 +475,8 @@ gckPLATFORM_AdjustParam(
+ 
+ Args->gpu3DMinClock = initgpu3DMinClock;
+ 
+-  if(Args->physSize == 0)
+-Args->physSize = 0x8000;
++if(Args->physSize == 0)
++  Args->physSize = 0x8000;
+ 
+ return gcvSTATUS_OK;
+ }
+-- 
+2.10.1
+
diff --git a/recipes-kernel/linux/linux-wandboard_4.1.15.bb 
b/recipes-kernel/linux/linux-wandboard_4.1.15.bb
index 0a41013..847fa58 100644
--- a/recipes-kernel/linux/linux-wandboard_4.1.15.bb
+++ b/recipes-kernel/linux/linux-wandboard_4.1.15.bb
@@ -12,6 +12,9 @@ SRCBRANCH = "wandboard_imx_4.1.15_1.1.0_ga"
 SRCREV = "8b015473d34019c3e093c257861e9c6f4930400b"
 LOCALVERSION = "_1.1.0_ga-wandboard"
 
-SRC_URI += "file://Fix-the-compile-issue-under-gcc6.patch"
+SRC_URI += "\
+file://Fix-the-compile-issue-under-gcc6.patch \
+file://Fix-gcc6-build-error-in-Vivante-driver.patch \
+"
 
 COMPATIBLE_MACHINE = "(wandboard)"
-- 
2.10.2

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


Re: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
Patch at link looks OK.

I have not eyeballed all 5 patches.

All 5 look wrong in the text emails.
All 5 look fine at the links provided by Fario.

Thomas A. F. Thorne  Software Engineer  
Net2Edge

From: Fabio Berton [mailto:fabio.ber...@ossystems.com.br]
Sent: 10 November 2016 11:57
To: Thomas Thorne 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 
2.2 (Morty)

Same problem here, please check https://patchwork.openembedded.org/patch/133741/

On Thu, Nov 10, 2016 at 8:01 AM, Thomas Thorne 
mailto:thomas.tho...@net2edge.com>> wrote:
More lines split where it seems they should not be.  I am only eyeballing 
these.  Maybe I am mistaken and new lines in .rst files do not matter?

Example from this file would include:
-* Packages `needed 
`_
+* Packages `needed
+`_



Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: 
meta-freescale-boun...@yoctoproject.org
 
[mailto:meta-freescale-boun...@yoctoproject.org]
 On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 3/5] FAQ: Update version to 2.2 
(Morty)

  - Update documentation url address to use current realease
  - Update Yocto Project Bugzilla url address
  - Update copyright year

Signed-off-by: Fabio Berton 
mailto:fabio.ber...@ossystems.com.br>>
---
 FAQ/source/all.rst | 6 +++---
 FAQ/source/conf.py | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/FAQ/source/all.rst b/FAQ/source/all.rst index 7fc4532..a41aea9 
100644
--- a/FAQ/source/all.rst
+++ b/FAQ/source/all.rst
@@ -116,9 +116,9 @@ How do I create a layer?
 What are the host packages needed for Yocto Project?
 

-* Make sure your Linux host / distribution is `supported 
`_
 by the Yocto Project.
+* Make sure your Linux host / distribution is `supported 
`_
 by the Yocto Project.

-* Packages `needed 
`_
+* Packages `needed
+`_


 How can I save space after a build?
@@ -135,7 +135,7 @@ How can I save space after a build?
 Where do I check for known bugs?
 

-The known bugs are tracked using `Yocto Project Bugzilla 
`_
+The known bugs are tracked using `Yocto Project Bugzilla
+`_


 Are there prebuilt images available?
diff --git a/FAQ/source/conf.py b/FAQ/source/conf.py index 00eaebd..b9bfce6 
100644
--- a/FAQ/source/conf.py
+++ b/FAQ/source/conf.py
@@ -41,16 +41,16 @@ master_doc = 'index'

 # General information about the project.
 project = u'Freescale Community BSP FAQ'
-copyright = u'2014, Freescale Community BSP Team'
+copyright = u'2014-2016, Freescale Community BSP Team'

 # The version info for the project you're documenting, acts as replacement for 
 # |version| and |release|, also used in various other places throughout the  # 
built documents.
 #
 # The short X.Y version or version name if applicable.
-version = 'krogoth'
+version = 'morty'
 # The full version, including alpha/beta/rc tags.
-release = '2.1'
+release = '2.2'

 # The language for content autogenerated by Sphinx. Refer to documentation  # 
for a list of supported languages.
--
2.1.4

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

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


Re: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
Lots of the changes in this patch seem to add extra line breaks to example 
commands.  E.g. 
1. To have access to Yocto scripts, run the setup environment script under your 
``BASE``
directory::
 
-fsl-community-bsp $ . setup-environment build
+fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer 
+ source setup-environment build

Will that extra line break not stop copy and pasting of example commands from 
working? 

Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 5/5] UG: Update version to 2.2 
(Morty)

  - Update FSL layers names
  - Add DISTRO and MACHINE to run setup-environment
  - Update devtasks, nsteps and metadata to use Morty branch and distro
fslc-framebuffer
  - Remove qt-in-use-image and qte-in-use-image from image list
  - Add FSLC distros description
  - Use DISTRO fslc-wayland in weston example

Signed-off-by: Fabio Berton 
---
 user-guide/source/conf.py |  4 +-
 user-guide/source/devtasks.rst| 58 ---
 user-guide/source/distro-list.inc |  4 ++
 user-guide/source/distros.rst | 10 
 user-guide/source/image-list.inc  |  2 -
 user-guide/source/index.rst   |  1 +
 user-guide/source/metadata.rst| 99 ---
 user-guide/source/nsteps.rst  |  6 +--
 user-guide/source/weston.rst  | 13 +++--
 9 files changed, 121 insertions(+), 76 deletions(-)  create mode 100644 
user-guide/source/distro-list.inc  create mode 100644 
user-guide/source/distros.rst

diff --git a/user-guide/source/conf.py b/user-guide/source/conf.py index 
7c9f536..850f1ce 100644
--- a/user-guide/source/conf.py
+++ b/user-guide/source/conf.py
@@ -48,9 +48,9 @@ copyright = u'2014, Freescale Community BSP Team'
 # built documents.
 #
 # The short X.Y version or version name if applicable. 
-version = 'krogoth'
+version = 'morty'
 # The full version, including alpha/beta/rc tags.
-release = '2.1'
+release = '2.2'
 
 # The language for content autogenerated by Sphinx. Refer to documentation  # 
for a list of supported languages.
diff --git a/user-guide/source/devtasks.rst b/user-guide/source/devtasks.rst 
index 2c195d2..dfd7675 100644
--- a/user-guide/source/devtasks.rst
+++ b/user-guide/source/devtasks.rst
@@ -15,7 +15,7 @@ before proceeding check the main `Layer Index`_.
 1. To have access to Yocto scripts, run the setup environment script under 
your ``BASE``
directory::
 
-fsl-community-bsp $ . setup-environment build
+fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer 
+ source setup-environment build
 
 2. Move to the place you want to create your layer and choose a name
(e.g. ``fsl-custom``)::
@@ -50,14 +50,14 @@ package development. However, if the need does arise, 
follow the steps listed be  that you have already built the package you want to 
patch.
 
 * Create the patch or patches. In this example we are patching the
-  Linux kernel for `wandboard-dual machine `_;
+  Linux kernel for `wandboard machine `_;
   in other words, the value of ``MACHINE`` in ``build/conf/local.conf`` is
-  ``MACHINE ??= 'wandboard-dual'``
+  ``MACHINE ??= 'wandboard'``
 
 * If you already have the patches available, make sure they can be applied 
cleanly with
   the commands ``git apply --check ``. To create new or additional 
patches::
 
-build $ cd 
tmp/work/wandboard_dual-poky-linux-gnueabi/linux-wandboard/3.0.35-r0/git
+build $ cd 
+ tmp/work/wandboard-fslc-linux-gnueabi/linux-wandboard/4.1.15-r0/git
 # Edit any files you want to change
 $ git add   ..
 $ git commit -s -m '' # Create the commit
@@ -69,8 +69,8 @@ that you have already built the package you want to patch.
   and the ```.bbfile``::
 
 sources $ mkdir -p \
-   
meta-fsl-custom/recipes-kernel/linux/linux-wandboard-3.0.35/
-sources $ cat > 
meta-fsl-custom/recipes-kernel/linux/linux-wandboard_3.0.35.bbappend << EOF
+   
meta-fsl-custom/recipes-kernel/linux/linux-wandboard-4.1.15/
+sources $ cat > 
+ meta-fsl-custom/recipes-kernel/linux/linux-wandboard_4.1.15.bbappend 
+ << EOF
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 SRC_URI += "file://0001-calibrate-Add-printk-example.patch"
 PRINC := "${@int(PRINC) + 1}"
@@ -78,12 +78,12 @@ that you have already built the package you want to patch.
 
 * Move the patch to the new layer::
 
-sources $ cp 
../build/tmp/work/wandboard_dual-poky-linux-gnueabi/linux-wandboard/3.0.35-r0/git/0001-calibrate-Add-printk-example.patch
 \
- meta-fsl-custom/recipes-kernel/linux/linux-wandboard-3.0.35
+sources $ cp 
../build/tmp/work/wandboard-fsl

Re: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
Patch looks OK at that link.

Thomas A. F. Thorne  Software Engineer  
Net2Edge

From: Fabio Berton [mailto:fabio.ber...@ossystems.com.br]
Sent: 10 November 2016 10:57
To: Thomas Thorne 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 
2.2 (Morty)

Same here,
https://patchwork.openembedded.org/patch/133743/

On Thu, Nov 10, 2016 at 7:59 AM, Thomas Thorne 
mailto:thomas.tho...@net2edge.com>> wrote:
More strange new-line additions here too:

diff --git a/release-notes/source/known-issues.rst 
b/release-notes/source/known-issues.rst
index 71e71ed..0d34019 100644
--- a/release-notes/source/known-issues.rst
+++ b/release-notes/source/known-issues.rst
@@ -40,7 +40,7 @@ Known Issues
Open

In order to see the current bug list, please use following URL:
-   https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-fsl-arm
+
+ https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-freesca
+ le

This also removes an indent.  Was an editor trying to automcatically fit C/C++ 
styling to non-source code?

Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: 
meta-freescale-boun...@yoctoproject.org
 
[mailto:meta-freescale-boun...@yoctoproject.org]
 On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 2.2 
(Morty)

  - Update FSL layers names
  - Update Yocto Project Bugzilla url address
  - Add FSLC distros description

Signed-off-by: Fabio Berton 
mailto:fabio.ber...@ossystems.com.br>>
---
 release-notes/README  |  4 ++--
 release-notes/source/bsp-scope.rst| 24 
 release-notes/source/conf.py  |  6 +++---
 release-notes/source/distros.inc  |  4 
 release-notes/source/introduction.rst |  7 ---  
release-notes/source/known-issues.rst |  4 ++--  
release-notes/source/source-code.rst  |  9 +  
release-notes/source/test-results.rst |  2 +-
 release-notes/source/variables.inc|  2 +-
 9 files changed, 38 insertions(+), 24 deletions(-)  create mode 100644 
release-notes/source/distros.inc

diff --git a/release-notes/README b/release-notes/README index e1b7c9e..9665ea3 
100644
--- a/release-notes/README
+++ b/release-notes/README
@@ -37,8 +37,8 @@ Here's an example:
   $ ./bitbake-metadata2doc.sh ~/src/fsl-community-bsp ~/src/gitdm 1.5 1.6

 By default, bitbake-metadata2doc.sh collects data out of bitbake's -metadata 
for all machines it can find in the meta-fsl-arm and -meta-fsl-arm-extra 
layers.  You can restrict the machines to collect
+metadata for all machines it can find in the meta-freescale and
+meta-freescale-3erparty. You can restrict the machines to collect
 data from by setting the MACHINES variable in your environment.

 bitbake-metadata2doc.sh will write its output to release-note's `source'
diff --git a/release-notes/source/bsp-scope.rst 
b/release-notes/source/bsp-scope.rst
index f0f0f74..97ca49d 100644
--- a/release-notes/source/bsp-scope.rst
+++ b/release-notes/source/bsp-scope.rst
@@ -4,14 +4,14 @@
 ***
 The scope of the |project_name| includes the meta layers:

- * `meta-fsl-arm 
`_:
-   provides the base support and Freescale ARM reference boards;
- * `meta-fsl-arm-extra 
`_:
+ * `meta-freescale 
`_:
+   provides the base support and Freescale ARM and PPC reference
+ boards;
+ * `meta-freescale-3rdparty 
`_:
provides support for 3rd party and partner boards;
- * `meta-fsl-demos 
`_:
-   provides images recipes, demo recipes, and packagegroups used to easy the
-   development with Yocto Project.
- * `Documentation `_:
+ * `meta-freescale-distro 
`_:
+   provides distros support, images recipes, demo recipes, and packagegroups
+   used to easy the development with Yocto Project.
+ * `Documentation `_:
provides the source code for |project_name| Release Notes (RN), User Guide
(UG) and Frequently Asked Questions (FAQ)

@@ -36,8 +36,8 @@ regular open source licenses (GPLv2 for example).

 The close sourced packages are released under the Freescale License (known as  
EULA). Each package has a copy of EULA inside itself and a copy of the EULA 
text -is also included inside **meta-fsl-arm** root 

[meta-freescale] [PATCH 2/2] qe-ucode: Add B variable to SOURCE parameter in install command

2016-11-10 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 recipes-bsp/qe-ucode/qe-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-bsp/qe-ucode/qe-ucode_git.bb 
b/recipes-bsp/qe-ucode/qe-ucode_git.bb
index 8029df5..d82f732 100644
--- a/recipes-bsp/qe-ucode/qe-ucode_git.bb
+++ b/recipes-bsp/qe-ucode/qe-ucode_git.bb
@@ -21,12 +21,12 @@ python () {
 
 do_install () {
install -d ${D}/boot
-   install -m 644 ${QE_UCODE} ${D}/boot
+   install -m 644 ${B}/${QE_UCODE} ${D}/boot
 }
 
 do_deploy () {
install -d ${DEPLOYDIR}/boot
-   install -m 644 ${QE_UCODE} ${DEPLOYDIR}/boot
+   install -m 644 ${B}/${QE_UCODE} ${DEPLOYDIR}/boot
 }
 addtask deploy before do_build after do_install
 
-- 
2.1.4

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


[meta-freescale] [PATCH 1/2] fm-ucode: Add B variable to SOURCE parameter in install command

2016-11-10 Thread Fabio Berton
Signed-off-by: Fabio Berton 
---
 recipes-dpaa/fm-ucode/fm-ucode_git.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes-dpaa/fm-ucode/fm-ucode_git.bb 
b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
index 566a6e3..c6a5b8b 100644
--- a/recipes-dpaa/fm-ucode/fm-ucode_git.bb
+++ b/recipes-dpaa/fm-ucode/fm-ucode_git.bb
@@ -23,13 +23,13 @@ REGLEX_ls1043ardb = "t2080"
 do_install () {
 UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
 install -d ${D}/boot
-install -m 644 fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
+install -m 644 ${B}/fsl_fman_ucode_${UCODE}*.bin ${D}/boot/
 }
 
 do_deploy () {
 UCODE=`echo ${REGLEX} | sed -e 's,-.*$,,' -e 's,[a-zA-Z]*$,,'`
 install -d ${DEPLOYDIR}/
-install -m 644 fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}/
+install -m 644 ${B}/fsl_fman_ucode_${UCODE}*.bin ${DEPLOYDIR}
 }
 addtask deploy before do_build after do_install
 
-- 
2.1.4

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


[meta-freescale] [3rdparty][PATCH v2] linux-wandboard-rt: Upgrade to version 4.1.15

2016-11-10 Thread Dominic Sacré
Upgrade recipe based on the latest versions of linux-wandboard and
linux-fslc-imx-rt.

Signed-off-by: Dominic Sacré 
---
I accidentally sent v1 with an incorrect defconfig, so here's v2 to fix that.

 .../0002-fix-build-with-rt-enabled.patch   |  19 ---
 .../0001-fix-build.patch   |   0
 .../0002-no-split-ptlocks.patch}   |   0
 ...around-CPU-stalls-in-the-imx-sdma-driver.patch} |  53 +--
 .../Fix-gcc6-build-error-in-Vivante-driver.patch   |  41 ++
 .../Fix-the-compile-issue-under-gcc6.patch |  92 
 .../defconfig  | 160 -
 ...-rt_3.14.28.bb => linux-wandboard-rt_4.1.15.bb} |  21 +--
 8 files changed, 281 insertions(+), 105 deletions(-)
 delete mode 100644 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
 rename recipes-kernel/linux/{linux-wandboard-rt-3.14.28 => 
linux-wandboard-rt-4.1.15}/0001-fix-build.patch (100%)
 rename 
recipes-kernel/linux/{linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch => 
linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch} (100%)
 rename 
recipes-kernel/linux/{linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
 => 
linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch}
 (69%)
 create mode 100644 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/Fix-gcc6-build-error-in-Vivante-driver.patch
 create mode 100644 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/Fix-the-compile-issue-under-gcc6.patch
 rename recipes-kernel/linux/{linux-wandboard-rt-3.14.28 => 
linux-wandboard-rt-4.1.15}/defconfig (81%)
 rename recipes-kernel/linux/{linux-wandboard-rt_3.14.28.bb => 
linux-wandboard-rt_4.1.15.bb} (37%)

diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
 
b/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
deleted file mode 100644
index 83652c9..000
--- 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0002-fix-build-with-rt-enabled.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-Fix build error when PREEMPT_RT_FULL is enabled
-
-Upstream-Status: Pending
-
-Signed-off-by: Jacob Kroon 
-
-Index: git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-===
 git.orig/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-+++ git/drivers/mxc/gpu-viv/hal/os/linux/kernel/gc_hal_kernel_os.c
-@@ -3266,7 +3266,7 @@ gckOS_CreateMutex(
- gcmkONERROR(gckOS_Allocate(Os, gcmSIZEOF(struct mutex), Mutex));
- 
- /* Initialize the mutex. */
--mutex_init(*Mutex);
-+mutex_init((struct mutex*)*Mutex);
- 
- /* Return status. */
- gcmkFOOTER_ARG("*Mutex=0x%X", *Mutex);
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0001-fix-build.patch 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0001-fix-build.patch
similarity index 100%
rename from recipes-kernel/linux/linux-wandboard-rt-3.14.28/0001-fix-build.patch
rename to recipes-kernel/linux/linux-wandboard-rt-4.1.15/0001-fix-build.patch
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch
similarity index 100%
rename from 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0003-no-split-ptlocks.patch
rename to 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/0002-no-split-ptlocks.patch
diff --git 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
similarity index 69%
rename from 
recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
rename to 
recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
index da36213..93200c6 100644
--- 
a/recipes-kernel/linux/linux-wandboard-rt-3.14.28/0004-imx-sdma-channel-use-raw-spinlock.patch
+++ 
b/recipes-kernel/linux/linux-wandboard-rt-4.1.15/0003-Work-around-CPU-stalls-in-the-imx-sdma-driver.patch
@@ -1,9 +1,16 @@
-Work around CPU stalls in the imx-sdma driver by replacing spinlocks
-with raw spinlocks. This prevents preemption during the spinlock's
-critical section, as is the case on non PREEMPT_RT kernels.
+From f7cba8d49a980909cea48c5b9dcfefc6e13fef0b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Dominic=20Sacr=C3=A9?= 
+Date: Fri, 29 Apr 2016 15:48:40 +0200
+Subject: [PATCH] Work around CPU stalls in the imx-sdma driver
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Replace spinlocks with raw spinlocks. This prevents preemption during
+the spinlock's critical section, as is the case on non PREEMPT_RT kernels.
 
 Without this patch, the following error can occur, for example when
-using the audio codec on an iMX6Q Sabre

Re: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to version 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
Patch looks OK at link.

I wonder were the extra line breaks came from.  As long as the committed code 
ends up OK that is what matters but it is a bit confusing.

Thomas A. F. Thorne  Software Engineer  
Net2Edge

From: Fabio Berton [mailto:fabio.ber...@ossystems.com.br]
Sent: 10 November 2016 11:57
To: Thomas Thorne 
Cc: meta-freescale@yoctoproject.org
Subject: Re: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to 
version 2.2 (Morty)

Hi Thomas,
Check this link https://patchwork.openembedded.org/patch/133740/

I don't know what happened, but my patch is fine and your answer has line 
breaks. Anyway, check patchwork link.

On Thu, Nov 10, 2016 at 8:03 AM, Thomas Thorne 
mailto:thomas.tho...@net2edge.com>> wrote:
I am almost certain this line change breaks the Python code:

--- a/scripts/bitbake-metadata2doc.py
+++ b/scripts/bitbake-metadata2doc.py
@@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data, 
out_dir):
 kernel = board_data['recipes']['virtual/kernel']
 recipe = kernel['recipe']
 recipe_file = kernel['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in recipe_file))
+ and \

That looks like \ are used for line continuation but an extra new line is being 
added before the "and \"


I am more confident about the .sh files:
$machines; do
 cd $yocto_dir
 echo "Using $build_dir as build directory"
-MACHINE=$machine . ./setup-environment `basename $build_dir`
+MACHINE=$machine DISTRO=fslc-framebuffer . ./setup-environment
+ `basename $build_dir`

-MACHINE=$machine python3 $anchor/extract-bitbake-metadata.py \
+MACHINE=$machine DISTRO=fslc-framebuffer python3
+ $anchor/extract-bitbake-metadata.py \
 $anchor/$marshalled_data_file \
 apptrk \
 barebox \

That will behave differently.

Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: 
meta-freescale-boun...@yoctoproject.org
 
[mailto:meta-freescale-boun...@yoctoproject.org]
 On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 1/5] scripts: Update to version 
2.2 (Morty)

  - Update FSL layers names
  - Add DISTRO and MACHINE to run setup-environment
  - Update Yocto Project Bugzilla url address

Signed-off-by: Fabio Berton 
mailto:fabio.ber...@ossystems.com.br>>
---
 scripts/bitbake-metadata2doc.py | 18 +-  
scripts/bitbake-metadata2doc.sh |  6 +++---  scripts/generate-bugs-table.py  |  
6 +++---
 scripts/output-machine-list |  2 +-
 scripts/test-sheet-parser.py|  2 +-
 5 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/scripts/bitbake-metadata2doc.py b/scripts/bitbake-metadata2doc.py 
index 98af3f8..001d59d 100644
--- a/scripts/bitbake-metadata2doc.py
+++ b/scripts/bitbake-metadata2doc.py
@@ -112,8 +112,8 @@ def write_fsl_community_bsp_supported_kernels(data, 
out_dir):
 kernel = board_data['recipes']['virtual/kernel']
 recipe = kernel['recipe']
 recipe_file = kernel['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in recipe_file))
+ and \
 recipe not in kernel_recipes:
 kernels += [[recipe, kernel['description']]]
 kernel_recipes.append(recipe) @@ -128,8 +128,8 @@ def 
write_fsl_community_bsp_supported_bootloaders_descr(data, out_dir):
 bootloader = board_data['recipes'][bootloader_software]
 recipe = bootloader['recipe']
 recipe_file = bootloader['file']
-if (('/sources/meta-fsl-arm/' in recipe_file) or \
-('/sources/meta-fsl-arm-extra/' in recipe_file)) and \
+if (('/sources/meta-freescale/' in recipe_file) or \
+('/sources/meta-freescale-3rdparty/' in
+ recipe_file)) and \
 recipe not in bootloader_recipes:
 bootloaders += [[recipe, bootloader['description']]]
 bootloader_recipes.append(recipe) @@ -305,14 +305,14 @@ 
def write_soc_pkg(data, out_dir):


 def write_maintainers_tables(data, out_dir, bsp_dir):
-meta_fsl_arm_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-fsl-arm', 'conf', 'machine')
-meta_fsl_arm_extra_machines_dir = os.path.join(bsp_dir, 'sources', 
'meta-fsl-arm-extra', 'conf', 'machine')
-get_maintainer_script 

Re: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 2.2 (Morty)

2016-11-10 Thread Thomas Thorne
More strange new-line additions here too:

diff --git a/release-notes/source/known-issues.rst 
b/release-notes/source/known-issues.rst
index 71e71ed..0d34019 100644
--- a/release-notes/source/known-issues.rst
+++ b/release-notes/source/known-issues.rst
@@ -40,7 +40,7 @@ Known Issues
Open

In order to see the current bug list, please use following URL:
-   https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-fsl-arm
+   
+ https://bugzilla.yoctoproject.org/buglist.cgi?quicksearch=meta-freesca
+ le

This also removes an indent.  Was an editor trying to automcatically fit C/C++ 
styling to non-source code?  

Thomas A. F. Thorne  Software Engineer  Net2Edge

-Original Message-
From: meta-freescale-boun...@yoctoproject.org 
[mailto:meta-freescale-boun...@yoctoproject.org] On Behalf Of Fabio Berton
Sent: 09 November 2016 17:30
To: meta-freescale@yoctoproject.org
Subject: [meta-freescale] [Documentation][PATCH 4/5] RN: Update version to 2.2 
(Morty)

  - Update FSL layers names
  - Update Yocto Project Bugzilla url address
  - Add FSLC distros description

Signed-off-by: Fabio Berton 
---
 release-notes/README  |  4 ++--
 release-notes/source/bsp-scope.rst| 24 
 release-notes/source/conf.py  |  6 +++---
 release-notes/source/distros.inc  |  4 
 release-notes/source/introduction.rst |  7 ---  
release-notes/source/known-issues.rst |  4 ++--  
release-notes/source/source-code.rst  |  9 +  
release-notes/source/test-results.rst |  2 +-
 release-notes/source/variables.inc|  2 +-
 9 files changed, 38 insertions(+), 24 deletions(-)  create mode 100644 
release-notes/source/distros.inc

diff --git a/release-notes/README b/release-notes/README index e1b7c9e..9665ea3 
100644
--- a/release-notes/README
+++ b/release-notes/README
@@ -37,8 +37,8 @@ Here's an example:
   $ ./bitbake-metadata2doc.sh ~/src/fsl-community-bsp ~/src/gitdm 1.5 1.6
 
 By default, bitbake-metadata2doc.sh collects data out of bitbake's -metadata 
for all machines it can find in the meta-fsl-arm and -meta-fsl-arm-extra 
layers.  You can restrict the machines to collect
+metadata for all machines it can find in the meta-freescale and 
+meta-freescale-3erparty. You can restrict the machines to collect
 data from by setting the MACHINES variable in your environment.
 
 bitbake-metadata2doc.sh will write its output to release-note's `source'
diff --git a/release-notes/source/bsp-scope.rst 
b/release-notes/source/bsp-scope.rst
index f0f0f74..97ca49d 100644
--- a/release-notes/source/bsp-scope.rst
+++ b/release-notes/source/bsp-scope.rst
@@ -4,14 +4,14 @@
 ***
 The scope of the |project_name| includes the meta layers:
 
- * `meta-fsl-arm 
`_:
-   provides the base support and Freescale ARM reference boards;
- * `meta-fsl-arm-extra 
`_:
+ * `meta-freescale 
`_:
+   provides the base support and Freescale ARM and PPC reference 
+ boards;
+ * `meta-freescale-3rdparty 
`_:
provides support for 3rd party and partner boards;
- * `meta-fsl-demos 
`_:
-   provides images recipes, demo recipes, and packagegroups used to easy the
-   development with Yocto Project.
- * `Documentation `_:
+ * `meta-freescale-distro 
`_:
+   provides distros support, images recipes, demo recipes, and packagegroups
+   used to easy the development with Yocto Project.
+ * `Documentation `_:
provides the source code for |project_name| Release Notes (RN), User Guide
(UG) and Frequently Asked Questions (FAQ)
 
@@ -36,8 +36,8 @@ regular open source licenses (GPLv2 for example).
 
 The close sourced packages are released under the Freescale License (known as  
EULA). Each package has a copy of EULA inside itself and a copy of the EULA 
text -is also included inside **meta-fsl-arm** root dir 
-(``sources/meta-fsl-arm/EULA``).
+is also included inside **meta-freescale** root dir 
+(``sources/meta-freescale/EULA``).
 
 The |project_name| handles the EULA acceptance by prompting user to read and  
accept EULA text at the very first environment setup. It is user's duty to read 
@@ -107,8 +107,8 @@ Machine Maintainers
 ---
 
 Since |project_name| Release 1.6 (Daisy), the maintainer field in machine 
-configuration files of **meta-fsl-arm** and **meta-fsl-arm-extra** is 
mandatory -for any new board to be added.
+configuration files of **meta-freescale** and 
+**meta-freescale-3rdparty** is mandatory for any new board to be added.
 
 So now on, every new board