Part Number: BEAGLEBK
Tool/software: Linux
Hello,
I'm trying to build an image for BeagleBone Black with Qt5 and opengl using arago.
Q1: Which is the prefered way doing this?
I'm following Setting Up Build Environment
Q2: The link to gcc-linaro-5.3-2016.02-x86_64_arm-linux-gnueabihf is deprecated. Should I use exactly this toolchain (already found it elsewhere), or should I use the latest gcc-linaro-5.4.1-2017.01-x86_64_arm-linux-gnueabihf toolchain?
Q3: Which is the preferred layersetup? configs/amsdk/amsdk-08.00.00.00-config.txt or configs/arago-krogoth-config.txt?
Q4: Which is an appropriate (minimalistic) bitbake target to build an image with a QT5 opengl example, i.e. cinematicexperience?
Q5: How do I start this example? Is "Qt5_CinematicExperience -platform eglfs" correct?
Q6: Currently I'm working with the following setup: configs/arago-krogoth-config.txt and arago-base-tisdk-image bitbake target. Additionally I added packagegroup-arago-tisdk-qte and cinematicexperience to IMAGE_INSTALL_append in beaglebone.conf file and called it beagleboneng.txt.
This Image boots, but something is missing:
root@beagleboneng:~# Qt5_CinematicExperience -platform eglfs PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ] PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ] PVR:(Error): Couldn't connect to services [0, ] Could not initialize egl display /usr/bin/Qt5_CinematicExperience: line 4: 844 Aborted (core dumped) /usr/share/cinematicexperience-1.0/Qt5_CinematicExperience $* root@beagleboneng:~# eglinfo Couldn't load library libGLES_CM.so: libGLES_CM.so: cannot open shared object file: No such file or directory Couldn't load library libGLESv1_CM.so: libGLESv1_CM.so: cannot open shared object file: No such file or directory PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ] PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ] PVR:(Error): Couldn't connect to services [0, ] Unable to initialise egl egl error 'EGL_BAD_ALLOC' (0x3003) root@beagleboneng:~# ln -s libGLES_CM.so.1 /usr/lib/libGLES_CM.so root@beagleboneng:~# eglinfo PVR:(Error): OpenServices: PVRDRMOpenRender failed [0, ] PVR:(Error): PVRSRVConnect: Unable to open connection. [0, ] PVR:(Error): Couldn't connect to services [0, ] Unable to initialise egl egl error 'EGL_BAD_ALLOC' (0x3003) root@beagleboneng:~# pvrsrvctl --start Failed to load /lib/modules/4.9.10-02244-g687f71a/extra/pvrsrvkm.ko: No such file or directory root@beagleboneng:~# uname -a Linux beagleboneng 4.4.54-gecd4eada6f #2 PREEMPT Tue Mar 21 12:50:13 CET 2017 armv7l GNU/Linux
Is the SGX package available for this kernel? As I remember, the latest supported kernel is 3.14, or am I wrong?