[yocto] raspberry Pi core-image-sato

Edward Vidal develone at sbcglobal.net
Thu Jul 23 05:35:11 PDT 2015


Hi Gary,
Thanks for the help.

I executed the command 
"bitbake userland -c cleansstate" 
This completed successful.

5: userland-git-r5 do_compile (pid 17332)

Did not know how to apply the patch.
I tried in poky folder 
patch --dry-run  <  ~/Downloads/attachment-0001.bin
patch   <  ~/Downloads/attachment-0001.bin
git apply --stat ~/Downloads/attachment-0001.bin
Could not get the patch so I did manually.

git diff
diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
index e3d3c78..238b553 100644
--- a/meta-yocto/conf/distro/poky.conf
+++ b/meta-yocto/conf/distro/poky.conf
@@ -72,6 +72,7 @@ CONNECTIVITY_CHECK_URIS ?= " \
 SANITY_TESTED_DISTROS ?= " \
             poky-1.7 \n \
             poky-1.8 \n \
+            Ubuntu-12.04 \n \
             Ubuntu-14.04 \n \
             Ubuntu-14.10 \n \
             Ubuntu-15.04 \n \
diff --git a/meta/recipes-graphics/libepoxy/libepoxy_git.bb b/meta/recipes-graph
index 9816257..0330a7b 100644
--- a/meta/recipes-graphics/libepoxy/libepoxy_git.bb
+++ b/meta/recipes-graphics/libepoxy/libepoxy_git.bb
@@ -16,7 +16,7 @@ PV = "1.2+git${SRCPV}"
 
 S = "${WORKDIR}/git"
 
-inherit autotools pkgconfig
+inherit autotools pkgconfig python3native
 
 DEPENDS = "util-macros virtual/egl"


bitbake core-image-sato failed with same error.

| WARNING: exit code 1 from a shell command.
| ERROR: oe_runconf failed
| ERROR: Function failed: do_configure (log file is located at /home/vidal/wkg/yocto/RaspberryPi2/poky/build/tmp/work/cortexa7hf-vfp-vfpv4-neon-poky-linux-gnueabi/libepoxy/1.2+gitAUTOINC+20062c25e7-r0/temp/log.do_configure.27821)
ERROR: Task 4597 (/home/vidal/wkg/yocto/RaspberryPi2/poky/meta/recipes-graphics/libepoxy/libepoxy_git.bb, do_configure) failed with exit code '1'
Waiting for 1 running tasks to finish:

These are the layers that I am  using.

meta-yocto-bsp    = "fido:0f8d89ce66cfffccc9911d6c61470a585173b79d"
meta-raspberrypi  = "fido:7457bf182c8fd550ec877ecd786a3edd16e65495"
Do these need to upated I got them on the 20th of this month.
Thanks appreciate all the help. Edward Vidal Jr.
e-mail develone at sbcglobal.net
915-595-1613 


     On Wednesday, July 22, 2015 6:24 PM, "yocto-request at yoctoproject.org" <yocto-request at yoctoproject.org> wrote:
   

 Send yocto mailing list submissions to
    yocto at yoctoproject.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.yoctoproject.org/listinfo/yocto
or, via email, send a message with subject or body 'help' to
    yocto-request at yoctoproject.org

You can reach the person managing the list at
    yocto-owner at yoctoproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of yocto digest..."


Today's Topics:

  1. [meta-raspberrypi][PATCH 1/1] packagegroup-rpi-test: Add
      pi-blaster (Petter Mab?cker)
  2. [meta-raspberrypi][PATCH 0/1] packagegroup-rpi-test: Add
      pi-blaster (Petter Mab?cker)
  3. VMDK image not booting (Daniel Kuhne)
  4. Re: [oe] Bug in Open CV receipt (Otavio Salvador)
  5. Re: Exporting kernel header from patch (Gamma.Dean at Emerson.com)
  6. raspberry Pi core-image-sato (Edward Vidal)
  7. Re: raspberry Pi core-image-sato (Gary Thomas)


----------------------------------------------------------------------

Message: 1
Date: Wed, 22 Jul 2015 23:29:52 +0200
From: Petter Mab?cker <petter at technux.se>
To: yocto at yoctoproject.org
Subject: [yocto] [meta-raspberrypi][PATCH 1/1] packagegroup-rpi-test:
    Add    pi-blaster
Message-ID:
    <7c508bdaa77ecacf897f5470c85767ed6702fd6e.1437600372.git.petter at technux.se>
    
Content-Type: text/plain; charset=UTF-8

Ensure that pi-blaster is built and included by default when building
'rpi-test-image'.

Signed-off-by: Petter Mab?cker <petter at technux.se>
---
 recipes-core/packagegroups/packagegroup-rpi-test.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-core/packagegroups/packagegroup-rpi-test.bb b/recipes-core/packagegroups/packagegroup-rpi-test.bb
index e16e79e..d8d311f 100644
--- a/recipes-core/packagegroups/packagegroup-rpi-test.bb
+++ b/recipes-core/packagegroups/packagegroup-rpi-test.bb
@@ -10,6 +10,7 @@ RDEPENDS_${PN} = "\
    wiringpi \
    rpio \
    rpi-gpio \
+    pi-blaster \
 "
 
 RRECOMMENDS_${PN} = "\
-- 
1.9.1



------------------------------

Message: 2
Date: Wed, 22 Jul 2015 23:29:51 +0200
From: Petter Mab?cker <petter at technux.se>
To: yocto at yoctoproject.org
Subject: [yocto] [meta-raspberrypi][PATCH 0/1] packagegroup-rpi-test:
    Add    pi-blaster
Message-ID: <cover.1437600372.git.petter at technux.se>
Content-Type: text/plain; charset=UTF-8

The following changes since commit 7457bf182c8fd550ec877ecd786a3edd16e65495:

  wiringpi: Bump SRCREV (2015-07-19 14:53:27 +0200)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib petmab/rpi_minor_fix
  http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=petmab/rpi_minor_fix

Petter Mab?cker (1):
  packagegroup-rpi-test: Add pi-blaster

 recipes-core/packagegroups/packagegroup-rpi-test.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
1.9.1



------------------------------

Message: 3
Date: Wed, 22 Jul 2015 07:33:20 +0000
From: Daniel Kuhne <dakuit00 at gmail.com>
To: yocto at yoctoproject.org
Subject: [yocto] VMDK image not booting
Message-ID:
    <CABEeoJV2CXbGtu1UnFZGtg-Snxj7+J9_RBb32EDzhq=LdH5D_Q at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello,

my vmdk image is not booting into systemd. But my iso image does.
It is similar to
https://lists.yoctoproject.org/pipermail/yocto/2014-August/021218.html

I use fido with meta-intel.

Cheers,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150722/414c21a0/attachment-0001.html>

------------------------------

Message: 4
Date: Wed, 22 Jul 2015 09:35:20 -0300
From: Otavio Salvador <otavio.salvador at ossystems.com.br>
To: OpenEmbedded Devel List
    <openembedded-devel at lists.openembedded.org>
Cc: "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Subject: Re: [yocto] [oe] Bug in Open CV receipt
Message-ID:
    <CAP9ODKq6U0udqPvjgs1WmHNFy693O6h5Qt+hHFwnYo5nbpH1kQ at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Tue, Jul 21, 2015 at 11:57 AM, Victor Rodriguez <vm.rod25 at gmail.com> wrote:
> Few weeks ago I was having some problems with open CV receipt. In the
> begining I toght I was adding opencv tro my core-image-minimal-xfce
> just with this:
>
> IMAGE_INSTALL_append = " gcc gcc-dev openssh php mariadb opencv"
>
> Now after booting the image I realize that none of the libraries for
> open stack were added to my image
>
> What I had to do was the following:
>
>
> IMAGE_INSTALL_append = " libopencv-core-dev libopencv-highgui-dev
> libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev
> opencv-staticdev python-opencv"
>
> Even last night when one of the opencv developers ask me for python
> opencv I had to add the last part python-opencv. That is not cool at
> all . If I add opencv in the beginning I assume we are more than cool
> with that and yocto will add all the packages . Unless I am doing
> something wrong, in taht case I am more than happy to get the
> feedback.
>
> Thanks a lot for all the help . If someone else can reproduce this bug
> I am more than happy to report it in bugzila (not sure the URL)

You should add the dev-pkgs and tools-sdk image features for the
image, not mangle it manually.

-- 
Otavio Salvador                            O.S. Systems
http://www.ossystems.com.br       http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


------------------------------

Message: 5
Date: Wed, 22 Jul 2015 15:09:26 +0000
From: <Gamma.Dean at Emerson.com>
To: <yocto at yoctoproject.org>
Subject: Re: [yocto] Exporting kernel header from patch
Message-ID:
    <5B6A9B05AFA9AC4FB94345D083806F144B2BF945 at USSTLZ-PMSG016.emrsn.org>
Content-Type: text/plain; charset="us-ascii"

When using a shared sstate cache which has the previously built kernel it appears that STAGING_KERNEL_DIR does not get populated - in my case there is no tmp/work-shared directory at all.  If I have modified the user space app to look there for a header is there some dependency I can add that will force STAGING_KERNEL_DIR to get built?

If not, perhaps the best answer is your other proposed method of just adding the header to an additional path in sysroot.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150722/f550ea3d/attachment-0001.html>

------------------------------

Message: 6
Date: Wed, 22 Jul 2015 22:16:50 +0000 (UTC)
From: Edward Vidal <develone at sbcglobal.net>
To: "yocto at yoctoproject.org" <yocto at yoctoproject.org>
Subject: [yocto] raspberry Pi core-image-sato
Message-ID:
    <858020079.672977.1437603410191.JavaMail.yahoo at mail.yahoo.com>
Content-Type: text/plain; charset="utf-8"

HiStill having errors with bitbake core-image-satoThis occurs at | checking for X11... yes
| checking for EGL... no
| configure: error: Package requirements (egl) were not met:
ERROR: Task 4856 (/home/vidal/wkg/yocto/RaspberryPi2/poky/meta/recipes-graphics/libepoxy/libepoxy_git.bb, do_configure) failed with exit code '1'I tried adding /conf/machine/raspberrypi2.conf which I found on the internet.+PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp"
+PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"This caused several more errors.Any and all help is appreciated. ?Edward Vidal Jr.
e-mail develone at sbcglobal.net
915-595-1613
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150722/0edaf329/attachment-0001.html>

------------------------------

Message: 7
Date: Wed, 22 Jul 2015 18:23:18 -0600
From: Gary Thomas <gary at mlbassoc.com>
To: yocto at yoctoproject.org
Subject: Re: [yocto] raspberry Pi core-image-sato
Message-ID: <55B033F6.0 at mlbassoc.com>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

On 2015-07-22 16:16, Edward Vidal wrote:
> Hi
> Still having errors with bitbake core-image-sato

You must have added something to your image - core-image-sato does
not include libepoxy by default.

> This occurs at
> | checking for X11... yes
> | checking for EGL... no
> | configure: error: Package requirements (egl) were not met:
> ERROR: Task 4856 (/home/vidal/wkg/yocto/RaspberryPi2/poky/meta/recipes-graphics/libepoxy/libepoxy_git.bb, do_configure) failed with exit code '1'
>
> I tried adding /conf/machine/raspberrypi2.conf which I found on the internet.
>
> +PREFERRED_PROVIDER_virtual/egl ?= "vc-graphics-hardfp"
> +PREFERRED_PROVIDER_virtual/libgles2 ?= "vc-graphics-hardfp"
>
> This caused several more errors.

Which you failed [again] to list :-(

> Any and all help is appreciated.

To get libepoxy to build:
  % bitbake userland -c cleansstate

Then apply this patch which fixes a problem with libepoxy using
the wrong python3

After that, I got it to build for RaspberryPi-2

-- 
------------------------------------------------------------
Gary Thomas                |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libepoxy-Use-native-python3.patch
Type: text/x-patch
Size: 927 bytes
Desc: not available
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150722/ecba9929/attachment.bin>

------------------------------

-- 
_______________________________________________
yocto mailing list
yocto at yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


End of yocto Digest, Vol 58, Issue 66
*************************************


  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20150723/d15c3703/attachment.html>


More information about the yocto mailing list