PDA

View Full Version : How to implement Warp7 sample as same as sample in QtWS16



nntchau
8th December 2017, 08:06
Hi everyone

Please help me in case below.
I see this video on youtube (https://www.youtube.com/watch?v=tjlpeXoUp48) which is showing that Boot2Qt is working on NXP WaRP7 with QTLite 5.8

I 've bought WaRP7 & its LCD display but I can not make it work (display something on screen).
Sorry for my noob question:

how can I made a sample exactly the same in video ?
I try many ways but failed, since I'm just dive in embedded only for 2 months and still don't know where to start.
It is many thanks if anyone can figure out is there any problems with any my solutions below ?
I tried to use Boot2Qt in Qt 5.9.2, 5.10 & build Wearable example on it.
When I run sample, there is nothing display but only error on command line

1st try:
run command
export QT_QPA_PLATFORM=linuxfb
export QMLSCENE_DEVICE=softwarecontext
/data/user/qt/wearable/wearable
=> command line is running and show like application is running (compare with sample on raspberryPi3) but nothing display

2nd try:
run only /data/user/qt/wearable/wearable
=> error show:
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Could not open egl display
Aborted(code dumped)

3rd try:
I used fsl-multimedia BSP of Yocto project to boot on my WaRP7.
I run command "export DISPLAY=localhost:0.0" & execute application
=> There is no error.
I try to find resolution by command "xrandr -q"
=> error: error message: Can't open display localhost:0.0

4th try:
I used QtLite 5.8 with Yocto build (bitbake core-image-base & core-image-sato). But no hope as well.

Other tries: I try to use fbtft driver to drive LCD, also try to boot display via SPI and many other configuration for weeks. But display still BLACK :(

Thank you for your reading time.

Note: sorry if my english confuse you.