Changes

Jump to: navigation, search
Enabling frame buffer driver in linux kernel
* uEnv.txt
Install root file system on second (ext4 ) partition of your BELK SD card(firstly deleting all previous rfs files):
* get rfs image [https://mirror.dave.eu/bora/belk-3.0.1/belk-3.0.1_bora-image-devel-bora.tar.gz here]
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 ===
* 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:
 
root@bora:~# ifconfig eth0 192.168.0.95 ''<-- BELK IP address''
root@bora:~# echo "nameserver 192.168.0.1" > /etc/resolv.conf ''<-- your DNS, otherwise select a public DNS like Google's one 8.8.8.8''
root@bora:~# route add default gw 192.168.0.254 ''<-- your gateway address''
 
* check network connectivity
root@bora:~# ping www.dave.eu
PING www.dave.eu (147.123.240.198): 56 data bytes
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 type=rpm-md baseurl=http://yocto.dave.eu/belk-3.0.1/armv7a_vfp_neon/
root@bora:~# smart update
 
* install Qt required packages using smart
 
root@bora:~# smart install qt4-embedded-4.8.5-r0
...
 
root@bora:~# smart install libicui18n51-51.2-r0
...
 
root@bora:~# smart install tslib-calibrate-1.1-r0
...
 
root@bora:~# smart install tslib-tests-1.1-r0
...
 
* configure touchscreen input for Qt and start Qt demo
 
root@bora:~# export QWS_MOUSE_PROTO=LinuxInput:/dev/input/event0
root@bora:~# qtdemoE -qws &
 
The following picture shows Qt 4.8.3 ''Affine Transformations'' demo application running on top of it.
8,154
edits

Navigation menu