[meta-freescale] [for-danny][PATCH 0/4] Fixes for danny - Pull request #2

2013-01-07 Thread Otavio Salvador
Andrei Gherzan (3):
  xorg-driver-video: Install vivante_gal.h
  layer.conf: Use .= for adding to BBPATH and += to BBFILES
  barebox: Right now barebox supports only imx53qsb board

Otavio Salvador (1):
  layer.conf: Use 'fsl-arm' for collection name

 conf/layer.conf  |   10 +-
 recipes-bsp/barebox/barebox_2012.02.0.bb |4 +++-
 .../xorg-driver/xf86-video-imxfb-vivante_12.09.01.bb |3 ++-
 3 files changed, 10 insertions(+), 7 deletions(-)

-- 
1.7.10.4

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


[meta-freescale] [for-danny][PATCH 2/4] layer.conf: Use .= for adding to BBPATH and += to BBFILES

2013-01-07 Thread Otavio Salvador
From: Andrei Gherzan andrei.gher...@windriver.com

http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

This triggers
exception NameError: name 'base_contains' is not defined
without this change

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 conf/layer.conf |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index 4f79725..ee88ad4 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -1,8 +1,8 @@
 # We have a conf and classes directory, add to BBPATH
-BBPATH := ${BBPATH}:${LAYERDIR}
+BBPATH .= :${LAYERDIR}
 
 # We have a packages directory, add to BBFILES
-BBFILES := ${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \
+BBFILES += ${LAYERDIR}/recipes-*/*/*.bb \
 ${LAYERDIR}/recipes-*/*/*.bbappend
 
 BBFILE_COLLECTIONS += freescale
-- 
1.7.10.4

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


[meta-freescale] [for-danny][PATCH 3/4] barebox: Right now barebox supports only imx53qsb board

2013-01-07 Thread Otavio Salvador
From: Andrei Gherzan andrei.gher...@windriver.com

Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
---
 recipes-bsp/barebox/barebox_2012.02.0.bb |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-bsp/barebox/barebox_2012.02.0.bb 
b/recipes-bsp/barebox/barebox_2012.02.0.bb
index 3fad26f..20d7d40 100644
--- a/recipes-bsp/barebox/barebox_2012.02.0.bb
+++ b/recipes-bsp/barebox/barebox_2012.02.0.bb
@@ -1,6 +1,6 @@
 require barebox.inc
 
-PR = r1
+PR = r2
 
 SRC_URI = http://barebox.org/download/${PN}-${PV}.tar.bz2 \
file://defconfig \
@@ -25,3 +25,5 @@ do_configure_prepend_imx53qsb() {
cp ${WORKDIR}/config ${S}/arch/arm/boards/freescale-mx53-loco/env
oe_runmake oldconfig
 }
+
+COMPATIBLE_MACHINE = imx53qsb
-- 
1.7.10.4

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


[meta-freescale] [for-danny][PATCH 4/4] layer.conf: Use 'fsl-arm' for collection name

2013-01-07 Thread Otavio Salvador
The 'freescale' collection name is too generic without making clear
which architecture it supports. Using 'fsl-arm' we make it clear.

Signed-off-by: Otavio Salvador ota...@ossystems.com.br
---
 conf/layer.conf |6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/layer.conf b/conf/layer.conf
index ee88ad4..c4b9cd1 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -5,9 +5,9 @@ BBPATH .= :${LAYERDIR}
 BBFILES += ${LAYERDIR}/recipes-*/*/*.bb \
 ${LAYERDIR}/recipes-*/*/*.bbappend
 
-BBFILE_COLLECTIONS += freescale
-BBFILE_PATTERN_freescale := ^${LAYERDIR}/
-BBFILE_PRIORITY_freescale = 5
+BBFILE_COLLECTIONS += fsl-arm
+BBFILE_PATTERN_fsl-arm := ^${LAYERDIR}/
+BBFILE_PRIORITY_fsl-arm = 5
 
 FSL_EULA_FILE = ${LAYERDIR}/EULA
 
-- 
1.7.10.4

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


Re: [meta-freescale] [PATCH] imx-base.inc: Centralize the preferred kernel for i.MX3X SoCs

2013-01-07 Thread Daiane Angolini
On Sun, Jan 6, 2013 at 7:23 PM, Otavio Salvador ota...@ossystems.com.br wrote:
 The preferred kernel for i.MX3X SoCs are the same so we should set it
 in imx-base.inc. The previous setting were not working as the board
 files were using weak setting and the default (linux-imx) were being
 used by mistake.

 Signed-off-by: Otavio Salvador ota...@ossystems.com.br
Acked-by: Daiane Angolini daiane.angol...@freescale.com
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH] imx-base.inc: Centralize the preferred kernel for i.MX3X SoCs

2013-01-07 Thread Otavio Salvador
On Mon, Jan 7, 2013 at 10:23 AM, Daiane Angolini daiane.l...@gmail.com wrote:
 On Sun, Jan 6, 2013 at 7:23 PM, Otavio Salvador ota...@ossystems.com.br 
 wrote:
 The preferred kernel for i.MX3X SoCs are the same so we should set it
 in imx-base.inc. The previous setting were not working as the board
 files were using weak setting and the default (linux-imx) were being
 used by mistake.

 Signed-off-by: Otavio Salvador ota...@ossystems.com.br
 Acked-by: Daiane Angolini daiane.angol...@freescale.com

Applied to master and danny (as this fixes a customer issue)

--
Otavio Salvador O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [for-danny][PATCH 2/4] layer.conf: Use .= for adding to BBPATH and += to BBFILES

2013-01-07 Thread Daiane Angolini
On Mon, Jan 7, 2013 at 8:59 AM, Otavio Salvador ota...@ossystems.com.br wrote:
 From: Andrei Gherzan andrei.gher...@windriver.com

 http://cgit.openembedded.org/meta-openembedded/commit/?id=3c21a46020bd0816579648f684c41dbd6333583e

 This triggers
 exception NameError: name 'base_contains' is not defined
 without this change

 Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
Acked-by: Daiane Angolini daiane.angol...@freescale.com
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [for-danny][PATCH 3/4] barebox: Right now barebox supports only imx53qsb board

2013-01-07 Thread Daiane Angolini
On Mon, Jan 7, 2013 at 8:59 AM, Otavio Salvador ota...@ossystems.com.br wrote:
 From: Andrei Gherzan andrei.gher...@windriver.com

 Signed-off-by: Andrei Gherzan andrei.gher...@windriver.com
Acked-by: Daiane Angolini daiane.angol...@freescale.com

Great, thanks!
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] Port of iMX5's Xorg driver to newer Xorg API

2013-01-07 Thread Daiane Angolini
On Sun, Dec 30, 2012 at 3:27 AM, Otavio Salvador
ota...@ossystems.com.br wrote:
 Hello,

 I know this holidays time is supposed to us to rest and relax but as a
 true hacking addicted I was suffering of hacking abstinence (no
 hacking since before Christimas) so I ended looking at the port of
 iMX5's Xorg driver to the newer Xorg's video API.

 I didn't bring the boards with me to the beach (or my family would
 kill me) so I cannot test the patch myself and I'd like to know if
 anyone is suffering of same abstinence effect as me and could give it
 a try? :-)

 The patch is attached to this e-mail if anyone wish to give it a try :-)
I'm going to test


 Happy New Year :-)
Happy New Year =P


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


[meta-freescale] [PATCH] meta-fsl-ppc master: inherit image_types_uboot

2013-01-07 Thread Bob Cochran
Without this patch, fsl-image-minimal-machine.ext2.gz.u-boot links to 
a non existent file (u-boot rootfs isn't actually built).


As commented by Matthew McClintock on 1/2/13, this had been handled 
previously using a setup script.


Signed-off-by: Robert Cochran yo...@mindchasers.com
---

diff --git a/images/fsl-image-minimal.bb b/images/fsl-image-minimal.bb
index 1732585..64fa096 100644
--- a/images/fsl-image-minimal.bb
+++ b/images/fsl-image-minimal.bb
@@ -6,7 +6,7 @@ IMAGE_LINGUAS =  

 LICENSE = MIT

-inherit core-image
+inherit core-image image_types_uboot

 IMAGE_ROOTFS_SIZE = 8192

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


[meta-freescale] [PATCH] [meta-ppc-fsl] on master, move linux patches under newly created files subdirectory

2013-01-07 Thread Bob Cochran
As I reported back on 11/27, I get linux-qoriq-sdk-headers build errors 
with the linux patch files located in meta-fsl-ppc/recipes-kernel/linux. 
 Therefore, I created a files subdirectioy and moved the patch files 
under there.


Signed-off-by: Robert Cochran yo...@mindchasers.com
---
 ...Undef-before-redefining-__attribute_const.patch |   28 -
 ...-build-dependencies-for-c-files-requiring.patch |   44 


 ...Undef-before-redefining-__attribute_const.patch |   28 +
 ...-build-dependencies-for-c-files-requiring.patch |   44 


 4 files changed, 72 insertions(+), 72 deletions(-)
 delete mode 100644 
recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 delete mode 100644 
recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch
 create mode 100644 
recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch
 create mode 100644 
recipes-kernel/linux/files/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch


diff --git 
a/recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch 
b/recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch

deleted file mode 100644
index 597fd3b..000
--- 
a/recipes-kernel/linux/0001-compiler.h-Undef-before-redefining-__attribute_const.patch

+++ /dev/null
@@ -1,28 +0,0 @@
-From 6f92ab6de9d8daeb575949bbbcbc7bcdcebc60af Mon Sep 17 00:00:00 2001
-From: Khem Raj raj.khem at gmail.com
-Date: Thu, 5 Jan 2012 11:42:35 -0800
-Subject: [PATCH] compiler.h: Undef before redefining __attribute_const__
-
-This is required to avoid warnings like
-util/include/linux/compiler.h:8:0: error: __attribute_const__ 
redefined [-Werror]

-
-Signed-off-by: Khem Raj raj.khem at gmail.com

- tools/perf/util/include/linux/compiler.h |4 +++-
- 1 files changed, 3 insertions(+), 1 deletions(-)
-
 a/tools/perf/util/include/linux/compiler.h
-+++ b/tools/perf/util/include/linux/compiler.h
-@@ -4,9 +4,11 @@
- #ifndef __always_inline
- #define __always_inline   inline
- #endif
-+#undef __user
- #define __user
-+#undef __attribute_const__
- #define __attribute_const__
--
-+#undef __used
- #define __used__attribute__((__unused__))
-
- #endif
diff --git 
a/recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch 
b/recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch

deleted file mode 100644
index d3464fb..000
--- 
a/recipes-kernel/linux/0001-powerpc-Fix-build-dependencies-for-c-files-requiring.patch

+++ /dev/null
@@ -1,44 +0,0 @@
-Upstream-Status: Pending
-
-From 2e7ffea0c0c09c6d9219d604e0351423f43844f4 Mon Sep 17 00:00:00 2001
-From: Matthew McClintock m...@freescale.com
-Date: Thu, 6 Sep 2012 13:45:21 -0500
-Subject: powerpc: Fix build dependencies for c files requiring libfdt.h
-
-Several files in obj-plat depend on libfdt header file. Sometimes
-when building one can see the following issue. This patch adds
-libfdt as dependency to those object files
-
-| In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:854:1: error: unterminated comment
-| In file included from arch/powerpc/boot/treeboot-iss4xx.c:33:0:
-| arch/powerpc/boot/libfdt.h:1:0: error: unterminated #ifndef
-|   BOOTCC  arch/powerpc/boot/inffast.o
-| make[1]: *** [arch/powerpc/boot/treeboot-iss4xx.o] Error 1
-| make[1]: *** Waiting for unfinished jobs
-|   BOOTCC  arch/powerpc/boot/inflate.o
-| make: *** [uImage] Error 2
-| ERROR: oe_runmake failed
-| ERROR: Function failed: do_compile (see 
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/p1022ds/build/build/tmp/work/p1022ds-poky-linux-gnuspe/linux-qoriq-sdk-3.0.34-r5/temp/log.do_compile.2167 
for further information)

-NOTE: recipe linux-qoriq-sdk-3.0.34-r5: task do_compile: Failed
-
-Signed-off-by: Matthew McClintock m...@freescale.com

- arch/powerpc/boot/Makefile |1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/arch/powerpc/boot/Makefile b/arch/powerpc/boot/Makefile
-index b7d8333..6a15c96 100644
 a/arch/powerpc/boot/Makefile
-+++ b/arch/powerpc/boot/Makefile
-@@ -107,6 +107,7 @@ src-boot := $(addprefix $(obj)/, $(src-boot))
- obj-boot := $(addsuffix .o, $(basename $(src-boot)))
- obj-wlib := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-wlib
- obj-plat := $(addsuffix .o, $(basename $(addprefix $(obj)/, $(src-plat
-+obj-plat: $(libfdt)
-
- quiet_cmd_copy_zlib = COPY$@
-   cmd_copy_zlib = sed s@__used@@;s@linux/\([^]*\).*@\\1\@ $ 
 $@

---
-1.7.9.7
-
diff --git 
a/recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch 
b/recipes-kernel/linux/files/0001-compiler.h-Undef-before-redefining-__attribute_const.patch

new file mode 100644
index 000..597fd3b
--- /dev/null
+++ 

Re: [meta-freescale] [PATCH] [meta-ppc-fsl] on master, move linux patches under newly created files subdirectory

2013-01-07 Thread Otavio Salvador
On Mon, Jan 7, 2013 at 1:39 PM, Bob Cochran yo...@mindchasers.com wrote:
 As I reported back on 11/27, I get linux-qoriq-sdk-headers build errors with
 the linux patch files located in meta-fsl-ppc/recipes-kernel/linux.
 Therefore, I created a files subdirectioy and moved the patch files under
 there.

 Signed-off-by: Robert Cochran yo...@mindchasers.com

'As I reported ...' is not a good commit log. The commit log is to
explain why something is changed so I'd use something like:

--3--
linux-qoriq-sdk-headers: Fix build error due wrong patch path

The patch files need to be in the bitbake fetch patch otherwise it
won't be found during the build. We move the files to the 'files' directory
fixing the fetch error.

Signed-off-by ...
--3--

And you should check the commit log of the uboot fix as well.

--
Otavio Salvador O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854  http://projetos.ossystems.com.br
___
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale


Re: [meta-freescale] [PATCH] [meta-ppc-fsl] on master, move linux patches under newly created files subdirectory

2013-01-07 Thread Bob Cochran

On 01/07/2013 03:14 PM, McClintock Matthew-B29882 wrote:

On Mon, Jan 7, 2013 at 9:39 AM, Bob Cochran yo...@mindchasers.com wrote:

As I reported back on 11/27, I get linux-qoriq-sdk-headers build errors with
the linux patch files located in meta-fsl-ppc/recipes-kernel/linux.
Therefore, I created a files subdirectioy and moved the patch files under
there.


This is in master-next...

http://git.yoctoproject.org/cgit/cgit.cgi/meta-fsl-ppc/commit/?h=master-nextid=88c9c66b588346143a2277f119f78bb2e82e3db3

I'm sorry I've not tested and pushed to master but I've had serious
issues with our build machines and testing the builds, between that
and holiday vacation. Progress is being made again.

-M




Thanks Matthew.  I'm glad to hear master will be moving along again.

I have what seems like more than one problem getting Master to make it 
through the init sequence on my p1010rdb.  I'm working it in the 
margins, and I'll send something out if I discover something meaningful.







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