I need to know what backend I should use to run my Embedded Wizard app.
Our board will be using a DRA726
Since I do not have any hardware yet I am using the TMDSEV572X evaluation board. I recreated the filesystem because the default one is for the automotive EVM which I do not have. Which backend should I use and what would be the correct command to load the application, I do not want any desktop, just to run my app.
I used the latest released automotive SDK and bitbaked for the correct EVM board. It was done after work last night, worked without a problem, it had a few warning but no errors. I set the machine to be am57xx-evm and ran "bitbake arago-core-tisdk-image"
Right now for the test I have a keyboard connected to a USB port and run "weston --backend=drm-backend.so" and thru ssh I run my app and it works as expected but on the EVM it loads some sort of empty desktop with an icon for a terminal. I can also run the terminal app and then load the app as I do in ssh.
Here are the libraries that I need to use.
AM_LDFLAGS = -lGLESv2 -lEGL -lOpenEGL_EmWiz -lm -ldl -lpthread -lwayland-server \
-lwayland-client -lpvr_wlegl -lrt -lpthread -ltiipc \
-ltiipcutils -ltitransportrpmsg
My CAN support runs on the Cortex M4 and Embedded wizard uses wayland to display the graphic. libOpenEGL_EmWiz is the library I created to support Embedded Wizard applications.
My rootfs is on a 16G Samsung micro SD card.
I did have a mysterious problem with the new rootfs. At first it would not boot and timed out as if there was no rootfs. After the 4th try I got a screen with matrix stuff. After a reboot (I wanted to see the log) I get a brief graphic screen with the terminal icon on top and then I get a Please Wait message. This eventually goes away and I end up on the command line.
I am curious as to what happened. I can shutdown completely and power again. The matrix screen never comes back. I had no such issue with rev 2. Is that weston crashing and hozing something?
When I try to run weston without an argument I get his.
root@am57xx-evm:~# weston
Date: 2016-09-08 UTC
[16:29:44.912] weston 1.9.0
http://wayland.freedesktop.org
Bug reports to: bugs.freedesktop.org/enter_bug.cgi
Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0 for the official release (2015-09-21 18:11:26 -0700)
[16:29:44.912] OS: Linux, 4.4.14-g2cbc3a70eb, #1 SMP PREEMPT Wed Sep 7 20:59:49 EDT 2016, armv7l
[16:29:44.913] Using config file '/etc//weston.ini'
[16:29:44.913] Loading module '/usr/lib/weston/wayland-backend.so'
[16:29:44.913] Failed to load module: /usr/lib/weston/wayland-backend.so: cannot open shared object file: No such file or directory
Content of /etc/weston.ini
[shell]
locking=false
animation=zoom
panel-location=top
startup-animation=fade
[screensaver]
# Uncomment path to disable screensaver
#path=@libexecdir@/weston-screensaver
What would be the command to reload the matrix stuff?
Obviously the default one to load is wrong since the backend that it mentions doesn't exist.
I doesn't bother me that much that the matrix has issues since I have no intention of using it but what bothers me is that it seems to point out to some issues with weston.
Michel