All of lore.kernel.org
 help / color / mirror / Atom feed
From: Denys Dmytriyenko <denys@ti.com>
To: Andy Pont <andy.pont@sdcsystems.com>
Cc: meta-ti@yoctoproject.org, Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Re: [meta-ti] Building for AM335x with meta-ti and meta-qt5
Date: Wed, 24 Jul 2019 14:51:59 -0400	[thread overview]
Message-ID: <20190724185159.GD5700@beryl> (raw)
In-Reply-To: <em8e44e63f-388a-4ff6-ace9-d28ccd87f383@andys-imac.local>

On Wed, Jul 24, 2019 at 05:53:36PM +0000, Andy Pont wrote:
> I am trying to build a Yocto (warrior) image for the AM335x using meta-ti
> and meta-qt5 that will render directly to the GPU.  Initially this will be
> for the Beaglebone Black but then ultimately will be for a custom hardware
> platform.
> 
> In broad outline, I think, the software stack needs to look a bit like:
> 
> Qt Application
> QtBase, QtWebEngine, etc.
> Qt-OpenGL
> ti-sgx-ddk
> AM335x GPU
> 
> I have included meta-ti and meta-qt5 into my belayers.conf and added
> ti-sgx-ddk-km, ti-sgx-ddk-um, qtbase and qtwebengine to
> IMAGE_INSTALL_append.  When I try to bitbake core-image-minimal I start to
> get a failure to compile ti-sgx-ddk-km with a number of, what appear to be,
> warnings of the form:
> 
> KBUILD_EXTRA_SYMBOLS=
> | grep: /home/me/Yocto/BeagleBoneBlack/tmp/work-shared/beaglebone/kernel-source/include/linux/amba:
> Is a directory
> | grep: /home/me/Yocto/BeagleBoneBlack/tmp/work-shared/beaglebone/kernel-source/include/linux/avf:
> Is a directory
> 
> It then ultimately appears to give up with:
> 
> | ******* Multiarch build: no
> | ******* Primary arch:    target_armel
> | ******* Secondary arch:  none
> | ../config/core.mk:513: $(KERNELDIR)/vmlinux does not exist. Kbuild may
> fail.
> | eurasiacon/build/linux2/toplevel.mk:230:
> eurasiacon/build/linux2/moduledefs/target_armel.mk: No such file or
> directory
> 
> Is there a specific kernel I need to define in local.conf that the GPU
> drivers build against?
> 
> Also, is there any specific configuration I need to do in order to get Qt to
> use the SGX OpenGL drivers?

What's your DISTRO, your MACHINE, TUNES and any other special configs?


> I have had a search on the web but not found anything for recent Yocto
> versions, only very old stuff.

It's been working fine for years, hence no recent discussions. You may want to 
look into TI Processor SDK for AM335x - it's Yocto Project based Arago distro 
that is configured for Qt5-Wayland/Weston-SGX, but has been also tested with 
EGLFS QPA.

-- 
Denys


WARNING: multiple messages have this Message-ID (diff)
From: Denys Dmytriyenko <denys@ti.com>
To: Andy Pont <andy.pont@sdcsystems.com>
Cc: meta-ti@yoctoproject.org, Yocto-mailing-list <yocto@yoctoproject.org>
Subject: Re: Building for AM335x with meta-ti and meta-qt5
Date: Wed, 24 Jul 2019 14:51:59 -0400	[thread overview]
Message-ID: <20190724185159.GD5700@beryl> (raw)
In-Reply-To: <em8e44e63f-388a-4ff6-ace9-d28ccd87f383@andys-imac.local>

On Wed, Jul 24, 2019 at 05:53:36PM +0000, Andy Pont wrote:
> I am trying to build a Yocto (warrior) image for the AM335x using meta-ti
> and meta-qt5 that will render directly to the GPU.  Initially this will be
> for the Beaglebone Black but then ultimately will be for a custom hardware
> platform.
> 
> In broad outline, I think, the software stack needs to look a bit like:
> 
> Qt Application
> QtBase, QtWebEngine, etc.
> Qt-OpenGL
> ti-sgx-ddk
> AM335x GPU
> 
> I have included meta-ti and meta-qt5 into my belayers.conf and added
> ti-sgx-ddk-km, ti-sgx-ddk-um, qtbase and qtwebengine to
> IMAGE_INSTALL_append.  When I try to bitbake core-image-minimal I start to
> get a failure to compile ti-sgx-ddk-km with a number of, what appear to be,
> warnings of the form:
> 
> KBUILD_EXTRA_SYMBOLS=
> | grep: /home/me/Yocto/BeagleBoneBlack/tmp/work-shared/beaglebone/kernel-source/include/linux/amba:
> Is a directory
> | grep: /home/me/Yocto/BeagleBoneBlack/tmp/work-shared/beaglebone/kernel-source/include/linux/avf:
> Is a directory
> 
> It then ultimately appears to give up with:
> 
> | ******* Multiarch build: no
> | ******* Primary arch:    target_armel
> | ******* Secondary arch:  none
> | ../config/core.mk:513: $(KERNELDIR)/vmlinux does not exist. Kbuild may
> fail.
> | eurasiacon/build/linux2/toplevel.mk:230:
> eurasiacon/build/linux2/moduledefs/target_armel.mk: No such file or
> directory
> 
> Is there a specific kernel I need to define in local.conf that the GPU
> drivers build against?
> 
> Also, is there any specific configuration I need to do in order to get Qt to
> use the SGX OpenGL drivers?

What's your DISTRO, your MACHINE, TUNES and any other special configs?


> I have had a search on the web but not found anything for recent Yocto
> versions, only very old stuff.

It's been working fine for years, hence no recent discussions. You may want to 
look into TI Processor SDK for AM335x - it's Yocto Project based Arago distro 
that is configured for Qt5-Wayland/Weston-SGX, but has been also tested with 
EGLFS QPA.

-- 
Denys


  reply	other threads:[~2019-07-24 18:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
2019-07-24 18:51 ` Denys Dmytriyenko [this message]
2019-07-24 18:51   ` Denys Dmytriyenko
2019-07-24 20:54   ` Andy Pont
2019-07-24 19:11 ` Zoran Stojsavljevic
2019-07-24 19:14 ` Sergei Nikulov
2019-07-25 18:01 ` Andy Pont
2019-07-25 18:01   ` [yocto] " Andy Pont

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=20190724185159.GD5700@beryl \
    --to=denys@ti.com \
    --cc=andy.pont@sdcsystems.com \
    --cc=meta-ti@yoctoproject.org \
    --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.