From: Valentin Popa <valentin.popa@intel.com>
To: "Burton, Ross" <ross.burton@intel.com>, Gary Thomas <gary@mlbassoc.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: Can't build core-image-weston
Date: Thu, 13 Feb 2014 19:35:51 +0200 [thread overview]
Message-ID: <52FD0277.3000703@intel.com> (raw)
In-Reply-To: <CAJTo0LaJ4rmWpvPZK62kgkoBm9CTK4uUSaYFZ8JPdZ4qXycQTQ@mail.gmail.com>
On 02/13/2014 06:56 PM, Burton, Ross wrote:
> Hi Gary,
>
> On 13 February 2014 14:36, Gary Thomas <gary@mlbassoc.com> wrote:
>> I had previously built core-image-sato-sdk with some extra packages:
>> CORE_IMAGE_EXTRA_INSTALL += "rsync openssh"
>> That worked fine, but core-image-weston fails as above. Is there a
>> reason I can't choose openssh instead of dropbear (and perhaps there
>> is some other way I am supposed to choose)?
> You might find EXTRA_IMAGE_FEATURES += "ssh-server-openssh" better
> than CORE_IMAGE_EXTRA_INSTALL, because core-image-weston has the
> ssh-server-dropbear image feature. When specifying both the right
> thing happens (dropbear is dropped).
>
>> I removed the openssh from the extras and now it builds, but it doesn't
>> do anything [useful] - should it actually work? I don't see anything
>> that looks like 'weston' running.
> Looks like weston is crashing. There are known problems with Weston in qemu:
>
> https://bugzilla.yoctoproject.org/show_bug.cgi?id=5660
>
> Valentin did the research here and I can't remember the details:
> Valentin, can you elaborate on the comments there about what is
> working/breaking? I remember there being a qemu option that changed
> behaviour too.
>
> Try changing the init script (or just running weston manually) to pick
> the fbdev backend. Note that right now this isn't enabled but there's
> a patch on the list to enable it by default, but it's just a
> PACKAGECONFIG away from being enabled.
>
> Ross
Hi,
To get something on the screen build weston with fbdev and with
WESTON_NATIVE_BACKEND="fbdev-backend.so":
1) add fbdev to PACKAGECONFIG ( PACKAGECONFIG ??=
"${@base_contains('DISTRO_FEATURES', 'wayland', 'kms fbdev wayland', '',
d)} \ .... )
2) append EXTRA_OECONF with WESTON_NATIVE_BACKEND="fbdev-backend.so".
If it's not working make sure you have a framebuffer device (/dev/fb0
should be there).
If it's still not working, try with kms:
1) configure mesa (edit mesa.inc ) to build mesa dri driver :
a) PACKAGECONFIG ??= "egl gles dri gallium gallium-egl
gallium-gbm \ ....
b) change DRIDRIVERS = "swrast" to DRIDRIVERS = "" (so you can
build all dri drivers including vmwgfx)
c) (optional I think) change GALLIUMDRIVERS = "swrast" to
GALLIUMDRIVERS = "svga" (as I know vmwgfx is part of svga gallium drivers)
2) add this to your local.conf
CORE_IMAGE_EXTRA_INSTALL += " libgles2-mesa libegl-gallium
libgbm-gallium mesa-driver-vmwgfx "
If still not working, reply to this mail.
prev parent reply other threads:[~2014-02-13 17:36 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-13 14:36 Can't build core-image-weston Gary Thomas
2014-02-13 16:56 ` Burton, Ross
2014-02-13 17:35 ` Valentin Popa [this message]
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=52FD0277.3000703@intel.com \
--to=valentin.popa@intel.com \
--cc=gary@mlbassoc.com \
--cc=ross.burton@intel.com \
--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.