* Building for AM335x with meta-ti and meta-qt5
@ 2019-07-24 17:53 Andy Pont
2019-07-24 18:51 ` Denys Dmytriyenko
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Andy Pont @ 2019-07-24 17:53 UTC (permalink / raw)
To: meta-ti; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 1661 bytes --]
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.
[-- Attachment #2: Type: text/html, Size: 2532 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [meta-ti] Building for AM335x with meta-ti and meta-qt5
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
@ 2019-07-24 18:51 ` Denys Dmytriyenko
2019-07-24 19:11 ` Zoran Stojsavljevic
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2019-07-24 18:51 UTC (permalink / raw)
To: Andy Pont; +Cc: meta-ti, Yocto-mailing-list
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building for AM335x with meta-ti and meta-qt5
@ 2019-07-24 18:51 ` Denys Dmytriyenko
0 siblings, 0 replies; 8+ messages in thread
From: Denys Dmytriyenko @ 2019-07-24 18:51 UTC (permalink / raw)
To: Andy Pont; +Cc: meta-ti, Yocto-mailing-list
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
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building for AM335x with meta-ti and meta-qt5
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
2019-07-24 18:51 ` Denys Dmytriyenko
@ 2019-07-24 19:11 ` Zoran Stojsavljevic
2019-07-24 19:14 ` Sergei Nikulov
2019-07-25 18:01 ` [yocto] " Andy Pont
3 siblings, 0 replies; 8+ messages in thread
From: Zoran Stojsavljevic @ 2019-07-24 19:11 UTC (permalink / raw)
To: Andy Pont; +Cc: meta-ti, Yocto-mailing-list
> 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@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@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building for AM335x with meta-ti and meta-qt5
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
2019-07-24 18:51 ` Denys Dmytriyenko
2019-07-24 19:11 ` Zoran Stojsavljevic
@ 2019-07-24 19:14 ` Sergei Nikulov
2019-07-25 18:01 ` [yocto] " Andy Pont
3 siblings, 0 replies; 8+ messages in thread
From: Sergei Nikulov @ 2019-07-24 19:14 UTC (permalink / raw)
To: Andy Pont; +Cc: meta-ti, Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 2138 bytes --]
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.
HTH,
Sergei
ср, 24 июл. 2019 г., 21:03 Andy Pont <andy.pont@sdcsystems.com>:
> 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.
>
>
> --
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
[-- Attachment #2: Type: text/html, Size: 3282 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building for AM335x with meta-ti and meta-qt5
2019-07-24 18:51 ` Denys Dmytriyenko
(?)
@ 2019-07-24 20:54 ` Andy Pont
-1 siblings, 0 replies; 8+ messages in thread
From: Andy Pont @ 2019-07-24 20:54 UTC (permalink / raw)
To: Denys Dmytriyenko; +Cc: meta-ti
Denys wrote…
>What's your DISTRO, your MACHINE, TUNES and any other special configs?
DISTRO is set to “poky” and machine is set to “beaglebone”. I’m not
aware of a TUNES option.
>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.
I’ll take a look at that and see if it makes for a better solution.
-Andy.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Building for AM335x with meta-ti and meta-qt5
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
@ 2019-07-25 18:01 ` Andy Pont
2019-07-24 19:11 ` Zoran Stojsavljevic
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Andy Pont @ 2019-07-25 18:01 UTC (permalink / raw)
To: meta-ti; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
I wrote about trying to compile the SGX kernel modules giving up with
the following error:
>| ******* 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
>
This gets pulled from
https://git.ti.com/graphics/omap5-sgx-ddk-linux/commits/ti-img-sgx/1.17.4948957/k4.19
and the files in the …/eurasiacon/build/linux2/moduledefs/ directory
are:
host_i386.mk
target_aarch64.mk
target_i686.mk
target_neutral.mk
host_x86_64.mk
target_armhf.mk
target_mips32r2el.mk
target_x86_64.mk
I’m guessing it is supposed to be using target_armhf.mk but I can’t
figure out why it is making the incorrect decision and trying to use a
file that doesn’t exist.
-Andy.
[-- Attachment #2: Type: text/html, Size: 2123 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [yocto] Building for AM335x with meta-ti and meta-qt5
@ 2019-07-25 18:01 ` Andy Pont
0 siblings, 0 replies; 8+ messages in thread
From: Andy Pont @ 2019-07-25 18:01 UTC (permalink / raw)
To: meta-ti; +Cc: Yocto-mailing-list
[-- Attachment #1: Type: text/plain, Size: 941 bytes --]
I wrote about trying to compile the SGX kernel modules giving up with
the following error:
>| ******* 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
>
This gets pulled from
https://git.ti.com/graphics/omap5-sgx-ddk-linux/commits/ti-img-sgx/1.17.4948957/k4.19
and the files in the …/eurasiacon/build/linux2/moduledefs/ directory
are:
host_i386.mk
target_aarch64.mk
target_i686.mk
target_neutral.mk
host_x86_64.mk
target_armhf.mk
target_mips32r2el.mk
target_x86_64.mk
I’m guessing it is supposed to be using target_armhf.mk but I can’t
figure out why it is making the incorrect decision and trying to use a
file that doesn’t exist.
-Andy.
[-- Attachment #2: Type: text/html, Size: 2123 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2019-07-25 18:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-24 17:53 Building for AM335x with meta-ti and meta-qt5 Andy Pont
2019-07-24 18:51 ` [meta-ti] " Denys Dmytriyenko
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
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.