Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Tomas Frydrych
Hi Andrei,

On 07/02/13 14:26, Andrei Gherzan wrote:
 We are moving to userland repo. So we will build our libraries

I tried to use the userland repo about a week ago and had to revert back
to using the binary firmware; the userland tree seem to miss some bcm
headers, so it was impossible to build apps against the libs whose
includes require those.

Tomas
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] pulseaudio madness

2013-02-08 Thread Tomas Frydrych
On 06/02/13 22:43, Gary Thomas wrote:
 You might want to have a look at Guacamayo's use of PA, that uses it
 and will automatically switch output when new speakers are plugged in
 too.https://github.com/Guacamayo

 Thanks, that helped.  I've built Guacamayo for my RaspberryPi and
 can see how it's set up.
 
 That said, I've not had much luck actually getting anything out of the
 audio :-(  I tried the guacamayo-image-mex-raspberrypi.rpi-sdimg which
 came up and gave me a nice display but it wasn't obvious how to import
 media and/or make it play.  I tried copying some files manually to the
 SD card, but they wouldn't play either.

Both the guacamayo mex and audioplayer images are for UPnP appliances,
i.e., they generally expect to find content on the network, provided by
UPnP media servers (i.e., a NAS).

The mex image is not really much use on the RPi, the HW is too
underpowered to run a non-trivial GL application. But you can put the
audio files into the xuser's Music directory (or with the demo files
into /usr/share/demos/audio) and they should appear in the Music column
of MEX.


 Then I tried guacamayo-image-audioplayer-raspberrypi.rpi-sdimg and it
 was even less intuitive.

You need a UPnP media controller to interact with the audioplayer.
BubbleUPnP for Android works very well.


 Can you give me some guidance?  All I'd like to do is play a simple
 (.wav) file on y RaspberryPi using pulseaudio.

gst-launch playbin2 uri=file:///... should do that for you.


Tomas

-- 
http://sleepfive.com
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych tf+lists.yo...@r-finger.com
 wrote:

 Hi Andrei,

 On 07/02/13 14:26, Andrei Gherzan wrote:
  We are moving to userland repo. So we will build our libraries

 I tried to use the userland repo about a week ago and had to revert back
 to using the binary firmware; the userland tree seem to miss some bcm
 headers, so it was impossible to build apps against the libs whose
 includes require those.


I will push some patches this weekend. Would you give it a try?

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 03/18] poky-ref-manual: Remove folder and eclipse artifacts

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../poky-ref-manual-eclipse-customization.xsl  | 27 --
 1 file changed, 27 deletions(-)
 delete mode 100644 
documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl

diff --git 
a/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl 
b/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl
deleted file mode 100644
index 3412208..000
--- a/documentation/poky-ref-manual/poky-ref-manual-eclipse-customization.xsl
+++ /dev/null
@@ -1,27 +0,0 @@
-?xml version='1.0'?
-xsl:stylesheet
-   xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
-   xmlns=http://www.w3.org/1999/xhtml;
-   xmlns:fo=http://www.w3.org/1999/XSL/Format;
-   version=1.0
-
-  xsl:import
- 
href=http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl; 
/
-
-  xsl:param name=chunker.output.indent select='yes'/
-  xsl:param name=chunk.quietly select=1/
-  xsl:param name=chunk.first.sections select=1/
-  xsl:param name=chunk.section.depth select=10/
-  xsl:param name=use.id.as.filename select=1/
-  xsl:param name=ulink.target select='_self' /
-  xsl:param name=base.dir select='html/poky-ref-manual/'/
-  xsl:param name=html.stylesheet select='../book.css'/
-  xsl:param name=eclipse.manifest select=0/
-  xsl:param name=create.plugin.xml select=0/
-  xsl:param name=suppress.navigation select=1/
-  xsl:param name=generate.index select=0/
-  xsl:param name=chapter.autolabel select=1 /
-  xsl:param name=appendix.autolabel select=A /
-  xsl:param name=section.autolabel select=1 /
-  xsl:param name=section.label.includes.component.label select=1 /
-/xsl:stylesheet
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 02/18] Makefile: Modify DOC filter for eclipse-generate target

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Filter now explicitely lists the doc parts from which eclipse help can
be generated.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile | 12 ++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index fac2c85..773c41f 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -332,9 +332,17 @@ eclipse: eclipse-generate eclipse-resolve-links
 .PHONY : eclipse-generate eclipse-resolve-links
 
 eclipse-generate:
-ifeq ($(DOC),mega-manual)
+ifeq ($(filter $(DOC), adt-manual bsp-guide dev-manual kernel-dev 
profile-manual ref-manual yocto-project-qs),)
@echo  
-   @echo ERROR: You cannot generate eclipse documentation for the 
mega-manual
+   @echo ERROR: You can only create eclipse documentation
+   @echoof the following documentation parts:
+   @echo- adt-manual
+   @echo- bsp-guide
+   @echo- dev-manual
+   @echo- kernel-dev
+   @echo- profile-manual
+   @echo- ref-manual
+   @echo- yocto-project-qs
@echo  
 else
@echo  
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 01/18] documentation: Remove 'the' from title tags

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/adt-manual/adt-manual.xml | 2 +-
 documentation/bsp-guide/bsp-guide.xml   | 2 +-
 documentation/dev-manual/dev-manual.xml | 2 +-
 documentation/ref-manual/ref-manual.xml | 2 +-
 documentation/yocto-project-qs/yocto-project-qs.xml | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/documentation/adt-manual/adt-manual.xml 
b/documentation/adt-manual/adt-manual.xml
index 479a492..fc1bc80 100644
--- a/documentation/adt-manual/adt-manual.xml
+++ b/documentation/adt-manual/adt-manual.xml
@@ -17,7 +17,7 @@
 /mediaobject
 
 title
-The Yocto Project Application Developer's Guide
+Yocto Project Application Developer's Guide
 /title
 
 authorgroup
diff --git a/documentation/bsp-guide/bsp-guide.xml 
b/documentation/bsp-guide/bsp-guide.xml
index 1cb2001..57c8458 100644
--- a/documentation/bsp-guide/bsp-guide.xml
+++ b/documentation/bsp-guide/bsp-guide.xml
@@ -17,7 +17,7 @@
 /mediaobject
 
 title
-The Yocto Project Board Support Package Developer's Guide
+Yocto Project Board Support Package Developer's Guide
 /title
 
 authorgroup
diff --git a/documentation/dev-manual/dev-manual.xml 
b/documentation/dev-manual/dev-manual.xml
index b902aaa..1a1c5e1 100644
--- a/documentation/dev-manual/dev-manual.xml
+++ b/documentation/dev-manual/dev-manual.xml
@@ -17,7 +17,7 @@
 /mediaobject
 
 title
-The Yocto Project Development Manual
+Yocto Project Development Manual
 /title
 
 authorgroup
diff --git a/documentation/ref-manual/ref-manual.xml 
b/documentation/ref-manual/ref-manual.xml
index ba7019e..d93710b 100644
--- a/documentation/ref-manual/ref-manual.xml
+++ b/documentation/ref-manual/ref-manual.xml
@@ -17,7 +17,7 @@
 /mediaobject
 
 title
-The Yocto Project Reference Manual
+Yocto Project Reference Manual
 /title
 
 authorgroup
diff --git a/documentation/yocto-project-qs/yocto-project-qs.xml 
b/documentation/yocto-project-qs/yocto-project-qs.xml
index a1c714e..6825e2c 100644
--- a/documentation/yocto-project-qs/yocto-project-qs.xml
+++ b/documentation/yocto-project-qs/yocto-project-qs.xml
@@ -4,7 +4,7 @@
 
 article id='intro'
 articleinfo
-titleThe Yocto Project Quick Start/title
+titleYocto Project Quick Start/title
 
 copyright
 yearCOPYRIGHT_YEAR;/year
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 00/18][yocto-docs] Update eclipse help generation to support all documents

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Hi,

the generation of eclipse help files has been merged from the timo
branch to the master. Since the creation of the timo branch there have
been some changes to the master branch (e.g. new documentation,
renamed documentation).

This patch set does some cleanup for the renamed documentation and
adds eclipse help generation support to the new documentation.

01: Removes the 'the' from the document titles
02..04: Cleanup obsolete artifacts resulting from the merge
05..08: Add eclipse help generation for ref-manual
09..13: Add eclipse help generation for kernel-dev
14..18: Add eclipse help generation for profile-manual

Best regards,
Timo

Timo Mueller (18):
  documentation: Remove 'the' from title tags
  Makefile: Modify DOC filter for eclipse-generate target
  poky-ref-manual: Remove folder and eclipse artifacts
  ref-manual: Remove generated eclipse help
  .gitignore: Updated to ignore generated eclipse help of ref-manual
  Makefile: Remove duplicate parameters
  ref-manual: Added new customization file for eclipse help generation
  Makefile: logic to make all for ref-manual and cleanup
  kernel-dev: Move global parameters to customization file
  kernel-dev: Added Title tag
  .gitignore: Updated to ignore generated eclipse help of kernel-dev
  kernel-dev: Added new customization file for eclipse help generation
  Makefile: logic to make all for kernel-dev and cleanup
  profile-manual: Move global parameters to customization file
  profile-manual: Added Title tag
  .gitignore: Updated to ignore generated eclipse help of
profile-manual
  profile-manual: Added new customization file for eclipse help
generation
  Makefile: logic to make all for profile-manual and cleanup

 .gitignore |3 +
 documentation/Makefile |   53 +-
 documentation/adt-manual/adt-manual.xml|2 +-
 documentation/bsp-guide/bsp-guide.xml  |2 +-
 documentation/dev-manual/dev-manual.xml|2 +-
 .../kernel-dev/kernel-dev-customization.xsl|9 +-
 .../kernel-dev-eclipse-customization.xsl   |   27 +
 documentation/kernel-dev/kernel-dev.xml|4 +-
 .../poky-ref-manual-eclipse-customization.xsl  |   27 -
 .../profile-manual-customization.xsl   |9 +-
 .../profile-manual-eclipse-customization.xsl   |   27 +
 documentation/profile-manual/profile-manual.xml|4 +-
 .../poky-ref-manual/1.3-local-configuration.html   |   21 -
 .../eclipse/html/poky-ref-manual/1.3-recipes.html  |   29 -
 .../build-history-image-information.html   |   80 -
 .../build-history-package-information.html |   58 -
 .../html/poky-ref-manual/build-overview.html   |   61 -
 .../building-an-image-using-gpl-components.html|   23 -
 .../html/poky-ref-manual/centos-packages.html  |   69 -
 .../eclipse/html/poky-ref-manual/checksums.html|  164 --
 .../eclipse/html/poky-ref-manual/debugging.html|   43 -
 .../detailed-supported-distros.html|   45 -
 .../enabling-and-disabling-build-history.html  |   62 -
 .../enabling-commercially-licensed-recipes.html|   85 -
 .../examining-build-history-information.html   |   70 -
 .../eclipse/html/poky-ref-manual/faq.html  |  791 --
 .../html/poky-ref-manual/fedora-packages.html  |   62 -
 .../poky-ref-manual/figures/buildhistory-web.png   |  Bin 49966 - 0 bytes
 .../html/poky-ref-manual/figures/buildhistory.png  |  Bin 42062 - 0 bytes
 .../html/poky-ref-manual/figures/poky-title.png|  Bin 11592 - 0 bytes
 .../future-development-and-limitations.html|   33 -
 .../eclipse/html/poky-ref-manual/handbook.html |   25 -
 .../eclipse/html/poky-ref-manual/index.html|  327 ---
 .../eclipse/html/poky-ref-manual/index.xml |2 -
 .../html/poky-ref-manual/intro-getit-dev.html  |   26 -
 .../eclipse/html/poky-ref-manual/intro-getit.html  |   35 -
 .../html/poky-ref-manual/intro-manualoverview.html |   73 -
 .../html/poky-ref-manual/intro-requirements.html   |   23 -
 .../html/poky-ref-manual/intro-welcome.html|   30 -
 .../eclipse/html/poky-ref-manual/intro.html|   30 -
 .../poky-ref-manual/invalidating-shared-state.html |   53 -
 .../poky-ref-manual/license-flag-matching.html |   91 -
 .../eclipse/html/poky-ref-manual/licenses.html |   28 -
 .../html/poky-ref-manual/logging-with-bash.html|   47 -
 .../html/poky-ref-manual/logging-with-python.html  |   45 -
 .../maintaining-build-output-quality.html  |   53 -
 .../migration-1.3-bblayers-conf.html   |   27 -
 .../migration-1.3-image-features.html  |   26 -
 .../poky-ref-manual/migration-1.3-nativesdk.html   |   25 -
 .../migration-1.3-proto=-in-src-uri.html   |   32 -
 .../migration-1.3-python-function-whitespace.html  |   29 -
 .../migration-1.3-removed-recipes.html |   64 -
 

[yocto] [PATCH 06/18] Makefile: Remove duplicate parameters

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Standard stylesheet parameters are already defined in the docbook
customization file tying them to the docbook stylesheet used. Removing
these parameters simplifies the Makefile.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile | 7 +--
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 773c41f..d997f3d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -206,12 +206,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),ref-manual)
-XSLTOPTS = --stringparam html.stylesheet ref-style.css \
-   --stringparam  chapter.autolabel 1 \
-   --stringparam  appendix.autolabel A \
-   --stringparam  section.autolabel 1 \
-   --stringparam  section.label.includes.component.label 1 \
-   --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
figures/buildhistory.png figures/buildhistory-web.png
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 05/18] .gitignore: Updated to ignore generated eclipse help of ref-manual

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index bda1b09..03b98d1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -53,3 +53,4 @@ documentation/adt-manual/eclipse/
 documentation/bsp-guide/eclipse/
 documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
+documentation/ref-manual/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 08/18] Makefile: logic to make all for ref-manual and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Eclipse help documents are now created when calling the 'make all'
target on the ref-manual. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index d997f3d..c19b297 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -207,10 +207,10 @@ endif
 
 ifeq ($(DOC),ref-manual)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = ref-manual.html ref-style.css figures/poky-title.png \
-   figures/buildhistory.png figures/buildhistory-web.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/buildhistory.png figures/buildhistory-web.png eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 10/18] kernel-dev: Added Title tag

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

The title of the document used to create metadata for output formats
such as eclipse help.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/kernel-dev/kernel-dev.xml | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/documentation/kernel-dev/kernel-dev.xml 
b/documentation/kernel-dev/kernel-dev.xml
index 9682d54..d040a10 100644
--- a/documentation/kernel-dev/kernel-dev.xml
+++ b/documentation/kernel-dev/kernel-dev.xml
@@ -16,7 +16,9 @@
 /imageobject
 /mediaobject
 
-title/title
+title
+ Yocto Project Linux Kernel Development Manual
+   /title
 
 authorgroup
 author
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 09/18] kernel-dev: Move global parameters to customization file

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Standard stylesheet parameters were moved to the docbook customization
file tying them to the docbook stylesheet used. Removing these
parameters simplifies the Makefile.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile| 7 +--
 documentation/kernel-dev/kernel-dev-customization.xsl | 9 ++---
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index c19b297..67017b8 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -257,12 +257,7 @@ STYLESHEET = $(DOC)/*.css
 endif
 
 ifeq ($(DOC),kernel-dev)
-XSLTOPTS = --stringparam html.stylesheet kernel-dev-style.css \
-   --stringparam  chapter.autolabel 1 \
-   --stringparam  appendix.autolabel A \
-   --stringparam  section.autolabel 1 \
-   --stringparam  section.label.includes.component.label 1 \
-   --xinclude
+XSLTOPTS = --xinclude
 ALLPREQ = html pdf tarball
 TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css 
figures/kernel-dev-title.png \
figures/kernel-architecture-overview.png
diff --git a/documentation/kernel-dev/kernel-dev-customization.xsl 
b/documentation/kernel-dev/kernel-dev-customization.xsl
index 8eb6905..43e9dad 100644
--- a/documentation/kernel-dev/kernel-dev-customization.xsl
+++ b/documentation/kernel-dev/kernel-dev-customization.xsl
@@ -1,8 +1,11 @@
 ?xml version='1.0'?
 xsl:stylesheet xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
xmlns=http://www.w3.org/1999/xhtml; 
xmlns:fo=http://www.w3.org/1999/XSL/Format; version=1.0
-  
-  xsl:import 
href=http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl; /
 
-!--  xsl:param name=generate.toc select='article nop'/xsl:param  --
+  xsl:import 
href=http://docbook.sourceforge.net/release/xsl/current/xhtml/docbook.xsl; /
 
+  xsl:param name=html.stylesheet select='kernel-dev-style.css' /
+  xsl:param name=chapter.autolabel select=1 /
+  xsl:param name=appendix.autolabelA/xsl:param
+  xsl:param name=section.autolabel select=1 /
+  xsl:param name=section.label.includes.component.label select=1 /
 /xsl:stylesheet
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 11/18] .gitignore: Updated to ignore generated eclipse help of kernel-dev

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 03b98d1..9e16853 100644
--- a/.gitignore
+++ b/.gitignore
@@ -54,3 +54,4 @@ documentation/bsp-guide/eclipse/
 documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
 documentation/ref-manual/eclipse/
+documentation/kernel-dev/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 12/18] kernel-dev: Added new customization file for eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../kernel-dev-eclipse-customization.xsl   | 27 ++
 1 file changed, 27 insertions(+)
 create mode 100644 
documentation/kernel-dev/kernel-dev-eclipse-customization.xsl

diff --git a/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl 
b/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl
new file mode 100644
index 000..7d1bb8d
--- /dev/null
+++ b/documentation/kernel-dev/kernel-dev-eclipse-customization.xsl
@@ -0,0 +1,27 @@
+?xml version='1.0'?
+xsl:stylesheet
+   xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
+   xmlns=http://www.w3.org/1999/xhtml;
+   xmlns:fo=http://www.w3.org/1999/XSL/Format;
+   version=1.0
+
+  xsl:import
+ 
href=http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl; 
/
+
+  xsl:param name=chunker.output.indent select='yes'/
+  xsl:param name=chunk.quietly select=1/
+  xsl:param name=chunk.first.sections select=1/
+  xsl:param name=chunk.section.depth select=10/
+  xsl:param name=use.id.as.filename select=1/
+  xsl:param name=ulink.target select='_self' /
+  xsl:param name=base.dir select='html/kernel-dev/'/
+  xsl:param name=html.stylesheet select='../book.css'/
+  xsl:param name=eclipse.manifest select=0/
+  xsl:param name=create.plugin.xml select=0/
+  xsl:param name=suppress.navigation select=1/
+  xsl:param name=generate.index select=0/
+  xsl:param name=chapter.autolabel select=1 /
+  xsl:param name=appendix.autolabelA/xsl:param
+  xsl:param name=section.autolabel select=1 /
+  xsl:param name=section.label.includes.component.label select=1 /
+/xsl:stylesheet
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 07/18] ref-manual: Added new customization file for eclipse help generation

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

This stylesheet uses the eclipse stylesheets of docbook to create
eclipse help from this documentation. In addition to simple html
files these stylesheets will also create xml files which are
needed to integrate the documentation into eclipse (e.g. toc.xml).

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../ref-manual-eclipse-customization.xsl   | 27 ++
 1 file changed, 27 insertions(+)
 create mode 100644 
documentation/ref-manual/ref-manual-eclipse-customization.xsl

diff --git a/documentation/ref-manual/ref-manual-eclipse-customization.xsl 
b/documentation/ref-manual/ref-manual-eclipse-customization.xsl
new file mode 100644
index 000..4e6b799
--- /dev/null
+++ b/documentation/ref-manual/ref-manual-eclipse-customization.xsl
@@ -0,0 +1,27 @@
+?xml version='1.0'?
+xsl:stylesheet
+   xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
+   xmlns=http://www.w3.org/1999/xhtml;
+   xmlns:fo=http://www.w3.org/1999/XSL/Format;
+   version=1.0
+
+  xsl:import
+ 
href=http://docbook.sourceforge.net/release/xsl/current/eclipse/eclipse3.xsl; 
/
+
+  xsl:param name=chunker.output.indent select='yes'/
+  xsl:param name=chunk.quietly select=1/
+  xsl:param name=chunk.first.sections select=1/
+  xsl:param name=chunk.section.depth select=10/
+  xsl:param name=use.id.as.filename select=1/
+  xsl:param name=ulink.target select='_self' /
+  xsl:param name=base.dir select='html/ref-manual/'/
+  xsl:param name=html.stylesheet select='../book.css'/
+  xsl:param name=eclipse.manifest select=0/
+  xsl:param name=create.plugin.xml select=0/
+  xsl:param name=suppress.navigation select=1/
+  xsl:param name=generate.index select=0/
+  xsl:param name=chapter.autolabel select=1 /
+  xsl:param name=appendix.autolabelA/xsl:param
+  xsl:param name=section.autolabel select=1 /
+  xsl:param name=section.label.includes.component.label select=1 /
+/xsl:stylesheet
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 13/18] Makefile: logic to make all for kernel-dev and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Eclipse help documents are now created when calling the 'make all'
target on the kernel-dev. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index 67017b8..3d2923d 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -258,10 +258,11 @@ endif
 
 ifeq ($(DOC),kernel-dev)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = kernel-dev.html kernel-dev.pdf kernel-dev-style.css 
figures/kernel-dev-title.png \
-   figures/kernel-architecture-overview.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/kernel-architecture-overview.png \
+   eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 16/18] .gitignore: Updated to ignore generated eclipse help of profile-manual

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .gitignore | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.gitignore b/.gitignore
index 9e16853..cacc75b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,3 +55,4 @@ documentation/dev-manual/eclipse/
 documentation/yocto-project-qs/eclipse/
 documentation/ref-manual/eclipse/
 documentation/kernel-dev/eclipse/
+documentation/profile-manual/eclipse/
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 18/18] Makefile: logic to make all for profile-manual and cleanup

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Eclipse help documents are now created when calling the 'make all'
target on the kernel-dev. Resulting files are archived into
the tarball as well. When calling 'make clean' artefacts of the
eclipse documentation build are deleted.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 documentation/Makefile | 7 ---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/documentation/Makefile b/documentation/Makefile
index a9ba020..c3c6a3c 100644
--- a/documentation/Makefile
+++ b/documentation/Makefile
@@ -228,7 +228,7 @@ endif
 
 ifeq ($(DOC),profile-manual)
 XSLTOPTS = --xinclude
-ALLPREQ = html pdf tarball
+ALLPREQ = html pdf eclipse tarball
 TARFILES = profile-manual.html profile-manual.pdf profile-manual-style.css \
figures/profile-title.png figures/kernelshark-all.png \
figures/kernelshark-choose-events.png 
figures/kernelshark-i915-display.png \
@@ -245,8 +245,9 @@ TARFILES = profile-manual.html profile-manual.pdf 
profile-manual-style.css \

figures/perf-wget-g-copy-to-user-expanded-stripped-unresolved-hidden.png 
figures/pybootchartgui-linux-yocto.png \
figures/pychart-linux-yocto-rpm.png 
figures/pychart-linux-yocto-rpm-nostrip.png \
figures/sched-wakeup-profile.png figures/sysprof-callers.png \
-   figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png
-MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf
+   figures/sysprof-copy-from-user.png figures/sysprof-copy-to-user.png 
\
+   eclipse
+MANUALS = $(DOC)/$(DOC).html $(DOC)/$(DOC).pdf $(DOC)/eclipse
 FIGURES = figures
 STYLESHEET = $(DOC)/*.css
 endif
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 01/17] plugins/sdk.ide: Removed unused message

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

The dialog has been merged with the project settings. Therefor the
message is no longer needed.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties  | 1 -
 1 file changed, 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index b302524..17240e9 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -22,7 +22,6 @@ Poky.Env.Script.Nonexist = Specified Build Tree Toolchain 
Root does not contain
 Poky.ADT.Sysroot.Wrongversion = OECORE related items are not found in 
envrionement setup files.\nThe ADT version you're using is too old.\n Please 
upgrade to our latest ADT Version!
 Poky.Toolchain.Host.Mismatch = Toolchain and host arch mismatch.\n Make sure 
you use 32bit toolchain for 32bit host and same for 64bit machines!
 Poky.Toolchain.No.Sysroot = There's no sysroots directory under your toolchain 
directory under /opt/poky!
-Menu.SDK.Dialog.Title   = Yocto Project Settings
 
 
 Menu.SDK.Console.Configure.Message= The Yocto Project ADT has been 
successfully set up for this project.\nTo see the environment variables created 
during setup,\ngo to Project  Properties  C/C++ Build  Environment. 
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 04/17] plugins/sdk.ide: Set value of target array on input change

2013-02-08 Thread Timo Mueller
From: Atanas Gegov atanas.ge...@bmw-carit.de

The value of the target array set in the constructor is now also
affected when the input of the element is changed.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java | 2 ++
 1 file changed, 2 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
index 2e3c830..5bca41a 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoUISetting.java
@@ -303,6 +303,8 @@ public class YoctoUISetting {
}
 
public void setCurrentInput(YoctoUIElement elem){
+   elem.setStrTargetsArray(getTargetArray(elem));
+
btnSDKRoot.setSelection(false);
btnPokyRoot.setSelection(false);

if(elem.getEnumPokyMode().equals(YoctoUIElement.PokyMode.POKY_SDK_MODE)){
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 06/17] plugins/sdk.ide: Create UI element for managing target profiles.

2013-02-08 Thread Timo Mueller
From: Atanas Gegov atanas.ge...@bmw-carit.de

A target profile is a combination of yocto settings identified by a
user-defined name. This UI element allows the user to add new profiles
and to rename or delete existing ones.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 +
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |  98 +++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   1 +
 4 files changed, 208 insertions(+)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
new file mode 100644
index 000..02626ad
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
@@ -0,0 +1,104 @@
+/***
+ * Copyright (c) 2012 BMW Car IT GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BMW Car IT - initial API and implementation
+ 
***/
+package org.yocto.sdk.ide;
+
+import java.util.Comparator;
+import java.util.StringTokenizer;
+import java.util.TreeSet;
+
+import org.yocto.sdk.ide.preferences.PreferenceConstants;
+
+public class YoctoProfileElement {
+   private TreeSetString profiles = new TreeSetString(new 
ComparatorString() {
+
+   @Override
+   public int compare(String o1, String o2) {
+   int strcompare = o1.compareTo(o2);
+
+   if (strcompare == 0) {
+   return strcompare;
+   }
+
+   // Standard profile always less than anything else
+   if 
(o1.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   return -1;
+   }
+
+   if 
(o2.equals(PreferenceConstants.STANDARD_PROFILE_NAME)) {
+   return 1;
+   }
+
+   return strcompare;
+   }
+   });
+
+   private String selectedProfile;
+
+   public YoctoProfileElement(String profilesString, String 
selectedProfile) {
+   setProfilesFromString(profilesString);
+   this.selectedProfile = selectedProfile;
+   }
+
+   public void addProfile(String profile) {
+   this.profiles.add(profile);
+   }
+
+   public boolean contains(String newText) {
+   return profiles.contains(newText);
+   }
+
+   public TreeSetString getProfiles() {
+   return profiles;
+   }
+
+   public String getProfilesAsString() {
+   String profileString = ;
+
+   for (String profile : profiles) {
+   profileString += \ + profile + \,;
+   }
+   return profileString.substring(0, profileString.length() - 1);
+   }
+
+   public String getSelectedProfile() {
+   return selectedProfile;
+   }
+
+   public void remove(String profile) {
+   this.profiles.remove(profile);
+   }
+
+   public void rename(String oldProfileName, String newProfileName) {
+   this.remove(oldProfileName);
+   this.addProfile(newProfileName);
+
+   if (selectedProfile.equals(oldProfileName)) {
+   selectedProfile = newProfileName;
+   }
+   }
+
+   public void setProfiles(TreeSetString profiles) {
+   this.profiles = profiles;
+   }
+
+   public void setProfilesFromString(String profilesString) {
+   StringTokenizer tokenizer = new StringTokenizer(profilesString, 
,);
+
+   while (tokenizer.hasMoreElements()) {
+   String config = (String) tokenizer.nextElement();
+   profiles.add(config.replace(\, ));
+   }
+   }
+
+   public void setSelectedProfile(String selectedProfile) {
+   this.selectedProfile = selectedProfile;
+   }
+}
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
new file mode 100644
index 000..7476bd3
--- /dev/null
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -0,0 +1,98 @@

[yocto] [RFC v4 09/17] plugins/sdk.ide: Add method to allow storing the current settings

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

The added method calls the performOK method on the provided preference
page to store the current content of the page.

This callback is needed so the profile UI is able to propagate changes
to the preference page it is part of.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java   | 9 -
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index b35a167..7949cdf 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -10,6 +10,7 @@
  
***/
 package org.yocto.sdk.ide;
 
+import org.eclipse.jface.preference.PreferencePage;
 import org.eclipse.swt.SWT;
 import org.eclipse.swt.layout.GridData;
 import org.eclipse.swt.layout.GridLayout;
@@ -32,9 +33,11 @@ public class YoctoProfileSetting {
private Button btnConfigSaveAs;
 
private YoctoProfileElement profileElement;
+   private PreferencePage preferencePage;
 
-   public YoctoProfileSetting(YoctoProfileElement profileElement) {
+   public YoctoProfileSetting(YoctoProfileElement profileElement, 
PreferencePage preferencePage) {
this.profileElement = profileElement;
+   this.preferencePage = preferencePage;
}
 
public void createComposite(Composite composite) {
@@ -98,6 +101,10 @@ public class YoctoProfileSetting {

btnConfigRename.setText(YoctoSDKMessages.getString(RENAME_PROFILE_TITLE));
}
 
+   private void saveChangesOnCurrentProfile() {
+   preferencePage.performOk();
+   }
+
private void addConfigs(Combo combo) {
for (String profile : profileElement.getProfiles()) {
combo.add(profile);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 07/17] plugins/sdk.ide: Modified preferences storage to support profiles.

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Yocto preferences are now stored using a user-defined name that
identifies a target profile. To store these preferences eclipse'
scoped preferences provider is used. The filename in the eclipse
configuration area is derived from the unique target profile name.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java  |  9 
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   | 10 ++--
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 60 +-
 .../sdk/ide/preferences/PreferenceConstants.java   |  4 ++
 .../sdk/ide/preferences/PreferenceInitializer.java | 22 
 .../ide/preferences/YoctoSDKPreferencePage.java| 36 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  4 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |  7 ++-
 8 files changed, 99 insertions(+), 53 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
index b0b5447..9777396 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKPlugin.java
@@ -16,9 +16,12 @@ import org.eclipse.core.resources.ResourcesPlugin;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IStatus;
 import org.eclipse.core.runtime.Status;
+import org.eclipse.core.runtime.preferences.InstanceScope;
+import org.eclipse.jface.preference.IPreferenceStore;
 import org.eclipse.swt.widgets.Shell;
 import org.eclipse.ui.IWorkbenchWindow;
 import org.eclipse.ui.plugin.AbstractUIPlugin;
+import org.eclipse.ui.preferences.ScopedPreferenceStore;
 import org.osgi.framework.BundleContext;
 
 /**
@@ -65,6 +68,12 @@ public class YoctoSDKPlugin extends AbstractUIPlugin {
return plugin;
}
 
+   public static IPreferenceStore getProfilePreferenceStore(String 
profileName) {
+   int profileIdentifier = profileName.hashCode();
+
+   return new 
ScopedPreferenceStore(InstanceScope.INSTANCE,getUniqueIdentifier() + . + 
profileIdentifier);
+   }
+
public static void log(IStatus status) {
ResourcesPlugin.getPlugin().getLog().log(status);
}
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
index ec49dcc..6f16732 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
@@ -18,10 +18,13 @@ import java.util.HashMap;
 import java.util.HashSet;
 import java.util.Set;
 import java.util.StringTokenizer;
+
 import org.eclipse.cdt.core.model.CoreModel;
 import org.eclipse.cdt.core.settings.model.ICProjectDescription;
 import org.eclipse.cdt.debug.core.ICDTLaunchConfigurationConstants;
 import org.eclipse.cdt.debug.mi.core.IMILaunchConfigurationConstants;
+import 
org.eclipse.cdt.internal.autotools.core.configure.AutotoolsConfigurationManager;
+import org.eclipse.cdt.internal.autotools.core.configure.IAConfiguration;
 import org.eclipse.cdt.managedbuilder.core.IConfiguration;
 import org.eclipse.cdt.managedbuilder.core.IManagedBuildInfo;
 import org.eclipse.cdt.managedbuilder.core.ManagedBuildManager;
@@ -34,8 +37,7 @@ import org.eclipse.debug.core.ILaunchConfiguration;
 import org.eclipse.debug.core.ILaunchConfigurationType;
 import org.eclipse.debug.core.ILaunchConfigurationWorkingCopy;
 import org.eclipse.debug.core.ILaunchManager;
-import 
org.eclipse.cdt.internal.autotools.core.configure.AutotoolsConfigurationManager;
-import org.eclipse.cdt.internal.autotools.core.configure.IAConfiguration;
+import org.eclipse.jface.preference.IPreferenceStore;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 
 
@@ -151,7 +153,9 @@ public class YoctoSDKProjectNature implements 
IProjectNature {
}
 
public static void configureAutotools(IProject project) throws 
YoctoGeneralException {
-   YoctoUIElement elem = YoctoSDKUtils.getElemFromStore();
+   YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   IPreferenceStore selecteProfileStore = 
YoctoSDKPlugin.getProfilePreferenceStore(profileElement.getSelectedProfile());
+   YoctoUIElement elem = 
YoctoSDKUtils.getElemFromStore(selecteProfileStore);
YoctoSDKUtils.SDKCheckResults result = 
YoctoSDKUtils.checkYoctoSDK(elem);
if (result != YoctoSDKUtils.SDKCheckResults.SDK_PASS){  
String strErrorMsg =  
YoctoSDKUtils.getErrorMessage(result, SDKCheckRequestFrom.Wizard);
diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java

[yocto] [RFC v4 14/17] plugins/sdk.ide: Add method to rename a profile and its preference store

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

When renaming a profile the current values are stored in the profile's
new preference store.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 105fd9c..2767d7a 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -182,6 +182,10 @@ public class YoctoProfileSetting {
String newProfileName = 
profileNameDialog.getValue();
profileElement.rename(selectedItem, 
profileNameDialog.getValue());
 
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).renameProfile(selectedItem, newProfileName);
+   }
+
sdkConfigsCombo.setItem(selectedIndex, 
newProfileName);
sdkConfigsCombo.select(selectedIndex);
}
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 15/17] plugins/sdk.ide: Add method to delete a profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Deletion of a profile currently has no effects on the preference
page.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java  | 4 
 1 file changed, 4 insertions(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 2767d7a..738dba7 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -146,6 +146,10 @@ public class YoctoProfileSetting {
sdkConfigsCombo.select(0);
sdkConfigsCombo.remove(selectionIndex);
profileElement.remove(selectedItem);
+
+   if (preferencePage instanceof 
YoctoSDKPreferencePage) {
+   ((YoctoSDKPreferencePage) 
preferencePage).deleteProfile(selectedItem);
+   }
}
});
}
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v4 17/17] plugins/sdk.ide: Added profile UI to the preference page

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Adds the UI elements that allow managing profiles to the preference
page.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
index 8dc089b..fb015ab 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
@@ -67,7 +67,9 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
protected Control createContents(Composite parent) {
initializeDialogUnits(parent);
final Composite result= new Composite(parent, SWT.NONE);
-   
+
+   yoctoProfileSetting.createComposite(result);
+
try {
yoctoUISetting.createComposite(result);

yoctoUISetting.validateInput(SDKCheckRequestFrom.Preferences, false);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Hi,

this patch set enables projects to make use of the target profiles
proposed in [RFC v4 00/17][eclipse-poky] Storing yocto settings as
target profiles.

Currently the target profiles are only used to determine the
default settings when creating a new project. Changing the used
profile on an already created projects is not possible, also if the
target profile is changed the projects are not affected.
This patch set enables the use of target profiles in the projects. You
can select the used global profile within the projet properties or use
a project specific configuration. If a global target profile is used
and its values are changed in the eclipse preferences, the projects
using this profile are updated accordingly.

Best regards
Timo

Timo Mueller (5):
  plugins/sdk.ide: Allow storage of yocto settings in project
preferences
  plugins/sdk.ide: Store profile configuration on project setup
  plugins/sdk.ide: Enable project specific yocto settings
  plugins/sdk.ide: Update projects affected by changes of a target
profile
  plugins/sdk.ide: Enable the usage of profiles in the project
properties

 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |   3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  89 
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +-
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |   1 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 149 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   2 +
 .../ide/preferences/YoctoSDKPreferencePage.java|  91 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  94 ++---
 8 files changed, 410 insertions(+), 24 deletions(-)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v1 2/5] plugins/sdk.ide: Store profile configuration on project setup

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de


Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java   | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
index 6f16732..b0e7121 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKProjectNature.java
@@ -154,6 +154,7 @@ public class YoctoSDKProjectNature implements 
IProjectNature {
 
public static void configureAutotools(IProject project) throws 
YoctoGeneralException {
YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   YoctoSDKUtils.saveProfilesToProjectPreferences(profileElement, 
project);
IPreferenceStore selecteProfileStore = 
YoctoSDKPlugin.getProfilePreferenceStore(profileElement.getSelectedProfile());
YoctoUIElement elem = 
YoctoSDKUtils.getElemFromStore(selecteProfileStore);
YoctoSDKUtils.SDKCheckResults result = 
YoctoSDKUtils.checkYoctoSDK(elem);
-- 
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [RFC v1 1/5] plugins/sdk.ide: Allow storage of yocto settings in project preferences

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

The added functions allow storing the yocto settings in the
preferences store of a project. Project-specific yocto settings as
well as the used profiles can be stored.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 110 +
 1 file changed, 110 insertions(+)

diff --git a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
index 12af7e3..857928c 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKUtils.java
@@ -32,9 +32,13 @@ import 
org.eclipse.cdt.core.settings.model.ICConfigurationDescription;
 import org.eclipse.cdt.core.settings.model.ICProjectDescription;
 import org.eclipse.core.resources.IProject;
 import org.eclipse.core.resources.IProjectDescription;
+import org.eclipse.core.resources.ProjectScope;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.IProgressMonitor;
+import org.eclipse.core.runtime.preferences.IEclipsePreferences;
+import org.eclipse.core.runtime.preferences.IScopeContext;
 import org.eclipse.jface.preference.IPreferenceStore;
+import org.osgi.service.prefs.BackingStoreException;
 import org.yocto.sdk.ide.preferences.PreferenceConstants;
 
 public class YoctoSDKUtils {
@@ -62,6 +66,7 @@ public class YoctoSDKUtils {
Other
};
 
+   private static final String PROJECT_SCOPE = org.yocto.sdk.ide;
private static final String POKY_DEVICE_EMPTY = Poky.SDK.Device.Empty;
private static final String TOOLCHAIN_LOCATION_EMPTY = 
Poky.SDK.Location.Empty;
private static final String SDK_TARGET_EMPTY  = 
Poky.SDK.Target.Empty;
@@ -397,6 +402,74 @@ public class YoctoSDKUtils {
 
}
 
+   /* Get POKY Preference settings from project's preference store */
+   public static YoctoUIElement getElemFromProjectPreferences(IProject 
project)
+   {
+   IScopeContext projectScope = new ProjectScope(project);
+   IEclipsePreferences projectNode = 
projectScope.getNode(PROJECT_SCOPE);
+   if (projectNode == null)
+   {
+   return getElemFromProjectEnv(project);
+   }
+
+   YoctoUIElement elem = new YoctoUIElement();
+   
elem.setStrToolChainRoot(projectNode.get(PreferenceConstants.TOOLCHAIN_ROOT,));
+   
elem.setStrTarget(projectNode.get(PreferenceConstants.TOOLCHAIN_TRIPLET,));
+   
elem.setStrQemuKernelLoc(projectNode.get(PreferenceConstants.QEMU_KERNEL,));
+   
elem.setStrSysrootLoc(projectNode.get(PreferenceConstants.SYSROOT,));
+   
elem.setStrQemuOption(projectNode.get(PreferenceConstants.QEMU_OPTION,));
+   String sTemp = 
projectNode.get(PreferenceConstants.TARGET_ARCH_INDEX,);
+   if (!sTemp.isEmpty())
+   
elem.setIntTargetIndex(Integer.valueOf(sTemp).intValue());
+   if 
(projectNode.get(PreferenceConstants.SDK_MODE,).equalsIgnoreCase(IPreferenceStore.TRUE))
+   {
+   
elem.setEnumPokyMode(YoctoUIElement.PokyMode.POKY_SDK_MODE);
+   }
+   else
+   
elem.setEnumPokyMode(YoctoUIElement.PokyMode.POKY_TREE_MODE);
+
+   
if(projectNode.get(PreferenceConstants.TARGET_MODE,).equalsIgnoreCase(IPreferenceStore.TRUE))
+   
elem.setEnumDeviceMode(YoctoUIElement.DeviceMode.QEMU_MODE);
+   else
+   
elem.setEnumDeviceMode(YoctoUIElement.DeviceMode.DEVICE_MODE);
+   return elem;
+   }
+
+   /* Save POKY Preference settings to project's preference store */
+   public static void saveElemToProjectPreferences(YoctoUIElement elem, 
IProject project)
+   {
+   IScopeContext projectScope = new ProjectScope(project);
+   IEclipsePreferences projectNode = 
projectScope.getNode(PROJECT_SCOPE);
+   if (projectNode == null)
+   {
+   return;
+   }
+
+   projectNode.putInt(PreferenceConstants.TARGET_ARCH_INDEX, 
elem.getIntTargetIndex());
+   if (elem.getEnumPokyMode() == 
YoctoUIElement.PokyMode.POKY_SDK_MODE)
+   projectNode.put(PreferenceConstants.SDK_MODE, 
IPreferenceStore.TRUE);
+   else
+   projectNode.put(PreferenceConstants.SDK_MODE, 
IPreferenceStore.FALSE);
+   projectNode.put(PreferenceConstants.QEMU_KERNEL, 
elem.getStrQemuKernelLoc());
+   projectNode.put(PreferenceConstants.QEMU_OPTION, 
elem.getStrQemuOption());
+   projectNode.put(PreferenceConstants.SYSROOT, 
elem.getStrSysrootLoc());
+   if (elem.getEnumDeviceMode() == 

[yocto] [RFC v1 3/5] plugins/sdk.ide: Enable project specific yocto settings

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

Until now only global target profiles could be used to configure a
project. Now a project can have its own specific settings which are
not affected by global changes to the profile.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java | 80 ++
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  3 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 39 +++
 .../sdk/ide/preferences/PreferenceConstants.java   |  2 +
 4 files changed, 124 insertions(+)
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
new file mode 100644
index 000..25d4de4
--- /dev/null
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
@@ -0,0 +1,80 @@
+/***
+ * Copyright (c) 2012 BMW Car IT GmbH.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * BMW Car IT - initial API and implementation
+ 
***/
+package org.yocto.sdk.ide;
+
+import org.eclipse.jface.preference.PreferencePage;
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.events.SelectionEvent;
+import org.eclipse.swt.events.SelectionListener;
+import org.eclipse.swt.layout.GridData;
+import org.eclipse.swt.layout.GridLayout;
+import org.eclipse.swt.widgets.Button;
+import org.eclipse.swt.widgets.Composite;
+import org.eclipse.swt.widgets.Group;
+
+public class YoctoProjectSpecificSetting {
+   private static final String PROJECT_SPECIFIC_TITLE = 
Preferences.Profile.ProjectSpecific.Title;
+   private static final String PROJECT_SPECIFIC_GROUP_TITLE = 
Preferences.Profile.ProjectSpecific.Group.Title;
+
+   private YoctoProfileSetting yoctoConfigurationsSetting;
+   private YoctoUISetting yoctoUISetting;
+
+   private Button btnUseProjectSpecificSettingsCheckbox;
+   private PreferencePage preferencePage;
+
+   public YoctoProjectSpecificSetting(YoctoProfileSetting 
yoctoConfigurationsSetting,
+   YoctoUISetting yoctoUISetting, 
PreferencePage preferencePage) {
+   this.yoctoConfigurationsSetting = yoctoConfigurationsSetting;
+   this.yoctoUISetting = yoctoUISetting;
+   this.preferencePage = preferencePage;
+   }
+
+   public void createComposite(Composite composite) {
+   GridData gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
+   GridLayout layout = new GridLayout(2, false);
+   composite.setLayout(layout);
+
+   Group storeYoctoConfigurationsGroup = new Group (composite, 
SWT.NONE);
+   layout = new GridLayout(2, false);
+   storeYoctoConfigurationsGroup.setLayout(layout);
+   gd = new GridData(SWT.FILL, SWT.CENTER, true, false);
+   gd.horizontalSpan = 2;
+   storeYoctoConfigurationsGroup.setLayoutData(gd);
+   
storeYoctoConfigurationsGroup.setText(YoctoSDKMessages.getString(PROJECT_SPECIFIC_GROUP_TITLE));
+
+   btnUseProjectSpecificSettingsCheckbox = new 
Button(storeYoctoConfigurationsGroup, SWT.CHECK);
+   
btnUseProjectSpecificSettingsCheckbox.setText(YoctoSDKMessages.getString(PROJECT_SPECIFIC_TITLE));
+   btnUseProjectSpecificSettingsCheckbox.addSelectionListener(new 
SelectionListener() {
+   @Override
+   public void widgetSelected(SelectionEvent e) {
+   if 
(btnUseProjectSpecificSettingsCheckbox.getSelection()){
+   
yoctoConfigurationsSetting.setUIFormEnabledState(false);
+   
yoctoUISetting.setUIFormEnabledState(true);
+   } else {
+   
yoctoConfigurationsSetting.setUIFormEnabledState(true);
+   
yoctoConfigurationsSetting.setButtonsEnabledState(false);
+   
yoctoUISetting.setUIFormEnabledState(false);
+   }
+   }
+
+   @Override
+   public void widgetDefaultSelected(SelectionEvent e) {}
+   });
+   }
+
+   public void setUseProjectSpecificSettings(boolean 
isUsingProjectSpecificSettings) {
+   

[yocto] [RFC v1 4/5] plugins/sdk.ide: Update projects affected by changes of a target profile

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

If a target profile is modified, renamed or deleted globally the
projects using this profile are updated accordingly.
On deletion of a target profile the affected projects will set use the
standard target profile.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  2 +-
 .../ide/preferences/YoctoSDKPreferencePage.java| 91 +-
 2 files changed, 89 insertions(+), 4 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
index bfdde41..e779f7d 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoSDKMessages.properties
@@ -60,7 +60,7 @@ Preferences.Profile.Rename.Dialog.Title = Rename target 
profile
 Preferences.Profile.Rename.Dialog.Message = Please input a new profile name.
 Preferences.Profile.Remove.Title = Remove
 Preferences.Profile.Remove.Dialog.Title = Remove target profile
-Preferences.Profile.Remove.Dialog.Message = Do you really want to the remove 
the target profile {0}?
+Preferences.Profile.Remove.Dialog.Message = Do you really want to the remove 
the target profile {0}?\nProjects using this target profile will be 
reconfigured to use the standard profile.
 Preferences.Profile.Standard.Modification.Title = Modify standard target 
profile
 Preferences.Profile.Standard.Modification.Message = Standard target profile 
cannot be removed or renamed.
 
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
index fb015ab..b5963cf 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKPreferencePage.java
@@ -10,6 +10,11 @@
  
***/
 package org.yocto.sdk.ide.preferences;
 
+import java.util.HashSet;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.resources.ResourcesPlugin;
+import org.eclipse.core.runtime.CoreException;
 import org.eclipse.jface.dialogs.Dialog;
 import org.eclipse.jface.dialogs.IDialogConstants;
 import org.eclipse.jface.dialogs.InputDialog;
@@ -25,6 +30,7 @@ import org.yocto.sdk.ide.YoctoProfileElement;
 import org.yocto.sdk.ide.YoctoProfileSetting;
 import org.yocto.sdk.ide.YoctoSDKMessages;
 import org.yocto.sdk.ide.YoctoSDKPlugin;
+import org.yocto.sdk.ide.YoctoSDKProjectNature;
 import org.yocto.sdk.ide.YoctoSDKUtils;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 import org.yocto.sdk.ide.YoctoUIElement;
@@ -80,8 +86,8 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
System.out.println(e.getMessage());
return result;
}
-
}
+
/*
 * @see IPreferencePage#performOk()
 */
@@ -95,6 +101,8 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
YoctoProfileElement profileElement = 
yoctoProfileSetting.getCurrentInput();

YoctoSDKUtils.saveProfilesToDefaultStore(profileElement);
 
+   
updateAffectedProjects(profileElement.getSelectedProfile(), elem);
+
return super.performOk();
} catch (YoctoGeneralException e) {
// TODO Auto-generated catch block
@@ -151,9 +159,86 @@ public class YoctoSDKPreferencePage extends PreferencePage 
implements IWorkbench
public void renameProfile(String oldProfileName, String newProfileName) 
{
YoctoUIElement oldProfileElement = 
YoctoSDKUtils.getElemFromStore(YoctoSDKPlugin.getProfilePreferenceStore(oldProfileName));
YoctoSDKUtils.saveElemToStore(oldProfileElement, 
YoctoSDKPlugin.getProfilePreferenceStore(newProfileName));
+
+   renameProfileInAffectedProjects(oldProfileName, newProfileName);
+   }
+
+   public void deleteProfile(String selectedProfile)
+   {
+   resetProfileInAffectedProjects(selectedProfile);
}
 
-   public void deleteProfile(String selectedProfile) {
-   // do nothing
+   private void resetProfileInAffectedProjects(String usedProfile)
+   {
+   HashSetIProject yoctoProjects = 
getAffectedProjects(usedProfile);
+   YoctoProfileElement profileElement = 
YoctoSDKUtils.getProfilesFromDefaultStore();
+   
profileElement.setSelectedProfile(PreferenceConstants.STANDARD_PROFILE_NAME);
+
+   for (IProject project : yoctoProjects)
+   {
+   

[yocto] [RFC v1 5/5] plugins/sdk.ide: Enable the usage of profiles in the project properties

2013-02-08 Thread Timo Mueller
From: Timo Mueller timo.muel...@bmw-carit.de

UI elements are added to the project properties in order to use
profile capabilites with a project.

Signed-off-by: Timo Mueller timo.muel...@bmw-carit.de
---
 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |  3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  9 +++
 .../preferences/YoctoSDKProjectPropertyPage.java   | 94 +-
 3 files changed, 86 insertions(+), 20 deletions(-)

diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
index 738dba7..cc3e167 100644
--- a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
+++ b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
@@ -28,6 +28,7 @@ import org.eclipse.swt.widgets.Listener;
 import org.yocto.sdk.ide.preferences.PreferenceConstants;
 import org.yocto.sdk.ide.preferences.ProfileNameInputValidator;
 import org.yocto.sdk.ide.preferences.YoctoSDKPreferencePage;
+import org.yocto.sdk.ide.preferences.YoctoSDKProjectPropertyPage;
 
 public class YoctoProfileSetting {
private static final String PROFILES_TITLE = 
Preferences.Profiles.Title;
@@ -91,6 +92,8 @@ public class YoctoProfileSetting {
 
if (preferencePage instanceof 
YoctoSDKPreferencePage) {
((YoctoSDKPreferencePage) 
preferencePage).switchProfile(selectedItem);
+   } else if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchProfile(selectedItem);
}
}
};
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
index 25d4de4..13acb8e 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java
@@ -19,6 +19,7 @@ import org.eclipse.swt.layout.GridLayout;
 import org.eclipse.swt.widgets.Button;
 import org.eclipse.swt.widgets.Composite;
 import org.eclipse.swt.widgets.Group;
+import org.yocto.sdk.ide.preferences.YoctoSDKProjectPropertyPage;
 
 public class YoctoProjectSpecificSetting {
private static final String PROJECT_SPECIFIC_TITLE = 
Preferences.Profile.ProjectSpecific.Title;
@@ -58,10 +59,18 @@ public class YoctoProjectSpecificSetting {
if 
(btnUseProjectSpecificSettingsCheckbox.getSelection()){

yoctoConfigurationsSetting.setUIFormEnabledState(false);

yoctoUISetting.setUIFormEnabledState(true);
+
+   if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchToProjectSpecificProfile();
+   }
} else {

yoctoConfigurationsSetting.setUIFormEnabledState(true);

yoctoConfigurationsSetting.setButtonsEnabledState(false);

yoctoUISetting.setUIFormEnabledState(false);
+
+   if (preferencePage instanceof 
YoctoSDKProjectPropertyPage) {
+   ((YoctoSDKProjectPropertyPage) 
preferencePage).switchToSelectedProfile();
+   }
}
}
 
diff --git 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
index 56cc4cb..eef56c1 100644
--- 
a/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
+++ 
b/plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/YoctoSDKProjectPropertyPage.java
@@ -21,6 +21,10 @@ import org.eclipse.swt.widgets.Control;
 import org.eclipse.ui.IWorkbenchPropertyPage;
 import org.eclipse.ui.dialogs.PropertyPage;
 import org.yocto.sdk.ide.YoctoGeneralException;
+import org.yocto.sdk.ide.YoctoProfileElement;
+import org.yocto.sdk.ide.YoctoProfileSetting;
+import org.yocto.sdk.ide.YoctoProjectSpecificSetting;
+import org.yocto.sdk.ide.YoctoSDKPlugin;
 import org.yocto.sdk.ide.YoctoSDKUtils;
 import org.yocto.sdk.ide.YoctoSDKUtils.SDKCheckRequestFrom;
 import org.yocto.sdk.ide.YoctoUIElement;
@@ -29,21 +33,56 @@ import org.yocto.sdk.ide.YoctoUISetting;
 public class YoctoSDKProjectPropertyPage extends PropertyPage implements
IWorkbenchPropertyPage {
 
+   

Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Tomas Frydrych
On 08/02/13 13:03, Andrei Gherzan wrote:
 
 
 
 On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych
 tf+lists.yo...@r-finger.com mailto:tf+lists.yo...@r-finger.com wrote:
 
 Hi Andrei,
 
 On 07/02/13 14:26, Andrei Gherzan wrote:
  We are moving to userland repo. So we will build our libraries
 
 I tried to use the userland repo about a week ago and had to revert back
 to using the binary firmware; the userland tree seem to miss some bcm
 headers, so it was impossible to build apps against the libs whose
 includes require those.
 
 
 I will push some patches this weekend. Would you give it a try?

Time allowing, of course. But the problem was not with the meta-rpi
packaging, the files were missing in the upstream userland git repository.

Tomas

-- 
http://sleepfive.com
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] Danny: default base_do_compile but no default base_do_install

2013-02-08 Thread Frans Meulenbroeks
Hi!

Apologies upfront if this is the wrong list. I'm not always sure when
things should go to the yocto list and when to oe-core.

Anyway, my question/issue with danny.

In base.bbclass I see a default base_do_compile that reads:

base_do_compile() {
if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
oe_runmake || die make failed
else
bbnote nothing to compile
fi
}

There is also a default base_do_install() that is empty.

Wouldn't it be more logical if the base_do_install would read:

base_do_install() {
if [ -e Makefile -o -e makefile -o -e GNUmakefile ]; then
oe_runmake install || die make failed
else
bbnote nothing to install
fi
}

Currently people using only base, need to add a do_install to their recipe
but no do_compile (which is somewhat odd; if there is a makefile it seems
logical to use it for install too).

Appreciate your feedback, if needed i can file a bug report and/or submit a
patch

Frans
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [meta-raspberrypi][PATCH 0/2] Binary graphics library fixes

2013-02-08 Thread Andrei Gherzan
On Fri, Feb 8, 2013 at 4:18 PM, Tomas Frydrych
tf+lists.yo...@r-finger.comwrote:

 On 08/02/13 13:03, Andrei Gherzan wrote:
 
 
 
  On Fri, Feb 8, 2013 at 12:17 PM, Tomas Frydrych
  tf+lists.yo...@r-finger.com mailto:tf+lists.yo...@r-finger.com
 wrote:
 
  Hi Andrei,
 
  On 07/02/13 14:26, Andrei Gherzan wrote:
   We are moving to userland repo. So we will build our libraries
 
  I tried to use the userland repo about a week ago and had to revert
 back
  to using the binary firmware; the userland tree seem to miss some bcm
  headers, so it was impossible to build apps against the libs whose
  includes require those.
 
 
  I will push some patches this weekend. Would you give it a try?

 Time allowing, of course. But the problem was not with the meta-rpi
 packaging, the files were missing in the upstream userland git repository.


Maybe newer updates include those. Just need to know.

-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] gcov on beagle-xm with kernel module

2013-02-08 Thread Robert Berger
Hi,

Looks like it's an issue with the arm eabi compiler producing code,
which the kernel gcov framework can't deal with.

I guess there are 2 options:

1) toolchain not eabi (not feasible)
2) patch gcov framework in kernel

Regards,

Robert
...In the beginning, there was software. And it wasn't good.

My public pgp key is available,at:
http://pgp.mit.edu:11371/pks/lookup?op=getsearch=0x90320BF1


___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] systemtap fetch failure on 'danny' (cherry-pick fix from master)

2013-02-08 Thread Javier Viguera

On 02/06/2013 04:48 PM, Burton, Ross wrote:

You'll be pleased to know it's in danny-next already, so should be
hitting danny in the next day or so.


Is that 'danny-next' branch private?

I can't see it in the gitweb or in a local clone.

# git branch -a | grep danny-next

shows nothing.

http://git.yoctoproject.org/cgit/cgit.cgi/poky/refs/heads


--
Javier Viguera
Software Engineer
Digi International® Spain S.A.U.
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] systemtap fetch failure on 'danny' (cherry-pick fix from master)

2013-02-08 Thread Burton, Ross
On 8 February 2013 17:04, Javier Viguera javier.vigu...@digi.com wrote:
 On 02/06/2013 04:48 PM, Burton, Ross wrote:

 You'll be pleased to know it's in danny-next already, so should be
 hitting danny in the next day or so.


 Is that 'danny-next' branch private?

 I can't see it in the gitweb or in a local clone.

 # git branch -a | grep danny-next

 shows nothing.

The canonical danny-next is currently in openembedded-core-contrib,
although I do maintain a ross/danny-next in poky-contrib which is
periodically updated.

Ross
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v5 00/12][eclipse-poky] Integrate yocto documentation into eclipse

2013-02-08 Thread Zhang, Jessica
Hi Timo,

Thanks, these are merged into eclipse-poky master with the following patch to 
address an issue in your original patches :-)

Cheers,
Jessica

Fixed the DOC_GIT hard coded issueHEADmaster
Signed-off-by: Jessica Zhang jessica.zh...@intel.com
Diffstat
-rwxr-xr-x  scripts/generate-doc.sh 3

1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/generate-doc.sh b/scripts/generate-doc.sh
index 588638c..d645e54 100755
--- a/scripts/generate-doc.sh
+++ b/scripts/generate-doc.sh
@@ -56,8 +56,7 @@ DOC_PLUGIN_DIR=${PLUGIN_FOLDER}/plugins/org.yocto.doc.user
DOC_HTML_DIR=${DOC_PLUGIN_DIR}/html/
# git clone
-#DOC_GIT=git://git.yoctoproject.org/yocto-docs.git
-DOC_GIT=file:///home/timo/_dev/oss/yocto/yocto-docs
+DOC_GIT=git://git.yoctoproject.org/yocto-docs.git
git clone ${DOC_GIT} ${DOC_DIR} || fail $? git clone ${DOC_GIT}
cd ${DOC_DIR}
git checkout ${REFERENCE} || fail $? git checkout ${REFERENCE}

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:25 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v5 00/12][eclipse-poky] Integrate yocto documentation 
into eclipse

From: Timo Mueller timo.muel...@bmw-carit.de

v5: Incorporates changes resulting from the renaming of documentation and adds 
the profile-manual. This patch set requires changes proposed in 
[PATCH][yocto-docs] Update eclipse help generation to support all documents

From RFC v4:
Hi,

the last proposal integrated the yocto documentation into the existing doc 
plugin of the yocto ADT feature. As Jessica pointed out is does not make sense 
to bundle all parts of the yocto documentation with the ADT feature. As some 
parts of the documentation could also be helpful with the BitBake Commander 
feature, we agreed to encapsulate the yocto documentation into its own feature.

01..02: Fixing typos in build and site scripts
03..12: Adding the yocto documentation as a new feature
13: Temporary patch to use timo branch of docs project - DO NOT MERGE

From the last propsal:
snip
One major change in this patch series is that I extended the plugin build 
system to integrate the generation into the build process. Thus keeping the 
eclipse help and the official documentation in sync is now automated.
/snip

snip
the documentation of the yocto project can currently be viewed online or as a 
separate pdf. When using the eclipse ide to develop software on base of a yocto 
sysroot and toolchain it would be convenient to access the relevant parts of 
the documentation from within the ide.
/snip

snip
I have intergrated this
documentation in the ide and it can now be accessed through the eclipse help 
center (Help - Help Contents).
/snip

Best regards
Timo

Timo Mueller (12):
  features/sdk.site: Fixed typo in category name
  Fixed typo in version variable name
  plugins/sdk.ide.doc.user: Add empty eclipse help
  plugins/sdk.ide.doc.user: Add about.html to prepare addition of yocto
documentation
  features/org.yocto.doc: Add new feature containing yocto project
documentation
  features/doc.headless.build: Added headless build for yocto.doc
feature
  features/sdk.site: Added yocto.doc feature to update site
  scripts/build.sh: Added yocto.doc feature to build
  scripts/generate-doc.sh: Add script to handle eclipse help generation
  plugins/sdk.ide.doc.user: Add yocto documentation to the table of
contents
  scripts/generate-doc.sh: Copy generated eclipse help into the
user.doc plugin
  scripts/build.sh: Add documentation generation to the default build

 .../org.yocto.bc.headless.build/customTargets.xml  |   4 +-
 features/org.yocto.doc.headless.build/.project |  11 +
 .../org.yocto.doc.headless.build/build.properties  | 262 + 
 .../org.yocto.doc.headless.build/customTargets.xml | 212 +
 features/org.yocto.doc/.project|  17 ++
 features/org.yocto.doc/build.properties|   3 +
 features/org.yocto.doc/feature.properties  | 163 +
 features/org.yocto.doc/feature.xml |  35 +++
 features/org.yocto.doc/license.html| 107 +
 .../org.yocto.sdk.headless.build/customTargets.xml |   4 +-
 features/org.yocto.sdk.site/category.xml   |  10 +-
 features/org.yocto.sdk.site/site.xml   |  10 +-
 plugins/org.yocto.doc.user/.classpath  |   6 +
 plugins/org.yocto.doc.user/.project|  28 +++
 plugins/org.yocto.doc.user/META-INF/MANIFEST.MF|   8 +
 .../OSGI-INF/l10n/bundle.properties|   3 +
 plugins/org.yocto.doc.user/about.html.in   | 189 +++
 plugins/org.yocto.doc.user/build.properties|   9 +
 plugins/org.yocto.doc.user/html/book.css   |   1 +
 plugins/org.yocto.doc.user/plugin.xml  |  39 +++
 plugins/org.yocto.doc.user/toc.xml |  24 ++
 scripts/build.sh 

[yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Marko Lindqvist
[PATCH] configure.ac: fix build with automake-1.13


 - ML
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Gary Thomas

On 2013-02-08 14:08, Marko Lindqvist wrote:

[PATCH] configure.ac: fix build with automake-1.13


Patch seems to be missing

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v4 00/17][eclipse-poky] Storing yocto settings as target profiles

2013-02-08 Thread Zhang, Jessica
Everything looks good and merged to eclipse-poky master. Thanks for the 
contribution.

Cheers,
Jessica

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:26 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v4 00/17][eclipse-poky] Storing yocto settings as target 
profiles

From: Timo Mueller timo.muel...@bmw-carit.de

Hi,

I removed the last patch that was moving the Save as ... button to the 
bottom. So now it is located beneath the dropdown box. I also changed the 
message in the profile deletion dialog to only ask if the user really wants to 
delete the profile.

From RFC v3:
snip
First of all I've fixed the issues with the patches (duplicate method, missing 
fix for NewYoctoCProjectTemplate.java).

I also changed the functionality of the new button according to Jessica's 
feedback. The logic is changed to a Save as ...
approach. If the button is clicked the current values of the form are checked. 
If these are valid, the user can enter a name to store them as a new profile.
/snip

From the original cover letter:
snip
currently the yocto settings can be changed globally through eclipse's 
preferences or locally in the project properties. But the standard 
configuration stored in the global preferences sometimes changes, e.g. if a new 
version of the toolchain or the sysroot is released.
If you change the global settings to the updated toolchain or sysroot your old 
working configuration is gone. If you want to reuse this configuration at a 
later point in time you have to (remember and) re-enter everthing.
This patch set introduces the possiblity to store a configuration under a 
unique name, a so called target profile, and be able to select the default 
target profile that is used for new projects.
Building upon this change the target profiles could later also be used in the 
project settings and be able to quickly build and debug your software for 
different hard- and software combinations.
/snip

Best regards,
Timo

Atanas Gegov (4):
  plugins/sdk.ide: Extract labels to private members
  plugins/sdk.ide: Add method to enable and disable form
  plugins/sdk.ide: Set value of target array on input change
  plugins/sdk.ide: Create UI element for managing target profiles.

Timo Mueller (13):
  plugins/sdk.ide: Removed unused message
  plugins/sdk.ide: Changed method signature to be more consistent
  plugins/sdk.ide: Modified preferences storage to support profiles.
  plugins/sdk.ide: Set profile on selection change
  plugins/sdk.ide: Add method to allow storing the current settings
  plugins/sdk.ide: Add UI method to create a new profile
  plugins/sdk.ide: Add UI method to delete a profile
  plugins/sdk.ide: Add UI method to rename a profile
  plugins/sdk.ide: Add method to change values of the preference page
  plugins/sdk.ide: Add method to rename a profile and its preference
store
  plugins/sdk.ide: Add method to delete a profile
  plugins/sdk.ide: Use profiles for the preference page
  plugins/sdk.ide: Added profile UI to the preference page

 .../src/org/yocto/sdk/ide/YoctoProfileElement.java | 104 ++  
.../src/org/yocto/sdk/ide/YoctoProfileSetting.java | 229 +  
.../org/yocto/sdk/ide/YoctoSDKMessages.properties  |  19 +-
 .../src/org/yocto/sdk/ide/YoctoSDKPlugin.java  |   9 +
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |  10 +-
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   |  62 --
 .../src/org/yocto/sdk/ide/YoctoUISetting.java  |  60 +-
 .../sdk/ide/preferences/PreferenceConstants.java   |   5 +
 .../sdk/ide/preferences/PreferenceInitializer.java |  22 +-  
.../ide/preferences/ProfileNameInputValidator.java |  63 ++
 .../ide/preferences/YoctoSDKPreferencePage.java| 112 +++---
 .../preferences/YoctoSDKProjectPropertyPage.java   |   6 +-
 .../sdk/ide/wizard/NewYoctoCProjectTemplate.java   |   7 +-
 13 files changed, 643 insertions(+), 65 deletions(-)  create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileElement.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProfileSetting.java
 create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/preferences/ProfileNameInputValidator.java

--
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH] Fix oprofileui build with automake-1.13

2013-02-08 Thread Marko Lindqvist
 - ML


0001-configure.ac-fix-build-with-automake-1.13.patch
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] Fix gtk-sato-engine build with automake-1.13

2013-02-08 Thread Marko Lindqvist
On 8 February 2013 23:22, Gary Thomas g...@mlbassoc.com wrote:
 On 2013-02-08 14:08, Marko Lindqvist wrote:

 [PATCH] configure.ac: fix build with automake-1.13

 Patch seems to be missing

 This time inlining it to this email. Hope it makes through this way.


 - ML


0001-configure.ac-fix-build-with-automake-1.13.patch
Description: Binary data
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/2][meta-intel] Remove Cedartrail BSP

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com

Hi All,

This patch set is to remove Cedartrail BSP from
meta-intel/master.
Cedartrail BSP will be no longer supported in Yocto 
from 1.4 release.

Please pull these patches into meta-intel/master.

Thanks
Kishore.

The following changes since commit 575f93dd4ba1fb9aca8a58dc66e9066eca0a3925:

  meta-intel: remove kernel AUTOREVs (2013-02-04 10:39:06 -0600)

are available in the git repository at:

  git://git.pokylinux.org/meta-intel-contrib kishore/cedartrail_remove
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=kishore/cedartrail_remove

Kishore Bodke (2):
  Cedartrail: Remove Cedartrail BSP
  meta-intel: Update the MAINTAINERS list.

 MAINTAINERS|4 -
 meta-cedartrail/COPYING.MIT|   17 --
 meta-cedartrail/README |  199 
 meta-cedartrail/README.sources |   17 --
 meta-cedartrail/conf/layer.conf|   12 --
 meta-cedartrail/conf/machine/cedartrail-nopvr.conf |   21 ---
 meta-cedartrail/conf/machine/cedartrail.conf   |   29 ---
 .../formfactor/cedartrail-nopvr/machconfig |3 -
 .../formfactor/formfactor/cedartrail/machconfig|3 -
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 -
 .../images/core-image-cdv-media-sdk.bb |   12 --
 .../images/core-image-cdv-media.bb |   13 --
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb|  197 ---
 .../xserver-xf86-config/cedartrail-nopvr/xorg.conf |   26 ---
 .../xserver-xf86-config/cedartrail/xorg.conf   |   19 --
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |1 -
 .../linux/linux-yocto-rt_3.0.bbappend  |   18 --
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   23 ---
 .../ogg-CC-BY-3.0-music-samples_0.1.bb |   21 ---
 .../video-samples/bigbuckbunny-ogg.bb  |   22 ---
 20 files changed, 660 deletions(-)
 delete mode 100755 meta-cedartrail/COPYING.MIT
 delete mode 100755 meta-cedartrail/README
 delete mode 100755 meta-cedartrail/README.sources
 delete mode 100644 meta-cedartrail/binary/.gitignore
 delete mode 100644 meta-cedartrail/conf/layer.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail.conf
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb

-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/2] [meta-intel] Cedartrail: Remove Cedartrail BSP

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com

Cedartrail will be no longer supported for
Yocto 1.4 Release.
Remove the Cedartrail BSP from meta-intel.

Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com
---
 meta-cedartrail/COPYING.MIT|   17 --
 meta-cedartrail/README |  199 
 meta-cedartrail/README.sources |   17 --
 meta-cedartrail/conf/layer.conf|   12 --
 meta-cedartrail/conf/machine/cedartrail-nopvr.conf |   21 ---
 meta-cedartrail/conf/machine/cedartrail.conf   |   29 ---
 .../formfactor/cedartrail-nopvr/machconfig |3 -
 .../formfactor/formfactor/cedartrail/machconfig|3 -
 .../recipes-bsp/formfactor/formfactor_0.0.bbappend |3 -
 .../images/core-image-cdv-media-sdk.bb |   12 --
 .../images/core-image-cdv-media.bb |   13 --
 .../xorg-driver/cdv-pvr-driver_1.0.3.bb|  197 ---
 .../xserver-xf86-config/cedartrail-nopvr/xorg.conf |   26 ---
 .../xserver-xf86-config/cedartrail/xorg.conf   |   19 --
 .../xorg-xserver/xserver-xf86-config_0.1.bbappend  |1 -
 .../linux/linux-yocto-rt_3.0.bbappend  |   18 --
 .../recipes-kernel/linux/linux-yocto_3.0.bbappend  |   23 ---
 .../ogg-CC-BY-3.0-music-samples_0.1.bb |   21 ---
 .../video-samples/bigbuckbunny-ogg.bb  |   22 ---
 19 files changed, 656 deletions(-)
 delete mode 100755 meta-cedartrail/COPYING.MIT
 delete mode 100755 meta-cedartrail/README
 delete mode 100755 meta-cedartrail/README.sources
 delete mode 100644 meta-cedartrail/binary/.gitignore
 delete mode 100644 meta-cedartrail/conf/layer.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail-nopvr.conf
 delete mode 100644 meta-cedartrail/conf/machine/cedartrail.conf
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail-nopvr/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor/cedartrail/machconfig
 delete mode 100644 
meta-cedartrail/recipes-bsp/formfactor/formfactor_0.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media-sdk.bb
 delete mode 100644 
meta-cedartrail/recipes-cdv-media/images/core-image-cdv-media.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-driver/cdv-pvr-driver_1.0.3.bb
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail-nopvr/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config/cedartrail/xorg.conf
 delete mode 100644 
meta-cedartrail/recipes-graphics/xorg-xserver/xserver-xf86-config_0.1.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto-rt_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-kernel/linux/linux-yocto_3.0.bbappend
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/music-samples/ogg-CC-BY-3.0-music-samples_0.1.bb
 delete mode 100644 
meta-cedartrail/recipes-mediasamples/video-samples/bigbuckbunny-ogg.bb

diff --git a/meta-cedartrail/COPYING.MIT b/meta-cedartrail/COPYING.MIT
deleted file mode 100755
index fb950dc..000
--- a/meta-cedartrail/COPYING.MIT
+++ /dev/null
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the Software), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
diff --git a/meta-cedartrail/README b/meta-cedartrail/README
deleted file mode 100755
index fe84c2d..000
--- a/meta-cedartrail/README
+++ /dev/null
@@ -1,199 +0,0 @@
-This README file contains information on building the meta-cedartrail
-BSP layer, and booting the images contained in the /binary directory.
-Please see the corresponding sections below for details.
-
-The 'Cedar Trail' platform consists of the Intel® Atom™
-N2600/N2800/D2550 processor, plus the Intel® NM10 Express Chispset
-(Cedarview + Tiger Point).
-
-It also supports on-chip SGX545 graphics and media accelerator
-via the Cedar Trail Power VR (PVR) graphics driver.
-
-Further information about the platforms 

[yocto] [PATCH 2/2] [meta-intel] meta-intel: Update the MAINTAINERS list.

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com

Updating the MAINTAINERS list after removing
the Cedartrail BSP from meta-intel.

Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com
---
 MAINTAINERS |4 
 1 file changed, 4 deletions(-)

diff --git a/MAINTAINERS b/MAINTAINERS
index 1973136..bc33d4b 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -36,10 +36,6 @@ Please keep this list in alphabetical order.
 Maintainers List (try to look for most precise areas first)
 
---
-CEDARTRAIL
-M:  Kishore Bodke kishore.k.bo...@intel.com
-F:  meta-cedartrail/
-
 CHIEFRIVER
 M: Nitin A Kamblenitin.a.kam...@intel.com
 F: meta-chiefriver/
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

2013-02-08 Thread Zhang, Jessica
Hi Timo,

Couple comments:

1.  I really like the way that the global profile and project profile are 
linked together.  But it also introduce an out of sync issue.  Say I use a 
profile compiled my project with one set of toolchain and sysroot setup.  Then 
I change the  toolchain and sysroot settings for the profile.  But unless we 
inform/enforce the user to rebuild the project with the new profile settings.  
The built out in the project directory is using one set of setting, but by 
looking at the project profile setting is another set.  So, I think we need to 
add a notification to user like we're doing for remove.  When user change a 
profile and if there're projects using the profile, we need to prompt the user  
with something like: The profile settings have been changed and there're 
projects using this profile which will be impacted.  If you want to pursue the 
changes, please rebuild those projects with the new profile settings.  And in 
those projects, we need a sign the inform the user that the un
 derline profile has changed, they need to rebuild to resync.  Make sense?

2. Seems we only allow user to choose profiles in project settings, can 
eliminate those grayed out save as..., remove, etc buttons?

3.  Also since the profile are really cross development setting profiles.  Can 
we change Target profile to Cross development profile?

Thanks,
Jessica

-Original Message-
From: yocto-boun...@yoctoproject.org [mailto:yocto-boun...@yoctoproject.org] On 
Behalf Of Timo Mueller
Sent: Friday, February 08, 2013 5:28 AM
To: yocto@yoctoproject.org
Cc: Timo Mueller
Subject: [yocto] [RFC v1 0/5][eclipse-poky] Enable target profiles for projects

From: Timo Mueller timo.muel...@bmw-carit.de

Hi,

this patch set enables projects to make use of the target profiles proposed in 
[RFC v4 00/17][eclipse-poky] Storing yocto settings as target profiles.

Currently the target profiles are only used to determine the default settings 
when creating a new project. Changing the used profile on an already created 
projects is not possible, also if the target profile is changed the projects 
are not affected.
This patch set enables the use of target profiles in the projects. You can 
select the used global profile within the projet properties or use a project 
specific configuration. If a global target profile is used and its values are 
changed in the eclipse preferences, the projects using this profile are updated 
accordingly.

Best regards
Timo

Timo Mueller (5):
  plugins/sdk.ide: Allow storage of yocto settings in project
preferences
  plugins/sdk.ide: Store profile configuration on project setup
  plugins/sdk.ide: Enable project specific yocto settings
  plugins/sdk.ide: Update projects affected by changes of a target
profile
  plugins/sdk.ide: Enable the usage of profiles in the project
properties

 .../src/org/yocto/sdk/ide/YoctoProfileSetting.java |   3 +
 .../yocto/sdk/ide/YoctoProjectSpecificSetting.java |  89 
 .../org/yocto/sdk/ide/YoctoSDKMessages.properties  |   5 +-
 .../org/yocto/sdk/ide/YoctoSDKProjectNature.java   |   1 +
 .../src/org/yocto/sdk/ide/YoctoSDKUtils.java   | 149 +
 .../sdk/ide/preferences/PreferenceConstants.java   |   2 +
 .../ide/preferences/YoctoSDKPreferencePage.java|  91 -
 .../preferences/YoctoSDKProjectPropertyPage.java   |  94 ++---
 8 files changed, 410 insertions(+), 24 deletions(-)  create mode 100644 
plugins/org.yocto.sdk.ide/src/org/yocto/sdk/ide/YoctoProjectSpecificSetting.java

--
1.7.11.7

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][linux-yocto] Remove Cedartrail Machine

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com


Hi,

This patch set is to remove the Cedartail Machine from 
Linux-yocto-3.4 Kernel.
Cedartrail BSP will not be supported for Yocto 1.4 Release.

Also Please remove the standard/cedartrail branch.

Please pull into linux-yocto-3.4/meta branch.

Thanks
Kishore.

The following changes since commit f697e099bc76d5df3a307a5bc0cc25021dd6dfe0:

  meta: bump to v3.4.28, rt-40 (2013-02-04 00:14:21 -0500)

are available in the git repository at:

  git://git.pokylinux.org/linux-yocto-contrib kishore/cedartrail_remove
  
http://git.pokylinux.org/cgit.cgi/linux-yocto-contrib/log/?h=kishore/cedartrail_remove

Kishore Bodke (1):
  meta: Remove Cedartrail Machine

 .../bsp/cedartrail/cedartrail-preempt-rt.scc   |   13 --
 .../bsp/cedartrail/cedartrail-standard.scc |8 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg |   46 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.scc |   15 ---
 4 files changed, 82 deletions(-)
 delete mode 100755 
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
 delete mode 100644 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc

-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1][linux-yocto] meta: Remove Cedartrail Machine

2013-02-08 Thread kishore . k . bodke
From: Kishore Bodke kishore.k.bo...@intel.com

Remove Cedartrail Machine from 3.4 Kernel.
Cedartrail BSP is not available.

Signed-off-by: Kishore Bodke kishore.k.bo...@intel.com
---
 .../bsp/cedartrail/cedartrail-preempt-rt.scc   |   13 --
 .../bsp/cedartrail/cedartrail-standard.scc |8 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg |   46 
 .../cfg/kernel-cache/bsp/cedartrail/cedartrail.scc |   15 ---
 4 files changed, 82 deletions(-)
 delete mode 100755 
meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
 delete mode 100755 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
 delete mode 100644 meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc

diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
deleted file mode 100755
index d0f4871..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-preempt-rt.scc
+++ /dev/null
@@ -1,13 +0,0 @@
-define KMACHINE cedartrail
-define KTYPE preempt-rt
-define KARCH i386
-
-# no new branch required, re-use the ktypes/preempt-rt/preempt-rt.scc branch
-include ktypes/preempt-rt/preempt-rt.scc
-include cedartrail.scc
-
-# default policy for preempt-rt kernels
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
\ No newline at end of file
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
deleted file mode 100755
index f9e4ab1..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail-standard.scc
+++ /dev/null
@@ -1,8 +0,0 @@
-define KMACHINE cedartrail
-define KTYPE standard
-define KARCH i386
-
-include ktypes/standard/standard.scc
-branch cedartrail
-
-include cedartrail.scc
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
deleted file mode 100755
index c7f9355..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.cfg
+++ /dev/null
@@ -1,46 +0,0 @@
-CONFIG_X86_32=y
-CONFIG_MATOM=y
-CONFIG_PRINTK=y
-
-# RTC 
-CONFIG_RTC_CLASS=y
-CONFIG_RTC_DRV_CMOS=y
-
-# Basic hardware support for the box - network, USB, PCI, sound
-CONFIG_NETDEVICES=y
-CONFIG_ATA=y
-CONFIG_ATA_GENERIC=y
-CONFIG_ATA_SFF=y
-CONFIG_PCI=y
-CONFIG_MMC=y
-CONFIG_MMC_SDHCI=y
-CONFIG_USB_SUPPORT=y
-CONFIG_USB=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_R8169=y
-CONFIG_PATA_SCH=y
-CONFIG_MMC_SDHCI_PCI=y
-CONFIG_USB_EHCI_HCD=y
-CONFIG_PCIEPORTBUS=y
-CONFIG_NET=y
-CONFIG_USB_UHCI_HCD=y
-CONFIG_USB_OHCI_HCD=y
-CONFIG_BLK_DEV_SD=y
-CONFIG_CHR_DEV_SG=y
-CONFIG_SOUND=y
-CONFIG_SND=y
-CONFIG_SND_HDA_INTEL=y
-CONFIG_SATA_AHCI=y
-CONFIG_AGP=y
-CONFIG_PM=y
-CONFIG_BACKLIGHT_LCD_SUPPORT=y
-CONFIG_BACKLIGHT_CLASS_DEVICE=y
-CONFIG_INPUT=y
-
-# Make sure these are on, otherwise the bootup won't be fun
-CONFIG_UNIX=y
-CONFIG_INET=y
-CONFIG_MODULES=y
-CONFIG_SHMEM=y
-CONFIG_TMPFS=y
-CONFIG_PACKET=y
diff --git a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc 
b/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc
deleted file mode 100644
index 9c013b6..000
--- a/meta/cfg/kernel-cache/bsp/cedartrail/cedartrail.scc
+++ /dev/null
@@ -1,15 +0,0 @@
-kconf hardware cedartrail.cfg
-
-include cfg/x86.scc
-include features/intel-e1/intel-e100.scc
-include features/intel-e1/intel-e1.scc
-include cfg/dmaengine.scc
-include cfg/8250.scc
-include cfg/vesafb.scc
-include cfg/usb-mass-storage.scc
-include cfg/boot-live.scc
-
-
-include features/latencytop/latencytop.scc
-include features/profiling/profiling.scc
-
-- 
1.7.9.5

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][meta-intel]meta-cedartrail:Update README for workaround for bug # 3607

2013-02-08 Thread rahul . saxena
From: Rahul Saxena rahul.sax...@intel.com

Please pull into danny-next 
--
The following changes since commit 9615c24f9d5326805537fd01d1fc5ea51d0d85db:

  libva-intel-driver: workaround for concurrent VC1 and H264 playback issue 
(2012-12-20 14:49:46 -0600)

are available in the git repository at:
  git://git.pokylinux.org/meta-intel-contrib danny-next-rsaxena1
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=danny-next-rsaxena1

Rahul Saxena (1):
  meta-cedartrail: Update README with workaround for Yocto Bugzilla
#3607 The PVR driver has a issue that for some systems it
causes it to incorrectly assume that a LVDS display is
connected while infact a VGA display is connected and Vice
Versa. The README file is updated with the work-around for this
issue.

 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 1/1] meta-cedartrail: Update README with workaround for Yocto Bugzilla #3607 The PVR driver has a issue that for some systems it causes it to incorrectly assume that a LVDS display is c

2013-02-08 Thread rahul . saxena
From: Rahul Saxena rahul.sax...@intel.com

Signed-off-by: Rahul Saxena rahul.sax...@intel.com
---
 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

diff --git a/meta-cedartrail/README b/meta-cedartrail/README
index 0d166b2..e394faf 100755
--- a/meta-cedartrail/README
+++ b/meta-cedartrail/README
@@ -51,7 +51,7 @@ Table of Contents
 
  I. Building the meta-cedartrail BSP layer
 II. Booting the images in /binary
-
+III. Miscellaneous Notes
 
 I. Building the meta-cedartrail BSP layer
 =
@@ -188,3 +188,28 @@ EXTRA_IMAGE_FEATURES = debug-tweaks
 and change above line to..
 
 EXTRA_IMAGE_FEATURES = debug-tweaks tools-testapps
+
+
+Work Around for VGA and LVDS Display issue in PVR driver
+
+
+The PVR driver has a issue that for some systems it causes
+it to incorrectly assume that a LVDS display is connected
+while infact a VGA display is connected and Vice Versa.
+If your VGA or LVDS display does not work with
+cedartrail MACHINE, then if you have connected a VGA display,
+add the following to the kernel command line:
+
+video=LVDS-1:d video=VGA-1:e
+
+If you have connected a LVDS display, add the following to
+the kernel command line:
+
+video=LVDS-1:e video=VGA-1:d
+
+The kernel boot command line can be updated before BSP build by
+editing the APPEND +=... line in  conf/machine/cedartrail.conf file.
+
+The kernel boot command line can also be edited after a image is built by
+editing the syslinux.cfg file in the USB flash device on which
+the image is installed.
-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] [PATCH 0/1][meta-intel]meta-cedartrail:Update README for workaround for bug # 3607

2013-02-08 Thread rahul . saxena
From: Rahul Saxena rahul.sax...@intel.com

The PVR driver has a issue that for some systems it causes
it to incorrectly assume that a LVDS display is connected
while infact a VGA display is connected and Vice Versa.
The README file is updated with the work-around for this issue.

Please pull into danny-next

Signed-off-by: Rahul Saxena rahul.sax...@intel.com
--

The following changes since commit 9615c24f9d5326805537fd01d1fc5ea51d0d85db:

  libva-intel-driver: workaround for concurrent VC1 and H264 playback issue 
(2012-12-20 14:49:46 -0600)

are available in the git repository at:
  git://git.pokylinux.org/meta-intel-contrib danny-next-rsaxena1
  
http://git.pokylinux.org/cgit.cgi/meta-intel-contrib/log/?h=danny-next-rsaxena1

Rahul Saxena (1):
  meta-cedartrail: Update README with workaround for Yocto Bugzilla
#3607 The PVR driver has a issue that for some systems it
causes it to incorrectly assume that a LVDS display is
connected while infact a VGA display is connected and Vice
Versa. The README file is updated with the work-around for this
issue.

 meta-cedartrail/README |   27 ++-
 1 files changed, 26 insertions(+), 1 deletions(-)

-- 
1.7.4.1

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto