Follow this article:
using acme-xterm-01_defconfig in this way instead of use other buildroot configuration.
~/buildroot-2016.02$ make acme-xterm-01_defconfig ...
The file acme-xterm-01_defconfig is created by the patches applied in this article on the standard Buildroot distribution.
Follow this article:
using acme-xterm-01_defconfig to generate the Linux config:
~/linux-4.4.11$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- acme-xterm-01_defconfig ...
and acme-xterm-01.dts as device tree:
~/linux-4.4.11$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- acme-xterm-01.dtb ...
These files are created by applying the patches listed inside the articles.
~/linux-4.4.11$ cp arch/arm/boot/dts/acme-xterm-01.dtb /media/$USER/boot/acme-arietta.dtb ~/linux-4.4.11$ cp arch/arm/boot/zImage /media/$USER/boot ~/linux-4.4.11$ sudo rsync -avc modules/lib/. /media/$USER/rootfs/lib/.
Get the access to the board using the DPI interface or via SSH.
Login with as root using the password acmesystems
Calibrate the touchscreen by typing:
# ts_calibrate
then try one of the Qt example available:
# cd /usr/share/qt/examples/widgets/sliders # ./sliders
now run this command in order to set Qt to use tslib:
# export QWS_MOUSE_PROTO=Tslib:/dev/input/event0
then launch the first example (see the video):
# /sliders -qws