Skip to contentSkip to conversation

meta-ti Digest, Vol 94, Issue 24

DISCUSSION Ankur Tyagi 2 participants 3 messages Jul 24, 2019 – Jul 25, 2019 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 7 lines

Date: Wed, 24 Jul 2019 22:14:21 +0300
From: Sergei Nikulov <[email protected]>
To: Andy Pont <[email protected]>
Cc: [email protected], Yocto-mailing-list
<[email protected]>
Subject: Re: [meta-ti] Building for AM335x with meta-ti and meta-qt5 Message-ID:

Quoted 8 lines
        <CAE7Ac0DuiLDgyP84DOmkXS+6P66evSysao=siy7LXP8_S2p1ug@mail.gmail.com>

Content-Type: text/plain; charset="utf-8"

TI develops it's SDK based on Yocto here
http://arago-project.org/wiki/index.php/Main_Page

The latest master I'm able to use is Thud release.

We have been using Thud release from meta-arago and it builds Qt5.11.3 with EGLFS for AM335x.
Make sure add DISTRO_FEATURES_remove = "wayland" in your local.conf

And if you want QT5.12, then you can simply update meta-qt5 to warrior but have to fix meta-arago Qt5 patches yourself
But most of them are around examples so can be skipped.

Quoted 57 lines

HTH,
Sergei

??, 24 ???. 2019 ?., 21:03 Andy Pont <[email protected]>:

Quoted 50 lines

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.

#2 lore raw

Re: Building for AM335x with meta-ti and meta-qt5

Ankur wrote...

Quoted 3 lines

We have been using Thud release from meta-arago and it builds Qt5.11.3 with EGLFS for AM335x.
Make sure add DISTRO_FEATURES_remove = "wayland" in your local.conf

I have got dispensation from our client to use Thud so have checked out the appropriate branches for Poky, meta-ti, meta-arago, etc. into a new development directory.

What do you have the MACHINE and DISTRO variables set to in your local.conf and what image do you bitbake?

-Andy.

#3 lore raw

Re: Building for AM335x with meta-ti and meta-qt5

Quoted 6 lines · Andy Pont

Ankur wrote...

Quoted 3 lines

We have been using Thud release from meta-arago and it builds Qt5.11.3 with EGLFS for AM335x.
Make sure add DISTRO_FEATURES_remove = "wayland" in your local.conf

Quoted 6 lines

I have got dispensation from our client to use Thud so have checked out the appropriate branches for Poky, meta-ti, meta-arago, etc. into a new development directory.

What do you have the MACHINE and DISTRO variables set to in your local.conf and what image do you bitbake?

MACHINE is custom based on 'am335x-evm' and DISTRO is also custom based on 'arago'

Regards
Ankur

Quoted 5 lines

-Andy.