[yocto] Building for AM335x with meta-ti and meta-qt5

Andy Pont andy.pont at sdcsystems.com
Wed Jul 24 10:53:36 PDT 2019


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?

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

-Andy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20190724/8d12dcc3/attachment-0001.html>


More information about the yocto mailing list