Re: [yocto] [meta-raspberrypi] Thoughts on Raspberry Pi firmware

2013-05-15 Thread Tomas Frydrych
On 14/05/13 13:09, Paul Barker wrote:
> Secondly, is there any use case for building vc-graphics or 
> vc-graphics-hardfp to provide virtual/egl and virtual/libgles2
> (which rely on binary files from the raspberry pi firmware repo)
> instead of compiling from source using the userland package?

It would be preferable if we could build these from source; last time I
tried (which, admittedly, is a long while back), this was not possible
because of some missing broadcom-specific header files that seemed not
available anywhere, but I guess this is no longer the case.

Tomas


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


[yocto] [yocto-autobuilder][PATCH] nightly-qa-extras: fix image config options

2013-05-15 Thread Stefan Stanacar
Use IMAGE_FEATURES_append instead of EXTRA_IMAGE_FEATURES
because it gets overwritten by local.conf.
Remove the dmesg sanity as it requires copying a file which
won't work on a r/o image.

Signed-off-by: Stefan Stanacar 
---
 buildset-config/nightly-qa-extras.conf | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/buildset-config/nightly-qa-extras.conf 
b/buildset-config/nightly-qa-extras.conf
index c3af24c..1846764 100644
--- a/buildset-config/nightly-qa-extras.conf
+++ b/buildset-config/nightly-qa-extras.conf
@@ -12,6 +12,6 @@ steps: [{'SetDest':{}},
 {'CreateBBLayersConf': {'buildprovider' : 'yocto'}},
 {'BuildImages': {'images': 'core-image-sato'}},
 {'RunSanityTests': {'images': 'core-image-sato'}},
-{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'atextappend' : '\nEXTRA_IMAGE_FEATURES = "debug-tweaks 
read-only-rootfs"\n'}},
+{'CreateAutoConf': {'machine': 'qemux86-64', 'SDKMACHINE' : 'i686', 
'distro': 'poky', 'atextappend' : '\nIMAGE_FEATURES_append = " 
read-only-rootfs"\n'}},
 {'BuildImages': {'images': 'core-image-sato'}},
-{'RunSanityTests': {'images': 'core-image-sato', 'scene' : 
'sanity:boot sanity:ssh sanity:dmesg'}}]
+{'RunSanityTests': {'images': 'core-image-sato', 'scene' : 
'sanity:boot sanity:ssh'}}]
-- 
1.8.1.4

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


Re: [yocto] [yocto-autobuilder][PATCH] nightly-qa-extras: fix image config options

2013-05-15 Thread Burton, Ross
On 15 May 2013 11:32, Stefan Stanacar  wrote:
> Remove the dmesg sanity as it requires copying a file which
> won't work on a r/o image.

Is this copying the dmesg.sh to the target?  Why not copy the file
into /tmp, which will be read-write?

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


Re: [yocto] [yocto-autobuilder][PATCH] nightly-qa-extras: fix image config options

2013-05-15 Thread Stanacar, StefanX


On Wed, 2013-05-15 at 11:36 +0100, Burton, Ross wrote:
> On 15 May 2013 11:32, Stefan Stanacar  wrote:
> > Remove the dmesg sanity as it requires copying a file which
> > won't work on a r/o image.
> 
> Is this copying the dmesg.sh to the target?  Why not copy the file
> into /tmp, which will be read-write?

Yes, dmesg sanity test calls Test_Target_Pre which copies dmesg.sh
in /opt/test. That's the default in qemuimage-testlib. I don't see why
dmesg can't be changed to do it differently. Anyway until that changes
in master, the AB shouldn't run it.

> 
> Ross

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


Re: [yocto] [meta-raspberrypi] Thoughts on Raspberry Pi firmware

2013-05-15 Thread Philipp Wagner
Am 15.05.2013 11:29, schrieb Tomas Frydrych:
> On 14/05/13 13:09, Paul Barker wrote:
>> Secondly, is there any use case for building vc-graphics or 
>> vc-graphics-hardfp to provide virtual/egl and virtual/libgles2
>> (which rely on binary files from the raspberry pi firmware repo)
>> instead of compiling from source using the userland package?
> 
> It would be preferable if we could build these from source; last time I
> tried (which, admittedly, is a long while back), this was not possible
> because of some missing broadcom-specific header files that seemed not
> available anywhere, but I guess this is no longer the case.

The graphics libraries can now be compiled from source (userland is part
of meta-raspberrypi) and in my tests it's equivalent to the binary
drivers. I'm not sure if those should be removed from meta-raspberrypi
or left there for somebody who still needs them (why?).

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


Re: [yocto] [oe] [RFC] Layers, PRINC and bbappends

2013-05-15 Thread Paul Barker
On 15 May 2013 21:33, Richard Purdie  wrote:

>
> (e.g. when I include
> meta-raspberrypi, it changes the psplash logo, regardless of whether I'm
> building for the pi).
>
> In many ways the bbappend is too easy and encourages anti-social
> behaviour. I would recommend bouncing meta-rpi as being non yocto
> project compatible due to the psplash issue if it were to apply which it
> has not.
>

I noticed the psplash logo when building a qemu image with
meta-raspberrypi included, will look into fixing it so it only goes
into MACHINE="raspberrypi" builds. Copying in yocto@ and Andrei as
this is raspberrypi related.

--
Paul Barker

Email: p...@paulbarker.me.uk
http://www.paulbarker.me.uk
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


[yocto] building the BitBake manual

2013-05-15 Thread Rifenbark, Scott M
When running "make" on the BB docs, my Ubuntu system was missing two packages: 
dblatex, xmlto.  Currently, the "Required Packages for the Host Development 
System" section in the YP Reference Manual does not list these packages as part 
of the "Documentation" packages.  I am thinking we should add these in for 
Ubuntu.  Can anyone tell me what the packages would be for Fedora, OpenSUSE, 
and CentOS?  Are they named the same?

Thanks, 
Scott

Scott Rifenbark
Intel Corporation
Yocto Project Documentation
503.712.2702
503.341.0418 (cell)

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


[yocto] [meta-intel][PATCH] tiny-init: Drop the bbappend

2013-05-15 Thread Khem Raj
init file which it was providing is ditto as meta-yocto
so bbappend is redundant plus it gets rid of following warning
for non poky distros.

WARNING: No recipes available for:
  /builds1/meta-intel/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend

Signed-off-by: Khem Raj 
CC: Darren Hart 
---
 .../recipes-core/tiny-init/tiny-init.bbappend  |6 -
 meta-fri2/recipes-core/tiny-init/tiny-init/init|   26 
 2 files changed, 32 deletions(-)
 delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
 delete mode 100644 meta-fri2/recipes-core/tiny-init/tiny-init/init

diff --git a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend 
b/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
deleted file mode 100644
index 89416dc..000
--- a/meta-fri2/recipes-core/tiny-init/tiny-init.bbappend
+++ /dev/null
@@ -1,6 +0,0 @@
-# Update the init script for the tiny image to manually mount devtmpfs and
-# ensure the ttyPCH1 device is available for the console.
-
-FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
- 
-PRINC := "${@int(PRINC) + 1}"
diff --git a/meta-fri2/recipes-core/tiny-init/tiny-init/init 
b/meta-fri2/recipes-core/tiny-init/tiny-init/init
deleted file mode 100644
index 4b78f01..000
--- a/meta-fri2/recipes-core/tiny-init/tiny-init/init
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# Mount the Linux kernel virtual filesystems
-mount none -t proc /proc
-mount none -t sysfs /sys
-
-# Ensure devtmpfs is mounted, it must be done manually with initramfs
-mount none -t devtmpfs /dev
-
-# Setup PTY infrastructure
-mkdir /dev/pts
-mount none -t devpts /dev/pts
-
-ifup lo
-
-# Allow for distro or local customizations
-if [ -f /etc/rc.local ] ; then
-   source /etc/rc.local
-fi
-
-# Become session leader and try to find a real tty (e.g. ttyS0)
-while true; do
-   setsid cttyhack sh
-   echo "Console sh exited with $?, respawning..."
-   sleep 1
-done
-- 
1.7.9.5

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


Re: [yocto] building the BitBake manual

2013-05-15 Thread Rudolf Streif
Scott,

On FC18 these packages are also called xmlto and dblatex.

xmlto has a dependency on flex which the package manager should install
automatically.
dblatex has dependencies on texlive-*.

:rjs



On Wed, May 15, 2013 at 9:07 PM, Rifenbark, Scott M <
scott.m.rifenb...@intel.com> wrote:

> When running "make" on the BB docs, my Ubuntu system was missing two
> packages: dblatex, xmlto.  Currently, the "Required Packages for the Host
> Development System" section in the YP Reference Manual does not list these
> packages as part of the "Documentation" packages.  I am thinking we should
> add these in for Ubuntu.  Can anyone tell me what the packages would be for
> Fedora, OpenSUSE, and CentOS?  Are they named the same?
>
> Thanks,
> Scott
>
> Scott Rifenbark
> Intel Corporation
> Yocto Project Documentation
> 503.712.2702
> 503.341.0418 (cell)
>
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
>
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] building the BitBake manual

2013-05-15 Thread Rudolf Streif
And I hit the send button too early: on FC18 you also have to install
texlive-multirow.

:rjs

On Wed, May 15, 2013 at 10:16 PM, Rudolf Streif  wrote:

> Scott,
>
> On FC18 these packages are also called xmlto and dblatex.
>
> xmlto has a dependency on flex which the package manager should install
> automatically.
> dblatex has dependencies on texlive-*.
>
> :rjs
>
>
>
> On Wed, May 15, 2013 at 9:07 PM, Rifenbark, Scott M <
> scott.m.rifenb...@intel.com> wrote:
>
>> When running "make" on the BB docs, my Ubuntu system was missing two
>> packages: dblatex, xmlto.  Currently, the "Required Packages for the Host
>> Development System" section in the YP Reference Manual does not list these
>> packages as part of the "Documentation" packages.  I am thinking we should
>> add these in for Ubuntu.  Can anyone tell me what the packages would be for
>> Fedora, OpenSUSE, and CentOS?  Are they named the same?
>>
>> Thanks,
>> Scott
>>
>> Scott Rifenbark
>> Intel Corporation
>> Yocto Project Documentation
>> 503.712.2702
>> 503.341.0418 (cell)
>>
>> ___
>> 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] Gnome tests, taking inspiration from us!

2013-05-15 Thread Richard Purdie
I've just found out that there is currently a proposal in the Gnome
project to change the way they write and run tests. I know Colin posted
it a few weeks ago but somehow I missed the mail and I suspect others
did too:

https://live.gnome.org/GnomeGoals/InstalledTests

When you read through this, you will see echos of what we're trying to
do with ptest and its not a coincidence! Certainly, interfacing tests
like the above with ptest should be straight forward.

I know the people involved in this would love feedback. There is some
resistance in the Gnome community to a change like this but it would
obviously be very in keeping with our goals and the higher level goal of
making it easier for people to run these tests and getting wider spread
and more diverse usage of them.

I was thinking about the design overnight and I like it, I'm not sure I
have any suggestions for improving it right now, I certainly support it.

Other links:

Glib discussion: https://bugzilla.gnome.org/show_bug.cgi?id=699079
Status Update: 
https://mail.gnome.org/archives/desktop-devel-list/2013-May/msg00014.html

Cheers,

Richard




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


Re: [yocto] building the BitBake manual

2013-05-15 Thread Rifenbark, Scott M
Thanks Rudolf

From: Rudolf Streif [mailto:rstr...@linuxfoundation.org]
Sent: Wednesday, May 15, 2013 10:17 PM
To: Rifenbark, Scott M
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] building the BitBake manual

Scott,

On FC18 these packages are also called xmlto and dblatex.

xmlto has a dependency on flex which the package manager should install 
automatically.
dblatex has dependencies on texlive-*.

:rjs


On Wed, May 15, 2013 at 9:07 PM, Rifenbark, Scott M 
mailto:scott.m.rifenb...@intel.com>> wrote:
When running "make" on the BB docs, my Ubuntu system was missing two packages: 
dblatex, xmlto.  Currently, the "Required Packages for the Host Development 
System" section in the YP Reference Manual does not list these packages as part 
of the "Documentation" packages.  I am thinking we should add these in for 
Ubuntu.  Can anyone tell me what the packages would be for Fedora, OpenSUSE, 
and CentOS?  Are they named the same?

Thanks,
Scott

Scott Rifenbark
Intel Corporation
Yocto Project Documentation
503.712.2702
503.341.0418 (cell)

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




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


Re: [yocto] building the BitBake manual

2013-05-15 Thread Rifenbark, Scott M
Got it - thanks.

From: Rudolf Streif [mailto:rstr...@linuxfoundation.org]
Sent: Wednesday, May 15, 2013 10:20 PM
To: Rifenbark, Scott M
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] building the BitBake manual

And I hit the send button too early: on FC18 you also have to install 
texlive-multirow.

:rjs
On Wed, May 15, 2013 at 10:16 PM, Rudolf Streif 
mailto:rstr...@linuxfoundation.org>> wrote:
Scott,

On FC18 these packages are also called xmlto and dblatex.

xmlto has a dependency on flex which the package manager should install 
automatically.
dblatex has dependencies on texlive-*.

:rjs


On Wed, May 15, 2013 at 9:07 PM, Rifenbark, Scott M 
mailto:scott.m.rifenb...@intel.com>> wrote:
When running "make" on the BB docs, my Ubuntu system was missing two packages: 
dblatex, xmlto.  Currently, the "Required Packages for the Host Development 
System" section in the YP Reference Manual does not list these packages as part 
of the "Documentation" packages.  I am thinking we should add these in for 
Ubuntu.  Can anyone tell me what the packages would be for Fedora, OpenSUSE, 
and CentOS?  Are they named the same?

Thanks,
Scott

Scott Rifenbark
Intel Corporation
Yocto Project Documentation
503.712.2702
503.341.0418 (cell)

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







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