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

Zoran Stojsavljevic zoran.stojsavljevic at gmail.com
Wed Jul 24 12:11:09 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.

For the starters, check this out! Not really what you want, but maybe
good starting point.
https://github.com/ZoranStojsavljevic/bbb-yocto
https://github.com/ZoranStojsavljevic/bbb-yocto/blob/master/bbb-yocto.sh

Zoran
_______

On Wed, Jul 24, 2019 at 7:54 PM Andy Pont <andy.pont at sdcsystems.com> 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?
>
> I have had a search on the web but not found anything for recent Yocto versions, only very old stuff.
>
> -Andy.
>
>
> --
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


More information about the yocto mailing list