Skip to contentSkip to conversation

Beaglebone Black and libgles-omap3 : build problem

DISCUSSION Carlos Rafael Giani 3 participants 5 messages Aug 14, 2014

lore
Share & tools
lore
#0 lore raw

Hello,

I have a BeagleBone black here, and want to build a rootfs for it with Yocto. It shall include support for the SGX GPU.

But when I try to build this, I get:

ERROR: Nothing PROVIDES 'libgles-omap3'
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3-x11 PROVIDES libgles-omap3 but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)

However, this is incorrect. The BeagleBone Black has an AM3359 SoC, which does have the SGX, so it is compatible. Looking into the recipe, it lists ti33x as being compatible, yet the build breaks. I fixed this locally by adding "beaglebone" to the list of compatible machines, but of course this is a hack.

Does anybody have some insight into this? Is "beaglebone" perhaps the wrong machine for the BeagleBone black? I didn't find any machine config called "bblack" or "beagleboneblack" or similar.

cheers

#1 lore raw
Quoted 12 lines · Carlos Rafael Giani

Hello,

I have a BeagleBone black here, and want to build a rootfs for it with Yocto. It shall include support for the SGX GPU.

But when I try to build this, I get:

ERROR: Nothing PROVIDES 'libgles-omap3'
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3-x11 PROVIDES libgles-omap3 but was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)

Quoted 5 lines

However, this is incorrect. The BeagleBone Black has an AM3359 SoC, which does have the SGX, so it is compatible. Looking into the recipe, it lists ti33x as being compatible, yet the build breaks. I fixed this locally by adding "beaglebone" to the list of compatible machines, but of course this is a hack.

Does anybody have some insight into this? Is "beaglebone" perhaps the wrong machine for the BeagleBone black? I didn't find any machine config called "bblack" or "beagleboneblack" or similar.

cheers

In addition to the libgles-omap3 problems, I also cannot build omap3-sgx-modules . Yocto version is daisy, meta-ti daisy branch, HEAD of meta-ti is at a817ad5826b1c35084a6abb093b89a3916ecb283 .

This is what I get when building omap3-sgx-modules:

/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c: In function 'OMAPLFBWaitForVSync':
/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:180:92: error: 'struct omap_dss_device' has no member named 'output'
#define OMAP_DSS_MANAGER(man, dev) struct omap_overlay_manager *man =
(dev) != NULL ? (dev)->output->manager : NULL
^
/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.c:821:2: note: in expansion of macro 'OMAP_DSS_MANAGER'
OMAP_DSS_MANAGER(psDSSMan, psDSSDev);
^
make[3]: *** [/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/3rdparty/dc_omapfb3_linux/omaplfb_linux.o] Error 1

I apply the patch at http://git.buildroot.net/buildroot/tree/package/ti-gfx/ti-gfx-0001-fix-build-omaplfb-linux.patch . This helps, but there is another error:

In file included from /home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/srvkm/include/services_headers.h:55:0,
from
/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/srvkm/common/queue.c:42:
/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/include/servicesint.h:51:21: fatal error: sysinfo.h: No such file or directory

 #include "sysinfo.h"
                     ^

compilation terminated.
make[2]: *** [/home/test/yocto-ti/build/.build-yocto/tmp/work/beaglebone-poky-linux-gnueabi/omap3-sgx-modules/5.01.01.01-c/Graphics_SDK_5_01_01_01/GFX_Linux_KM/services4/srvkm/common/queue.o] Fehler 1

Now I do not know where this omnious sysinfo.h is. I cannot find it anywhere.

What can I do?

#2 lore raw
In reply to Carlos Rafael Giani

Don't use beaglebone machine from meta-yocto-bsp, but instead use beaglebone machine from meta-ti, if you want to use other components from meta-ti...

Signature · 1 line
Denys
Quoted 33 lines · Carlos Rafael Giani

Hello,

I have a BeagleBone black here, and want to build a rootfs for it with Yocto. It shall include support for the SGX GPU.

But when I try to build this, I get:

ERROR: Nothing PROVIDES 'libgles-omap3'
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3-x11 PROVIDES libgles-omap3 but was skipped:
incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)
ERROR: libgles-omap3 was skipped: incompatible with machine beaglebone (not in COMPATIBLE_MACHINE)

However, this is incorrect. The BeagleBone Black has an AM3359 SoC, which does have the SGX, so it is compatible. Looking into the recipe, it lists ti33x as being compatible, yet the build breaks. I fixed this locally by adding "beaglebone" to the list of compatible machines, but of course this is a hack.

Does anybody have some insight into this? Is "beaglebone" perhaps the wrong machine for the BeagleBone black? I didn't find any machine config called "bblack" or "beagleboneblack" or similar.

cheers

Signature · 4 lines
_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#3 lore raw

Hi,

Quoted 4 lines · Denys Dmytriyenko

Don't use beaglebone machine from meta-yocto-bsp, but instead use beaglebone
machine from meta-ti, if you want to use other components from meta-ti...

Just complementing. Remove meta-yocto-bsp from your bblayers.conf

Regards,

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br
<http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

#4 lore raw
Quoted 14 lines · Diego Sueiro

Hi,

On Thu, Aug 14, 2014 at 11:03 AM, Denys Dmytriyenko <[email protected] <mailto:[email protected]>> wrote:

Don't use beaglebone machine from meta-yocto-bsp, but instead use beaglebone
machine from meta-ti, if you want to use other components from meta-ti...

Just complementing. Remove meta-yocto-bsp from your bblayers.conf

Regards,

Quoted 8 lines

--
*dS
Diego Sueiro

Administrador do Embarcados
www.embarcados.com.br <http://www.embarcados.com.br/?utm_source=assinatura_diego&utm_medium=e-mail&utm_campaign=Assinatura%20Email%20Diego>

/*long live rock 'n roll*/

Thanks! Such an easy an obvious solution. Apparently I thought too complicated again :) It works now.