[meta-ti] Building for AM335x with meta-ti and meta-qt5
Denys Dmytriyenko
denys at ti.com
Wed Jul 24 11:51:59 PDT 2019
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
More information about the meta-ti
mailing list