All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alex J Lennon <ajlennon@dynamicdevices.co.uk>
To: Felix01 Fischer <felix01.fischer@iav.de>
Cc: yocto@yoctoproject.org
Subject: Re: [meta-raspberrypi] Purpose of vc-graphics-hardfp.bb & vc-graphics.bb unclear
Date: Tue, 03 Jun 2014 15:39:27 +0100	[thread overview]
Message-ID: <538DDE1F.9060709@dynamicdevices.co.uk> (raw)
In-Reply-To: <OFCEE12F28.34E41662-ONC1257CEC.004E5863-C1257CEC.004FD096@retarus.de>

[-- Attachment #1: Type: text/plain, Size: 3999 bytes --]


On 03/06/2014 15:31, Felix01 Fischer wrote:
> Hello all,
>
> my ongoing struggle to get qt5 working on the raspberrypi led me to a
> question unrelated to qt5.
>
> why do vc-graphics-hardfp.bb & vc-graphics.bb exist? [1]
> There is no recipe which uses on of this files.
> If I add one of them to my image via IMAGE_INSTALL_append I get errors
> that userland.git and vc-grapics-hardfp both provide virtual/egl and
> virtual/libgles2.
> (Which they obviously do.) [2]
>
> My question is: What is the reason for having userland_git.bb &
> vc-graphics.bb/vc-graphics-hardfp ?
>

Hi Felix,

I'm not sure, but I've been looking at userland vs vc-graphics recently
and I believe it is historical.

Originally the intermediate layer between userspace and the videocore
was distributed as binaries
which is what vc-graphics pulls down

ref: https://github.com/raspberrypi/firmware/tree/master/opt/vc

More recently Broadcom opened up the source and provided it under a more
relaxed license, and this
is what userland provides:

ref: http://www.raspberrypi.org/open-source-arm-userspace/
ref: https://github.com/raspberrypi/userland

Somebody will no doubt correct me if my guess is wrong :)

I have been using userland + gstreamer reasonably sucessfully here
although my patch is needed for some
of the userspace apps (e.g. raspivid), and there are some configuration
issues that need patching still
relating to gstreamer1.0-omx

ref: https://github.com/raspberrypi/userland/pull/179

Cheers,

Alex

> Two things are notable, IMHO:
>
> vc-graphics.inc has two files specified.
> One packageconfig (.pc) file with the right includes. I had to add one
> library manually in order to get qt5 compiling
> and the other one is a startup script for initalising the videocore.
>
> Are these two files deprecated by now? The last change to a file in
> the vc-graphics folder has been made 2013-08-21
> Or do I need at least the initscript to get the videocore working?
>
> Regards,
>
> Felix Fischer
>
> [1]
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-bcm/vc-graphics/
>
> [2]
> http://git.yoctoproject.org/cgit/cgit.cgi/meta-raspberrypi/tree/recipes-graphics/userland/userland_git.bb
>
>
>
> Student Employee (VC-I42)
> Vehicle Cockpit - HMI Software and Code generation
>
> IAV GmbH
> Carnotstr. 1
> 10587 BERLIN
> GERMANY
>
> Phone: +49 30 3997-89540
> Fax:       +49 30 3997-89411
> E-Mail:  <mailto:felix01.fischer@iav.de>
> Internet: http://www.iav.com <http://www.iav.com/>
>
> Sitz/Registered Office: Berlin,
> Registergericht/Registration Court: Amtsgericht Charlottenburg,
> Registernummer/Company Registration Number: HRB 21 280,
> Geschäftsführer/Managing Directors: Kurt Blumenröder, Michael
> Schubert, Dr. Rüdiger Goyk
> Vorsitzender des Aufsichtsrates/Chairman of the Supervisory Board: Dr.
> Harald Ludanek
>
>

-- 

Dynamic Devices Ltd <http://www.dynamicdevices.co.uk/>

Alex J Lennon / Director
1 Queensway, Liverpool L22 4RA

mobile: +44 (0)7956 668178

Linkedin <http://www.linkedin.com/in/alexjlennon> Skype
<skype:alexjlennon?add>

This e-mail message may contain confidential or legally privileged
information and is intended only for the use of the intended
recipient(s). Any unauthorized disclosure, dissemination, distribution,
copying or the taking of any action in reliance on the information
herein is prohibited. E-mails are not secure and cannot be guaranteed to
be error free as they can be intercepted, amended, or contain viruses.
Anyone who communicates with us by e-mail is deemed to have accepted
these risks. Company Name is not responsible for errors or omissions in
this message and denies any responsibility for any damage arising from
the use of e-mail. Any opinion and other statement contained in this
message and any attachment are solely those of the author and do not
necessarily represent those of the company.


[-- Attachment #2.1: Type: text/html, Size: 8715 bytes --]

[-- Attachment #2.2: ddlogo-4.png --]
[-- Type: image/png, Size: 3997 bytes --]

[-- Attachment #2.3: linkedin.png --]
[-- Type: image/png, Size: 631 bytes --]

[-- Attachment #2.4: skype.png --]
[-- Type: image/png, Size: 800 bytes --]

  reply	other threads:[~2014-06-03 14:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-03 14:31 [meta-raspberrypi] Purpose of vc-graphics-hardfp.bb & vc-graphics.bb unclear Felix01 Fischer
2014-06-03 14:39 ` Alex J Lennon [this message]
2014-06-10 19:26   ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=538DDE1F.9060709@dynamicdevices.co.uk \
    --to=ajlennon@dynamicdevices.co.uk \
    --cc=felix01.fischer@iav.de \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.