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 <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 <http://www.wandboard.org/>`_;
+  Linux kernel for `wandboard machine <http://www.wandboard.org/>`_;
   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-cu

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<mailto:thomas.tho...@net2edge.com>  Software Engineer  
Net2Edge<http://www.net2edge.com/>

From: Fabio Berton [mailto:fabio.ber...@ossystems.com.br]
Sent: 10 November 2016 10:53
To: Thomas Thorne <thomas.tho...@net2edge.com>
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 
<thomas.tho...@net2edge.com<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>
 
[mailto: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<mailto: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 
<fabio.ber...@ossystems.com.br<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 <http://www.wandboard.org/>`_;
+  Linux kernel for `wandboard machine <http://www.wandboard.org/>`_;
   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
 $ gi

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 <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 <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 <http://www.wandboard.org/>`_;
> +  Linux kernel for `wandboard machine <http://www.wandboard.org/>`_;
>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/recip

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

2016-11-09 Thread Fabio Berton
  - 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-fslc-linux-gnueabi/linux-wandboard/4.1.15-r0/git/0001-calibrate-Add-printk-example.patch
 \
+ meta-fsl-custom/recipes-kernel/linux/linux-wandboard-4.1.15
 
 * Setup the environment and clean previous package's build data (``sstate``)::
 
-fsl-community-bsp $ . setup-environment build
+fsl-community-bsp $ MACHINE=wandboard DISTRO=fslc-framebuffer source 
setup-environment build
 build $ bitbake -c cleansstate linux-wandboard
 
 * Compile and Deploy::
@@ -91,10 +91,10 @@ that you have already built the package you want to patch.
 build $ bitbake -f -c compile linux-wandboard # -f indicates bitbake to 
re-execute the compile task
 build $ bitbake -c deploy linux-wandboard
 
-* Insert the SD into your Host and copy the ``uImage`` into the