Changes

Jump to: navigation, search

BELK-AN-004: Interfacing BoraEVB/BoraXEVB to TFT LCD display

257 bytes removed, 16:09, 7 January 2020
How to install Qt4 libraries on rfs
Once the kernel has completed boot, frame buffer can be accessed from user space applications via <code>/dev/fb0</code> device file (for more details please refer to https://www.kernel.org/doc/Documentation/fb/framebuffer.txt).
=== How to install Qt4 libraries on rfs test tools for LCD device ===
* configure BELK for downloading new packages using <code>smart</code>: a useful description for using smart can be found [[AN-XELK-003:_Package_Management_with_Yocto#Installing_packages_on_target |here]]
* configure network interface for accessing DAVE Yocto pre-built images. For example:
64 bytes from 147.123.240.198: seq=0 ttl=49 time=72.510 ms
* add DAVE smart channel and update smart cache
root@bora:~# smart channel --add armv7a_vfp_neon cortexa9hf_neon type=rpm-md baseurl=http://yocto.dave.eu/belk-34.1.0.1/armv7a_vfp_neoncortexa9hf_neon/
root@bora:~# smart update
* install Qt required packages using smart
root@bora:~# smart install qt4tslib-embeddedcalibrate-41.8.51-r0
...
root@bora:~# smart install libicui18n51tslib-51tests-1.21-r0 ...
root@bora:~# smart install tslibfb-calibratetest-1.1.0-r0
...
* calibrate resistive touchscreen  root@bora:~# smart install tslib-tests-1.1-r0ts_calibrate  ...touch on the 5 points displayed in sequence (4 corner + center)
* configure test the alignment of touchscreen input for Qt and start Qt demo
root@bora:~# export QWS_MOUSE_PROTO=LinuxInput:/dev/input/event0 root@bora:~# qtdemoE -qws &ts_test
this tool allow to ''drag'' a point or to ''draw'' a line
The following picture shows Qt 4.8.5 ''Affine Transformations'' demo application running on top of it.* display some test patterns
{|style="margin root@bora: 0 auto;"| [[File:An-belk-004-04.jpg|thumb|center|400px|Qt Affine Transformations running on Bora/BoraEVB system]]| [[File:An-belk-004~# fb-06.jpg|thumb|center|400px|Qt Affine Transformations running on BoraX/BoraXEVB system]]|}test
=== Demo on youtube===
a000298_approval, dave_user
549
edits

Navigation menu